Abstract
Despite its empirical success and recent theoretical progress, there generally lacks a quantitative analysis of the effect of batch normalization (BN) on the convergence and stability of gradient descent. In this paper, we provide such an analysis on the simple problem of ordinary least squares (OLS). Since precise dynamical properties of gradient descent (GD) is completely known for the OLS problem, it allows us to isolate and compare the additional effects of BN. More precisely, we show that unlike GD, gradient descent with BN (BNGD) converges for arbitrary learning rates for the weights, and the convergence remains linear under mild conditions. Moreover, we quantify two different sources of acceleration of BNGD over GD -- one due to over-parameterization which improves the effective condition number and another due having a large range of learning rates giving rise to fast descent. These phenomena set BNGD apart from GD and could account for much of its robustness properties. These findings are confirmed quantitatively by numerical experiments, which further show that many of the uncovered properties of BNGD in OLS are also observed qualitatively in more complex supervised learning problems.
Introduction
Since its introduction in 2015, Batch Normalization (BN) has been credited with "reducing internal covariate shift." However, many researchers find this explanation mathematically vague or even incorrect. While BN clearly helps train deeper networks faster, we’ve lacked a precise, quantitative comparison between standard Gradient Descent (GD) and Gradient Descent with BN (BNGD).
The challenge is that deep neural networks are too complex to analyze perfectly. To bridge this gap, the authors apply BN to the simplest possible supervised learning problem: Ordinary Least Squares (OLS) regression. Because the dynamics of GD on OLS are already fully understood, it provides a "clean room" to isolate and measure exactly what BN adds to the mix.
The OLS Framework and Scaling Property
The authors formulate "BNGD" by applying the standard BN transformation to a linear regression model. This introduces a form of over-parameterization: instead of just training weights ($w$), the model now has a rescaling parameter ($a$) and a normalized weight vector.
Key to their approach is the Scaling Property: they prove that BNGD is invariant to the scale of the initial weights. This allows them to derive an "effective learning rate" that evolves during training, unlike the fixed learning rate in standard GD. They also compare the Hessian (the matrix of second derivatives) of the standard problem ($H$) against the Hessian of the BN-augmented problem ($H^*$).
Key Insights
- Convergence for All: In standard GD, if your learning rate is too high, the loss explodes. The authors prove that BNGD converges for arbitrarily large learning rates for the weights. BN essentially "self-corrects" the step size.
- The Power of Over-parameterization: By adding the rescaling parameter $a$, BN changes the geometry of the loss landscape. The new Hessian ($H^*$) has a lower "effective condition number" than the original $H$. BN makes the "valleys" in the loss landscape less steep and more uniform, allowing for faster descent.
- The Dimensionality Bonus: A surprising finding is that the range of "safe" learning rates for BNGD increases linearly with the dimensionality of the problem. This explains why BN becomes more indispensable as models get wider and deeper.
- Robustness to Tuning: BNGD is insensitive to the choice of learning rate over a wide interval. While GD requires a perfectly tuned $\epsilon$, BNGD performs optimally across a broad plateau of values.
Key Results and Empirical Validation
The authors proved that BNGD maintains a linear convergence rate under mild conditions, even with massive learning rates. Theoretically and numerically, BNGD was shown to be faster than the best-case scenario for standard GD. This acceleration is quantified as a function of the improved condition number of $H^*$.
Experiments on MNIST and CIFAR-10 confirmed that the "plateau of stability" for learning rates exists in deep networks and scales with the width of the hidden layers, just as the OLS model predicted. As shown in the empirical results, the range of stable learning rates ($\Omega$) grows with the hidden layer dimension $d$, matching the theoretical linear prediction.
Conclusion
By stripping optimization down to the OLS case, this research provides a rigorous mathematical foundation for why Batch Normalization is so effective. Its ability to self-correct learning rates and improve the loss landscape's geometry makes it far more robust than standard gradient descent, particularly in high-dimensional settings common in modern deep learning.
Summary updated