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

Xulong Shi, Zhi Qi, Jiaxuan Cai, Keqi Fu, Yaru Zhao +3 more
7/19/2022
cs.CVcs.AIcs.LG

Official code: imfinethanks/Rep_AdamBNN (5 stars, last commit 2022-07-20).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

50Shell, PythonJul 10, 20224 years ago

Cite this paper

@article{shi2022repbnn,
  title  = {RepBNN: towards a precise Binary Neural Network with Enhanced Feature Map via Repeating},
  author = {Xulong Shi and Zhi Qi and Jiaxuan Cai and Keqi Fu and Yaru Zhao and Zan Li and Xuanyu Liu and Hao Liu},
  year   = {2022},
  eprint = {2207.09049},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.09049v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2207.09049.svg)](https://codeofpaper.com/paper/2207.09049)

Discussion