计算机科学 > 机器学习
[提交于 2026年5月10日 (v1),最后修订于 2026年11月25日 (此版本, v5)]
标题:The Transformer as a Polar State Estimator
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.