arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2206.08852cs.LG
收藏

约束边节点上DNN推理的逐行混合精度分配

Channel-wise Mixed-precision Assignment for DNN Inference on Constrained Edge Nodes

University of Bologna(博洛尼亚大学);Politecnico di Torino(都灵理工大学)

Matteo Risso, Alessio Burrello, Luca Benini, Enrico Macii, Massimo Poncino, Daniele Jahier Pagliari

摘要:

量化在云和边缘系统中被广泛采用,以减少深度神经网络的内存占用、延迟和能耗。特别地,混合精度量化,即,对于网络的不同部分使用不同的比特宽度,已经被证明在有限的精度下降的情况下提供了优异的效率增益,特别是在由自动神经结构搜索(NAS)工具确定的优化的比特宽度分配的情况下。最先进的混合精度工程分层,即,它对每个网络层的权重和激活张量使用不同的位宽。在这项工作中,我们扩大了搜索空间,提出了一种新的NAS,独立地选择每个权重张量通道的位宽。这为该工具提供了额外的灵活性,可以仅为与信息量最大的特征相关联的权重分配更高的精度。在MLPerf Tiny基准测试套件上进行测试,我们获得了丰富的Pareto最优模型集合,包括准确度与模型大小和准确度与能量空间。当部署在MPIC RISC-V边缘处理器上时,我们的网络与分层方法相比,在相同的精度下,推理的内存和能量分别减少了63%和27%。

英文摘要:

Quantization is widely employed in both cloud and edge systems to reduce the memory occupation, latency, and energy consumption of deep neural networks. In particular, mixed-precision quantization, i.e., the use of different bit-widths for different portions of the network, has been shown to provide excellent efficiency gains with limited accuracy drops, especially with optimized bit-width assignments determined by automated Neural Architecture Search (NAS) tools. State-of-the-art mixed-precision works layer-wise, i.e., it uses different bit-widths for the weights and activations tensors of each network layer. In this work, we widen the search space, proposing a novel NAS that selects the bit-width of each weight tensor channel independently. This gives the tool the additional flexibility of assigning a higher precision only to the weights associated with the most informative features. Testing on the MLPerf Tiny benchmark suite, we obtain a rich collection of Pareto-optimal models in the accuracy vs model size and accuracy vs energy spaces. When deployed on the MPIC RISC-V edge processor, our networks reduce the memory and energy for inference by up to 63% and 27% respectively compared to a layer-wise approach, for the same accuracy.

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

↑