arXiv Machine Learning

How Many Different Outputs Can a Transformer Generate?

arXiv:2605. 22223v2 Announce Type: replace Abstract: We study how we can leverage only a handful of characteristics of a transformer's architecture to closely predict the number of different sequences it can output, both qualitatively and quantitatively.

arXiv Machine Learning
Sep 10

Length Generalization for Transformers via Compression

arXiv:2609.08851v1 Announce Type: new Abstract: Recent advancements in transformer length generalization theory enable us to reliably predict when a transformer can learn to solve a task. In particul...

By Georg Zetzsche, Hongjian Jiang, Andy Yang, Pascal Bergstr\"a{\ss}er, Marco S\"alzer, David Chiang, Anthony W. Lin
arXiv AI
Jul 7

On the Ability of Transformers to Verify Plans

arXiv:2603. 19954v2 Announce Type: replace Abstract: Transformers have shown inconsistent success in AI planning tasks, and theoretical understanding of when generalization should be expected has been limited.

By Yash Sarrof, Yupei Du, Katharina Stein, Alexander Koller, Sylvie Thi\'ebaux, Michael Hahn
arXiv AI
Oct 27

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

The paper presents quantitative generalization bounds for fixed‑precision transformer models, addressing both in‑distribution statistical generalization and length generalization. It derives guarantees based on model parameters, quantization space, and alphabet size, and shows how training length and sample size trade off, with longer training being exponentially more efficient. Experiments confirm the theoretical predictions.

By Marius Henry, Michael Rizvi-Martel, Michael Hahn
arXiv AI
Nov 14

A model of errors in transformers

The paper presents a quantitative model explaining how small errors in transformer attention accumulate to cause incorrect predictions on deterministic tasks such as arithmetic and repetitive token processing. It reduces the complex behavior of large language models to two key parameters—an elementary noise rate and the number of plausible erroneous tokens—derived from an effective field theory perspective. Extensive experiments on Gemini 2.5 Flash, Gemini 2.5 Pro, and DeepSeek R1 confirm the model’s predictions, while also identifying some deviations and offering prompt‑design strategies to lower error rates.

By Suvrat Raju, Praneeth Netrapalli
arXiv Computation and Language
Oct 26

Putting Transformer Theories to the Test

arXiv:2610.32104v1 Announce Type: cross Abstract: Several formal theories have been developed to characterize the capabilities and limitations of the transformer architecture, each employing differen...

By Awni Altabaa, Tobias Schnabel, Kiran Tomlinson