arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2006.10159physics.ins-detcs.LGeess.IVeess.SPhep-ex
收藏

用于粒子探测器边缘低延迟推理的深度神经网络的自动异构量化

Automatic heterogeneous quantization of deep neural networks for low-latency inference on the edge for particle detectors

Palo Alto Networks(帕洛阿尔托网络公司);Google LLC(谷歌有限责任公司);Institute of Physics Belgrade(贝尔格莱德物理研究所);European Organization for Nuclear Research (CERN)(欧洲核子研究组织(CERN));California Institute of Technology(加州理工学院)

Claudionor N. Coelho, Aki Kuusela, Shan Li, Hao Zhuang, Thea Aarrestad, Vladimir Loncar, Jennifer Ngadiuba, Maurizio Pierini, Adrian Alan Pol, Sioni Summers

摘要:

尽管对更准确解决方案的追求正在推动深度学习研究转向更大、更复杂的算法,但边缘设备需要高效的推理,从而减少模型大小、延迟和能耗。限制模型大小的一种技术是量化,这意味着使用更少的位来表示权重和偏差。这种方法通常会导致性能下降。在这里,我们介绍了一种方法,用于设计深度神经网络模型的最佳异构量化版本,以实现最小能量,高精度,纳秒推理和全自动芯片部署。通过每层、每参数类型的自动量化过程,从广泛的量化器采样,在保持高精度的同时,最大限度地减少了模型的能耗和大小。这对于在CERN大型强子对撞机上进行质子-质子碰撞的事件选择过程至关重要,在那里资源是严格有限的,并且需要${\mathcal O}(1)~μ$ s的延迟。纳秒级的推理和资源消耗减少了50倍时,现场可编程门阵列硬件实现。

英文摘要:

Although the quest for more accurate solutions is pushing deep learning research towards larger and more complex algorithms, edge devices demand efficient inference and therefore reduction in model size, latency and energy consumption. One technique to limit model size is quantization, which implies using fewer bits to represent weights and biases. Such an approach usually results in a decline in performance. Here, we introduce a method for designing optimally heterogeneously quantized versions of deep neural network models for minimum-energy, high-accuracy, nanosecond inference and fully automated deployment on chip. With a per-layer, per-parameter type automatic quantization procedure, sampling from a wide range of quantizers, model energy consumption and size are minimized while high accuracy is maintained. This is crucial for the event selection procedure in proton-proton collisions at the CERN Large Hadron Collider, where resources are strictly limited and a latency of ${\mathcal O}(1)~μ$s is required. Nanosecond inference and a resource consumption reduced by a factor of 50 when implemented on field-programmable gate array hardware are achieved.

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

↑