MPSoC 板卡上的神经网络加速:集成 SLAC 的 SNL、Rogue Software 与 Auto-SNL
摘要
LCLS-II 自由电子激光(FEL)将以最高可达 1~MHz 的速率产生 X 射线脉冲,用于束流实验。检测器产生的数据吞吐量可超过 1 TB/s。处理如此巨大的数据流stream presents significant challenges, as transmission and storage infrastructures become prohibitively expensive。机器学习(ML) offers a promising solution for real-time data reduction, but conventional implementations introduce excessive latency, making them unsuitable for high-speed experimental environments. To address these challenges, SLAC developed the SLAC Neural Network Library (SNL), a specialized framework designed to deploy real-time ML inference models on Field-Programmable Gate Arrays (FPGA)。SNL's key feature is the ability to dynamically update model weights without requiring FPGA resynthesis, enhancing flexibility for adaptive learning applications. To further enhance usability and accessibility, we introduce Auto-SNL, a Python extension that streamlines the process of converting Python-based neural network models into SNL-compatible high-level synthesis code. This paper presents a benchmark comparison against hls4ml, the current state-of-the-art tool, across multiple neural network architectures, fixed-point precisions, and synthesis configurations targeting a Xilinx ZCU102 FPGA. The results showed that SNL achieves competitive or superior latency in most tested architectures, while in some cases also offering FPGA resource savings. This adaptation demonstrates SNL's versatility, opening new opportunities for researchers and academics in fields such as high-energy physics, medical imaging, robotics, and many more.
引用
@article{arxiv.2508.21739,
title = {Neural Network Acceleration on MPSoC board: Integrating SLAC's SNL, Rogue Software and Auto-SNL},
author = {Hamza Ezzaoui Rahali and Abhilasha Dave and Larry Ruckman and Mohammad Mehdi Rahimifar and Audrey C. Therrien and James J. Russel and Ryan T. Herbst},
journal= {arXiv preprint arXiv:2508.21739},
year = {2025}
}