arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.00645cs.LGphysics.ins-det
收藏

HGQ:面向FPGA上的实时神经网络的高粒度量化

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(费米实验室)

Chang Sun, Zhiqiang Que, Thea K. Årrestad, Vladimir Loncar, Jennifer Ngadiuba, Wayne Luk, Maria Spiropulu

AI总结:

HGQ通过高粒度量化方法优化神经网络参数位宽,实现低延迟高精度的实时模型部署,适用于FPGA平台的复杂模型压缩与加速。

摘要:

许多关键应用需要具有亚微秒推理延迟的神经网络。针对部署在FPGA上的此类应用,我们提出了高粒度量化(HGQ),一种量化感知训练框架,通过梯度下降优化参数位宽。与传统方法不同,HGQ独立确定每个参数的最佳位宽,使其适用于支持异构任意精度运算的硬件平台。在我们的实验中,HGQ相比现有网络压缩方法表现更优,在保持多个基准任务准确性的同时,实现了资源消耗和延迟的数个数量级的减少。这些改进使得此前因资源或延迟限制而不可行的复杂模型得以部署。HGQ是开源的,并被用于开发下一代粒子物理实验(CERN ATLAS和CMS实验)的触发系统,使先进机器学习模型能够以亚微秒延迟进行实时数据选择。

英文摘要:

Neural networks with sub-microsecond inference latency are required by many critical applications. Targeting such applications deployed on FPGAs, we present High Granularity Quantization (HGQ), a quantization-aware training framework that optimizes parameter bit-widths through gradient descent. Unlike conventional methods, HGQ determines the optimal bit-width for each parameter independently, making it suitable for hardware platforms supporting heterogeneous arbitrary precision arithmetic. In our experiments, HGQ shows superior performance compared to existing network compression methods, achieving orders of magnitude reduction in resource consumption and latency while maintaining the accuracy on several benchmark tasks. These improvements enable the deployment of complex models previously infeasible due to resource or latency constraints. HGQ is open-source and is used for developing next-generation trigger systems at the CERN ATLAS and CMS experiments for particle physics, enabling the use of advanced machine learning models for real-time data selection with sub-microsecond latency.

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

↑