Normalization Techniques in Training DNNs: Methodology, Analysis and Application

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

TL;DR

This paper provides the first comprehensive survey and unified taxonomy of normalization techniques in deep learning. By decomposing activation normalization into three core components—area partitioning, operation type, and representation recovery—the authors offer a structured framework to understand why existing methods work and how to design new ones.

What Problem Does This Paper Address?

Training deep neural networks (DNNs) is notoriously difficult due to ill-conditioned optimization landscapes, exploding or vanishing gradients, and internal covariate shift. While normalization techniques like Batch Normalization (BN) have been monumental in stabilizing and accelerating training, the field has since fractured into dozens of specialized variants (e.g., Layer, Group, Instance, and Weight Normalization).

Until now, there has been an absence of a unifying lens to describe, compare, and analyze these methods. This paper bridges the gap between empirical success and theoretical understanding by providing a comprehensive overview of the optimization motivations, a unified structural framework, and a deep dive into task-specific applications.

Methods

The authors introduce a unified framework that decomposes the pipeline of virtually all activation-based normalization methods into three abstract processes:

  1. Normalization Area Partitioning (NAP): Determining the slices of data dimensions (batch, channel, height, width) over which statistics are computed. For example, Layer Normalization partitions along the channel and spatial dimensions for each sample independently, whereas Batch Normalization slices across the entire batch.
  2. Normalization Operation (NOP): The mathematical transformation applied to the partitioned data. This includes centering (zero-mean), scaling (unit-variance), standardizing (both), or whitening (decorrelating features).
Illustration of normalization operations
  1. Normalization Representation Recovery (NRR): An operation (often an affine transformation with learnable parameters like $\gamma$ and $\beta$) designed to restore any network representation capacity lost during the NOP step.
Algorithm 1: Framework of algorithms normalizing activations as functions

Using this NAP-NOP-NRR framework, the authors successfully categorize and map out the vast landscape of single-mode normalization methods developed over the last decade.

Summary of the main single-mode normalization methods

Beyond activations, the paper also reviews alternative paradigms, including Normalizing Weights (e.g., Weight Normalization, Spectral Normalization) and Normalizing Gradients (e.g., LARS, Gradient Centralization).

Datasets

As a comprehensive survey paper, this work does not introduce new datasets or benchmarks. Instead, it reviews and synthesizes literature evaluated across standard computer vision and natural language processing benchmarks, such as ImageNet, COCO, and various machine translation datasets.

Key Insights and Ideas

  • The Optimization Core: From a mathematical perspective, normalization methods are essentially designed to satisfy two criteria: ensuring nearly equal statistical distributions of layer inputs/output-gradients across different layers, and ensuring these distributions are well-conditioned. This directly improves the conditioning of the Fisher Information Matrix (FIM).
  • Three Pillars of BN: The paper synthesizes the theoretical benefits of BN into three distinct mechanisms: Scale Invariance (which stabilizes training and adaptively tunes learning rates), Improved Conditioning (which enhances the smoothness of the loss Hessian), and Stochasticity (mini-batch noise acts as a regularizer to boost generalization).
  • Statistical Editing: Normalization is shown to be a powerful tool for "editing" feature properties. In style transfer and domain adaptation, the NOP step effectively strips away style or domain-specific information, while the NRR step can dynamically inject new style or target-domain traits using hypernetworks (e.g., AdaIN, SPADE).

Key Results

The survey highlights how specific normalization choices have defined entire sub-fields:

  • Batch Normalization (BN) remains the gold standard for standard image classification.
  • Layer Normalization (LN) serves as an indispensable component for Transformers in NLP.
  • Instance Normalization (IN) and its adaptive variants (AdaIN) revolutionized real-time style transfer and image-to-image translation.
  • Spectral Normalization (SN) became a foundational tool for stabilizing the discriminators of Generative Adversarial Networks (GANs).
  • On the hardware efficiency front, the paper notes that alternative operations like $L^1$ normalization can achieve up to a 1.5× speedup and reduce power consumption by 50% on FPGA platforms compared to standard $L^2$ normalization.

Limitations and Future Work

The authors identify several open challenges and contradictions in current normalization research:

  1. The Theory-Practice Gap: Most theoretical optimization analyses assume data independence. However, activation normalization inherently introduces inter-dependencies among samples within a mini-batch, meaning current theoretical frameworks must be reformulated to truly reflect practical settings.
  2. The NLP vs. CV Mystery: While BN/GN dominate computer vision, LN is vastly more effective in NLP. Given that modern CV and NLP architectures are converging (e.g., both heavily utilizing attention mechanisms), explaining this preference remains an open question.
  3. Reinforcement Learning: Normalization techniques remain surprisingly rare in Deep Reinforcement Learning (DRL). The authors suggest that borrowing weight/gradient normalization tricks from GAN training could yield major stability benefits for actor-critic frameworks.

Summary updated

BibTeX
@article{huang2023normalization,
  author = {Lei Huang and Jie Qin and Yi Zhou and Fan Zhu and Li Liu and Ling Shao},
  title = {{Normalization Techniques in Training DNNs: Methodology, Analysis and Application}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2023},
  url = {https://openreview.net/forum?id=HBGuFsHpTGJ},
}
Figure