Metraipolis › archive › dc_7b9527b10801

Exact-Solution Volume and Length Generalization in Transformers — arXiv:2610.07676

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.07676
License (as archived)
CC0-1.0
Archived
2026-10-07T11:21:02.599Z
SHA-256 of the archived text
8075f524221e9d4838199f7ab9b86222ceaa1b07ff2c0dc406030d0de319df09
Stable URL of this page
https://metraipolis.com/documento/dc_7b9527b10801

How to cite

Exact-Solution Volume and Length Generalization in Transformers — arXiv:2610.07676 — arXiv (en), https://arxiv.org/abs/2610.07676 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_7b9527b10801 (Metraipolis archive dc_7b9527b10801, sha256 8075f524221e9d4838199f7ab9b86222ceaa1b07ff2c0dc406030d0de319df09)
BibTeX
@misc{dc7b9527b10801,
  title = {Exact-Solution Volume and Length Generalization in Transformers — arXiv:2610.07676},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.07676},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_7b9527b10801; sha256 8075f524221e9d4838199f7ab9b86222ceaa1b07ff2c0dc406030d0de319df09},
  year = {2026}
}

Archived text

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

Research on transformer expressivity shows whether a transformer is capable of solving a given task, but gives little indication of whether the solution, if learned, is generalizable to longer input lengths. We study this question through normalized exact-solution volume (NESV): the fraction of a bounded parameter region that achieves an exact solution on every input of length $n$. For fixed-width, single-layer transformers with $\log n$-scaled attention, we establish asymptotic bounds on NESV for four tasks: FIRST ($\Theta(1)$), MAJORITY ($\Theta(1/(n\log n))$), INDEX ($\Theta(1/n^3)$), and PARITY ($0$). These results are consistent with previous empirical results: the faster the exact-solution volume decays with input length, the harder it is to length-generalize on that task. Looking deeper into INDEX, our volume analysis reveals two error sources that grow with $n$. Consequently, we study a transformer model that would structurally eliminate one of the terms, theoretically improving the NESV bound to $\Theta(n^{-1})$, and empirically achieving 85% accuracy when tested at $10\times$ the training length, compared with the 60% accuracy of the original model. We conclude that volume analysis may be a useful approach to identify concrete sources of length sensitivity and thus provide insights into task-specific model refinements.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno).
Categorie arXiv: Machine Learning (cs.LG) ; Artificial Intelligence (cs.AI).
Pagina del lavoro: https://arxiv.org/abs/2610.07676 — 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-07T11:15:24.751Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).