atlas

Research map / Large language models / Reasoning and chain of thought

Lower Bounds for Chain-of-Thought Reasoning in Hard-Attention Transformers

ICML 2025 · Large language models › Reasoning and chain of thought · approach: Long CoT dynamics and efficiency · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proves unconditional linear lower bounds on chain-of-thought length for high-sensitivity algorithmic problems (Parity, Multiplication, Median, Reachability) in unique-hard-attention transformers, with matching upper-bound constructions up to logarithmic factors.

Problem

How many chain-of-thought steps are necessary for transformers to solve algorithmic problems in TC^0 or beyond, such as Parity, multiplication, median and graph reachability, given that CoT length is currently poorly understood?

Approach

Extends random-restriction / switching-lemma techniques to transformers with CoTs: a sublinear-length UHAT CoT implies the function is fixable by restricting a constant fraction of inputs to be constant, so high-average-sensitivity functions (Parity, middle multiplication digits, median, DAG reachability) need Omega(N)-scale CoTs, with matching constructions.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Provide prefix-parity CoT steps instead of no CoTTransformer · ParityaccuracyHelped
Provide only every k-th prefix-parity CoT step (ablation)Transformer with prefix-parity CoT · ParityaccuracyHurt
Replace explicit prefix-parity steps with a dot-by-dot scratchpad (ablation)Transformer with prefix-parity CoT · ParityaccuracyHurt
Provide the O(N log N) CoT instead of no CoT2-layer, 2-head transformer · Multiplication (up to 16 digits)accuracyHelped
Omit the CoT2-layer, 2-head transformer · Multiplication (up to 16 digits)generalization accuracyHurt
Provide the full CoT rather than only every k-th step (ablation)Transformer · MedianaccuracyHelped
Provide an O(|E| log |V|)-length scratchpad instead of no scratchpadTransformer · DAG ReachabilityaccuracyHelped
Omit the scratchpadTransformer · DAG ReachabilityaccuracyHurt

Surprising findings

Limitations

Experimental setup

Datasets: synthetic Parity inputs (lengths 1-500) synthetic binary multiplication (up to 16 digits) synthetic Median inputs (lengths 6-398) random DAGs (5-35 vertices)

Benchmarks: Parity Multiplication Median DAG Reachability

Metrics: accuracy

Baselines: full linear CoT for Parity grade-school multiplication CoT no-CoT transformer dot-by-dot CoT

Builds on: Switching Lemma average sensitivity analysis of transformers (Hahn & Rofin) Chiang & Cholak style UHAT analysis Merrill & Sabharwal depth reduction Feng et al. multiplication CoT

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy