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

自分布二元神经网络

Self-Distribution Binary Neural Networks

Hefei University of Technology(合肥工业大学)

Ping Xue, Yang Lu, Jingfei Chang, Xing Wei, Zhen Wei

摘要:

在这项工作中,我们研究了二进制神经网络(BNN),其权重和激活都是二进制的(即,1-位表示)。特征表示对于深度神经网络至关重要,而在BNN中,特征仅在符号上有所不同。以往的工作将比例因子引入到二进制权重和激活中,以减少量化误差,有效地提高了BNN的分类精度。然而,缩放因子不仅增加了网络的计算复杂性,而且对二进制特征的符号没有意义。为此,提出了自分布二元神经网络(SD-BNN)。首先,我们利用激活自分布(ASD)自适应调整激活的符号分布,从而改善卷积输出的符号差。其次,我们通过权重自分布(WSD)调整权重的符号分布,然后微调卷积输出的符号分布。在具有各种网络结构的CIFAR-10和ImageNet数据集上进行的大量实验表明,所提出的SD-BNN始终优于最先进的(SOTA)BNN(例如,在CIFAR-10上达到92.5%,在ImageNet上达到66.5%,ResNet-18),计算成本更低。代码可在https://github.com/ pingxue-hfut/SD-BNN获得。

英文摘要:

In this work, we study the binary neural networks (BNNs) of which both the weights and activations are binary (i.e., 1-bit representation). Feature representation is critical for deep neural networks, while in BNNs, the features only differ in signs. Prior work introduces scaling factors into binary weights and activations to reduce the quantization error and effectively improves the classification accuracy of BNNs. However, the scaling factors not only increase the computational complexity of networks, but also make no sense to the signs of binary features. To this end, Self-Distribution Binary Neural Network (SD-BNN) is proposed. Firstly, we utilize Activation Self Distribution (ASD) to adaptively adjust the sign distribution of activations, thereby improve the sign differences of the outputs of the convolution. Secondly, we adjust the sign distribution of weights through Weight Self Distribution (WSD) and then fine-tune the sign distribution of the outputs of the convolution. Extensive experiments on CIFAR-10 and ImageNet datasets with various network structures show that the proposed SD-BNN consistently outperforms the state-of-the-art (SOTA) BNNs (e.g., achieves 92.5% on CIFAR-10 and 66.5% on ImageNet with ResNet-18) with less computation cost. Code is available at https://github.com/ pingxue-hfut/SD-BNN.

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

↑