# RMSNorm

- **Canonical URL:** https://getaimath.com/dictionary/rmsnorm/
- **Topics:** [Transformer Architecture](https://getaimath.com/dictionary/category/transformer-architecture/)
- **Last updated:** 2026-11-25

## What is RMSNorm?

**In one sentence:** RMSNorm is a simpler, faster version of layer normalization that only rescales numbers by their overall size.

Layer norm adjusts both the average and the spread. RMSNorm skips the average and just divides by the "root mean square," a measure of how big the numbers are. It works about as well while doing less math.

![Transformers & Attention: The Smart Highlighter — Simple cartoon diagram showing how a Transformer reads a whole sentence at once and shines a bright highlighter beam from the word "IT" back to "trophy" so it knows what "IT" means.](https://getaimath.com/diagrams/transformer-architecture.png)
*Napkin Diagram (Transformer Architecture): Older AI read word-by-word and often lost track of earlier words; a Transformer highlights which words connect to which.*

## What is an example of RMSNorm?

Llama and many other modern models use RMSNorm instead of layer norm.

## Why does RMSNorm matter?

Small speed wins like RMSNorm add up when models run billions of times.

## Related Concepts

- [Layer Normalization](https://getaimath.com/dictionary/layer-normalization/): Layer normalization rescales the numbers in each layer so they stay in a steady, healthy range during training.
- [Residual Connection](https://getaimath.com/dictionary/residual-connection/): A residual connection lets a layer's input skip ahead and be added to its output, creating a shortcut through the network.
- [SwiGLU](https://getaimath.com/dictionary/swiglu/): SwiGLU is an activation design used in many modern LLMs that adds a "gate" so the network can control how much information passes.
- [Transformer Block](https://getaimath.com/dictionary/transformer-block/): A Transformer block is one repeated layer of a Transformer, usually made of attention, a feed-forward network, normalization and residual connections.
- [GELU](https://getaimath.com/dictionary/gelu/): GELU is a smooth activation function that works like a softer ReLU, letting small negative values through a little.
- [Hidden Dimension](https://getaimath.com/dictionary/hidden-dimension/): The hidden dimension is the number of values used to represent each token inside the model.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/rmsnorm/)
