Iterative Normalization: Beyond Standardization Towards Efficient Whitening.

Lei Huang, Yi Zhou, Fan Zhu, Li Liu, Ling Shao

Abstract

Batch Normalization (BN) is ubiquitously employed for accelerating neural network training and improving the generalization capability by performing standardization within mini-batches. Decorrelated Batch Normalization (DBN) further boosts the above effectiveness by whitening. However, DBN relies heavily on either a large batch size, or eigen-decomposition that suffers from poor efficiency on GPUs. We propose Iterative Normalization (IterNorm), which employs Newton's iterations for much more efficient whitening, while simultaneously avoiding the eigen-decomposition. Furthermore, we develop a comprehensive study to show IterNorm has better trade-off between optimization and generalization, with theoretical and experimental support. To this end, we exclusively introduce Stochastic Normalization Disturbance (SND), which measures the inherent stochastic uncertainty of samples when applied to normalization operations. With the support of SND, we provide natural explanations to several phenomena from the perspective of optimization, e.g., why group-wise whitening of DBN generally outperforms full-whitening and why the accuracy of BN degenerates with reduced batch sizes. We demonstrate the consistently improved performance of IterNorm with extensive experiments on CIFAR-10 and ImageNet over BN and DBN.

Introduction

Batch Normalization (BN) has become a fundamental component in deep learning, primarily by performing standardization—centering data to zero mean and unit variance. While BN significantly accelerates training, theoretical insights suggest that whitening (decorrelating features so the covariance matrix becomes an identity matrix) can lead to even better conditioning and faster convergence.

Existing whitening techniques, such as Decorrelated Batch Normalization (DBN), face two significant hurdles:

  1. Computational Inefficiency: DBN relies on Singular Value Decomposition (SVD) or eigen-decomposition, which are computationally expensive and poorly optimized for GPU architectures.
  2. Instability at Small Batch Sizes: Whitening can become highly unstable when mini-batch sizes are small, often leading to a collapse in performance compared to standard BN.

This paper introduces Iterative Normalization (IterNorm), a method that achieves the benefits of whitening with high efficiency and improved stability.

Iterative Normalization (IterNorm)

IterNorm replaces the costly exact decomposition used in DBN with a series of Newton's iterations to approximate the whitening matrix ($\Sigma^{-1/2}$).

Visual comparison of standardization in BN versus whitening in DBN and IterNorm.

The iterative process involves simple matrix multiplications, making it highly efficient on GPUs. To ensure convergence, the authors apply Eigenvalue Normalization, scaling the covariance matrix by its trace so that its eigenvalues fall within the convergence range of the Newton method. Crucially, the entire process is differentiable, allowing for end-to-end training. IterNorm acts as a "progressive" whitener; with more iterations ($T$), the data becomes more decorrelated, allowing for a tunable balance between optimization speed and numerical stability.

Theoretical Analysis: Stochastic Normalization Disturbance (SND)

A key contribution of this work is the introduction of Stochastic Normalization Disturbance (SND). SND quantifies the "noise" or uncertainty introduced by normalization operations—specifically, how much a single sample's normalized value fluctuates based on the other samples present in its mini-batch.

Analysis of Condition Number and SND across feature dimensions for BN, DBN, and IterNorm.

The authors demonstrate a critical trade-off: while full whitening (DBN) provides a perfect condition number (1.0), it causes SND to explode in high-dimensional spaces. This explains why DBN often fails with small batch sizes—the stochastic noise overwhelms the learning signal. IterNorm, by contrast, provides a better trade-off by prioritizing the whitening of dimensions with larger eigenvalues while remaining robust to the noise in smaller ones.

Experimental Evaluation

The researchers evaluated IterNorm against BN and DBN across several benchmarks:

  • CIFAR-10: Using a Wide ResNet (WRN-28-10), IterNorm reduced the test error from 3.89% (BN) to 3.56%.
  • ImageNet: On ResNet-101, IterNorm achieved a Top-1 error of 21.77%, significantly outperforming standard BN (22.45%).
  • Robustness to Batch Size: IterNorm maintained high accuracy even as batch sizes were reduced, whereas DBN's performance collapsed under the same conditions.
  • Efficiency: During inference, IterNorm can be fused into adjacent convolutional layers, resulting in zero additional computational overhead for deployment.

Conclusion

Iterative Normalization (IterNorm) offers a powerful alternative to standard Batch Normalization by providing efficient whitening through Newton's iterations. By introducing and analyzing Stochastic Normalization Disturbance (SND), the authors provide a theoretical foundation for why IterNorm succeeds where previous whitening methods struggled, particularly regarding the trade-off between optimization and generalization.

Summary updated

BibTeX
@inproceedings{huang2019iterative,
  author = {Lei Huang and Yi Zhou and Fan Zhu and Li Liu and Ling Shao},
  title = {{Iterative Normalization: Beyond Standardization Towards Efficient Whitening.}},
  booktitle = {CVPR},
  year = {2019},
  url = {https://openreview.net/forum?id=riee-rZmeupS},
}
Figure