Cargando…

Fast inference of deep neural networks in FPGAs for particle physics

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,...

Descripción completa

Detalles Bibliográficos
Autores principales: Duarte, Javier, Han, Song, Harris, Philip, Jindariani, Sergo, Kreinar, Edward, Kreis, Benjamin, Ngadiuba, Jennifer, Pierini, Maurizio, Rivera, Ryan, Tran, Nhan, Wu, Zhenbin
Lenguaje:eng
Publicado: 2018
Materias:
Acceso en línea:https://dx.doi.org/10.1088/1748-0221/13/07/P07027
http://cds.cern.ch/record/2316331
_version_ 1780958214056050688
author Duarte, Javier
Han, Song
Harris, Philip
Jindariani, Sergo
Kreinar, Edward
Kreis, Benjamin
Ngadiuba, Jennifer
Pierini, Maurizio
Rivera, Ryan
Tran, Nhan
Wu, Zhenbin
author_facet Duarte, Javier
Han, Song
Harris, Philip
Jindariani, Sergo
Kreinar, Edward
Kreis, Benjamin
Ngadiuba, Jennifer
Pierini, Maurizio
Rivera, Ryan
Tran, Nhan
Wu, Zhenbin
author_sort Duarte, Javier
collection CERN
description 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.
id cern-2316331
institution Organización Europea para la Investigación Nuclear
language eng
publishDate 2018
record_format invenio
spelling cern-23163312020-07-18T03:11:30Zdoi:10.1088/1748-0221/13/07/P07027http://cds.cern.ch/record/2316331engDuarte, JavierHan, SongHarris, PhilipJindariani, SergoKreinar, EdwardKreis, BenjaminNgadiuba, JenniferPierini, MaurizioRivera, RyanTran, NhanWu, ZhenbinFast inference of deep neural networks in FPGAs for particle physicsstat.MLMathematical Physics and Mathematicshep-exParticle Physics - Experimentcs.CVComputing and Computersphysics.ins-detDetectors and Experimental TechniquesRecent 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.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 hardware has only just begun. FPGA-based trigger and data acquisition (DAQ) 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. We develop a package 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.arXiv:1804.06913FERMILAB-PUB-18-089-Eoai:cds.cern.ch:23163312018-04-16
spellingShingle stat.ML
Mathematical Physics and Mathematics
hep-ex
Particle Physics - Experiment
cs.CV
Computing and Computers
physics.ins-det
Detectors and Experimental Techniques
Duarte, Javier
Han, Song
Harris, Philip
Jindariani, Sergo
Kreinar, Edward
Kreis, Benjamin
Ngadiuba, Jennifer
Pierini, Maurizio
Rivera, Ryan
Tran, Nhan
Wu, Zhenbin
Fast inference of deep neural networks in FPGAs for particle physics
title Fast inference of deep neural networks in FPGAs for particle physics
title_full Fast inference of deep neural networks in FPGAs for particle physics
title_fullStr Fast inference of deep neural networks in FPGAs for particle physics
title_full_unstemmed Fast inference of deep neural networks in FPGAs for particle physics
title_short Fast inference of deep neural networks in FPGAs for particle physics
title_sort fast inference of deep neural networks in fpgas for particle physics
topic stat.ML
Mathematical Physics and Mathematics
hep-ex
Particle Physics - Experiment
cs.CV
Computing and Computers
physics.ins-det
Detectors and Experimental Techniques
url https://dx.doi.org/10.1088/1748-0221/13/07/P07027
http://cds.cern.ch/record/2316331
work_keys_str_mv AT duartejavier fastinferenceofdeepneuralnetworksinfpgasforparticlephysics
AT hansong fastinferenceofdeepneuralnetworksinfpgasforparticlephysics
AT harrisphilip fastinferenceofdeepneuralnetworksinfpgasforparticlephysics
AT jindarianisergo fastinferenceofdeepneuralnetworksinfpgasforparticlephysics
AT kreinaredward fastinferenceofdeepneuralnetworksinfpgasforparticlephysics
AT kreisbenjamin fastinferenceofdeepneuralnetworksinfpgasforparticlephysics
AT ngadiubajennifer fastinferenceofdeepneuralnetworksinfpgasforparticlephysics
AT pierinimaurizio fastinferenceofdeepneuralnetworksinfpgasforparticlephysics
AT riveraryan fastinferenceofdeepneuralnetworksinfpgasforparticlephysics
AT trannhan fastinferenceofdeepneuralnetworksinfpgasforparticlephysics
AT wuzhenbin fastinferenceofdeepneuralnetworksinfpgasforparticlephysics