精确二值神经网络的分布-敏感信息保持
Distribution-sensitive Information Retention for Accurate Binary Neural Network
摘要:
模型二值化是压缩神经网络和加速其推理过程的有效方法。然而,1位模型和32位模型之间仍然存在显著的性能差距。实验结果表明,二值化在前向传播和后向传播过程中造成了较大的信息损失。提出了一种新的分布式敏感信息保持网络(DIR-Net),它通过改进内部传播和引入外部表示来保持前向和后向传播中的信息。DIR-Net主要依靠三个技术贡献:(1)信息最大化二值化(IMB):通过权值平衡和标准化,同时最小化权值/激活的信息损失和二值化误差;(2)分布敏感两阶段估计(DTE):通过分布敏感软逼近,结合更新能力和精确梯度,保留梯度信息;(3)Representation-align Binarization-aware Distillation(RBD):通过在全精度和二值化网络之间提取表示来保留表示信息。DIR网络从统一信息的角度研究了BNN的前向和后向过程,从而为网络二值化机制提供了新的见解。我们的DIR网络中的三种技术是通用的和有效的,可以应用于各种结构,以改善BNN。对图像分类和目标检测任务的综合实验表明,我们的DIR-Net在主流和紧凑的架构下,如ResNet,VGG,EfficientNet,DARTS和MobileNet,始终优于最先进的二值化方法。此外,我们在现实世界的资源有限的设备上进行我们的DIR网络,实现了11.1倍的存储节省和5.4倍的加速。
英文摘要:
Model binarization is an effective method of compressing neural networks and accelerating their inference process. However, a significant performance gap still exists between the 1-bit model and the 32-bit one. The empirical study shows that binarization causes a great loss of information in the forward and backward propagation. We present a novel Distribution-sensitive Information Retention Network (DIR-Net) that retains the information in the forward and backward propagation by improving internal propagation and introducing external representations. The DIR-Net mainly relies on three technical contributions: (1) Information Maximized Binarization (IMB): minimizing the information loss and the binarization error of weights/activations simultaneously by weight balance and standardization; (2) Distribution-sensitive Two-stage Estimator (DTE): retaining the information of gradients by distribution-sensitive soft approximation by jointly considering the updating capability and accurate gradient; (3) Representation-align Binarization-aware Distillation (RBD): retaining the representation information by distilling the representations between full-precision and binarized networks. The DIR-Net investigates both forward and backward processes of BNNs from the unified information perspective, thereby providing new insight into the mechanism of network binarization. The three techniques in our DIR-Net are versatile and effective and can be applied in various structures to improve BNNs. Comprehensive experiments on the image classification and objective detection tasks show that our DIR-Net consistently outperforms the state-of-the-art binarization approaches under mainstream and compact architectures, such as ResNet, VGG, EfficientNet, DARTS, and MobileNet. Additionally, we conduct our DIR-Net on real-world resource-limited devices which achieves 11.1x storage saving and 5.4x speedup.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。