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

训练二值化深度网络的正则化激活分布

Regularizing Activation Distribution for Training Binarized Deep Networks

Carnegie Mellon University(卡内基梅隆大学)

Ruizhou Ding, Ting-Wu Chin, Zeye Liu, Diana Marculescu

摘要:

二值化神经网络(BNN)由于其纯逻辑计算和较少的存储器访问,可以显著降低资源受限设备中的推理延迟和能量消耗。然而,训练BNN是困难的,因为激活流遇到退化,饱和和梯度失配问题。先前的工作通过增加激活位和添加浮点缩放因子来解决这些问题,从而牺牲了BNN的能量效率。在本文中,我们提出使用分布损失显式正则化激活流,并开发了一个框架,系统地制定损失。我们的实验表明,分布损失可以持续提高BNN的准确性,而不会失去其能量效益。此外,配备了所提出的正则化,BNN训练被证明是强大的超参数的选择,包括优化器和学习率。

英文摘要:

Binarized Neural Networks (BNNs) can significantly reduce the inference latency and energy consumption in resource-constrained devices due to their pure-logical computation and fewer memory accesses. However, training BNNs is difficult since the activation flow encounters degeneration, saturation, and gradient mismatch problems. Prior work alleviates these issues by increasing activation bits and adding floating-point scaling factors, thereby sacrificing BNN's energy efficiency. In this paper, we propose to use distribution loss to explicitly regularize the activation flow, and develop a framework to systematically formulate the loss. Our experiments show that the distribution loss can consistently improve the accuracy of BNNs without losing their energy benefits. Moreover, equipped with the proposed regularization, BNN training is shown to be robust to the selection of hyper-parameters including optimizer and learning rate.

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

↑