mlsanityData to 26 Nov 2026

Quantitative Generalization Bounds for Multi-Layer Transformers: A Few Long Strings can Beat Many Short Ones

arXiv 2610.35715 ↗Submitted 26 Oct 2026cs.LG cs.AI cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

Transformer-based language models exhibit an astonishing capacity to generalize to longer and more difficult problem instances than those seen in training. However, theoretical understanding of this phenomenon still lags behind. Unlike most machine learning models, the generalisation abilities of transformers inherently require considering two axes. On one hand, one must examine in-distribution statistical generalisation, which concerns the ability of a model to broaden a function from training samples to novel samples of the same distribution. On the other hand, given the sequential nature of language data, one must also consider length generalisation, which reflects whether a model trained on inputs of a given length can extrapolate to longer ones. These two notions have mostly been studied separately, leaving open how they interact. In this work, we give a joint treatment of both axes for fixed-precision transformers. We give generalisation guarantees in terms of the parameter sizes of the involved models, as well as the quantization space and the alphabet size that supply the sequences. Finally, we illustrate how the requirements in the sample count and training length trade off. In particular, we find that increasing training length can be exponentially more efficient than increasing the sample size. Experiments support predictions of the theory.

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

Builds on

19 of 58 references.

References · 19

  1. 2014Adam: A Method for Stochastic Optimizationcited by 38,598
  2. 2016Layer Normalizationcited by 6,002
  3. 2020Longformer: The Long-Document Transformercited by 3,606
  4. 2016Understanding deep learning requires rethinking generalizationcited by 1,739
  5. 2019Uniform convergence may be unable to explain generalization in deep learningcited by 230
  6. 2024A Formal Framework for Understanding Length Generalization in Transformerscited by 53
  7. 2025A Theory of Learning with Autoregressive Chain of Thoughtcited by 30
  8. 2025Characterizing the Expressivity of Fixed-Precision Transformer Language Modelscited by 17
  9. 2025Quantitative Bounds for Length Generalization in Transformerscited by 11
  10. 2026Sample Complexity of Autoregressive Reasoning: Chain-of-Thought vs. End-to-Endcited by 10
  11. 2025When Do Transformers Outperform Feedforward and Recurrent Networks? A Statistical Perspectivecited by 7
  12. 2024On Generalisation Error Bounds for Transformerscited by 6
7 more
  1. 2026Sharper Generalization Bounds for Transformercited by 4
  2. 2026From Expressivity to Sample Complexity: Narrow Teachers for Transformers via C-RASPcited by 2
  3. 2026Disentangling the Expressivity of RoPEcited by 2
  4. 2026Algebraic Decomposition Theory for Transformer Length Generalizationcited by 2
  5. 2026A Sharper Picture of Generalization in Transformerscited by 1
  6. 2026Length Generalization for Transformers via Compressioncited by 1
  7. 2026Exact-Solution Volume and Length Generalization in Transformerscited by 1

Built on by

Not cited yet.