AICLJun 4

Where does Absolute Position come from in decoder-only Transformers?

arXiv:2606.0616045.8
AI Analysis

For researchers understanding positional encoding in Transformers, this work explains a previously uncharacterized phenomenon of absolute position leakage in relative position methods.

The paper identifies two sources of absolute position leakage in RoPE-trained decoder-only Transformers: the causal mask's per-query softmax denominator and the residual stream's closed dynamical system at position 0. Replacing the BOS embedding removes 40% of the residual-stream component at early queries.

RoPE-trained transformers distinguish absolute position in their attention patterns, even though RoPE encodes only relative offsets in the inner product. We trace this leakage to two architectural components, The causal mask is responsible for the first: its per-query softmax denominator depends on the absolute query position by construction. The residual stream supplies the second. Under causal attention the activation at position $0$ attends only to itself and runs as a closed dynamical system from the embedding of the token at that position; downstream attention reads this trajectory through sink-reading heads. Both components appear in all three architectures we study, in architecturally specific balance: NTK scaling suppresses the residual-stream component, sliding-window attention allows it to accumulate with depth, and standard RoPE sits between. Replacing the \texttt{BOS} embedding before the forward pass removes $40\%$ of the residual-stream component at early queries. Attention sinks are token-anchored stabilizers that pass forward a deterministic fingerprint of the token at position $0$, constant across inputs when that token is the auto-prepended \texttt{BOS} and varying with it otherwise.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes