papers / batchnorm2015
Next task →
Research Papers/Backpropagation and neural networks/Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift
Backpropagation and neural networks · #3 · seminal

Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift

Sergey Ioffe, Christian Szegedy · 2015 · ICML
reproduction difficulty: lowDeep LearningOptimizationNeural Networks

1. Research problem

Training deep networks is slow because parameter updates change the input distribution of later layers, forcing them to continually adapt.

2. Motivation

The authors wanted to stabilize layer inputs so that larger learning rates and faster convergence become possible.

3. Previous approaches

Careful initialization and small learning rates were the main tools; normalization of inputs was known but not applied inside the network.

4. Core contribution

Introduced a per-mini-batch normalization layer with learnable scale and shift, plus a running estimate for inference, and showed it accelerates training dramatically.

5. Mathematical formulation

For each feature channel, x_hat = (x - mu_B)/sqrt(sigma_B^2 + eps), then y = gamma*x_hat + beta; during training mu_B and sigma_B are batch statistics, at inference they are running averages.

6. Methodology

Derive gradients of the normalized transformation, insert normalization before activations, and test with higher learning rates and removed dropout.

7. Architecture

Additional normalization layers inserted after linear/convolutional layers and before nonlinearities.

8. Experimental setup

MNIST classification and ImageNet with Inception-style networks.

9. Datasets

MNIST, ImageNet (ILSVRC).

10. Results

Faster convergence, higher achievable learning rates, and improved ImageNet accuracy; allowed removing dropout in some settings.

11. Limitations

Depends on batch size, behaves poorly with small batches or recurrent/sequence models, and introduces train/test discrepancies when statistics drift.

12. Critical analysis

The original 'internal covariate shift' explanation has been challenged; later work emphasizes smoothing of the loss landscape, but the empirical benefit is undeniable.

13. Implementation tasks

  • 1.Implement batch normalization from scratch and verify gradients against finite differences.
  • 2.Train a small CNN with and without batch normalization and compare convergence speed.
  • 3.Study how small batch sizes affect validation accuracy with batchnorm versus group/layer normalization.

14. Follow-up work

  • 1.Layer Normalization (Ba et al., 2016)
  • 2.Group Normalization (Wu and He, 2018)

15. Open research questions

  • 1.What is the correct theoretical explanation for batch normalization's benefit?
  • 2.How should normalization be handled in very small-batch or online learning settings?
16. Reproduce it. Record the hypothesis, configuration, dataset, metrics and discrepancies in the Experiment Tracker. A reproduction is not complete until you have run the experiments, performed at least one ablation and documented the differences from the reported numbers.