Layerwise Progressive Freezing: A Training Scaffold for Depth-Scalable Binary Networks
Evan G Smith, Bashima Islam
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: Interpretability & Model Adaptation › Neural Network Optimization and Training · Type: new method · Keywords: binary neural networks, progressive training, gradient blockades, efficient inference, layerwise binarization
Summary
StoMPP introduces a layerwise progressive binarization scheme that gradually replaces clipped weights and activations with hard binary counterparts from input to output, providing a fully STE-free training procedure that improves binary neural network accuracy as depth increases.
Explained to a 5-year-old
Computers that only use 0s and 1s are very small and use little power. When we make them really deep, they often forget what they learned. The new idea is to change the numbers to 0s and 1s slowly, starting from the first layer and moving forward. This slow change helps the computer keep learning as it gets bigger. It also works when we use a helper trick, making the small computers smarter for tiny devices.
Explained to a 5-year-old, longer
Binary neural networks are like tiny brains that only know two numbers, 0 and 1. They are used in small devices because they need very little power. When we make these networks deeper, they sometimes lose the knowledge they have learned. The researchers noticed that how we turn the numbers into 0s and 1s matters a lot. They created a method that changes the numbers gradually, one layer at a time, from the beginning to the end. This slow change is called progressive binarization. By doing it forward, the network avoids a problem where gradients stop flowing, which helps learning. The method can be used on its own, without any special tricks, and it already improves accuracy. It can also be combined with existing tricks, making it even better. The study also shows that if we change the order (reverse), the network performs poorly. They found that only the activation part matters for this effect; the weight part is not sensitive. All experiments were done in a setting that removes the influence of the usual surrogate gradient trick, so the results reflect the pure effect of the progressive schedule. This gives clear insight into why the order matters and opens the way for more efficient tiny AI models.
For a technical reader
The paper proposes a layerwise progressive binarization technique that replaces real-valued weights and activations with binary values gradually, starting from the input layer and moving toward the output. This is done using stochastic masks that are softly refreshed, allowing a smooth transition. The method can be applied either as a standalone STE-free training rule or together with surrogate gradients, where STE is only used on frozen entries. Forward progression is crucial; reverse progression leads to near-random performance. The key insight is that binary activations create gradient blockades upstream, and the order of binarization controls when these blockades appear. Experiments on ResNet variants, MobileNetV2, and BERT fine-tuning show significant accuracy gains over vanilla STE, both in the STE-free regime and when combined with STE.
Problem
Training binary neural networks from scratch suffers from severe accuracy degradation as networks become deeper, largely due to the forward/backward mismatch of the straight-through estimator (STE). Existing methods focus on improving surrogate gradient estimators but do not address when and where binarization is applied during training.
Method
The approach gradually replaces clipped weights and activations with hard binary values layer by layer from input to output, using stochastic partial masks with soft refresh. When combined with surrogate gradients, STE is applied only to frozen entries, and forward layerwise progression is essential to avoid activation-induced gradient blockades.
Results
The approach achieves +18.0%/+13.5%/+3.8 top-1 accuracy gains over vanilla STE on ResNet-50 BNN for CIFAR-10/CIFAR-100/ImageNet, and similar improvements across ResNet-18/34/50, MobileNetV2, and BERT fine-tuning. When combined with STE, gains increase to +27.1%/+19.8%/+17.7 under the same settings.
Contributions
The paper identifies that the order of layerwise binarization critically influences training dynamics and proposes a progressive binarization schedule that can be used without STE or with STE on frozen entries. It provides an ablation study isolating the effect of progression from surrogate gradients, revealing activation-induced gradient blockades as the underlying cause.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction