Estimator Meets Equilibrium Perspective: A Rectified Straight Through Estimator for Binary Neural Networks Training

Xiao-Ming Wu, Dian Zheng, Zuhao Liu, Weishi Zheng
2/14/2026

No official code found. Best implementation: DravenALG/ReSTE (35 stars, MIT, last commit 2024-09-20).

Abstract

Binarization of neural networks is a dominant paradigm in neural networks compression. The pioneering work BinaryConnect uses Straight Through Estimator (STE) to mimic the gradients of the sign function, but it also causes the crucial inconsistency problem. Most of the previous methods design different estimators instead of STE to mitigate it. However, they ignore the fact that when reducing the estimating error, the gradient stability will decrease concomitantly. These highly divergent gradients will harm the model training and increase the risk of gradient vanishing and gradient exploding. To fully take the gradient stability into consideration, we present a new perspective to the BNNs training, regarding it as the equilibrium between the estimating error and the gradient stability. In this view, we firstly design two indicators to quantitatively demonstrate the equilibrium phenomenon. In addition, in order to balance the estimating error and the gradient stability well, we revise the original straight through estimator and propose a power function based estimator, Rectified Straight Through Estimator (ReSTE for short). Comparing to other estimators, ReSTE is rational and capable of flexibly balancing the estimating error with the gradient stability. Extensive experiments on CIFAR-10 and ImageNet datasets show that ReSTE has excellent performance and surpasses the state-of-the-art methods without any auxiliary modules or losses.

View on arXivView PDF

Code Implementations(1)

DravenALG/ReSTECommunity100%
MIT

(ICCV 2023) Official implementation of Rectified Straight Through Estimator (ReSTE).

352PythonJul 26, 20232 years agoMIT

Similar Papers

Cite this paper

@article{wu2026estimator,
  title  = {Estimator Meets Equilibrium Perspective: A Rectified Straight Through Estimator for Binary Neural Networks Training},
  author = {Xiao-Ming Wu and Dian Zheng and Zuhao Liu and Weishi Zheng},
  year   = {2026},
  eprint = {2308.06689},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2308.06689},
  journal = {ICCV 2023 2023}
}

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

Discussion