PreprintCited by 13semigroups and automata theoryComputability, Logic, AI AlgorithmsTopic Modeling

The expressive power of transformers with chain of thought

Open access
Merrill, William, Sabharwal, Ashish·2023·arXiv

Abstract

Recent theoretical work has identified surprisingly simple reasoning problems, such as checking if two nodes in a graph are connected or simulating finite-state machines, that are provably unsolvable by standard transformers that answer immediately after reading their input. However, in practice, transformers' reasoning can be improved by allowing them to use a "chain of thought" or "scratchpad", i.e., generate and condition on a sequence of intermediate tokens before answering. Motivated by this, we ask: Does such intermediate generation fundamentally extend the computational power of a decoder-only transformer? We show that the answer is yes, but the amount of increase depends crucially on the amount of intermediate generation. For instance, we find that transformer decoders with a logarithmic number of decoding steps (w.r.t. the input length) push the limits of standard transformers only slightly, while a linear number of decoding steps, assuming projected pre-norm (a slight generalization of standard pre-norm), adds a clear new ability (under standard complexity conjectures): recognizing all regular languages. Our results also imply that linear steps keep transformer decoders within context-sensitive languages, and polynomial steps with generalized pre-norm make them recognize exactly the class of polynomial-time solvable problems -- the first exact characterization of a type of transformers in terms of standard complexity classes. Together, this provides a nuanced framework for understanding how the length of a transformer's chain of thought or scratchpad impacts its reasoning power.

AI snapshot

Written from the paper’s full text.

TL;DR

This paper characterizes how the number of intermediate decoding steps (“chain of thought”/scratchpad) changes the expressive power of decoder-only transformers. It proves a general containment between transformer CoT steps and time/space complexity classes, with logarithmic steps adding little, linear steps enabling regular-language recognition, and polynomial steps yielding exactly P.

Key findings

  • The paper proves: `TIME(t(n)) ⊆ CoT(t(n)) ⊆ SPACE(t(n) + log n) ⊆ TIME(t(n)^2 + n^2)`, where `CoT(t(n))` is the class of languages recognized by a transformer using `t(n)` decoding steps.
  • With `O(log n)` intermediate steps, transformers can only recognize languages in `L = SPACE(log n)`, so they still cannot solve NL- or P-complete problems such as directed graph connectivity.
  • With `Θ(n)` steps, transformers with projected pre-norm can recognize all regular languages and are contained within context-sensitive languages; they fall between regular and context-sensitive languages in the Chomsky hierarchy.
  • With a polynomial number of steps, transformers with strict causal attention and projected pre-norm recognize exactly the class `P`, described as the first exact characterization of a type of transformer in terms of standard complexity classes.

Methods

  • Theoretical complexity analysis of decoder-only transformers that generate `t(n)` intermediate tokens before answering, formalized as `CoT(t(n))`.
  • Lower-bound constructions use strict causal saturated attention and projected pre-norm; the key technical device is a “layer-norm hash” for exact-match retrieval across positions.
  • The paper proves transformer decoders can simulate automata and Turing machines step-for-step, and derives upper bounds by simulating transformers with multitape Turing machines and space-bounded computation.

Limitations

  • The paper states it focuses on expressive power rather than learnability, and that lower bounds do not directly imply transformers can learn to use intermediate steps effectively.
  • The paper notes that running a polynomial number of forward passes with a large transformer is likely intractable in practice.
  • The lower-bound constructions assume strict causal saturated attention and projected pre-norm, a generalization of standard pre-norm; the text also states that no concrete reasoning problem was identified where a logarithmic number of steps would help.

Model-written summary. Check it against the paper before relying on it.

Integrity signals

Registry

DataCite · 10.48550/arxiv.2310.07923

Cites

0 citation errors · 0 not checkable

Statistics

Nothing to recompute.

Claims the paper makes

10 of 25 cited sources checked · 5 supported · 0 flagged · accuracy not yet measured

  • Interpretationcitation

    The left side of Equation (1) implies that transformer decoders with Θ(n) steps can simulate real-time models of computation like automata or counter machines.

    “The left side of Equation ( 1) implies that transformer decoders with Θ(n) steps can simulate real-time models of computation like automata or counter machines (Merrill, 2020).”
    Quote in the paperSubstantial claim1 of 1 sources checked
    • cites Merrill, 2020 source

      The Definitions (p. 2) and General Counter Machines (p. 3) describe real-time counter automata, but they do not address transformer decoders or whether Θ(n) decoder steps can simulate those machines. Searches for transformer-decoder simulation returned only passages about counter machines and recurrent networks. (LLM, conf=0.77)

      Experimental — accuracy not yet measured
  • Premisecitation

    Standard transformers, even with ideal parameters, cannot perfectly solve many sequential reasoning problems at scale, such as simulating finite-state machines, deciding whether nodes in a graph are connected, or solving matrix equalities.

    “They have shown that standard transformers, even with ideal parameters, cannot perfectly solve many sequential reasoning problems at scale, such as simulating finite-state machines, deciding whether nodes in a graph are connected, or solving matrix equalities.”
    Quote in the paperSubstantial claim1 of 3 sources checked
    • cites Merrill & Sabharwal, 2023b

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

    • cites Merrill & Sabharwal, 2023a

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

    • cites Merrill et al., 2022 source

      Section 2 (Roadmap) says that saturated transformers with floating-point values can recognize only languages in TC0, supporting a qualified limit on their computational power. But §4 (Circuit Complexity) says it is unknown whether TC0 contains all regular languages, and the paper does not establish that transformers cannot solve the listed finite-state, graph-connectivity, or matrix-equality tasks. The claim turns a model-specific upper bound into categorical impossibility claims about standard transformers. (LLM, conf=0.88)

      Experimental — accuracy not yet measured
  • Premisecitation

    Reasoning problems inspired by theoretical limits cannot be solved by cutting-edge transformer language models such as ChatGPT and GPT-4.

    “Empirically, reasoning problems inspired by these results cannot be solved by cutting-edge transformer language models such as ChatGPT and GPT-4 (Zhang et al., 2023)”
    Quote in the paperSubstantial claim1 of 1 sources checked
    • cites Zhang et al., 2023 source

      The Datasets section links the questions to theoretical limits on what transformers can solve in a single generation step, and the Question-answering accuracy section reports low accuracy for ChatGPT and GPT-4 under direct prompting. But “cannot be solved” overstates the empirical finding: both models answered some questions correctly, and §4.1 reports substantially better performance with step-by-step prompting. (LLM, conf=0.90)

      Experimental — accuracy not yet measured
  • Premisecitation

    The reasoning performance of GPT-4 negatively correlates with the depth of the problem's computation graph.

    “the reasoning performance of GPT-4 negatively correlates with the depth of the problem's computation graph (Dziri et al., 2023).”
    Quote in the paperSubstantial claim1 of 1 sources checked
    • cites Dziri et al., 2023 source
  • Interpretationcitation

    Transformers with O(n) decoding steps can solve any problem a Turing machine can solve in O(n) time.

    “Thus, simulating an automaton (cf.Theorem 1) is not the only new capability unlocked with O(n) decoding steps: rather, such transformers can solve any problem a Turing machine can solve in O(n) time, such as simulating real-time counter machines (Weiss et al., 2018).”
    Quote in the paperSubstantial claim1 of 1 sources checked
    • cites Weiss et al., 2018 source
  • Classified as probably not a substantial claim. 11
  • May combine two claims. 20
  • Classified as probably not a substantial claim.

    Premisecitation

    Chain of thought lets transformers solve a specific modular arithmetic problem that they likely cannot solve without one.

    “Feng et al. (2023) recently showed how chain of thought lets transformers solve a specific modular arithmetic problem that they likely cannot solve without one.”
    Quote in the paperSubstantial claim1 of 1 sources checked
    • cites Feng et al., 2023 source
  • May combine two claims.

    Premisecitation

    The time lower bound and space upper bound are fairly tight: improving either by a factor larger than log t(n) would result in a fundamental complexity theory advance.

    “Both our time lower bound and space upper bound are fairly tight: improving either by a factor larger than log t(n) would result in a fundamental complexity theory advance (Hopcroft et al., 1977).”
    Quote in the paperNot a substantial claim1 of 1 sources checked
    • cites Hopcroft et al., 1977 source

      The Introduction reports that deterministic time t(n) is contained in deterministic space t(n)/log t(n), establishing the logarithmic relationship invoked by the citation. It does not assess the citing authors’ time lower bound or space upper bound, or state that improving either by more than log t(n) would constitute a fundamental advance. (LLM, conf=0.78)

      Experimental — accuracy not yet measured
  • May combine two claims.

    Interpretationreasoning

    Some limitations identified in prior work can be overcome with a linear or quadratic number of steps, and a polynomial number of steps covers all problems in P.

    “Some of the limitations identified in prior work (Merrill & Sabharwal, 2023b;Chiang et al., 2023, etc.) can be overcome with a linear or quadratic number of steps, and a polynomial number of steps covers all problems in P.”
    Quote in the paperSubstantial claim1 of 2 sources checked
    • cites Merrill & Sabharwal, 2023b

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

    • cites Chiang et al., 2023 source
  • Classified as probably not a substantial claim. May combine two claims.

    Findingreasoning

    The construction adapts prior ideas to work for a decoder-only model without external memory or extra positional encodings, but with strict causal masking and projected pre-norm.

    “Our construction adapts these ideas to work for a decoder-only model without external memory or extra positional encodings, but with strict causal masking and projected pre-norm (cf.Section 2.1).”
    Quote in the paperSubstantial claim
    • The authors state this as an assumption: Strict causal masking is assumed: causally masked attention at position i can view tokens at all positions up to i - 1 but not the current token i.
    • The authors state this as an assumption: Projected pre-norm is assumed: each sublayer may apply a linear projection before layer-norm.
  • May combine two claims.

    Findingnone given

    TIME(t(n)) is contained in CoT(t(n)), which is contained in SPACE(t(n) + log n), which is contained in TIME(t(n)^2 + n^2).

    “TIME(t(n)) ⊆ CoT(t(n)) ⊆ SPACE(t(n) + log n) ⊆ TIME(t(n) 2 + n 2 ) .(1)”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Findingnone given

    Theorems 1 and 2 both go through without $ as long as token j can compute value v_j = 1[j = 0].

    “Theorems 1 and 2 both go through without $ as long as token j can compute value vj = 1[j = 0].”
    Quote in the paperNot a substantial claim
  • Classified as probably not a substantial claim.

    Findingreasoning

    Since strict causal attention is assumed, head τ computes h^τ_{i-1}/i.

    “Since we assume strict causal attention (for reasons that will become clear later), head τ thus computes h τ i-1 /i.”
    Quote in the paperSubstantial claim
    • The authors state this as an assumption: Strict causal masking is assumed: causally masked attention at position i can view tokens at all positions up to i - 1 but not the current token i.
  • May combine two claims.

    Findingreasoning

    By construction, f(i, k) is monotonically increasing and a linear combination of 1/i, 1/(i - 1), ..., 1/(i - k).

    “By construction, f (i, k) is monotonically increasing and a linear combination of 1/i, 1/(i -1), . . ., 1/(i -k).”
    Quote in the paperSubstantial claim
  • Classified as probably not a substantial claim.

    Findingreasoning

    The layer-norm hash is a mechanism that enables retrieval across different columns in the transformer based on query-key matching of numerical values.

    “The layer-norm hash is a mechanism that enables retrieval across different columns in the transformer based on query-key matching of numerical values.”
    Quote in the paperSubstantial claim
  • Classified as probably not a substantial claim.

    Findingreasoning

    The construction uses two layers to compute the contents at h^0_i on the input tape.

    “We now use two layers to compute the contents at h 0 i on the input tape.”
    Quote in the paperSubstantial claim
  • Classified as probably not a substantial claim.

    Findingreasoning

    The construction first reconstructs h^τ_i, the current position on each tape τ.

    “We first reconstruct h τ i , the current position on each tape τ .”
    Quote in the paperSubstantial claim
  • Classified as probably not a substantial claim.

    Findingreasoning

    The deterministic Turing machine run induces a diff sequence δ0, ..., δt(n) in ∆ capturing the state entered, tokens written, and directions moved after each token.

    “The deterministic Turing machine run induces a diff sequence δ 0 , . . ., δ t(n) ∈ ∆ capturing the state entered, tokens written, and directions moved after each token.”
    Quote in the paperSubstantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Findingnone given

    As in Theorem 1, a second layer norm gets applied to φ^0_i at the start of the layer but has no effect.

    “As in Theorem 1, a second layer norm gets applied to φ 0 i at the start of the layer but has no effect.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Findingreasoning

    The key idea is to store diffs to the tape at each step and use the layer-norm hash to dynamically reconstruct the contents at the head position at future steps.

    “The key idea will be to store”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Interpretationcitation

    With a polynomial number of decoding steps, transformers can solve linear equalities, Horn-clause satisfiability, and universal context-free recognition, all of which are P-complete and known to be inexpressible by standard transformers.

    “In the same vein, with a polynomial number of decoding steps, transformers can solve linear equalities, Horn-clause satisfiability, and universal context-free recognition, all of which are P-complete and thus known to be inexpressible by standard transformers (Merrill & Sabharwal, 2023b).”
    Quote in the paperSubstantial claim0 of 1 sources checked
    • cites Merrill & Sabharwal, 2023b

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

  • Classified as probably not a substantial claim. May combine two claims.

    Interpretationreasoning

    The transformer lacks recurrent connections, and recurrence is required to solve the sequential reasoning problems that standard transformers cannot solve.

    “The intuition here is that the transformer lacks recurrent connections, and recurrence is required to solve these sequential reasoning problems.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Interpretationown data

    Intermediate generation fundamentally extends the computational power of a decoder-only transformer, but the amount of increase depends crucially on the amount of intermediate generation.

    “We show that the answer is yes, but the amount of increase depends crucially on the amount of intermediate generation.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Study design and conductnone given

    The lower bound in Equation (1) assumes strict causal saturated attention and projected pre-norm, while the upper bounds hold both with and without these architectural assumptions.

    “Our lower bound (left side of Equation ( 1)) assumes strict causal saturated attention and projected pre-norm, while upper bounds hold both with and without these architectural assumptions.”
    Quote in the paperSubstantial claim
    • The authors state this as an assumption: Saturated attention is assumed: per head, all attention scores are either 0 or 1/v for some v.
    • The authors state this as an assumption: Strict causal masking is assumed: causally masked attention at position i can view tokens at all positions up to i - 1 but not the current token i.
    • The authors state this as an assumption: Projected pre-norm is assumed: each sublayer may apply a linear projection before layer-norm.
  • May combine two claims.

    Interpretationreasoning

    Intermediate generation like chain of thought or scratchpad can add reasoning power to transformers, and the number of steps matters as a computational resource akin to time or space.

    “Together, these results show that intermediate generation like chain of thought or scratchpad can add reasoning power to transformers and that the number of steps matters as a computational resource akin to time or space.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Interpretationreasoning

    Transformers with O(log n) intermediate steps cannot solve NL- or P-complete problems like directed graph connectivity, just like transformers with no intermediate decoding.

    “This implies that transformers with O(log n) intermediate steps cannot solve NLor P-complete problems 2 like directed graph connectivity, just like transformers with no intermediate decoding (Merrill & Sabharwal, 2023b).”
    Quote in the paperSubstantial claim0 of 1 sources checked
    • cites Merrill & Sabharwal, 2023b

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

  • May combine two claims.

    Interpretationreasoning

    Transformers with a linear number of decoding steps have the capacity to recognize regular languages, but cannot recognize languages beyond context-sensitive.

    “In particular, transformers with a linear number of decoding steps have the capacity to recognize regular languages, but cannot recognize languages beyond context-sensitive.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Premisecitation

    Log-precision transformers with no decoding steps are contained in uniform TC0, which means they cannot recognize all regular languages.

    “This follows because logprecision transformers with no decoding steps are contained in uniform TC 0 (Merrill & Sabharwal, 2023b), which means they cannot recognize all regular languages.”
    Quote in the paperSubstantial claim0 of 1 sources checked
    • cites Merrill & Sabharwal, 2023b

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

  • Classified as probably not a substantial claim. May combine two claims.

    Study design and conductnone given

    The construction assumes strict causal masking and projected pre-norm.

    “However, it assumes strict causal masking and projected pre-norm (Section 2.1).”
    Quote in the paperSubstantial claim
    • The authors state this as an assumption: Strict causal masking is assumed: causally masked attention at position i can view tokens at all positions up to i - 1 but not the current token i.
    • The authors state this as an assumption: Projected pre-norm is assumed: each sublayer may apply a linear projection before layer-norm.
  • Probably not a substantial claim: may not pass S3 (load-bearing), S4 (based).

    Interpretationnone given

    The construction in Theorem 2 can be easily modified to work with an encoder-decoder model as well.

    “Our construction (Theorem 2) can be easily modified to work with an encoder-decoder model as well.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Premisecitation

    Depth-first search runs in O(n) time on a random access Turing machine, which can be simulated in O(n^2) time without random access.

    “Depth-first search runs in O(n) time on a random access Turing machine (Wigderson, 1992), which can be simulated in O(n 2 ) time without random access.”
    Quote in the paperSubstantial claim0 of 1 sources checked
    • cites Wigderson, 1992

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

  • May combine two claims.

    Interpretationreasoning

    A linear number of steps is sufficient for recognizing all regular languages, establishing a conditional separation.

    “In contrast, Theorem 1 says a linear number of steps is sufficient for recognizing all regular languages, establishing a conditional separation.”
    Quote in the paperSubstantial claim
    • The authors state this as an assumption: TC0 = NC1, as written, is assumed for the claim that Theorem 1 gives additional reasoning power.
  • May combine two claims.

    Interpretationreasoning

    A linear number of decoding steps allows simulating recurrence, which is where the additional power comes from.

    “A linear number of decoding steps allows simulating recurrence, which is where the additional power comes from.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Interpretationreasoning

    Under standard assumptions, transformers with a logarithmic number of decoding steps cannot solve directed graph connectivity, Horn formula satisfiability, or other NL- or P-complete problems.

    “Thus, under standard assumptions, transformers with a logarithmic number of decoding steps cannot solve directed graph connectivity, Horn formula satisfiability, or other NLor P-complete problems.”
    Quote in the paperSubstantial claim
    • Rests on an assumption: Standard complexity-theoretic assumptions hold, such as NL and P not collapsing to L.
28 of 28
  • The authors state this as an assumption.

    Saturated attention is assumed: per head, all attention scores are either 0 or 1/v for some v.

    “Saturated Attention.A saturated transformer (Merrill et al., 2021) is an idealized transformer with”
  • The authors state this as an assumption.

    Strict causal masking is assumed: causally masked attention at position i can view tokens at all positions up to i - 1 but not the current token i.

    “Strict Causal Masking.The formulation of attention in Definition 2 makes the slightly nonstandard assumption that causally masked attention at position i can view tokens at all positions up to i -1 but not the current token i.”
  • The authors state this as an assumption.

    Projected pre-norm is assumed: each sublayer may apply a linear projection before layer-norm.

    “Projected Pre-Norm.Our lower bound constructions require s ℓ and f ℓ in Definition 2 to allow a generalization of standard pre-norm.Normally, a layer-norm is applied to the entire input to each sublayer.We generalize this, allowing each sublayer to apply a linear projection before layer-norm.”
  • The authors state this as an assumption.

    Context-free languages require ω(n) time to recognize.

    “We assume context-free languages (CFL) require ω(nfoot_1 ) time to recognize.”
  • The authors state this as an assumption.

    TC0 = NC1, as written, is assumed for the claim that Theorem 1 gives additional reasoning power.

    “Theorem 1 shows that a linear number of decoding steps gives additional reasoning power to logprecision transformers with projected pre-norm (assuming TC 0 = NC 1 ).”
  • The paper relies on this without support.

    There is no general characterization of the class of problems transformers can solve with chain of thought.

    “Yet there is no general characterization of the class of problems transformers can solve with chain of thought.”
  • The paper relies on this without support.

    The extent to which chain of thought alleviates transformers' weaknesses is unclear, as is the number of chain of thought steps required to gain reasoning power.

    “Thus, the extent to which chain of thought alleviates transformers' weaknesses is unclear, as well as the number of chain of thought steps required to gain reasoning power.”
  • The authors state this as an assumption.

    Context-free languages require ω(n^2) time to recognize.

    “We assume context-free languages (CFL) require ω(n 2 ) time to recognize.”
  • The authors state this as an assumption.

    NC^1, NL, and P do not collapse to TC^0.

    “Assuming NC 1 , NL, and P do not collapse to TC 0 , respectively.”
  • The authors state this as an assumption.

    NL and P do not collapse to L.

    “Assuming NL and P do not collapse to L, respectively.”
  • The authors state this as an assumption.

    For Turing machine tapes, if h = h_i for all i, then h ≺ h_i for all i, where ≺ is fixed as either > or <.

    “As is natural for Turing machine tapes, we assume that if h = h i for all i, then it must be that h ≺ h i for all i, where ≺ is fixed as either > or <.”
  • The paper relies on this without support.

    Standard complexity-theoretic assumptions hold, such as NL and P not collapsing to L.

    “Thus, under standard assumptions, transformers with a logarithmic number of decoding steps cannot solve directed graph connectivity, Horn formula satisfiability, or other NLor P-complete problems.”
12 of 12

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • Each additional decoding step expands the model's expressive power.

    “In theory, each additional decoding step expands the model's expressive power (Merrill & Sabharwal 2024).”

    From Anthropocentric Bias in Language Model Evaluation (2026) · cites this paper as Merrill & Sabharwal 2024

    The Conclusion says expressive power is closely related to the number of decoding steps, and §3.2 shows that a linear number of steps adds a capability absent without decoding steps. It does not establish that every individual additional step expands expressive power; the Conclusion says a strict separation between logarithmic and linear step counts remains for future work. Page numbers are unavailable in our copy. (LLM, conf=0.87)

    Experimental — accuracy not yet measured
  • Transformer models cannot solve many sequential reasoning problems in a single forward pass.

    “When asked for a direct answer, Transformer models are fundamentally limited; theoretical work shows they cannot solve many sequential reasoning problems in a single forward pass (Merrill & Sabharwal 2024).”

    From Anthropocentric Bias in Language Model Evaluation (2026) · cites this paper as Merrill & Sabharwal 2024

  • Recent theoretical analyses have demonstrated the usefulness of CoT from the perspective of model expressivity.

    “Recent theoretical analyses have demonstrated the usefulness of CoT from the perspective of model expressivity”

    From Training Large Language Models to Reason in a Continuous Latent Space (2024) · cites this paper as Merrill and Sabharwal, 2023

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

Each contradiction between two passages listed here was confirmed by an independent check.

  • Claimed increasing function starts with a decreasing case

    Minor

    The claim that f(i,k) is monotonically increasing with i is contradicted by its defined case f(i,0)=1/i, which decreases as i increases.

1 of 1

Cites

The publisher hasn’t deposited this paper’s reference list.

Research works printed but not linked: 8

  1. S-Y Kuroda. Classes of languages and linear-bounded automata. Information and control, 7(2): 207-223, 1964.
  2. Lillian Lee. Fast context-free grammar parsing requires fast boolean matrix multiplication. J. ACM, 49(1):1-15, Jan 2002.
  3. William Merrill. Formal languages and neural models for learning on sequences. In Franc ¸ois Coste, Faissal Ouardi, and Guillaume Rabusseau (eds.), ICGI, volume 217 of PMLR, Jul 2023.
  4. Jorge Pérez, Pablo Barceló, and Javier Marinkovic. Attention is Turing complete. JMLR, 22(1), January 2021.
  5. Dale Schuurmans. Memory augmented large language models are computationally universal. ArXiv, 2023.
  6. Lena Strobl, William Merrill, Gail Weiss, David Chiang, and Dana Angluin. Transformers as rec- ognizers of formal languages: A survey on expressivity. TACL, 2024.
  7. Leslie G. Valiant. General context-free recognition in less than cubic time. Journal of Computer and System Sciences, 10(2):308-315, 1975.
  8. Avi Wigderson. The complexity of graph connectivity. In International Symposium on Mathematical Foundations of Computer Science, pp. 112-132. Springer, 1992.

Cited by

Sorted by citations

Authors
Merrill, W., & Sabharwal, A.
Affiliations
New York University (US)
Venue
arXiv
Publisher
arXiv
Published
2023
ISSN
2331-8422 (ISSN-L)
OpenAlex
W4387634967
Cited by
4
References
0
Citations by year
2026: 2 · 2025: 1 · 2024: 1
Type
posted content
Language
en
Open access
Locations
  • arXiv (Cornell University) (submittedVersion)
  • arXiv (Cornell University)
Funders
National Science Foundation (1922658)
Topics
  • Physical Sciences › Computer Science › Computational Theory and Mathematics › semigroups and automata theory
  • Physical Sciences › Computer Science › Computational Theory and Mathematics › Computability, Logic, AI Algorithms
  • Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
Keywords
transformer models, chain-of-thought, Scratchpads, computational power, regular languages, context-sensitive languages, finite automata, graph connectivity, complexity classes

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Claims read by deepseek-v4.1-flash under definition version 3 (extract-v3) on 2026-10-23.

Classified by jev-1.13-20260917 (gold-guideline-v0.2) on 2026-10-23.

Cited sources are checked by gpt-6-sol.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review