mlsanityData to 26 Nov 2026

Emergence of the transformer architecture as the score of entropic laws of random measures

arXiv 2610.39614 ↗Submitted 29 Oct 2026cs.AI math.PR stat.MLcited by 0

Not on the map. Why?

Abstract (arXiv)

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(Sd), 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.

Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 32 of its 58 references that are in the map. Submitted 29 Oct 2026.

Builds on

32 of 58 references.

References · 32

  1. 2017Attention Is All You Needcited by 62,125
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 41,272
  3. 2020Hopfield Networks is All You Needcited by 517
  4. 2016From Softmax to Sparsemax: A Sparse Model of Attention and Multi-Label Classificationcited by 354
  5. 2013A survey of the Schr"odinger problem and some of its connections with optimal transportcited by 310
  6. 2016Using the Output Embedding to Improve Language Modelscited by 290
  7. 2023A mathematical perspective on Transformerscited by 186
  8. 2023The emergence of clusters in self-attention dynamicscited by 152
  9. 2021Sinkformers: Transformers with Doubly Stochastic Attentioncited by 150
  10. 2022Analyzing Transformers in Embedding Spacecited by 142
  11. 2019Understanding and Improving Transformer From a Multi-Particle Dynamic System Point of Viewcited by 128
  12. 2020Rethinking embedding coupling in pre-trained language modelscited by 108
20 more
  1. 2016Tying Word Vectors and Word Classifiers: A Loss Framework for Language Modelingcited by 97
  2. 2022Formal Algorithms for Transformerscited by 82
  3. 2024Dynamic metastability in the self-attention modelcited by 55
  4. 2024A phase transition between positional and semantic learning in a solvable model of dot-product attentioncited by 38
  5. 2024Measure-to-measure interpolation using Transformerscited by 37
  6. 2024Clustering in Causal Attention Maskingcited by 36
  7. 2025Quantitative Clustering in Mean-Field Transformer Modelscited by 30
  8. 2024Attention layers provably solve single-location regressioncited by 22
  9. 2025Fundamental limits of learning in sequence multi-index models and deep attention networks: High-dimensional asymptotics and sharp thresholdscited by 17
  10. 2024Dissecting the Interplay of Attention Paths in a Statistical Mechanics Theory of Transformerscited by 14
  11. 2025Scaled-Dot-Product Attention as One-Sided Entropic Optimal Transportcited by 10
  12. 2026Clustering in Deep Stochastic Transformerscited by 10
  13. 2026Stochastic Scaling Limits and Synchronization by Noise in Deep Transformer Modelscited by 10
  14. 2025Bayes optimal learning of attention-indexed modelscited by 7
  15. 2025Attention-based clusteringcited by 6
  16. 2026Weight Tying Biases Token Embeddings Towards the Output Spacecited by 5
  17. 2025Token Sample Complexity of Attentioncited by 4
  18. 2026On the Expressive Power of Transformers for Contextual Relationscited by 2
  19. 2026Attention-based PCAcited by 1
  20. 2026Softmax Attention on Gaussian Mixtures: Linear When It Can, Selective When It Mustcited by 1

Built on by

Not cited yet.