The residual stream is a running sum, and running sums have a failure mode: they grow. Forty layers of enthusiastic addition would let some tokens' arrows become enormous — and a very long arrow shouts over everything else for reasons of length, not meaning. The fix is one operation, applied relentlessly, and it quietly decides the geometry of everything this library studies.
Between operations the transformer applies LayerNorm: rescale the arrow back to standard length, keeping only its direction. Since direction is where meaning lives, nothing meaningful is lost — the arrow is reprojected onto the surface of a sphere, and the whole computation effectively lives on that surface.
A sphere in two or three dimensions feels cramped — surely forcing every token onto one surface throws information away? Here is the surprise that makes high dimensions different, and it is worth feeling directly. Take two random directions and measure their agreement. On a circle, random pairs agree or oppose all the time — the histogram of dot products is spread wide. Raise the dimension and the histogram collapses toward zero: in 512 dimensions, two random directions are almost always almost exactly perpendicular.
That is called concentration of measure, and it means a high-dimensional sphere is roomy in a precise sense: there is space for enormous numbers of directions that barely interfere with each other. Meanings can coexist without shouting. And when two directions do agree strongly, that agreement is never an accident — which is exactly what makes attention's dot-product scores so informative.
Now read the whole module back with this library's eyes. Every token is a unit arrow on a sphere — a phase. Attention is a set of listening channels whose strengths are dot-product agreements — a coupling, choosing its own topology at every step. The residual stream is the shared medium all the coupling acts through — the field. A transformer, described with no metaphor at all, is a network of coupled oscillators.
That identity is the bridge the entire Transformers as Oscillators essay walks across, and with this module in hand you can now walk it — starting with the coupling manifold and the lossless rank-2 projection. When you are ready for the mathematics of motion on the sphere itself — how coupled unit vectors flow, cluster, and carry a token along a path — that is the advanced tier's Lohe dynamics module, and the geometry of thought-shapes is The Physics of Mind §08.