Skip to main content
QUICK REVIEW

[Paper Review] Revisit Batch Normalization: New Understanding from an Optimization View and a Refinement via Composition Optimization

Xiangru Lian, Ji Liu|arXiv (Cornell University)|Oct 15, 2018
Machine Learning and AlgorithmsComputer Science4 references3 citations
TL;DR

This paper reinterprets Batch Normalization (BN) through an optimization lens, revealing that BN optimizes a biased objective dependent on mini-batch statistics rather than the true data distribution. To address this, the authors propose Full Normalization (FN), a refinement using compositional optimization via Multilayer Compositional Stochastic Gradient Descent (MCSGD), which achieves more stable and consistent convergence across varying batch sizes and data distributions, especially when batches are small or non-i.i.d.

ABSTRACT

Batch Normalization (BN) has been used extensively in deep learning to achieve faster training process and better resulting models. However, whether BN works strongly depends on how the batches are constructed during training and it may not converge to a desired solution if the statistics on a batch are not close to the statistics over the whole dataset. In this paper, we try to understand BN from an optimization perspective by formulating the optimization problem which motivates BN. We show when BN works and when BN does not work by analyzing the optimization problem. We then propose a refinement of BN based on compositional optimization techniques called Full Normalization (FN) to alleviate the issues of BN when the batches are not constructed ideally. We provide convergence analysis for FN and empirically study its effectiveness to refine BN.

Motivation & Objective

  • To understand why Batch Normalization (BN) fails or performs inconsistently under certain training conditions, such as small or non-i.i.d. batches.
  • To identify the true optimization objective that BN implicitly targets, which differs from the desired objective in standard machine learning.
  • To develop a more robust normalization method that converges reliably even when batch statistics deviate from the full data distribution.
  • To formalize a new normalization technique—Full Normalization (FN)—that better approximates the ideal optimization objective by leveraging compositional optimization.

Proposed method

  • Formulates BN as solving a compositional optimization problem where the objective depends on batch statistics, not the full data distribution.
  • Proposes Full Normalization (FN) as a refinement that uses running estimates of full-dataset statistics via a weighted average with decay rate α to better approximate the true data distribution.
  • Introduces Multilayer Compositional Stochastic Gradient Descent (MCSGD) to optimize the FN objective, enabling efficient and stable training.
  • Derives closed-form gradients for the backward pass of FN, ensuring compatibility with standard backpropagation in deep networks.
  • Uses a time-varying approximation rate α = (k/20 + 1)^(-0.4) to adaptively balance convergence speed and stability during training.
  • Employs running averages of mean and variance (μ, ν) updated with momentum to maintain consistent normalization during inference.

Experimental results

Research questions

  • RQ1Why does Batch Normalization fail or overfit when the mini-batch size is 1 or when batches are non-i.i.d.?
  • RQ2What is the actual optimization objective that Batch Normalization implicitly solves, and how does it differ from the intended objective?
  • RQ3Can a normalization method be designed to converge to a solution closer to the true data distribution, regardless of batch construction?
  • RQ4How can compositional optimization techniques be applied to improve the stability and generalization of normalization layers in deep networks?

Key findings

  • BN fails to converge or overfits when the mini-batch size is 1, as shown in experiments with a 3-sample dataset where training loss decreases but test loss increases.
  • BN performance degrades significantly with smaller batch sizes, especially on CIFAR10, where test accuracy drops as batch size decreases, indicating sensitivity to batch construction.
  • On datasets with high inter-batch variation—such as synthetic logistic regression with large variance—BN fails to converge, while FN maintains stable training and generalization.
  • FN achieves more consistent test performance across different batch sizes (e.g., 1 and 16) on MNIST with modified data, outperforming BN in both training and test loss stability.
  • In the unshuffled setting (batches with only one label), FN significantly reduces test error compared to BN, which suffers from high bias due to poor batch statistics.
  • In the shuffled setting (randomly sampled batches), FN matches BN’s performance in convergence speed and accuracy, confirming it preserves BN’s benefits while improving robustness.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.