Attention as spherical interpolation: values combine inside the unit sphere before norm projects back

mgostIH · x · 2026-11-06

mgostIH offers a geometric intuition for attention: the attention operation is a convex combination of values, which for unit-sphere vectors almost always lies inside the sphere. Layer/RMSnorm are projections onto the sphere, so attention+norm acts as spherical interpolation. Since high-dimensional Gaussians are nearly spherical, this frames Transformer internals as movements on high-dimensional spheres. An accompanying diagram illustrates the convex combination inside the unit circle and projection back to the surface.

Original post →

More from Research

Research channel →