跳到正文
arXiv (AI + Vision + Imaging)· Peter Racioppo·· 7 小时前AI 评分20

Transformer 作为极坐标状态估计器:注意力、残差与旋转编码的统一解释

The Transformer as a Polar State Estimator

AI 导读

研究者将 Transformer 的注意力、残差连接、归一化和旋转编码统一为超球面上旋转方向的噪声状态估计问题,并据此提出 Polar Transformer。该结构恢复了标准模块丢弃的三个要素:value 随 key 一同旋转、以 key 幅值作为置信度、以步进方式逼近估计值而非直接相加。

正文 · 原文

arXiv:2605.11007v5 Announce Type: replace 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.

来源:arXiv (AI + Vision + Imaging) · arxiv.org