A normalization step inside neural networks that keeps the numbers flowing through each layer from getting too large or too small, making training more stable.
Technically: Layer Normalization computes the mean and variance across the feature dimension of each individual sample (not the batch), then rescales with learned gain and bias parameters. Unlike Batch Normalization it is independent of batch size and sequence position, suiting variable-length text. Pre-LN placement (normalizing each sub-layer's input) is now standard in Transformers because it stabilizes gradient flow at initialization and reduces the need for learning-rate warmup that Post-LN requires.
Category: Attention Mechanisms