Abstract
Batch Normalization (BN) is a cornerstone of modern deep learning, yet the mechanisms behind its success remain debated. This paper argues that BN's primary advantage stems from the inherent stochasticity of batch statistics, which functions as a practical form of Bayesian learning. By formalizing this noise within a variational inference framework, the authors demonstrate how to achieve superior generalization and calibrated uncertainty estimates across various architectures and datasets.
Introduction
Batch Normalization is a staple in deep neural networks, originally motivated by the goal of reducing "internal covariate shift." However, recent evidence suggests this explanation is incomplete. Deterministic alternatives, such as Weight Normalization or Layer Normalization, often fail to match BN's generalization performance, particularly in small-batch or recurrent settings. This paper addresses this gap by framing the "noise" in batch statistics not as a nuisance, but as a critical regularizer equivalent to Bayesian inference.
The Stochastic Nature of Normalization
The authors decompose BN into two primary components:
- Reparametrization: Normalization alters the loss landscape geometry, preconditioning gradient descent. To ensure stability, the authors propose projecting weights onto a unit sphere ($||w||=1$) after each update.
- Stochasticity: The randomness inherent in calculating statistics over small batches introduces both additive and multiplicative noise.
By treating the network's scaling factors as random variables with learned distributions, the authors move from "accidental" noise to Normalization with Bayesian Learning. Using Variational Inference, they optimize a lower bound on the data evidence, effectively turning normalization into a principled Bayesian method.
Key Insights: Noise as a Feature
A central finding is that the randomness in batch statistics prevents model over-confidence. When training with smaller batch sizes, the increased noise acts as a stronger regularizer. As shown in the comparison between batch sizes of 32 and 1024, the noisier small-batch training leads to higher training loss but significantly better validation performance.
This perspective allows for the benefits of BN to be realized even in regimes where it traditionally struggles, such as training with a batch size of 1, by decoupling the noise level from the physical batch size.
Experimental Results
The proposed methods were evaluated on CIFAR-10 and the DIC-HeLa cell segmentation dataset.
- Generalization: On CIFAR-10, the "Analytic Normalization + Bayesian Learning" approach achieved 94.4% accuracy, surpassing standard BN (92.7%).
- Uncertainty Calibration: The Bayesian approach provides a measure of model uncertainty through Monte Carlo sampling. In terms of Test Negative Log Likelihood, the method reached 0.20, a substantial improvement over standard BN's 0.34.
- Low-Data Regimes: On the DIC-HeLa dataset (only 20 annotated images), the Bayesian approach effectively mitigated overfitting, closing the gap between training and validation performance.
Conclusion
By reinterpreting stochastic normalization as Bayesian learning, this work provides a theoretical foundation for one of deep learning's most successful heuristics. The resulting framework not only improves accuracy but also provides reliable uncertainty estimates, making it a valuable tool for safety-critical applications where knowing when a model is "uncertain" is as important as its raw performance.
Summary updated