Layer Normalization
Also known as: LayerNorm, LN
Category: Foundations of ML/AI
A normalization technique that normalizes across features within a single example, making it suitable for sequence models and small batch sizes.
Full Explanation
Layer normalization normalizes inputs across the feature dimension for each individual data point, rather than across the batch dimension like batch normalization. This makes it independent of batch size and well-suited for recurrent neural networks, transformers, and online learning settings. Layer normalization is a critical component of the transformer architecture, appearing in every attention and feed-forward block. It stabilizes the forward pass and gradient flow through deep networks. Unlike batch normalization, layer normalization behaves identically during training and inference, simplifying deployment. It has become the default normalization technique in language models and other transformer-based architectures.
Related Terms
More in Foundations of ML/AI
Explore More
- AI Tools Library — Discover AI tools related to Layer Normalization
- AI Education — Courses to learn about Foundations of ML/AI
- AI News — Latest news and updates