Tight Sample Complexity of Transformers
Not on the map. Why?
Abstract (arXiv)
We tightly characterize the VC dimension of depth-L Transformers with a total of W parameters, mapping an input sequence of length T to a single output, establishing an upper bound of O(L W log (T W)) and a nearly matching lower bound of Omega(L W log (T W / L)). We further tightly characterize the sample complexity of chain-of-thought learning using such a Transformer, showing teacher forcing (i.e. selecting a predictor consistent with the entire chain-of-thought on training data) learns with sample complexity Oleft(L W log left(left(T+Tprimeright) Wright)right) and that any learning rule that uses chain-of-thought data requires at least Omegaleft(L W log left(left(T+Tprimeright) W / Lright)right) examples, where T is the input length and Tprime is the number of autoregressive steps.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 14 of its 29 references that are in the map. First posted on arXiv 8 Jun 2026.
Builds on
14 of 29 references.
References · 14
- 2017Attention Is All You Needcited by 60,361
- 2020GLU Variants Improve Transformercited by 1,804
- 2019Are Transformers universal approximators of sequence-to-sequence functions?cited by 406
- 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 327
- 2017Nearly-tight VC-dimension and pseudodimension bounds for piecewise linear neural networkscited by 311
- 2023Towards Revealing the Mystery behind Chain of Thought: A Theoretical Perspectivecited by 294
- 2019Theoretical Limitations of Self-Attention in Neural Sequence Modelscited by 288
- 2022Transformers Learn Shortcuts to Automatacited by 268
- 2024Chain of Thought Empowers Transformers to Solve Inherently Serial Problemscited by 260
- 2021Inductive Biases and Variable Creation in Self-Attention Mechanismscited by 144
- 2021Saturated Transformers are Constant-Depth Threshold Circuitscited by 139
- 2025PENCIL: Long Thoughts with Short Memorycited by 33
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026The Optimal Sample Complexity of Learning Autoregressive Chain-of-Thought
- 2026Finite-Time Analysis of Gradient Descent for Shallow Transformers
- 2026A Sharper Picture of Generalization in Transformers
- 2025A Little Depth Goes a Long Way: The Expressive Power of Log-Depth Transformers
- 2025Exact Expressive Power of Transformers with Padding
- 2026Transformers Provably Learn to Internalize Chain-of-Thought
- 2024Transformers Provably Solve Parity Efficiently with Chain of Thought
- 2026Barriers to Universal Reasoning With Transformers (And How to Overcome Them)