The Transformer as a Polar State Estimator

the-transformer-as-a-polar-state-estimator

The Transformer as a Polar State Estimator

[Submitted on 10 May 2026 (v1), last revised 25 Nov 2026 (this version, v5)]

View PDF HTML (experimental)

Abstract:We show that the core components of the Transformer—attention, residual connections, normalization, and rotary encodings—arise from a single state-estimation problem. We treat each token as a noisy reading of a rotating direction on the hypersphere, taken at its own magnitude. Estimating this direction unifies the architecture: rotational dynamics give rotary encodings, robust estimation gives attention, normalization enforces the spherical geometry, and the residual connection steps toward the estimate. This reconciles normalized queries and keys with unnormalized values as opposite assumptions on whether token magnitudes are independent or share a common scale. Finally, the emph{Polar Transformer} restores three elements standard blocks drop: rotating values alongside keys, using key magnitudes as confidence, and stepping toward the estimate rather than adding it.

Submission history

From: Peter Racioppo [view email]
[v1] Sun, 10 May 2026 08:14:14 UTC (1,086 KB)
[v2] Thu, 2 Jul 2026 02:10:59 UTC (1,134 KB)
[v3] Sun, 2 Aug 2026 03:28:25 UTC (1,452 KB)
[v4] Mon, 7 Sep 2026 23:16:23 UTC (1,460 KB)
[v5] Wed, 25 Nov 2026 11:39:37 UTC (995 KB)