FTBNN:重新思考1位CNN的非线性并超越
FTBNN: Rethinking Non-linearity for 1-bit CNNs and Going Beyond
摘要:
二进制神经网络(Binary Neural Network,BNN)是一种将权值和激活值都二进制化为1位的神经网络,由于其具有计算速度快、内存占用少等优点,近年来得到了广泛的研究。与以前的方法倾向于减少训练BNN结构的量化误差相比,我们认为二值化卷积过程对最小化这种误差的目标具有越来越大的线性,这反过来又妨碍了BNN的判别能力。在本文中,我们重新研究并调整了适当的非线性模块来解决这一矛盾,从而形成了一个强大的基线,在大规模ImageNet数据集上实现了最先进的性能,包括准确性和训练效率。为了更进一步,我们发现所提出的BNN模型仍然有很大的潜力,可以通过更好地利用有效的二进制运算来压缩,而不会失去准确性。此外,BNN模型的有限容量也可以通过组执行的帮助来增加。基于这些见解,我们能够以更少的计算成本提高基线,并获得额外的4~5%的top-1精度增益。我们的代码将在https://github.com/zhuogege1943/ftbnn上公开。
英文摘要:
Binary neural networks (BNNs), where both weights and activations are binarized into 1 bit, have been widely studied in recent years due to its great benefit of highly accelerated computation and substantially reduced memory footprint that appeal to the development of resource constrained devices. In contrast to previous methods tending to reduce the quantization error for training BNN structures, we argue that the binarized convolution process owns an increasing linearity towards the target of minimizing such error, which in turn hampers BNN's discriminative ability. In this paper, we re-investigate and tune proper non-linear modules to fix that contradiction, leading to a strong baseline which achieves state-of-the-art performance on the large-scale ImageNet dataset in terms of accuracy and training efficiency. To go further, we find that the proposed BNN model still has much potential to be compressed by making a better use of the efficient binary operations, without losing accuracy. In addition, the limited capacity of the BNN model can also be increased with the help of group execution. Based on these insights, we are able to improve the baseline with an additional 4~5% top-1 accuracy gain even with less computational cost. Our code will be made public at https://github.com/zhuogege1943/ftbnn.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。