研究面向 eFPGA 的资源高效中子/伽马分类机器学习模型
Investigating Resource-efficient Neutron/Gamma Classification ML Models Targeting eFPGAs
AI总结:
本研究针对中子/伽马分类任务,探索了全连接神经网络和提升决策树在嵌入式 FPGA 上的资源高效实现,通过分析输入特征、比特分辨率和超参数对性能与资源的影响,为测试芯片的 eFPGA 结构定义提供依据。
摘要:
近年来,粒子物理与核物理社区在硬件上实现机器学习(ML)模型方面表现出浓厚兴趣并取得了相应进展。一大推动力是 Python 包 hls4ml 的发布,它使得将使用 Python ML 库定义和训练的模型移植为寄存器传输级(RTL)代码成为可能。迄今为止,主要最终目标是商业 FPGA 或 ASIC 上的定制模块。然而,开源嵌入式 FPGA(eFPGA)框架的最新进展为在硬件上实现 ML 模型提供了一条更灵活的替代路径。这些定制的 eFPGA 结构可作为整体芯片设计的一部分进行集成。通常,在完全定制、eFPGA 或商业 FPGA ML 实现之间做出决定,将取决于终端应用的具体细节。在这项工作中,我们以中子/伽马分类任务为例,重点考察资源效率,探索了全连接神经网络(fcNN)和提升决策树(BDT)模型的 eFPGA 实现参数空间。我们使用 AmBe 密封源照射 Stilbene(芪)晶体,该晶体与 OnSemi J 系列 SiPM 光耦合,以生成本研究的训练和测试数据。我们研究了相关输入特征、比特分辨率和采样率的影响,以及在追踪总资源使用量时两种 ML 架构超参数的权衡。用于追踪模型性能的指标是在 10$^{-3}$ 伽马泄漏下计算出的中子效率。研究结果将用于辅助 eFPGA 结构的规格定义,该结构将作为测试芯片的一部分进行集成。
英文摘要:
There has been considerable interest and resulting progress in implementing machine learning (ML) models in hardware over the last several years from the particle and nuclear physics communities. A big driver has been the release of the Python package, hls4ml, which has enabled porting models specified and trained using Python ML libraries to register transfer level (RTL) code. So far, the primary end targets have been commercial FPGAs or synthesized custom blocks on ASICs. However, recent developments in open-source embedded FPGA (eFPGA) frameworks now provide an alternate, more flexible pathway for implementing ML models in hardware. These customized eFPGA fabrics can be integrated as part of an overall chip design. In general, the decision between a fully custom, eFPGA, or commercial FPGA ML implementation will depend on the details of the end-use application. In this work, we explored the parameter space for eFPGA implementations of fully-connected neural network (fcNN) and boosted decision tree (BDT) models using the task of neutron/gamma classification with a specific focus on resource efficiency. We used data collected using an AmBe sealed source incident on Stilbene, which was optically coupled to an OnSemi J-series SiPM to generate training and test data for this study. We investigated relevant input features and the effects of bit-resolution and sampling rate as well as trade-offs in hyperparameters for both ML architectures while tracking total resource usage. The performance metric used to track model performance was the calculated neutron efficiency at a gamma leakage of 10$^{-3}$. The results of the study will be used to aid the specification of an eFPGA fabric, which will be integrated as part of a test chip.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。