Term
LayerNorm
Meaning
A normalization method that standardizes a layer's summed inputs using their mean and variance across the neurons of that layer, then applies a learned gain and bias. It removes the need for statistics from other training cases, which makes it usable with variable-length sequences in RNNs.
How papers use it 6 papers
Root Mean Square Layer Normalization
Use Serves as the main reference normalization that the paper's RMSNorm is designed to replace. It is included as a baseline in the machine translation experiments, the attentive reader, the image-caption retrieval model and the CIFAR-10 classifier. In the Tensorflow RNNSearch experiment it was slower than the unnormalized baseline by about 67% per training step, which is the computational overhead the paper seeks to reduce.
Supply the Global, Supervise the Local: Combining Representation Conditioning and Alignment in Diffusion Transformers
Use Applied after the linear layer (A, b) that maps the standardized patch-average token g to the transformer's hidden size, producing the token embedding e used as an extra input in GC-REPA.
Meaning A normalization layer that standardizes each input vector over its feature channels by subtracting the mean and dividing by the standard deviation, typically followed by a learned scale and shift.
An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
Use Applied before each multiheaded self-attention block and each MLP block of the encoder, with residual connections added after each block. Also applied to the final encoder output to produce the image representation used for classification.
Meaning A normalization operation that standardizes each token's feature vector across its feature dimensions, typically to zero mean and unit variance, before the vector is passed to a sub-layer.
Conformer: Convolution-augmented Transformer for Speech Recognition
Use Used in the pre-norm residual units, applied before the multi-head self-attention and before the first linear layer of each feed-forward module. It also serves as the final normalization of each Conformer block, written as Layernorm in the block equation.
Meaning A normalization method that standardizes each input vector across its feature dimensions, independently of other examples in the batch.
Is Space-Time Attention All You Need for Video Understanding?
Use Applied to the input representation of each encoding block before the query, key and value projections are computed. The paper writes these projections as applied to the layer-normalized representation of each patch from the preceding block.
Meaning A normalization method that rescales the features of each vector across its feature dimension to zero mean and unit variance, followed by a learned affine transform.
Retentive Network: A Successor to Transformer for Large Language Models
Use Used in a pre-normalization residual layout: the input of each multi-scale retention module and each feed-forward module is normalized with LayerNorm, and the result is added back to the unnormalized residual stream, so the normalization is applied before each sub-module in every block.
Meaning A normalization method that standardizes each token's feature vector across its own hidden dimension, using the mean and variance of that vector, followed by a learned scale and shift.