NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Batch Normalization Orthogonalizes Representations in Deep Random Networks

Hadi Daneshmand, Amir Joudaki, Francis R. Bach

Batch Normalization (BN) is the "secret sauce" of deep learning, found in almost every successful architecture from ResNets to Transformers. While we know it helps models train faster and more stably, the theoretical community is still debating why. Is it reducing internal covariate shift? Smoothing the loss landscape?

A new paper by Hadi Daneshmand, Amir Joudaki, and Francis Bach offers a refreshing perspective: Batch Normalization acts as an approximation algorithm that orthogonalizes hidden representations.

The Problem: Rank Collapse

In deep vanilla networks (those without BN), hidden representations tend to become highly correlated as they pass through many layers. Imagine a batch of distinct images; by the 50th layer of a random vanilla network, their mathematical representations might all point in nearly the same direction. This is known as rank collapse or alignment.

Absolute cosine similarity between hidden representations in BN vs. Vanilla networks.

When representations are aligned, Stochastic Gradient Descent (SGD) struggles. It has to spend many iterations just "untangling" these representations before it can actually start the useful work of classification. The authors quantify exactly how BN prevents this and show that this "orthogonalizing" effect is a primary reason BN accelerates training.

BN as a Cheap SVD

The researchers introduced a metric called the "orthogonality gap" ($V(H)$), which measures how much the inner products of different samples in a batch deviate from a perfectly orthogonal state. They argue that perfectly orthogonalizing a matrix requires computing its inverse, which is computationally expensive. Batch Normalization’s simple diagonal normalization is a "clever shortcut" that achieves near-perfect orthogonality over several layers, effectively acting as a cheap SVD.

Key Theoretical Insights

The paper establishes a non-asymptotic characterization of how this gap behaves, revealing two critical laws of deep random networks with BN:

  1. Exponential Decay with Depth: The orthogonality gap drops exponentially as you go deeper into a BN network, preventing the alignment seen in vanilla networks.
  2. The Width Law: The "perfectness" of this orthogonality is limited by the network's width. Specifically, the orthogonality gap is inversely proportional to the square root of the width ($1/\sqrt{width}$). Wider networks produce "cleaner" orthogonal representations.
Orthogonality gap behavior across depth and width.

Experimental plots of the gap versus width showed a slope of -0.46 on a log-log scale, nearly matching the theoretical prediction of -0.5. This shows that BN enforces Gaussian-like isotropic distributions even in finite-width networks, providing a theoretical bridge between practice and abstract theory.

The "Warm-up" Secret

The authors observed that SGD spends its early phases orthogonalizing representations. To test their theory, they developed a novel weight initialization scheme called Iterative Orthogonalization. Instead of standard random weights, they used Singular Value Decomposition (SVD) to ensure that the representations at each layer are perfectly orthogonal from the very first step of training.

By using this initialization, they could skip the initial "untangling" phase and make vanilla networks train as fast as BN networks. In an 80-layer convolutional network, this SVD-based initialization significantly outperformed standard Xavier initialization, effectively "curing" the training slowdown usually seen in very deep vanilla networks.

Conclusion

This work suggests that the ubiquity of Batch Normalization stems from its ability to maintain the rank of hidden representations. By acting as an orthogonalization engine, BN ensures that signals remain distinguishable as they propagate through deep architectures. While formal proofs for non-linearities remain an open challenge, the empirical evidence strongly supports the idea that orthogonality is a key ingredient in the recipe for deep learning success.

Summary updated

BibTeX
@inproceedings{daneshmand2021batch,
  author = {Hadi Daneshmand and Amir Joudaki and Francis R. Bach},
  title = {{Batch Normalization Orthogonalizes Representations in Deep Random Networks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
}
Figure