[Paper Review] Training Binary Neural Networks through Learning with Noisy Supervision
This paper proposes a learnable mapping approach for binarizing neural network weights using noisy supervision from pretrained binary weights, replacing the standard sign function with a neural network that processes full-precision filters as a whole. The method employs an unbiased estimator to mitigate noise in supervision, achieving state-of-the-art accuracy on ImageNet with 59.4% top-1 accuracy on ResNet-18 and 44.4% on AlexNet.
This paper formalizes the binarization operations over neural networks from a learning perspective. In contrast to classical hand crafted rules (\eg hard thresholding) to binarize full-precision neurons, we propose to learn a mapping from full-precision neurons to the target binary ones. Each individual weight entry will not be binarized independently. Instead, they are taken as a whole to accomplish the binarization, just as they work together in generating convolution features. To help the training of the binarization mapping, the full-precision neurons after taking sign operations is regarded as some auxiliary supervision signal, which is noisy but still has valuable guidance. An unbiased estimator is therefore introduced to mitigate the influence of the supervision noise. Experimental results on benchmark datasets indicate that the proposed binarization technique attains consistent improvements over baselines.
Motivation & Objective
- Address the performance gap between full-precision and binary neural networks (BNNs), which stems from suboptimal binarization methods.
- Overcome the limitations of handcrafted binarization rules like the sign function, which treat weights independently and introduce gradient noise via the straight-through estimator (STE).
- Leverage pretrained binary weights as noisy but informative supervision signals to guide the learning of a more effective binarization mapping.
- Develop a robust training mechanism that mitigates the impact of noisy supervision to converge toward optimal binary weights.
- Achieve state-of-the-art performance in BNNs without increasing bit-width beyond 1-bit, demonstrating the effectiveness of joint neuron-level binarization.
Proposed method
- Formalize binarization as a learning problem: learn a mapping from full-precision filters to binary weights, treating each filter as a whole input instead of individual weights.
- Use the sign of full-precision weights as a noisy supervision signal, derived from a pretrained BNN, to supervise the training of the binarization network.
- Introduce an unbiased estimator for the mean squared error loss to correct for bias introduced by noisy labels, ensuring convergence to the true binary weight distribution.
- Train the binarization network end-to-end via fine-tuning, using the unbiased loss to optimize the mapping function while preserving the original network’s structure.
- Apply the learned mapping in place of the sign function during inference, enabling efficient 1-bit inference with improved accuracy.
- Use layer-wise scaling factors to maintain performance, avoiding the complexity of channel-wise scaling while still achieving strong results.
Experimental results
Research questions
- RQ1Can a learnable mapping from full-precision to binary weights outperform the standard sign function in binarizing neural networks?
- RQ2How can noisy supervision from pretrained binary weights be effectively leveraged to train a binarization network without introducing bias?
- RQ3Does an unbiased estimator for the mean squared error loss enable convergence to the optimal binary weight configuration under noisy supervision?
- RQ4Can the proposed method achieve state-of-the-art performance in BNNs across different architectures like ResNet-18 and AlexNet?
- RQ5Is the performance gain from joint binarization of filter-level weights significant compared to independent weight binarization?
Key findings
- The proposed LNS method achieves 59.4% top-1 accuracy on ImageNet using ResNet-18, surpassing the baseline Dorefa-Net (52.5%) and state-of-the-art BNNs.
- On the AlexNet architecture, the method achieves 44.4% top-1 accuracy, outperforming XNOR-Net (44.2%) despite using only layer-wise scaling instead of channel-wise scaling.
- The method achieves higher accuracy than several 2-bit networks such as HWGQ and TBN, demonstrating that 1-bit networks can outperform higher-bit models when using better binarization strategies.
- The unbiased estimator effectively mitigates noise from the sign-based supervision, enabling stable training and convergence to optimal binary weights.
- The ablation study confirms that joint binarization of filter-level weights (rather than per-weight) leads to consistent performance gains across datasets and architectures.
- Fine-tuning with the proposed method yields consistent improvements over baseline BNNs, validating its effectiveness as a plug-in alternative to the sign function.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.