回到简单性:如何从头开始训练准确的BNN?
Back to Simplicity: How to Train Accurate BNNs from Scratch?
摘要:
二进制神经网络(BNN)在降低计算和存储成本方面显示出有希望的进展,但与大规模数据集上的实值对应物相比,其精度大幅下降,例如,ImageNet.以前的工作主要集中在减少权重和激活的量化误差,从而提出了一系列近似方法和复杂的训练技巧。在这项工作中,我们提出了几个挑战传统智慧的观察结果。我们重新审视了一些常用的技术,如缩放因子和自定义梯度,并表明这些方法在训练性能良好的BNN时并不重要。相反,我们根据学到的见解提出了BNN的几个设计原则,并证明了高度准确的BNN可以用简单的训练策略从头开始训练。我们提出了一种新的BNN架构BinaryDenseNet,它大大超过了ImageNet上所有现有的1位CNN。在我们的实验中,BinaryDenseNet在ImageNet上的top-1准确度方面分别比著名的XNOR网络和当前最先进的Bi-Real网络提高了18.6%和7.6%。
英文摘要:
Binary Neural Networks (BNNs) show promising progress in reducing computational and memory costs but suffer from substantial accuracy degradation compared to their real-valued counterparts on large-scale datasets, e.g., ImageNet. Previous work mainly focused on reducing quantization errors of weights and activations, whereby a series of approximation methods and sophisticated training tricks have been proposed. In this work, we make several observations that challenge conventional wisdom. We revisit some commonly used techniques, such as scaling factors and custom gradients, and show that these methods are not crucial in training well-performing BNNs. On the contrary, we suggest several design principles for BNNs based on the insights learned and demonstrate that highly accurate BNNs can be trained from scratch with a simple training strategy. We propose a new BNN architecture BinaryDenseNet, which significantly surpasses all existing 1-bit CNNs on ImageNet without tricks. In our experiments, BinaryDenseNet achieves 18.6% and 7.6% relative improvement over the well-known XNOR-Network and the current state-of-the-art Bi-Real Net in terms of top-1 accuracy on ImageNet, respectively.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。