arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2102.09298cs.LGcs.CV
收藏

GradFreeBits:动态低精度神经网络的无梯度比特分配

GradFreeBits: Gradient Free Bit Allocation for Dynamic Low Precision Neural Networks

Brown University(布朗大学);Ben-Gurion University(本-古里安大学)

Benjamin J. Bodner, Gil Ben Shalom, Eran Treister

摘要:

量化神经网络(QNN)是在低资源边缘设备上部署深度神经网络的主要方法之一。在整个网络中使用不同级别的精度(动态量化)来训练QNN通常可以在性能和计算负载之间实现更好的权衡。然而,优化QNN的不同精度级别可能是复杂的,因为比特分配的值是离散的并且难以区分。此外,充分考虑不同层的比特分配之间的依赖性并不是直截了当的。为了应对这些挑战,在这项工作中,我们提出了GradFreeBits:一种用于训练动态QNN的新型联合优化方案,它在基于梯度的权重优化和无梯度的比特分配优化之间交替。我们的方法在CIFAR 10/100和ImageNet分类上实现了更好或与当前最先进的低精度神经网络相当的性能。此外,我们的方法可以扩展到各种其他应用程序,涉及神经网络与参数结合使用,这是很难优化。

英文摘要:

Quantized neural networks (QNNs) are among the main approaches for deploying deep neural networks on low resource edge devices. Training QNNs using different levels of precision throughout the network (dynamic quantization) typically achieves superior trade-offs between performance and computational load. However, optimizing the different precision levels of QNNs can be complicated, as the values of the bit allocations are discrete and difficult to differentiate for. Also, adequately accounting for the dependencies between the bit allocation of different layers is not straight-forward. To meet these challenges, in this work we propose GradFreeBits: a novel joint optimization scheme for training dynamic QNNs, which alternates between gradient-based optimization for the weights, and gradient-free optimization for the bit allocation. Our method achieves better or on par performance with current state of the art low precision neural networks on CIFAR10/100 and ImageNet classification. Furthermore, our approach can be extended to a variety of other applications involving neural networks used in conjunction with parameters which are difficult to optimize for.

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

↑