Metraipolis › archive › dc_c5a4ed42b5d5
Emergence of the transformer architecture as the score of entropic laws of random measures — arXiv:2610.39614
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2610.39614
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-31T06:09:24.083Z
- SHA-256 of the archived text
514369b12d35ac157740add4eed3e8d8a1f0e6eef4af7863e029f0bd1976c32a- Stable URL of this page
https://metraipolis.com/documento/dc_c5a4ed42b5d5
How to cite
Emergence of the transformer architecture as the score of entropic laws of random measures — arXiv:2610.39614 — arXiv (en), https://arxiv.org/abs/2610.39614 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_c5a4ed42b5d5 (Metraipolis archive dc_c5a4ed42b5d5, sha256 514369b12d35ac157740add4eed3e8d8a1f0e6eef4af7863e029f0bd1976c32a)
BibTeX
@misc{dcc5a4ed42b5d5,
title = {Emergence of the transformer architecture as the score of entropic laws of random measures — arXiv:2610.39614},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2610.39614},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_c5a4ed42b5d5; sha256 514369b12d35ac157740add4eed3e8d8a1f0e6eef4af7863e029f0bd1976c32a},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.39614. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
We show that the transformer architecture emerges as the score of last-token laws in a natural statistical model of language, where sentences are empirical measures of tokens, a language is a law on $P(S^d)$, and our prior belief is that sentences carry no structure at all. By the maximum-entropy principle, we select the law closest to this prior in relative entropy among those reproducing an observed sentence-level statistic. We discuss the relevance of the statistic in the posterior interaction between tokens and we build a statistic, able to capture that interaction, with Luce's choice axiom truncated at the lowest relational order. This procedure gives the softmax choice rule, with the attention cross-moment as its mean parameter. The query--key matrix is then the Lagrange multiplier of a maximum-entropy problem inside each sentence, and the value matrix the multiplier of the constraint over the language, so that the two are untied. Under the optimal entropic law we then show that a transformer head appears in the score of the last-token law. For ordered sentences, causal masking follows from the masked reference choice rule, and with a next-token cross-moment the score equals one causally masked attention head. We also discuss multi-head attention, weight-tied unembedding, and a heuristic reading of residual blocks as projected Langevin steps. Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno). Categorie arXiv: Artificial Intelligence (cs.AI) ; Probability (math.PR); Machine Learning (stat.ML). Pagina del lavoro: https://arxiv.org/abs/2610.39614 — 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-31T06:07:08.532Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).