Metraipolis › archive › dc_66b616a8f4f5

Distance generalization in transformers: why bother with positional encoding? — arXiv:2609.11913

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.11913
License (as archived)
CC0-1.0
Archived
2026-10-16T05:44:18.921Z
SHA-256 of the archived text
37bbd327e918f3299e965ba384f8d6d0237810a227ba52ffa9e16aa523aa77ba
Stable URL of this page
https://metraipolis.com/documento/dc_66b616a8f4f5

How to cite

Distance generalization in transformers: why bother with positional encoding? — arXiv:2609.11913 — arXiv (en), https://arxiv.org/abs/2609.11913 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_66b616a8f4f5 (Metraipolis archive dc_66b616a8f4f5, sha256 37bbd327e918f3299e965ba384f8d6d0237810a227ba52ffa9e16aa523aa77ba)
BibTeX
@misc{dc66b616a8f4f5,
  title = {Distance generalization in transformers: why bother with positional encoding? — arXiv:2609.11913},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.11913},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_66b616a8f4f5; sha256 37bbd327e918f3299e965ba384f8d6d0237810a227ba52ffa9e16aa523aa77ba},
  year = {2026}
}

Archived text

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

Out-of-distribution length generalization, namely to extrapolate a task from short to longer context, has been studied intensively for transformers. Here we focus on distance generalization, which probes performance when inter-token distances are changed between training and inference, while keeping a fixed context length. We construct two synthetic delay copy tasks, both involving finite distances between source and recall, where tokens are copied either fully or selectively, and test models on delays unseen during training. We address three questions: (A) Do positional encoding schemes such as RoPE and ALiBi improve distance resolution relative to no positional encoding (NoPE)? (B) How does data diversity, the number of inter-token distances seen in training, affect performance? (C) When is distance transfer learning positive or negative? We present a thorough investigation, finding that it is paramount to improve our understanding of the underlying mechanisms.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-11 in cs.CL).
Categorie arXiv: Computation and Language (cs.CL).
Pagina del lavoro: https://arxiv.org/abs/2609.11913 — 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-16T05:23:57.029Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-09-11?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).