arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.15751hep-excs.LG
收藏

利用hls4ml在抗辐射FPGA上实现低延迟机器学习

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)(米兰-布雷拉大学)

Katya Govorkova, Julian Garcia Pardinas, Vladimir Loncar, Victoria Nguyen, Sebastian Schmitt, Marco Pizzichemi, Loris Martinazzoli, Eluned Anne Smith

AI总结:

本文提出利用hls4ml在抗辐射FPGA上实现低延迟机器学习,通过轻量级自编码器和量化策略,展示在PolarFire FPGA上达到25ns延迟的可行性。

摘要:

本文首次展示了在FPGA上实现一个可行、超快、抗辐射的机器学习(ML)应用的演示,这可能在未来高能物理实验中发挥作用。我们提出了三项贡献,以PicoCal calorimeter作为LHCb Upgrade II实验的测试用例。首先,我们开发了一个轻量级的自编码器,将32样本时间读取数据(代表PicoCal的数据)压缩到二维潜在空间中。其次,我们引入了一种系统性的、面向硬件的量化策略,并展示了模型可以被减少到10位权重,同时性能损失最小。第三,由于在探测器上的ML应用受到高能物理社区标准ML合成工具hls4ml中缺乏对抗辐射FPGA支持的阻碍,我们为该库开发了一个新的后端。这个新的后端使ML模型能够自动转换为Microchip PolarFire系列FPGA的高阶综合(HLS)项目,这是少数商用且抗辐射的FPGA之一。我们展示了自编码器在目标PolarFire FPGA上的综合,表明可以实现25 ns的延迟。我们展示了所用资源足够低,使模型能够放置在FPGA的固有保护逻辑中。我们对hls4ml的扩展是一项重要贡献,为在高辐射环境中更广泛地采用FPGA上的ML铺平了道路。

英文摘要:

This paper presents an end-to-end demonstration of a viable, ultra-fast, radiation-hard machine learning (ML) application on FPGAs, which could be used in future high-energy physics experiments. We present a three-fold contribution, with the PicoCal calorimeter, planned for the LHCb Upgrade II experiment, used as a test case. First, we develop a lightweight autoencoder to compress a 32-sample timing readout, representative of that of the PicoCal, into a two-dimensional latent space. Second, we introduce a systematic, hardware-aware quantization strategy and show that the model can be reduced to 10-bit weights with minimal performance loss. Third, as a barrier to the adoption of on-detector ML is the lack of support for radiation-hard FPGAs in the High-Energy Physics community's standard ML synthesis tool, hls4ml, we develop a new backend for this library. This new back-end enables the automatic translation of ML models into High-Level Synthesis (HLS) projects for the Microchip PolarFire family of FPGAs, one of the few commercially available and radiation hard FPGAs. We present the synthesis of the autoencoder on a target PolarFire FPGA, which indicates that a latency of 25 ns can be achieved. We show that the resources utilized are low enough that the model can be placed within the inherently protected logic of the FPGA. Our extension to hls4ml is a significant contribution, paving the way for broader adoption of ML on FPGAs in high-radiation environments.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑