Abstract
Chain-of-Thought (CoT) prompting has significantly enhanced Large Language Model (LLM) performance, yet a rigorous theoretical understanding of its benefits has been lacking. This work introduces a formal statistical framework for CoT supervision, proposing the "CoT Information" metric to quantify the value of intermediate reasoning steps. We prove that CoT supervision can drastically improve sample complexity, reducing the data required to reach target accuracy by orders of magnitude. Our theoretical findings are validated through simulations on synthetic hypothesis classes, demonstrating up to a 600x improvement in sample efficiency.
Introduction
While Chain-of-Thought (CoT) has become a cornerstone of modern LLM performance, its success has remained largely empirical. We know it works, but we lack a rigorous mathematical explanation for why intermediate reasoning steps improve the learning process.
A fundamental challenge in understanding CoT is the "mismatch" between training and testing: during training, a model is supervised to predict a long sequence of reasoning steps (the CoT risk), but at test time, we only care if the final answer is correct (the end-to-end risk). Standard learning theory struggles to explain how solving a seemingly "harder" training task—predicting the entire trace—actually leads to faster convergence on the "easier" test task of getting the right answer.
The CoT Information Measure
To bridge this gap, we formalize CoT learning within the PAC (Probably Approximately Correct) framework. Our primary contribution is the definition of the CoT Information Measure ($\mathcal{I}^{CoT}$), which quantifies how effectively a reasoning trace distinguishes between different hypotheses.
If two models produce the same final answer but utilize different logical paths, the CoT trace provides the learner with the information needed to differentiate them much faster than end-to-end labels alone. We derive new sample complexity bounds showing that while standard learning scales at a rate of $d/\epsilon$ (where $d$ is model complexity and $\epsilon$ is error), CoT-supervised learning scales as $d/\mathcal{I}^{CoT}$.
Sample Complexity Analysis
Our analysis covers both finite and general hypothesis classes in the realizable setting (where the true function exists within the model's class). As shown in the table below, the inclusion of the CoT Information term in the denominator leads to significantly sharper bounds compared to standard end-to-end supervision.
Using Le Cam’s and Fano’s methods, we further prove that CoT information represents a fundamental limit; a learner cannot converge faster than what this measure allows. In the realizable case, we prove that "CoT never hurts," as $\mathcal{I}^{CoT} \ge \epsilon$ always holds.
Empirical Validation
To test these theoretical predictions, we utilized two synthetic "CoT hypothesis classes" that allow for precise control over reasoning variables:
- Deterministic Finite Automata (DFA): The input is a string, the output is an acceptance bit, and the CoT is the sequence of internal states. In these simulations, CoT supervision provided a ~600x improvement in sample efficiency.
- Iterated Linear Thresholds: This simulates autoregressive generation, where tokens are generated one-by-one based on a window of previous tokens, mimicking the step-by-step nature of LLMs.
The empirical results from these simulations matched our theoretical $d/\mathcal{I}^{CoT}$ predictions remarkably closely, confirming that more detailed traces increase CoT information and accelerate learning, though they eventually hit diminishing returns.
Discussion and Insights
Our framework reveals several key insights into the nature of reasoning traces:
- The Agnostic Risk: In noisy or "agnostic" settings where the model class is slightly mismatched, CoT supervision can be "distracting." If a model attempts to fit a complex reasoning trace it cannot represent, its performance on the final answer may suffer compared to simple end-to-end training.
- Length Generalization: The theory suggests that CoT helps models learn "atomic skills" or general principles. This allows them to generalize to problems significantly longer or more complex than those encountered during training.
Conclusion and Future Work
This work provides the first formal statistical theory explaining the sample complexity benefits of Chain-of-Thought. While our current analysis focuses on Empirical Risk Minimization (ERM) in toy models like DFAs, it sets the stage for future research into high-dimensional Transformer architectures and the impact of human-generated noise in reasoning traces. Extending these bounds to more adaptive learning rules that balance CoT and end-to-end objectives remains a promising direction for improving model robustness in noisy environments.
Summary updated