Fast inference of deep neural networks in FPGAs for particle physics

  • 2018-04-16 18:00:02
  • Javier Duarte, Song Han, Philip Harris, Sergo Jindariani, Edward Kreinar, Benjamin Kreis, Jennifer Ngadiuba, Maurizio Pierini, Nhan Tran, Zhenbin Wu
  • 42

Abstract

Recent results at the Large Hadron Collider (LHC) have pointed to enhancedphysics capabilities through the improvement of the real-time event processingtechniques. Machine learning methods are ubiquitous and have proven to be verypowerful in LHC physics, and particle physics as a whole. However, explorationof the use of such techniques in low-latency, low-power FPGA hardware has onlyjust begun. FPGA-based trigger and data acquisition (DAQ) systems haveextremely low, sub-microsecond latency requirements that are unique to particlephysics. We present a case study for neural network inference in FPGAs focusingon a classifier for jet substructure which would enable, among many otherphysics scenarios, searches for new dark sector particles and novelmeasurements of the Higgs boson. While we focus on a specific example, thelessons are far-reaching. We develop a package based on High-Level Synthesis(HLS) called hls4ml to build machine learning models in FPGAs. The use of HLSincreases accessibility across a broad user community and allows for a drasticdecrease in firmware development time. We map out FPGA resource usage andlatency versus neural network hyperparameters to identify the problems inparticle physics that would benefit from performing neural network inferencewith FPGAs. For our example jet substructure model, we fit well within theavailable resources of modern FPGAs with a latency on the scale of 100 ns.

 

Quick Read (beta)

loading the full paper ...