This paper from researchers at ETH Zurich provides a rigorous theoretical foundation for one of the most successful techniques in modern AI: Chain-of-Thought (CoT) reasoning. While we know CoT works empirically, this work explains why it works from the perspective of computational complexity and probability theory.
TL;DR
The authors formalize Chain-of-Thought reasoning as a probabilistic process, proving that it fundamentally expands the representational power of language models. They show that CoT-augmented models can represent the same family of probability distributions as probabilistic Turing machines, effectively bridging the gap between neural architectures and classical models of computation.
What Problem Does This Paper Address?
Modern Large Language Models (LLMs) perform significantly better when asked to "think step-by-step." While previous research suggested this makes models "Turing complete," the authors argue that these comparisons often commit a category error.
Classical Turing machines are "deciders"—they give a binary Yes/No answer to whether a string belongs to a language. Language models, however, are probabilistic—they define a distribution over all possible strings. Previous theoretical work ignored this distinction, treating LMs as simple classifiers. This paper aims to bridge that gap by asking: What class of probability distributions can a neural language model represent when it is allowed to use a scratchpad?
Methods
The authors introduce a new formal framework called regular reducibility.
- Regular Reducibility: They define a relationship where one language model is "reducible" to another if the second model's output is just a simplified version of the first. In CoT terms, the "full" output includes all the intermediate reasoning steps (the scratchpad), and the "final" output is what remains after a simple function (a finite-state transducer) strips those steps away.
- Augmented Alphabets: They treat CoT as generating strings from an "augmented alphabet" that includes both final answer symbols and intermediate computation symbols.
- Architectural Mapping: They analyze two main architectures—Recurrent Neural Networks (RNNs) and Transformers—under two conditions: fixed-precision (limited memory per step) and unbounded-precision (arbitrary numerical accuracy).
Key Insights and Ideas
- CoT as a Source of Non-Determinism: A major "aha moment" in the paper is that CoT allows deterministic neural models to simulate non-deterministic processes. In a standard RNN, one input sequence leads to exactly one hidden state. By outputting the "choice" or "path" taken into the CoT string, the model can effectively track different branches of a probabilistic process.
- The Power of the Scratchpad: The authors show that the scratchpad isn't just a convenience; it is a formal requirement for reaching certain levels of complexity. For example, a fixed-precision RNN without CoT can only represent deterministic probabilistic regular languages, but adding CoT allows it to represent all probabilistic regular languages.
Key Results
The paper establishes a hierarchy of representational capacity (summarized in Figure 1):
- Fixed-Precision Models: Both Elman RNNs and Transformers extended with CoT reasoning are equivalent to Probabilistic Finite State Automata (PFSAs). This means they can represent any distribution that a finite-state machine can.
- Unbounded-Precision Models: When allowed arbitrary precision, both RNNs and Transformers with CoT are equivalent to Probabilistic Turing Machines (PTMs). This confirms they can represent any "enumerable semimeasure"—the most complex class of distributions computable by any machine.
- Formal Equivalence: Through Theorems 4.1 to 4.6, the authors prove that CoT reasoning is the "bridge" that allows these neural models to perfectly emulate these classical computational models.
Limitations and Future Work
- Numerical Precision: The proofs for Turing completeness rely on "unbounded precision." In the real world, hardware uses fixed-precision floating-point numbers. The authors acknowledge that while their results are mathematically sound, the "unbounded" assumption is unrealistic for physical deployments.
- Existence vs. Learnability: The paper proves that these powerful representations exist within the weights of a model. However, it does not provide a training algorithm to ensure a model actually learns to use its CoT in this optimal way.
- Architectural Simplifications: To keep the proofs manageable, the authors omitted certain modern features like Layer Normalization, though they note that adding these would likely only increase the model's power.
Summary updated