# Batch normalisation

Date: 11 February 2015 · Era: IV · Deep learning · Category: theory · Significance: 3/5
People: Sergey Ioffe, Christian Szegedy
Organisations: Google

Canonical: https://shapeofintelligence.com/timeline/2015-batchnorm/ · Dataset and text CC BY 4.0

> Ioffe and Szegedy normalise the activations inside a network during training; deep networks train in a fraction of the steps and much deeper stacks become practical.

## What had to happen

23 events back to 1943, oldest first. Direct influences are marked *direct*.

- [1943 · A logical calculus of nervous activity](https://shapeofintelligence.com/md/timeline/1943-mcculloch-pitts-neuron/)
- [1949 · Cells that fire together wire together](https://shapeofintelligence.com/md/timeline/1949-hebb-organization-of-behavior/)
- [1958 · The perceptron learns](https://shapeofintelligence.com/md/timeline/1958-perceptron/)
- [1960 · ADALINE and the least-mean-squares rule](https://shapeofintelligence.com/md/timeline/1960-adaline-lms/)
- [1965 · Moore's law](https://shapeofintelligence.com/md/timeline/1965-moores-law/)
- [1969 · Perceptrons](https://shapeofintelligence.com/md/timeline/1969-perceptrons-book/)
- [1970 · Reverse-mode automatic differentiation](https://shapeofintelligence.com/md/timeline/1970-linnainmaa-backprop/)
- [1974 · Werbos applies backpropagation to neural networks](https://shapeofintelligence.com/md/timeline/1974-werbos-backprop/)
- [1980 · The Neocognitron](https://shapeofintelligence.com/md/timeline/1980-neocognitron/)
- [1982 · The Hopfield network](https://shapeofintelligence.com/md/timeline/1982-hopfield-network/)
- [1985 · The Boltzmann machine](https://shapeofintelligence.com/md/timeline/1985-boltzmann-machine/)
- [1986 · Backpropagation](https://shapeofintelligence.com/md/timeline/1986-backpropagation/)
- [1989 · LeNet reads handwritten postcodes](https://shapeofintelligence.com/md/timeline/1989-lenet/)
- [1990 · Finding structure in time](https://shapeofintelligence.com/md/timeline/1990-elman-network/)
- [1991 · The vanishing gradient problem](https://shapeofintelligence.com/md/timeline/1991-vanishing-gradient/) *direct*
- [1998 · MNIST and LeNet-5](https://shapeofintelligence.com/md/timeline/1998-mnist-lenet5/)
- [1999 · The first GPU](https://shapeofintelligence.com/md/timeline/1999-geforce-256/)
- [2006 · Deep belief networks and the word 'deep'](https://shapeofintelligence.com/md/timeline/2006-deep-belief-nets/)
- [2007 · CUDA](https://shapeofintelligence.com/md/timeline/2007-cuda/)
- [2009 · ImageNet](https://shapeofintelligence.com/md/timeline/2009-imagenet/)
- [2010 · Rectified linear units](https://shapeofintelligence.com/md/timeline/2010-relu/)
- [2012 · Dropout](https://shapeofintelligence.com/md/timeline/2012-dropout/)
- [2012 · AlexNet wins ImageNet](https://shapeofintelligence.com/md/timeline/2012-alexnet/) *direct*

As a deep network trains, each layer's inputs shift because the layers below it are changing, and every layer is chasing a moving target. Sergey Ioffe and Christian Szegedy's fix, posted on 11 February 2015, was to standardise each layer's inputs over the current mini-batch, subtracting the mean and dividing by the standard deviation, and then to let the network learn a scale and shift of its own. The paper's explanation, reducing internal covariate shift, was later disputed; the effect was not. Networks trained with batch normalisation reached the same accuracy in fourteen times fewer steps, tolerated much higher learning rates, and needed less dropout.

The immediate result was that Google's Inception network beat human-level accuracy on ImageNet, at 4.8 percent top-five error, in the same paper. The longer result was depth. ResNet later that year stacked 152 layers, and could not have been trained without normalisation inside it.

The technique's dependence on the batch made it awkward for sequences, and the transformer of 2017 used layer normalisation, which standardises across a layer's units for each example instead. But the principle, keep the activations well scaled and the gradients will behave, is one of the reasons networks of the 2020s can be a thousand layers deep.

## What it led to

58 events downstream, through 2026.

Built on it directly:

- [2015 · Residual networks](https://shapeofintelligence.com/md/timeline/2015-resnet/)

And, through them, by era:

- V · Transformers: 14 events
- VI · Everyone: 29 events
- VII · Agents: 14 events

## Sources

- [Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift (arXiv:1502.03167)](https://arxiv.org/abs/1502.03167) — paper

---

The Shape of Intelligence by Jamie McKaye (https://jamiemckaye.com) · Markdown mirror of https://shapeofintelligence.com/timeline/2015-batchnorm/

Before: [2014 · Adam](https://shapeofintelligence.com/md/timeline/2014-adam/) · After: [2015 · Diffusion models](https://shapeofintelligence.com/md/timeline/2015-diffusion-thermodynamics/)
