Layer Normalization (2016) › 2016: Layer Normalization
History of Language AIAll chapters Layer Normalization (2016) › 2016: Layer NormalizationOne section · Sections in this chapter1 / 7 ↓
Reading tools Definitions & inline links
Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.
Article links
Make inline references clickable
By 2016, batch normalization had become a standard technique for training deep neural networks. It solved critical problems with internal covariate shift and gradient flow, making it possible to train deeper networks more reliably. However, researchers were discovering that batch normalization had significant limitations when applied to recurrent neural networks and sequence models. The technique's dependence on batch statistics created problems with variable-length sequences, small batch sizes, and online learning scenarios. These limitations were particularly problematic as the field increasingly turned toward sequence-to-sequence models, attention mechanisms, and architectures that processed variable-length inputs.
A team of researchers at the University of Toronto, including Jimmy Lei Ba, Jamie Ryan Kiros, and Geoffrey E. Hinton, recognized these limitations and sought a solution that would provide the benefits of normalization without batch dependencies. Their work built on the fundamental insight that normalizing activations could stabilize training, but they realized the normalization could be computed differently, across features rather than across samples. This change made normalization effective in sequence models, from RNNs to later transformers.
The solution they developed, layer normalization, normalizes the inputs to a layer by computing statistics across the features of each individual example, rather than across the batch dimension. This approach eliminates the dependence on batch size and batch composition, making it particularly well-suited for recurrent networks where sequences can vary in length and where batch statistics might be unstable. Layer normalization also works naturally in online learning settings and inference scenarios where batch size might be one.
Layer normalization's influence became clear over time. While batch normalization remained dominant for convolutional networks used in computer vision, layer normalization became the preferred normalization technique for recurrent networks and, later, for transformer architectures. The transformer architecture introduced in 2017 relied on layer normalization rather than batch normalization at multiple points. This work demonstrated that normalization strategies needed to be tailored to the specific characteristics of different network architectures.