arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2207.09049cs.CVcs.AIcs.LG
收藏

RepBNN:通过重复实现具有增强特征映射的精确二进制神经网络

RepBNN: towards a precise Binary Neural Network with Enhanced Feature Map via Repeating

Southeast University(东南大学);National ASIC System Engineering Research Center(国家专用集成电路系统工程技术研究中心)

Xulong Shi, Zhi Qi, Jiaxuan Cai, Keqi Fu, Yaru Zhao, Zan Li, Xuanyu Liu, Hao Liu

摘要:

二进制神经网络(BNN)是卷积神经网络(CNN)的极端量化版本,所有特征和权重都映射到1位。虽然BNN节省了大量的内存和计算需求,使CNN适用于边缘或移动设备,但由于二值化后表示能力的降低,BNN遭受网络性能的下降。在本文中,我们提出了一个新的可替换和易于使用的卷积模块RepConv,它通过沿通道维度复制输入或输出来增强特征映射$β$倍,而无需额外的参数和卷积计算的数量。我们还定义了一组RepTran规则,以便在整个BNN模块中使用RepConv,如二进制卷积,全连接层和批量归一化。实验表明,经过RepTran变换后,一组高引用的BNN比原始BNN版本具有更好的性能。例如,Rep-ReCU-ResNet-20的Top-1准确度,即,一个RepBconv增强的ReCU-ResNet-20,在CIFAR-10上达到88.97%,比原网络提高了1.47%。Rep-AdamBNN-ReActNet-A在ImageNet上达到了71.342%的Top-1准确率,这是BNN的最新成果。代码和模型可在https://github.com/imfinethanks/Rep_AdamBNN上获得。

英文摘要:

Binary neural network (BNN) is an extreme quantization version of convolutional neural networks (CNNs) with all features and weights mapped to just 1-bit. Although BNN saves a lot of memory and computation demand to make CNN applicable on edge or mobile devices, BNN suffers the drop of network performance due to the reduced representation capability after binarization. In this paper, we propose a new replaceable and easy-to-use convolution module RepConv, which enhances feature maps through replicating input or output along channel dimension by $β$ times without extra cost on the number of parameters and convolutional computation. We also define a set of RepTran rules to use RepConv throughout BNN modules like binary convolution, fully connected layer and batch normalization. Experiments demonstrate that after the RepTran transformation, a set of highly cited BNNs have achieved universally better performance than the original BNN versions. For example, the Top-1 accuracy of Rep-ReCU-ResNet-20, i.e., a RepBconv enhanced ReCU-ResNet-20, reaches 88.97% on CIFAR-10, which is 1.47% higher than that of the original network. And Rep-AdamBNN-ReActNet-A achieves 71.342% Top-1 accuracy on ImageNet, a fresh state-of-the-art result of BNNs. Code and models are available at:https://github.com/imfinethanks/Rep_AdamBNN.

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

↑