atlas

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

Transformers Provably Learn Chain-of-Thought Reasoning with Length Generalization

NeurIPS 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 that a one-layer NoPE transformer trained by gradient descent learns LEGO state-tracking CoT, generalizes to much longer chains for simply transitive actions, and a recursive self-training scheme extends solvable length for symmetry (NC^1-complete) actions.

Problem

Whether transformers trained with gradient descent can provably learn chain-of-thought state tracking beyond TC^0 (NC^1-complete symmetry-group tasks) and whether the learned reasoning length-generalizes to longer chains.

Approach

Analyzes a one-layer softmax-attention plus FFN transformer without positional encoding on LEGO state tracking; shows that the algebraic structure of the group action (simply transitive vs. symmetry) determines attention concentration and hence length generalization, and that recursive self-training on greedy self-labeled traces doubles solvable length per stage.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use simply transitive rather than symmetry group actionsOne-layer NoPE transformer on LEGO · LEGO length generalizationaccuracyHelped
Use symmetry group actions rather than simply transitive actionsOne-layer NoPE transformer on LEGO · LEGO length generalizationaccuracyHurt
Add recursive self-training on the model's own CoT tracesTransformer on symmetry-action LEGO · LEGO reasoning lengthaccuracyHelped
Train on longer self-labeled reasoning traces at successive stagesTransformer on symmetry-action LEGO · LEGO reasoning lengthaccuracyHelped

Limitations

Experimental setup

Datasets: LEGO synthetic state-tracking data

Benchmarks: LEGO

Metrics: accuracy along chain

Baselines: standard CoT training

Builds on: LEGO Barrington's theorem tensor power method

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