TL;DR
This paper settles a long-standing question about the statistical complexity of autoregressive models. The authors prove that deterministic autoregressive linear threshold functions (LTFs) have a VC dimension of $\Theta(d^2)$, closing a quadratic gap, and remarkably show that adding a tiny bit of stochasticity (logistic sampling) can explode this complexity to exponential levels ($\Omega(2^d)$).
What Problem Does This Paper Address?
Autoregressive models—the backbone of modern Large Language Models (LLMs)—work by repeatedly predicting the next token based on a fixed window of previous tokens. A fundamental question in machine learning theory is: How "flexible" or "complex" is such a model?
In technical terms, we want to know the VC dimension of these models. The VC dimension measures the largest set of inputs that a model class can "shatter" (assign any arbitrary combination of labels to). For a standard, single-step Linear Threshold Function (LTF) with $d$ inputs, the VC dimension is exactly $d$. However, when you feed the output of an LTF back into itself for $T$ steps, the complexity can grow.
Previously, it was known that the VC dimension was at most $O(d^2)$, but the best known lower bound was only linear ($\Omega(d)$). This paper aims to resolve this "quadratic gap" and explore how stochasticity (randomness in token generation) changes the game.
Methods
The authors use a constructive proof technique. They show how to "program" a single, fixed LTF to perform a complex recursive computation that extracts information hidden in its own weights.
- Deterministic Construction: They design a recursive process where an LTF acts like a simple computer. It uses some bits of its $d$-bit memory to store a "row index," some to store "output bits" (recovered labels), and some as a "pointer" to the next bit to be extracted.
- The labels to be shattered are encoded into the LTF's weights.
- By carefully choosing the input strings, they force the LTF to run this "extraction program" over $T$ steps to produce the desired label.
- To make this work with a single LTF (rather than a sequence of different ones), they use a "block encoding" technique where one LTF update transforms an entire state block into the next.
- Stochastic Construction: They replace the hard "sign" function of the LTF with logistic sampling (the sigmoid function). Here, they encode exponentially many labels into a single real number. They show that by repeatedly sampling from a logistic gate, the probability of the final state can be made to oscillate around $1/2$ in a way that reveals the hidden labels.
Datasets
As a theoretical paper focused on proving mathematical bounds, no empirical datasets were used. The "data" consists of constructed sets of binary strings in $\{0, 1\}^d$ used to demonstrate shattering.
Key Insights and Ideas
- The Quadratic Limit of Determinism: For deterministic models, the memory is strictly limited to the $d$ bits in the input window. This physical constraint limits the VC dimension to $O(d^2)$. The authors show this bound is tight: you can actually reach $\Theta(d^2)$ by using the memory efficiently to "loop" through weights.
- Stochasticity as a Complexity Multiplier: The most surprising "aha moment" is that moving from deterministic to stochastic generation doesn't just add a little noise—it fundamentally changes the model's capacity. Stochastic models can "smuggle" infinite precision information through probabilities, allowing them to shatter an exponential number of points.
- CoT vs. e2e Supervision: The results highlight a massive "statistical gap." If you see all intermediate steps (Chain-of-Thought), the complexity is linear in $d$. If you only see the final answer (end-to-end), the complexity jumps to quadratic or even exponential. This explains why training on intermediate reasoning steps is so much more efficient.
Key Results
- Theorem 1 (Deterministic): For $T \ge d^2$, the VC dimension of autoregressive LTFs is $\Omega(d^2)$. Specifically, they prove a lower bound of $d^2 / 30242$. This resolves the quadratic gap.
- Theorem 2 (Stochastic): For the majority class of stochastic autoregressive generators (using the canonical logistic model), the VC dimension is exponential in $d$ ($\Omega(2^{cd})$ for some constant $c$).
- Pseudo-dimension: The authors also show that the pseudo-dimension of the underlying probability class is $2^{\Omega(d)}$, contrasting sharply with the $O(d^2)$ deterministic bound.
Limitations and Future Work
- Large Constants: The constant factor in the deterministic lower bound ($1/30242$) is quite small, suggesting that while the scaling is $d^2$, the practical "shattering power" for small $d$ might be limited.
- Long Horizons: The exponential VC dimension for stochastic models requires a very large number of steps $T$ (exponential in $d$). Whether this exponential complexity persists for smaller, more practical values of $T$ remains an open question.
- Weight Precision: The constructions rely on weights with high precision (polynomial bit length for deterministic, even higher for stochastic). Exploring the VC dimension under restricted weight precision (e.g., 8-bit weights) would be a natural next step for the community.
Summary updated