Fast inference of deep neural networks in FPGAs for particle physics
Name
Duarte_2018_J._Inst._13_P07027.pdf
Description
Published version
Size
1.63 MB
Format
Adobe PDF
Checksum (MD5)
76af029b7c46bc629dec11276ad6834b
Author(s) •
Han, Song
Harris, Philip Coleman
Date Issued
July 2018
Journal
Journal of Instrumentation
Publisher
IOP Publishing
Citation
Duarte, J. et al. “Fast inference of deep neural networks in FPGAs for particle physics.” Journal of Instrumentation, 13, 7 (July 2018) © 2018 The Author(s)
Version
Final published version
Abstract
Recent results at the Large Hadron Collider (LHC) have pointed to enhanced physics capabilities through the improvement of the real-time event processing techniques. Machine learning methods are ubiquitous and have proven to be very powerful in LHC physics, and particle physics as a whole. However, exploration of the use of such techniques in low-latency, low-power FPGA (Field Programmable Gate Array) hardware has only just begun. FPGA-based trigger and data acquisition systems have extremely low, sub-microsecond latency requirements that are unique to particle physics. We present a case study for neural network inference in FPGAs focusing on a classifier for jet substructure which would enable, among many other physics scenarios, searches for new dark sector particles and novel measurements of the Higgs boson. While we focus on a specific example, the lessons are far-reaching. A companion compiler package for this work is developed based on High-Level Synthesis (HLS) called hls4ml to build machine learning models in FPGAs. The use of HLS increases accessibility across a broad user community and allows for a drastic decrease in firmware development time. We map out FPGA resource usage and latency versus neural network hyperparameters to identify the problems in particle physics that would benefit from performing neural network inference with FPGAs. For our example jet substructure model, we fit well within the available resources of modern FPGAs with a latency on the scale of 100 ns.
MIT Department
Massachusetts Institute of Technology. Department of Electrical Engineering and Computer Science
Massachusetts Institute of Technology. Department of Physics
Terms of Use
Creative Commons Attribution 3.0 unported license
Persistent DSpace Link
DOI of Published Version
https://doi.org/10.1088/1748-0221/13/07/P07027