English

Accurate and Compact Convolutional Neural Networks with Trained Binarization

Computer Vision and Pattern Recognition 2019-09-26 v1 Machine Learning

Abstract

Although convolutional neural networks (CNNs) are now widely used in various computer vision applications, its huge resource demanding on parameter storage and computation makes the deployment on mobile and embedded devices difficult. Recently, binary convolutional neural networks are explored to help alleviate this issue by quantizing both weights and activations with only 1 single bit. However, there may exist a noticeable accuracy degradation when compared with full-precision models. In this paper, we propose an improved training approach towards compact binary CNNs with higher accuracy. Trainable scaling factors for both weights and activations are introduced to increase the value range. These scaling factors will be trained jointly with other parameters via backpropagation. Besides, a specific training algorithm is developed including tight approximation for derivative of discontinuous binarization function and L2L_2 regularization acting on weight scaling factors. With these improvements, the binary CNN achieves 92.3% accuracy on CIFAR-10 with VGG-Small network. On ImageNet, our method also obtains 46.1% top-1 accuracy with AlexNet and 54.2% with Resnet-18 surpassing previous works.

Keywords

Cite

@article{arxiv.1909.11366,
  title  = {Accurate and Compact Convolutional Neural Networks with Trained Binarization},
  author = {Zhe Xu and Ray C. C. Cheung},
  journal= {arXiv preprint arXiv:1909.11366},
  year   = {2019}
}

Comments

Accepted as an Oral presentation in British Machine Vision Conference (BMVC) 2019

R2 v1 2026-06-23T11:25:13.401Z