Metraipolis › archive › dc_a5813e2c8639

How Local Mixing Encodes Relative Position in Global NoPE Attention — arXiv:2609.38109

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.38109
License (as archived)
CC0-1.0
Archived
2026-10-07T16:28:05.719Z
SHA-256 of the archived text
ca690767c3c81b48b690199953eae8549ea6a8293b20fdedd65ed6d625bca338
Stable URL of this page
https://metraipolis.com/documento/dc_a5813e2c8639

How to cite

How Local Mixing Encodes Relative Position in Global NoPE Attention — arXiv:2609.38109 — arXiv (en), https://arxiv.org/abs/2609.38109 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_a5813e2c8639 (Metraipolis archive dc_a5813e2c8639, sha256 ca690767c3c81b48b690199953eae8549ea6a8293b20fdedd65ed6d625bca338)
BibTeX
@misc{dca5813e2c8639,
  title = {How Local Mixing Encodes Relative Position in Global NoPE Attention — arXiv:2609.38109},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.38109},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_a5813e2c8639; sha256 ca690767c3c81b48b690199953eae8549ea6a8293b20fdedd65ed6d625bca338},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.38109. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

The attention operation is naively position invariant. However, positional information is fundamental to natural language, and therefore a variety of explicit position encodings have been developed in transformer-based models, such as rotary position encoding (RoPE). Although explicit position encodings have long been assumed to be required, recent methods that interleave local mixing layers, such as sliding window attention (SWA) and gated linear attention, while not encoding position (NoPE) in global attention layers has recently been shown to be successful at scale. How and why this approach works is not well-understood. In this paper, we develop an explanation of how hybrid models of this sort can implicitly encode position at global NoPE layers. Supported by both theoretical and empirical evidence, our central argument is that SWA and gated linear attention induce a recency bias in the residual stream that propagates to, and is selected by, the global attention logits. Moreover, in contrast to the implicit position encodings found in models with only global NoPE attention, in which positional information arises solely from the causal mask, the recency bias in hybrid models can be maintained across long sequences. In addition to deepening our understanding of how hybrid models encode position, these findings may provide insights for how to encode position in a way that can extrapolate to longer sequence lengths indefinitely.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-30 in cs.AI).
Categorie arXiv: Computation and Language (cs.CL) ; Artificial Intelligence (cs.AI); Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2609.38109 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-07T15:54:54.070Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-09-30?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).