SESK: Stuff Everyone Should Know · sesk.info/ai-layernorm-per-example-units
Across what values does layer normalization compute its statistics?
Across the hidden units of one layer for one example.
- Units in one layer and example ✔
- All labels in the dataset
- Only optimizer states
Why: Layer normalization computes a mean and variance from the summed inputs across a layer's hidden units. Different examples receive their own normalization statistics.
Huh, didn't know that: This design can work even with a batch size of one.
Layer norm kept every hidden unit on the same scale.
Like this card?
References
Answer: Units in one layer and example. Layer normalization computes a mean and variance from the summed inputs across a layer's hidden units. Different examples receive their own normalization statistics.
- Layer Normalization arxiv.org/abs/1607.06450
from all of the summed inputs to the neurons in a layer on a single training case
Checked 2026-10-10.
Think this answer is wrong? Tap "Challenge this answer" on the card in the game and tell us why.
More stuff everyone should know
That's stuff everyone should know.