Skip to main content
QUICK REVIEW

[Paper Review] Forward and Backward Information Retention for Accurate Binary Neural Networks

Haotong Qin, Ruihao Gong|arXiv (Cornell University)|Sep 24, 2019
Advanced Neural Network ApplicationsComputer Science50 references25 citations
TL;DR

This paper proposes IR-Net, a novel framework for training highly accurate binary neural networks by simultaneously minimizing information loss in both forward and backward propagation. It introduces Libra Parameter Binarization (Libra-PB) to preserve activation diversity through entropy-maximizing weight quantization and an Error Decay Estimator (EDE) that adaptively approximates the sign function during backpropagation, achieving state-of-the-art accuracy on CIFAR-10 and ImageNet with 1-bit weights and activations.

ABSTRACT

Weight and activation binarization is an effective approach to deep neural network compression and can accelerate the inference by leveraging bitwise operations. Although many binarization methods have improved the accuracy of the model by minimizing the quantization error in forward propagation, there remains a noticeable performance gap between the binarized model and the full-precision one. Our empirical study indicates that the quantization brings information loss in both forward and backward propagation, which is the bottleneck of training accurate binary neural networks. To address these issues, we propose an Information Retention Network (IR-Net) to retain the information that consists in the forward activations and backward gradients. IR-Net mainly relies on two technical contributions: (1) Libra Parameter Binarization (Libra-PB): simultaneously minimizing both quantization error and information loss of parameters by balanced and standardized weights in forward propagation; (2) Error Decay Estimator (EDE): minimizing the information loss of gradients by gradually approximating the sign function in backward propagation, jointly considering the updating ability and accurate gradients. We are the first to investigate both forward and backward processes of binary networks from the unified information perspective, which provides new insight into the mechanism of network binarization. Comprehensive experiments with various network structures on CIFAR-10 and ImageNet datasets manifest that the proposed IR-Net can consistently outperform state-of-the-art quantization methods.

Motivation & Objective

  • To address the performance gap between full-precision and binarized neural networks caused by information loss in forward and backward propagation.
  • To investigate forward and backward information flow in binary networks from a unified information-theoretic perspective.
  • To develop a method that preserves model diversity during forward pass and ensures accurate, stable gradients during backpropagation.
  • To maintain high inference efficiency while significantly improving accuracy over existing quantization methods.

Proposed method

  • Libra Parameter Binarization (Libra-PB) balances and standardizes weights before binarization to minimize quantization error and maximize information entropy, preserving activation diversity.
  • The Error Decay Estimator (EDE) gradually approximates the sign function during backpropagation, reducing gradient mismatch and improving optimization stability.
  • EDE dynamically adjusts its approximation based on training progress, ensuring strong updating ability early and accurate gradients late in training.
  • The method integrates seamlessly into standard training pipelines without requiring additional floating-point operations or complex modifications.
  • IR-Net maintains compatibility with standard binary neural network frameworks and supports both 1-bit and mixed-precision settings.
  • The framework is designed to be efficient, with minimal computational overhead, especially in inference where bit-shift operations are used.

Experimental results

Research questions

  • RQ1How does information loss in forward and backward propagation affect the accuracy of binary neural networks?
  • RQ2Can a unified information-theoretic perspective improve the design of binarization methods in deep networks?
  • RQ3How can we simultaneously minimize quantization error and preserve gradient information during backpropagation in binary networks?
  • RQ4Can adaptive gradient approximation improve training stability and final accuracy compared to fixed approximations like STE?
  • RQ5To what extent can information retention in both forward and backward passes close the accuracy gap between full-precision and binary models?

Key findings

  • On ImageNet with ResNet-18, IR-Net achieved a Top-1 accuracy of 58.1% in the 1W/1A setting, surpassing Bi-Real Net (56.4%) and outperforming 2-bit weight methods like TWN.
  • In the 1W/32A setting on ImageNet, IR-Net achieved 66.5% Top-1 accuracy, exceeding BWHN (64.3%) and SQ-TWN (63.8%) with 2-bit weights.
  • On CIFAR-10, IR-Net achieved 91.5% accuracy with ResNet-18 using 1W/1A, outperforming the previous SOTA method (86.5%) by a significant margin.
  • For VGG-Small on CIFAR-10, IR-Net achieved 90.4% accuracy in 1W/1A, exceeding XNOR (89.8%) and BNN (89.9%) by over 0.5 percentage points.
  • On Raspberry Pi 3B, IR-Net achieved an inference time of 261.98ms for ResNet-18 with 1-bit weights, significantly faster than DSQ (551.22ms) and NCNN (935.51ms) with higher bitwidths.
  • The model size of IR-Net was only 4.21MB, and bit-shift operations introduced negligible overhead, confirming its efficiency in real-world deployment.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.