Implementing Machine Learning (ML) models on Field-Programmable Gate Arrays (FPGAs) is becoming increasingly popular across various domains as a low-latency and low-power solution that helps manage large data rates generated by continuously improving detectors. However, developing ML models for FPGAs is time-consuming, as optimization requires synthesis to evaluate FPGA area and latency, making the process slow and repetitive. This paper introduces a novel method to predict the resource utilization and inference latency of Neural Networks (NNs) before their synthesis and implementation on FPGA. We leverage HLS4ML, a tool-flow that helps translate NNs into high-level synthesis (HLS) code, to synthesize a diverse dataset of NN architectures and train resource utilization and inference latency predictors. While HLS4ML requires full synthesis to obtain resource and latency insights, our method uses trained regression models for immediate pre-synthesis predictions. The prediction models estimate the usage of Block RAM (BRAM), Digital Signal Processors (DSP), Flip-Flops (FF), and Look-Up Tables (LUT), as well as the inference clock cycles. The predictors were evaluated on both synthetic and existing benchmark architectures and demonstrated high accuracy with R2 scores ranging between 0.8 and 0.98 on the validation set and sMAPE values between 10% and 30%. Overall, our approach provides valuable preliminary insights, enabling users to quickly assess the feasibility and efficiency of NNs on FPGAs, accelerating the development and deployment processes. The open-source repository can be found at https://github.com/IMPETUS-UdeS/rule4ml, while the datasets are publicly available at https://borealisdata.ca/dataverse/rule4ml.
Low Latency Edge Classification GNN for Particle Trajectory Tracking on FPGAs
National Yang Ming Chiao Tung University(国立阳明交通大学);University of California San Diego(加利福尼亚大学圣迭戈分校);University of Washington(华盛顿大学);University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)
LL-GNN: Low Latency Graph Neural Networks on FPGAs for High Energy Physics
Imperial College London(伦敦帝国理工学院);Southeast University(东南大学);AMD Adaptive and Embedded Computing Group (AECG) Labs(AMD自适应与嵌入式计算集团实验室);European Organization for Nuclear Research (CERN)(欧洲核子研究中心)
Towards Tensor Network Models for Low-Latency Jet Tagging on FPGAs
Dipartimento di Fisica e Astronomia "Galileo Galilei", University of Padua(伽利略·伽利莱物理与天文学系,帕多瓦大学);PlanQC GmbH(PlanQC公司);Institute for Complex Quantum Systems, Ulm University(复杂量子系统研究所,乌尔姆大学);European Organization for Nuclear Research (CERN)(欧洲核子研究中心);Padua Quantum Technologies Research Center, University of Padua(帕多瓦量子技术研究中心,帕多瓦大学)
Ultra-low latency recurrent neural network inference on FPGAs for physics applications with hls4ml
University of Washington(华盛顿大学);Massachusetts Institute of Technology(麻省理工学院);SLAC National Accelerator Laboratory(SLAC国家加速器实验室);European Organization for Nuclear Research (CERN)(欧洲核子研究组织(CERN))
Enabling Low-Latency Machine learning on Radiation-Hard FPGAs with hls4ml
Massachusetts Institute of Technology (MIT)(麻省理工学院);Department of Experimental Physics, European Organization for Nuclear Research (CERN)(欧洲核子研究中心(CERN)实验物理系);University of Milano-Bicocca (Italy)(米兰-布雷拉大学)
Hardware-Accelerated Event-Graph Neural Networks for Low-Latency Time-Series Classification on SoC FPGA
Graduate School of Science and Technology(科学与技术研究生院);Embedded Vision Systems Group, Computer Vision Laboratory(嵌入式视觉系统组,计算机视觉实验室);AGH University of Krakow(克拉科夫AGH大学);CEA-List, Université Grenoble Alpes(CEA-List,格勒诺布尔阿尔卑斯大学)
Ultra-low latency quantum-inspired machine learning predictors implemented on FPGA
Istituto Nazionale di Fisica Nucleare (INFN)(国家核物理研究所);Dipartimendo di Fisica e Astronomia (DFA)(物理与天文学系);University of Padua(帕多瓦大学);Dipartimendo di Ingegneria dell’Informazione (DEI)(信息工程系);Dipartimendo di Ingegneria Industriale (DII)(工业工程系);Padua Quantum Technology Research Center(帕多瓦量子技术研究中心);Tensor AI Solutions GmbH(张量人工智能解决方案有限公司)
Low latency optical-based mode tracking with machine learning deployed on FPGAs on a tokamak
Columbia University(哥伦比亚大学);Fermi National Accelerator Laboratory(费米国家加速器实验室);Lehigh University(利哈伊大学);Northwestern University(西北大学);Drexel University(德雷塞尔大学)
HGQ: High Granularity Quantization for Real-time Neural Networks on FPGAs
California Institute of Technology(加利福尼亚理工学院);Imperial College London(伦敦帝国理工学院);ETH Zurich(苏黎世联邦理工学院);Institute of Physics Belgrade(贝尔格莱德物理研究所);Fermilab(费米实验室)
SparsePixels: Efficient Convolution for Sparse Data on FPGAs
University of Pennsylvania, USA(美国宾夕法尼亚大学);Institute of Physics Belgrade, Serbia(塞尔维亚贝尔格莱德物理研究所);Massachusetts Institute of Technology, USA(美国麻省理工学院);Institute for Artificial Intelligence and Fundamental Interactions, USA(美国人工智能与基本相互作用研究所)
Enabling Vibration-Based Gesture Recognition on Everyday Furniture via Energy-Efficient FPGA Implementation of 1D Convolutional Networks
1 Ubiquitous Computing Systems Laboratory, Nara Institute of Science;Technology, Nara, Japan 2 Intelligent Embedded Systems Laboratory, University of Duisburg-Essen, Duisburg, Germany 3 PALUNO, The Ruhr Institute for Software Technology, Essen, Germany 4 RIKEN, Center for Advanced Intelligence Project, Tokyo, Japan
Fast inference of Boosted Decision Trees in FPGAs for particle physics
European Organization for Nuclear Research (CERN)(欧洲核子研究组织(CERN));Columbia University(哥伦比亚大学);University of California San Diego(加利福尼亚大学圣迭戈分校);Massachusetts Institute of Technology(麻省理工学院);Rhodes College(罗德学院);Fermi National Accelerator Laboratory(费米国家加速器实验室);Institute of Physics Belgrade(贝尔格莱德物理研究所);University of Illinois at Chicago(伊利诺伊大学芝加哥分校)
Fast convolutional neural networks on FPGAs with hls4ml
European Organization for Nuclear Research (CERN)(欧洲核子研究组织);Institute of Physics Belgrade(贝尔格莱德物理研究所);Politecnico di Milano(米兰理工大学);California Institute of Technology(加州理工学院);Chalmers University of Technology(查尔姆斯理工大学);Zenseact(Zenseact公司);ICEPP, University of Tokyo(东京大学国际基本粒子物理研究所);Columbia University(哥伦比亚大学);University of California San Diego(加州大学圣地亚哥分校);Massachusetts Institute of Technology(麻省理工学院);Fermi National Accelerator Laboratory(费米国家加速器实验室);Purdue University(普渡大学);HawkEye360(鹰眼360公司);University of Illinois at Chicago(伊利诺伊大学芝加哥分校);Rhodes College(罗德学院)