paper

Tight Sample Complexity of Transformers

arXiv:2606.09731

Abstract

We tightly characterize the VC dimension of depth- Transformers with a total of parameters, mapping an input sequence of length to a single output, establishing an upper bound of and a nearly matching lower bound of . 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 and that any learning rule that uses chain-of-thought data requires at least examples, where is the input length and is the number of autoregressive steps.

in COLT 2026