the.ai

Architecture / Normalization

verified

Layer Normalization

Deep networks drift. As signals pass through many layers their scale creeps up or down, and training becomes a fight against the drift rather than against the problem. Layer normalization rescales each position's activations to a fixed mean and spread, so every layer receives input in the range it was tuned for.

Viz primitive · update-spectrumspread = 1 · bars = 8

8 values. The left group decays steeply; the right group is 56% of the way to flat, and reads flatter than the left.

Activations across features before and after normalization. Drag the spread to see how far the raw signal can drift and still arrive at the same normalized scale.

1

Reviewed by opendroid · 2026-08-04