BEP: A Binary Error Propagation Algorithm for Binary Neural Networks Training

ICLR 2026 Conference Submission12922 Authors

18 Sept 2025 (modified: 08 Oct 2025)ICLR 2026 Conference SubmissionEveryoneRevisionsBibTeXCC BY 4.0
Keywords: Binary Neural Networks, Fully binary training, Binary error backpropagation, Gradient-free optimization, Binary Recurrent Neural Networks
Abstract: Binary Neural Networks (BNNs), which constrain both weights and activations to binary values, offer substantial reductions in computational complexity, memory footprint, and energy consumption. These advantages make them particularly well suited for deployment on resource-constrained devices. However, training BNNs via gradient-based optimization remains challenging due to the discrete nature of their variables. The dominant approach, Quantization-Aware Training, circumvents this issue by employing surrogate gradients. Yet, this method requires maintaining latent full-precision parameters and performing the backward pass with floating-point arithmetic, thereby forfeiting the efficiency of binary operations during training. While alternative approaches based on local learning rules exist, they are unsuitable for global credit assignment and for back-propagating errors in multi-layer architectures. This paper introduces Binary Error Propagation (BEP), the first learning algorithm to establish a principled, discrete analog of the backpropagation chain rule. This mechanism enables error signals, represented as binary vectors, to be propagated backward through multiple layers of a neural network. BEP operates entirely on binary variables, with all forward and backward computations performed using only bitwise operations. Crucially, this makes BEP the first solution to enable end-to-end binary training for recurrent neural network architectures as well. We validate the effectiveness of BEP on both multi-layer perceptrons and recurrent neural networks, demonstrating performance gains of up to +8.70% and +12.30% in test accuracy, respectively. The proposed algorithm is released as an open-source repository.
Primary Area: unsupervised, self-supervised, semi-supervised, and supervised representation learning
Submission Number: 12922
Loading