Metraipolis › archive › dc_689e84315a3a

The Geometry of Inference in Transformer Residual Streams — arXiv:2609.37824

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.37824
License (as archived)
CC0-1.0
Archived
2026-10-07T16:57:09.533Z
SHA-256 of the archived text
db199c3a91cfd38dafa6e6289e105a9c09189d396135b123d1ec110b1be061d3
Stable URL of this page
https://metraipolis.com/documento/dc_689e84315a3a

How to cite

The Geometry of Inference in Transformer Residual Streams — arXiv:2609.37824 — arXiv (en), https://arxiv.org/abs/2609.37824 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_689e84315a3a (Metraipolis archive dc_689e84315a3a, sha256 db199c3a91cfd38dafa6e6289e105a9c09189d396135b123d1ec110b1be061d3)
BibTeX
@misc{dc689e84315a3a,
  title = {The Geometry of Inference in Transformer Residual Streams — arXiv:2609.37824},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.37824},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_689e84315a3a; sha256 db199c3a91cfd38dafa6e6289e105a9c09189d396135b123d1ec110b1be061d3},
  year = {2026}
}

Archived text

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

Transformer language models build predictions through successive residual updates, but how their representations become specific to an eventual outcome remains unclear. We study this process by comparing intermediate residual states with their own final states and an empirical bank of final states from other contexts. Across six pretrained language models, the own endpoint becomes preferable to the average alternative early, while many individual endpoints remain closer. These competing sets generally shrink with depth, but their membership changes and their surviving endpoints need not become more similar to one another. Directional alignment and endpoint rank can therefore improve while Euclidean distance to the final state changes little. We develop a simple high-dimensional model that separates the roles of norm, alignment, and endpoint geometry, showing how gradual directional changes can produce sharp reductions in competition. We also prove that a straight path toward the own endpoint cannot introduce new competitors under either Euclidean or cosine distance; observed entries thus establish departures from straight-line convergence. Finally, endpoints associated with lower-ranked output tokens tend to lie farther away in cosine distance across all studied models, connecting residual geometry to output organization. Together, these findings characterize increasing geometric specificity during transformer inference and explain why distance, competitor count, and concentration of the surviving endpoints provide distinct views of that process.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-30 in cs.CL).
Categorie arXiv: Computation and Language (cs.CL) ; Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2609.37824 — 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-07T16:27:03.340Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-09-30?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).