arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2101.05108cs.LGcs.CVhep-exphysics.ins-detstat.ML
收藏

基于hls4ml的FPGA实现快速卷积神经网络

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(罗德学院)
Thea Aarrestad, Vladimir Loncar, Nicolò Ghielmetti, Maurizio Pierini, Sioni Summers, Jennifer Ngadiuba, Christoffer Petersson, Hampus Linander, Yutaro Iiyama, G… 展开作者

Thea Aarrestad, Vladimir Loncar, Nicolò Ghielmetti, Maurizio Pierini, Sioni Summers, Jennifer Ngadiuba, Christoffer Petersson, Hampus Linander, Yutaro Iiyama, Giuseppe Di Guglielmo, Javier Duarte, Philip Harris, Dylan Rankin, Sergo Jindariani, Kevin Pedro, Nhan Tran, Mia Liu, Edward Kreinar, Zhenbin Wu, Duc Hoang

摘要:

我们介绍一种自动化工具,用于在FPGA上部署具有卷积层的超低延迟、低功耗深度神经网络。通过扩展hls4ml库,我们使用卷积架构演示了$5\,μ$ s的推理延迟,目标是微秒延迟应用,如CERN大型强子对撞机的应用。考虑到基准模型的街景房屋号码数据集上训练,我们展示了各种方法的模型压缩,以适应一个典型的FPGA器件的粒子探测器的触发和数据采集系统中使用的计算约束。特别是,我们讨论了修剪和量化感知训练,并演示了如何在模型准确性几乎没有损失的情况下显着降低资源利用率。我们表明,FPGA的关键资源消耗可以减少97%,零损失的模型精度,并通过99%时,容忍6%的精度下降。

英文摘要:

We introduce an automated tool for deploying ultra low-latency, low-power deep neural networks with convolutional layers on FPGAs. By extending the hls4ml library, we demonstrate an inference latency of $5\,μ$s using convolutional architectures, targeting microsecond latency applications like those at the CERN Large Hadron Collider. Considering benchmark models trained on the Street View House Numbers Dataset, we demonstrate various methods for model compression in order to fit the computational constraints of a typical FPGA device used in trigger and data acquisition systems of particle detectors. In particular, we discuss pruning and quantization-aware training, and demonstrate how resource utilization can be significantly reduced with little to no loss in model accuracy. We show that the FPGA critical resource consumption can be reduced by 97% with zero loss in model accuracy, and by 99% when tolerating a 6% accuracy degradation.

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

↑