Paper commentary
A Tight Hierarchy for Chain of Thought
Padding lets CoT step counts separate classes that coarse simulations can't
- Problem Existing simulations between CoT transformers and Turing machines are too coarse to separate nearby step counts. Each decoding step attends to every earlier token, so the simulation cost is quadratic and the chain cannot tell CoT(n) from CoT(n^2).
- Method The authors pad each input with filler symbols, instead of diagonalizing, to turn a coarse separation into a finer one. Padding is applied to the input, and a transformer simulates the smaller-class model on the padded input.
- Results The authors prove a strict hierarchy: CoT(r(n)) is strictly contained in CoT(r(n)^(1+ε)) for any ε greater than 0 and any r(n) at least n. The paper gives proofs only and contains no experiments.
Why the coarse CoT hierarchy stops short
Hierarchy theorems ask whether a little more of a resource buys strictly more computing power. The classical time version needs the larger bound to grow faster than the smaller one times a logarithm factor. The open question for chain-of-thought transformers is whether the number of decoding steps obeys the same kind of hierarchy.
Merrill and Sabharwal connect CoT to Turing machines in both directions, with CoT(t(n)) inside TIME(t^3(n)) and TIME(t(n)) inside CoT(t(n)). Theorem 2.2 restates the general relation as TIME(r(n)) inside CoT(r(n)), and CoT(r(n)) inside TIME with polylog(r(n)) applied to r^2(n) + n^2. Chaining these simulations with the Time Hierarchy Theorem gives CoT(t(n)) strictly inside CoT(t^9(n)).
That separation is real but coarse, because the chain can't tell CoT(n) from CoT(n^2), let alone CoT(n) from CoT(n^1.01).
The bottleneck is the simulation itself, since each decoding step attends to every preceding token. Simulating that attention on a Turing machine incurs a quadratic cost, which spoils any attempt at a fine separation. A very efficient simulation such as CoT(t(n)) inside TIME(t^(1+o(1))(n)) would sharpen the picture, but the authors don't have it.
Diagonalization, the usual route to hierarchy theorems, is awkward here. A transformer has no clean encoding that lets one transformer take another as input and simulate it step by step. So the authors turn to padding, which adapts coarse separations into finer-grained ones.
Padding as the key idea
Padding pads the input with filler symbols, so a separation read at one input length can be read at a finer scale of padded lengths. Each string X in L is extended with a block of ∗ symbols whose length is the floor of |X| to the power c, where c = (1+2ε)/(1+ε). The symbol ∗ is a new character outside the original alphabet, used only for padding.
The padded language L′ keeps the same membership question as L, only with the extra ∗ symbols attached to the input.
The main tool is Lemma 3.1, which says that if CoT(r(n)) equals CoT(r(n)^(1+ε)), then CoT(r(n)^(1+ε)) equals CoT(r(n)^(1+2ε)). The lemma needs r(n) to be time-constructible, nondecreasing and unbounded, with r(n) at least n. It is an implication between classes, and it only has force under the equality assumption that the main proof supplies.
The proof uses a transformer T for L as a black box, run on the padded input with about the same absolute number of CoT steps as on the unpadded input. Measured against the padded input length, that cost is r(n)^(1+ε), so the padded language sits in the smaller class under the equality assumption. A transformer for L then follows by padding the input and simulating that smaller-class transformer, so L lands in the smaller class too.
Running T directly on the padded input is not safe, because T expects an unpadded input over Σ. Its attention would also reach the padding tokens, which changes the output of T in ways the authors can't control. Two further problems need care: copying the output at one position to a much later position, and making the padding step fire only at the right CoT steps.
How the two constructions run
The construction of T' starts from the input X1 followed by a padding block X2 of length floor(m^c). T' has to check two things: that X1 is in L, and that X2 is all ∗ symbols of the right length. T' runs the layers of T unchanged on the first m positions, so its vector at position m after layer L equals the vector vT of T. The authors keep the causal mask in general and use a tailored mask only for conciseness, since the first layers can simulate its effect.
At position m plus floor(m^c), T' copies the first d dimensions of the vector at position m to that position. Layer L+1 computes the indicators 1(j = m) and 1(j = m + floor(m^c)) with its feedforward network. Layer L+2 has one head whose scores pick out position m only at position m plus floor(m^c), and average hardmax places the weight there.
A linear map then moves the copied dimensions into the slots used by γT, so the first CoT step of T' matches the first CoT step of T.
Three more layers, L+3 to L+5, test whether every padding position holds the ∗ symbol. The head in layer L+3 attends over the positions holding ∗ and averages the values, so the attention equals 1/floor(m^c) exactly when all padding positions are ∗. A feedforward network then compares that attention value with 1/floor(m^c), which the positional encoding supplies, and stores the result in dimension d+3.
If the padding is correct and T would accept X1, T' accepts after O(r(m)^(1+2ε)) CoT steps.
Multi-layernorm can change the indicator values, so the authors add one layer that applies the norm to the vector alone. That extra layer saves the normalized vector in placeholder dimensions, and the next layer then reuses the stored indicator values to build the mask.
R works the other way: it takes X unpadded and generates the padding itself. For the first floor(m^c) CoT steps, R emits ∗ symbols, and afterwards it runs the transformer S step by step, as if on the padded input. The total is O(r(m)^c), and because c = (1+2ε)/(1+ε) is below 1+ε, R recognizes L within CoT(r(n)^(1+ε)).
From the lemma to the main theorem
The proof of the main theorem repeats the padding lemma and closes with a contradiction. It assumes CoT(r(n)) equals CoT(r(n)^(1+ε)) for contradiction, where ε is any fixed positive value. Lemma 3.1 then turns that equality into CoT(r(n)^(1+ε)) equal to CoT(r(n)^(1+2ε)), so the containments are equal at the next exponent. The authors apply the lemma again, reaching CoT(r(n)) equal to CoT(r(n)^(1+4ε)).
After i applications, the equality reads CoT(r(n)) equal to CoT(r(n)^(1+2iε)).
The coarse chain comes from Theorem 2.2, which places CoT(r(n)) inside TIME(r(n)^3) and CoT(r(n)^3) inside TIME(r(n)^9). The time hierarchy theorem makes TIME(r(n)^3) strictly smaller than TIME(r(n)^9). Because the chain runs through these classes, the proof gets CoT(r(n)) strictly inside CoT(r(n)^9). Choosing i equal to the ceiling of log base 2 of 8/ε makes the exponent 1+2iε reach 9.
At that choice, the equality gives CoT(r(n)) equal to CoT(r(n)^9), which contradicts the strict containment just derived.
The contradiction shows the equality assumption fails, so the strict containment CoT(r(n)) ⊊ CoT(r(n)^(1+ε)) holds. The lemma's hypotheses also carry over to the theorem: r(n) is time-constructible, nondecreasing, unbounded, and log r(n+1) equals (1+o(1)) log r(n). Remark 3.3 extends the padding beyond polynomial r(n), choosing a rational θ strictly between α and β.
The padding length is the smallest m at least n with r(m) at least r(n)^θ.
Limits of the result
The padding-based hierarchy only covers resource bounds with r(n) at least n, because padding doesn't work in the sub-linear regime. The authors state that the case r(n) below n is open for saturated-attention transformers, and they expect a positive answer.
The separation has a polynomial form: CoT(r(n)) sits strictly inside CoT(r(n)^(1+ε)) for any ε>0. Whether CoT(r(n)) is strictly contained in CoT(r(n) polylog(r(n))) is still an open question for the authors. The sharper simulation CoT(r(n)) inside TIME(r(n)^(1+o(1))) is also open, because the known simulations incur a quadratic blow-up.
The result holds in the model the authors fix, with log precision, saturated attention and multi-layernorm. The tailored attention mask is a convenience for the proofs, and the authors note that a causal mask suffices. The evidence is proofs and constructions, and the paper contains no experiments.
Paper info
- Authors
- Thanh Le, A. Pavan, N. V. Vinodchandran
- Venue
- arXiv · Preprint
- First published
- 2026-11-6
- Added
- 2026-11-9
- Updated
- 2026-11-6
- Version
- v1
- arXiv
- 2611.09759
- Category
- cs.LG · cs.CC
- Original paper terms
- CC BY 4.0
- What we show
- Paper info, commentary and permitted figures from the original paper
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Abstract
Chain-of-thought (CoT) reasoning has emerged as a powerful paradigm for extending the computational capabilities of transformer-based models. A growing body of recent work has begun to uncover the fine-grained computational power of transformers augmented with CoT, as well as their connections to classical complexity theory. In this work, we advance this line of research by establishing the first hierarchy theorem for CoT-based computation. Our main result shows that for any reasonable resource bound $r(n) \geq n$ and any $\varepsilon > 0$, \[ \mathrm{CoT}(r(n)) \subsetneq \mathrm{CoT}(r(n)^{1+\varepsilon}), \] where $\mathrm{CoT}(r(n))$ denotes the class of decision problems solvable by transformers using $O(r(n))$ CoT reasoning steps on inputs of length $n$. Our result shows that increasing the number of CoT reasoning steps provably yields strictly greater computational power, establishing CoT steps as a fundamental resource in transformer-based computation. Unlike classical hierarchy theorems, which are typically proved via diagonalization, our approach leverages known coarse-grained simulations between CoT-augmented transformers and Turing machines in both directions. Building on these connections, we adapt the classical padding technique from complexity theory to this setting to obtain a tight hierarchy. A key technical contribution of our work is the implementation of padding within the transformer-based CoT model.
Quote from the paper
Thanh Le, A. Pavan, N. V. Vinodchandran (2026). A Tight Hierarchy for Chain of Thought. arXiv:2611.09759v1. https://arxiv.org/abs/2611.09759v1
BibTeX
@misc{le2026tight,
title = {{A Tight Hierarchy for Chain of Thought}},
author = {Thanh Le and A. Pavan and N. V. Vinodchandran},
year = {2026},
eprint = {2611.09759},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2611.09759v1}
}