mlsanityData to 14 Oct 2026

A Markov Categorical Framework for Language Modeling

arXiv 2507.19247 ↗First posted 25 Jul 2025cs.LG cs.AI cs.CLcited by 2

Not on the map. Why?

Abstract (arXiv)

Autoregressive language models achieve remarkable performance, yet a unified theory explaining their internal mechanisms, how training shapes representations, and why these representations support complex behavior remains incomplete. We introduce an analytical framework that models the single-step generation process as a composition of information-processing stages using the language of Markov categories. This compositional perspective connects three aspects of language modeling that are often studied separately: the training objective, the geometry of the learned representation space, and practical model capabilities. First, our framework gives an information-theoretic rationale for parallel drafting methods such as speculative decoding by quantifying the information surplus a hidden state contains about future tokens beyond the immediate next one. Second, we clarify how the standard negative log-likelihood (NLL) objective learns not only a most likely next token, but also the data's intrinsic conditional uncertainty, formalized through categorical entropy. Our main spectral result is conditional: for a linear-softmax head with bounded output features, a calibrated quadratic upper-bound surrogate to NLL induces, after whitening or variance normalization, a generalized CCA/eigenproblem aligning representation directions with predictive prototypes. This gives a compositional lens for understanding how information flows through a model and how likelihood training can shape its internal geometry.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 20 of its 35 references that are in the map. First posted on arXiv 25 Jul 2025.

Builds on

20 of 35 references.

References · 20

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  4. 2017The Implicit Bias of Gradient Descent on Separable Datacited by 655
  5. 2024EAGLE: Speculative Sampling Requires Rethinking Feature Uncertaintycited by 578
  6. 2016f-GAN: Training Generative Neural Samplers using Variational Divergence Minimizationcited by 506
  7. 2017Opening the Black Box of Deep Neural Networks via Informationcited by 503
  8. 2024Better & Faster Large Language Models via Multi-token Predictioncited by 360
  9. 2021Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive Losscited by 313
  10. 2020Implicit Bias of Gradient Descent for Wide Two-layer Neural Networks Trained with the Logistic Losscited by 268
  11. 2018Characterizing Implicit Bias in Terms of Optimization Geometrycited by 266
  12. 2022On the Implicit Bias in Deep-Learning Algorithmscited by 86
8 more
  1. 2019A synthetic approach to Markov kernels, conditional independence and theorems on sufficient statisticscited by 56
  2. 2024Spectral Editing of Activations for Large Language Model Alignmentcited by 56
  3. 2024ICLR: In-Context Learning of Representationscited by 50
  4. 2022On the Power of Foundation Modelscited by 37
  5. 2017Disintegration and Bayesian Inversion via String Diagramscited by 32
  6. 2023Contrastive Learning Is Spectral Clustering On Similarity Graphcited by 25
  7. 2025A Comprehensive Survey on Spectral Clustering with Graph Structure Learningcited by 10
  8. 2022Markov Categories and Entropycited by 7

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026The Probabilistic Structure of Large Language Models
  2. 2026Additive Multi-Step Markov Chains and the Curse of Dimensionality in Large Language Models
  3. 2025Establishing a Scale for Kullback-Leibler Divergence in Language Models Across Various Settings
  4. 2026Top-b: Entropic Regulation of Relative Probability Bands in Autoregressive Language Processes
  5. 2025Tracing the Representation Geometry of Language Models from Pretraining to Post-training
  6. 2024Promises and Pitfalls of Generative Masked Language Modeling: Theoretical Framework and Practical Guidelines
  7. 2025TRACE Back from the Future: A Probabilistic Reasoning Approach to Controllable Language Generation
  8. 2026The Expressivity Boundary of Probabilistic Circuits: A Comparison with Large Language Models