Lune

NeurIPS2025顶会

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

Yu Huang, Zixin Wen, Aarti Singh, Yuejie Chi, Yuxin Chen

摘要

The ability to reason lies at the core of artificial intelligence (AI), and challenging problems usually call for deeper and longer reasoning to tackle. A crucial question about AI reasoning is whether models can extrapolate learned reasoning patterns to solve harder tasks with a longer chain-of-thought (CoT). In this work, we present a theoretical analysis of transformers learning on synthetic state-tracking tasks with gradient descent. Specifically: 1). We prove how the algebraic structure of state-tracking problems governs the length generalization of learned reasoning in transformers. In doing so, we formulate the attention concentration mechanism, linking the retrieval robustness of the attention layer to the task structure of longcontext state tracking problems. 2). Moreover, we prove that a transformer can provably self-improve via a recursive self-training scheme that progressively extends the range of solvable problem lengths. We show that the model can achieve abilities outside the coverage of the base model in recursive training, different from prior theoretical works on self-improvement. To our knowledge, we provide the first optimization guarantee that constant-depth transformers provably learn NC 1 -complete problems with CoT, significantly going beyond prior art confined in TC 0 , unless the widely held conjecture TC 0 ̸ = NC 1 fails. Finally, we present a broad set of experiments supporting our theoretical results, confirming the length generalization behaviors and the mechanism of attention concentration.

Given the density of results, we recommend the full version for readability: arXiv:2511.07378 1 For background on circuit complexity and a detailed review of expressiveness results, see Section 2 and [32,33].

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Self-Consistency Improves Chain of Thought Reasoning in Language Models 引用了 Large Language Models are Zero-Shot Reasoners
  • Large Language Models are Zero-Shot Reasoners 引用了 Self-Consistency Improves Chain of Thought Reasoning in Language Models
  • Self-Consistency Improves Chain of Thought Reasoning in Language Models 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • Chain-of-Thought Prompting Elicits Reasoning in Large Language Models 引用了 Self-Consistency Improves Chain of Thought Reasoning in Language Models
  • Large Language Models are Zero-Shot Reasoners 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • Emergence of Superposition: Unveiling the Training Dynamics of Chain of Continuous Thought 引用了 Breaking the Reversal Curse in Autoregressive Language Models via Identity Bridge
  • Breaking the Reversal Curse in Autoregressive Language Models via Identity Bridge 引用了 Emergence of Superposition: Unveiling the Training Dynamics of Chain of Continuous Thought
  • Emergence of Superposition: Unveiling the Training Dynamics of Chain of Continuous Thought 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • On the Emergence of Implicit Curriculum in RLVR Learning Dynamics 引用了 Multi-head Transformers Provably Learn Symbolic Multi-step Reasoning via Gradient Descent
  • Faith and Fate: Limits of Transformers on Compositionality 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • Multi-head Transformers Provably Learn Symbolic Multi-step Reasoning via Gradient Descent 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper7

  1. Emergence of Superposition: Unveiling the Training Dynamics of Chain of Continuous ThoughtHanlin Zhu, Shibo Hao, Zhiting Hu, Jiantao Jiao 等ICLR 2026 · 21 次引用
  2. VideoNSA: Native Sparse Attention Scales Video UnderstandingEnxin Song, Wenhao Chai, Shusheng Yang, Ethan Armand 等ICLR 2026 · 11 次引用
  3. Multi-head Transformers Provably Learn Symbolic Multi-step Reasoning via Gradient DescentTong Yang, Yu Huang, Yingbin Liang, Yuejie ChiNeurIPS 2025 · 8 次引用
  4. On the Emergence of Implicit Curriculum in RLVR Learning DynamicsYu Huang, Zixin Wen, Yuejie Chi, Yuting Wei 等ICML 2026 · 6 次引用
  5. Breaking the Reversal Curse in Autoregressive Language Models via Identity BridgeXutao Ma, Yixiao Huang, Hanlin Zhu, Somayeh SojoudiICML 2026 · 2 次引用

它引用的 Paper52

  1. Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma 等NeurIPS 2022 · 22,562 次引用
  2. Large Language Models are Zero-Shot ReasonersTakeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo 等NeurIPS 2022 · 8,168 次引用
  3. Faith and Fate: Limits of Transformers on CompositionalityNouha Dziri, Ximing Lu, Melanie Sclar, Xiang Lorraine Li 等NeurIPS 2023 · 728 次引用
  4. Self-Consistency Improves Chain of Thought Reasoning in Language ModelsXuezhi Wang, Jason Wei, Dale Schuurmans, Quoc V. Le 等ICLR 2023 · 681 次引用
  5. YaRN: Efficient Context Window Extension of Large Language ModelsBowen Peng, Jeffrey Quesnelle, Honglu Fan, Enrico ShippoleICLR 2024 · 508 次引用

相关 Paper

  1. Generalizing Reasoning Problems to Longer LengthsChangnan Xiao, Bing LiuICLR 2025
  2. Chain-of-Thought Gradient DescentHong-Yu Chen, Venkat Ganti, Hude Liu, Jerry Yao-Chieh Hu 等ICML 2026 · 36 次引用
  3. A Little Depth Goes a Long Way: The Expressive Power of Log-Depth TransformersWilliam Merrill, Ashish SabharwalNeurIPS 2025 · 62 次引用
  4. Can Transformers Reason Logically? A Study in SAT SolvingLeyan Pan, Vijay Ganesh, Jacob D. Abernethy, Chris Esposo 等ICML 2025
  5. The Imitation Game: Turing Machine Imitator is Length Generalizable ReasonerZhouqi Hua, Wenwei Zhang, Chengqi Lyu, Yuzhe Gu 等ICLR 2026 · 4 次引用
黄昏的海面,两侧是细线勾勒的悬崖