mlsanityData to 7 Oct 2026

Information-Theoretic Analysis of Next-Token Prediction under Markovian Data

arXiv 2609.34731 ↗First posted 28 Sep 2026stat.ML cs.IT cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

We develop an information-theoretic framework for generalization in next-token prediction under temporally dependent data. We consider independent trajectories generated by finite-memory Markov processes and distinguish algorithmic dependence, quantified by mutual information, from temporal dependence, characterized by mixing. For cross-entropy loss, we derive an expected generalization bound using the Donsker--Varadhan variational representation and a McDiarmid-type concentration inequality for Markov chains. A refinement captures the joint effect of context length and temporal mixing through the mixing properties of the history-state process. We then extend the bound through a rate--distortion formulation, replacing mutual information with the minimum information rate required to represent the learned model within a prescribed distortion in the generalization gap, yielding informative guarantees for deterministic algorithms over continuous hypothesis spaces. For margin-based prediction, we derive explicit bounds for linear and self-attention next-token predictors via noisy low-dimensional compression, revealing the roles of context length, model complexity, sample size, margin, and temporal mixing. Experiments on TinyStories and ETTh2 show that longer contexts can reduce both training and test losses, but typically reduce training loss more, enlarging the generalization gap. A complementary ETTh2 analysis identifies an effective predictive-memory scale near 24 hours, with no statistically supported improvement beyond this scale, offering a plausible explanation for test-performance saturation at larger contexts.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 34 of its 56 references that are in the map. First posted on arXiv 28 Sep 2026.

Builds on

34 of 56 references.

References · 34

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecastingcited by 2,141
  3. 2022A Time Series is Worth 64 Words: Long-term Forecasting with Transformerscited by 1,981
  4. 2021Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecastingcited by 1,654
  5. 2022FEDformer: Frequency Enhanced Decomposed Transformer for Long-term Series Forecastingcited by 1,200
  6. 2022TimesNet: Temporal 2D-Variation Modeling for General Time Series Analysiscited by 1,030
  7. 2023iTransformer: Inverted Transformers Are Effective for Time Series Forecastingcited by 906
  8. 2017Spectrally-normalized margin bounds for neural networkscited by 681
  9. 2023TinyStories: How Small Can Language Models Be and Still Speak Coherent English?cited by 425
  10. 2019Are Transformers universal approximators of sequence-to-sequence functions?cited by 404
  11. 2018Stronger generalization bounds for deep nets via a compression approachcited by 306
  12. 2017Information-theoretic analysis of generalization capability of learning algorithmscited by 299
22 more
  1. 2024The pitfalls of next-token predictioncited by 156
  2. 2020Reasoning About Generalization via Conditional Mutual Informationcited by 145
  3. 2021Inductive Biases and Variable Creation in Self-Attention Mechanismscited by 144
  4. 2019Information-Theoretic Generalization Bounds for SGLD via Data-Dependent Estimatescited by 118
  5. 2019Tightening Mutual Information Based Bounds on Generalization Errorcited by 117
  6. 2023Auto-Regressive Next-Token Predictors are Universal Learnerscited by 65
  7. 2021Information-theoretic generalization bounds for black-box learning algorithmscited by 49
  8. 2021On the Expressive Power of Self-Attention Matricescited by 44
  9. 2021Heavy Tails in SGD and Compressibility of Overparametrized Neural Networkscited by 44
  10. 2020Generalization Bounds via Information Density and Conditional Information Densitycited by 43
  11. 2024Mechanics of Next Token Prediction with Self-Attentioncited by 34
  12. 2024Unlocking Tokens as Data Points for Generalization Bounds on Larger Language Modelscited by 25
  13. 2022Rate-Distortion Theoretic Generalization Bounds for Stochastic Learning Algorithmscited by 22
  14. 2020Near-Tight Margin-Based Generalization Bounds for Support Vector Machinescited by 19
  15. 2022Rate-Distortion Theoretic Bounds on Generalization Error for Distributed Learningcited by 14
  16. 2018On Learning Markov Chainscited by 13
  17. 2024Minimum Description Length and Generalization Guarantees for Representation Learningcited by 11
  18. 2024Next-token prediction capacity: general upper bounds and a lower bound for transformerscited by 11
  19. 2018Statistical Estimation of Ergodic Markov Chain Kernel over Discrete State Spacecited by 10
  20. 2023Data-dependent Generalization Bounds via Variable-Size Compressibilitycited by 9
  21. 2024Towards Understanding the Universality of Transformers for Next-Token Predictioncited by 9
  22. 2023Lessons from Generalization Error Analysis of Federated Learning: You May Communicate Less Often!cited by 8

Built on by

Not cited yet.