Layer Normalization

Method · 2016 · Also known as LayerNorm, LN

Definition

“Training state-of-the-art, deep neural networks is computationally expensive.”

From the defining paper: Layer Normalization (Jimmy Lei Ba, Jamie Ryan Kiros, Geoffrey E. Hinton, arXiv preprint).

Lineage

Parent: Batch Normalization

Children: RMSNorm; Group Normalization; Dynamic Tanh

Incoming edges (1)

adapts · training stability

From Batch Normalization · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)

Bottleneck
“However, the effect of batch normalization is dependent on the mini-batch size and it is not obvious how to apply it to recurrent neural networks” Source: Layer Normalization
Mechanism
“computing the mean and variance used for normalization from all of the summed inputs to the neurons in a layer on a single training case” Source: Layer Normalization
Trade-off
No trade-off quoted.

Outgoing edges (4)

improves · inference speed

To RMSNorm · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)

Bottleneck
“However, the computational overhead introduced by LayerNorm makes these improvements expensive and significantly slows the underlying network” Source: Root Mean Square Layer Normalization
Mechanism
“RMSNorm regularizes the summed inputs to a neuron in one layer according to root mean square (RMS)” Source: Root Mean Square Layer Normalization
Trade-off
No trade-off quoted.

extends · robustness

To Group Normalization · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)

Bottleneck
“BN's error increases rapidly when the batch size becomes smaller, caused by inaccurate batch statistics estimation” Source: Group Normalization
Mechanism
“GN divides the channels into groups and computes within each group the mean and variance for normalization” Source: Group Normalization
Trade-off
No trade-off quoted.

replaces · simplicity

To Dynamic Tanh · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)

Bottleneck
“layer normalization in Transformers often produces tanh-like” Source: Transformers without Normalization
Mechanism
“as a drop-in replacement for normalization layers in Transformers” Source: Transformers without Normalization
Trade-off
No trade-off quoted.

compares · simplicity

To Normalizer-Free ResNet · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)

Bottleneck
“many undesirable properties stemming from its dependence on the batch size” Source: High-Performance Large-Scale Image Recognition Without Normalization
Mechanism
“we develop an adaptive gradient clipping technique which overcomes these instabilities” Source: High-Performance Large-Scale Image Recognition Without Normalization
Trade-off
No trade-off quoted.

Back to the explorer