변환기기를 극성 상태 추정자로
The Transformer as a Polar State Estimator
The Transformer as a Polar State Estimator
@misc{racioppo2026the,
title = {The Transformer as a Polar State Estimator},
author = {Peter Racioppo},
year = {2026},
eprint = {2605.11007},
archivePrefix = {arXiv},
primaryClass = {cs.LG},
url = {https://arxiv.org/abs/2605.11007}
}
Racioppo, P. (2026). The Transformer as a Polar State Estimator [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2605.11007
RACIOPPO P. The Transformer as a Polar State Estimator[EB/OL]. (2026-05-10)[2026-11-29]. https://arxiv.org/abs/2605.11007.
초록
Transformer 의 핵심 구성 요소인 attention, residual connection, normalization, 그리고 rotary encoding 은 단일 상태 추정 문제에서 비롯됨을 보여줍니다. 각 토큰을 초구면 (hypersphere) 위의 회전 방향의 노이즈를 포함한 읽기 (reading) 로, 그 토큰의 고유한 크기를 부여하여 처리합니다. 이 방향을 추정하는 것은 전체 아키텍처를 통합합니다: 회전 역학이 rotary encoding 을, 견고한 추정 (robust estimation) 이 attention 을, normalization 이 초구면 기하학을 강제하며, residual connection 이 추정값으로의 접근을 제공합니다. 이는 키프 (queries) 와 키 (keys) 가 정규화된 반면 값 (values) 이 정규화되지 않은 것을, 토큰 크기가 서로 독립적인지 아니면 공통된 스케일을 공유하는지에 대한 반대 가정을 통해 화합시킵니다. 마지막으로, Polar Transformer 는 표준 블록에서 제거된 세 가지 요소를 복원합니다: 키와 함께 값을 회전시키며, 키의 크기를 신뢰도 (confidence) 로 사용하며, 추정값을 더하는 대신 추정값으로 접근합니다.
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 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.