Bi-Real Net: Binarizing Deep Network Towards Real-Network Performance

Zechun Liu, Wenhan Luo, Baoyuan Wu, Xin Yang, Wei Liu +1 more
11/4/2018
cs.CV

Official code: liuzechun/Bi-Real-net (185 stars, C++, last commit 2021-03-28).

Abstract

In this paper, we study 1-bit convolutional neural networks (CNNs), of which both the weights and activations are binary. While efficient, the lacking of representational capability and the training difficulty impede 1-bit CNNs from performing as well as real-valued networks.

Show full abstract

We propose Bi-Real net with a novel training algorithm to tackle these two challenges. To enhance the representational capability, we propagate the real-valued activations generated by each 1-bit convolution via a parameter-free shortcut. To address the training difficulty, we propose a training algorithm using a tighter approximation to the derivative of the sign function, a magnitude-aware gradient for weight updating, a better initialization method, and a two-step scheme for training a deep network. Experiments on ImageNet show that an 18-layer Bi-Real net with the proposed training algorithm achieves 56.4% top-1 classification accuracy, which is 10% higher than the state-of-the-arts (e.g., XNOR-Net) with greater memory saving and lower computational cost. Bi-Real net is also the first to scale up 1-bit CNNs to an ultra-deep network with 152 layers, and achieves 64.5% top-1 accuracy on ImageNet. A 50-layer Bi-Real net shows comparable performance to a real-valued network on the depth estimation task with only a 0.3% accuracy gap.

View on arXivView PDF

Code Implementations(1)

Bi-Real Net: Enhancing the Performance of 1-bit CNNs With Improved Representational Capability and Advanced Training Algorithm. In ECCV 2018 and IJCV

18539C++, PythonAug 27, 20185 years ago

Similar Papers

Cite this paper

@article{liu2018bireal,
  title  = {Bi-Real Net: Binarizing Deep Network Towards Real-Network Performance},
  author = {Zechun Liu and Wenhan Luo and Baoyuan Wu and Xin Yang and Wei Liu and Kwang-Ting Cheng},
  year   = {2018},
  eprint = {1811.01335},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1811.01335}
}

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/1811.01335.svg)](https://codeofpaper.com/paper/1811.01335)

Discussion