Reasoning by Superposition: A Theoretical Perspective on Chain of Continuous Thought
Hanlin Zhu, Shibo Hao, Zhiting Hu, Jiantao Jiao, Stuart J. Russell, Yuandong Tian
Abstract
Large Language Models (LLMs) have demonstrated remarkable performance in many applications, including challenging reasoning problems via chain-ofthought (CoT) techniques that generate "thinking tokens" before answering the questions. While existing theoretical works demonstrate that CoT with discrete tokens boosts the capability of LLMs, recent work on continuous CoT lacks a theoretical understanding of why it outperforms discrete counterparts in various reasoning tasks, such as directed graph reachability, a fundamental graph reasoning problem that includes many practical domain applications as special cases. In this paper, we prove that a two-layer transformer with D steps of continuous CoT can solve the directed graph reachability problem, where D is the diameter of the graph, while the best known result of constant-depth transformers with discrete CoT requires O(n 2 ) decoding steps where n is the number of vertices (D < n). In our construction, each continuous thought vector is a superposition state that encodes multiple search frontiers simultaneously (i.e., parallel breadth-first search (BFS)), while discrete CoT must choose a single path sampled from the superposition state, which leads to a sequential search that requires many more steps and may be trapped in local solutions. We also performed extensive experiments to verify that our theoretical construction aligns well with the empirical solution obtained via training dynamics. Notably, encoding of multiple search frontiers as a superposition state automatically emerges in training continuous CoT, without explicit supervision to guide the model to explore multiple paths simultaneously. Our code is available at https://github.com/Ber666/reasoning-by-superposition.
Large language models (LLMs) have shown strong performance in many reasoning tasks, especially when empowered with chain-of-thought (CoT) [Wei et al., 2022] (e.g., hard problems like AIME and math proving). However, they also struggle with tasks that require more sophisticated reasoning capability [
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
24 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- MAmmoTH: Building Math Generalist Models through Hybrid Instruction Tuning cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- MAmmoTH: Building Math Generalist Models through Hybrid Instruction Tuning cites MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Models
- MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Models cites MAmmoTH: Building Math Generalist Models through Hybrid Instruction Tuning
- LLMs are Single-threaded Reasoners: Demystifying the Working Mechanism of Soft Thinking cites Continuous Chain of Thought Enables Parallel Exploration and Reasoning
- Continuous Chain of Thought Enables Parallel Exploration and Reasoning cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Continuous Chain of Thought Enables Parallel Exploration and Reasoning cites Towards Revealing the Mystery behind Chain of Thought: A Theoretical Perspective
- SIM-CoT: Supervised Implicit Chain-of-Thought cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Towards Revealing the Mystery behind Chain of Thought: A Theoretical Perspective cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Towards Revealing the Mystery behind Chain of Thought: A Theoretical Perspective cites Are Transformers universal approximators of sequence-to-sequence functions?
- MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Models cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
Cited by top-tier papers24
- SIM-CoT: Supervised Implicit Chain-of-ThoughtXilin Wei, Xiaoran Liu, Yuhang Zang, Xiaoyi Dong et al.ICLR 2026 · 58 citations
- Latent Collaboration in Multi-Agent SystemsJiaru Zou, Xiyuan Yang, Ruizhong Qiu, Gaotang Li et al.ICML 2026 · 42 citations
- Continuous Chain of Thought Enables Parallel Exploration and ReasoningHalil Alperen Gozeten, Muhammed Emrullah Ildiz, Xuechen Zhang, Hrayr Harutyunyan et al.ICLR 2026 · 40 citations
- LLMs are Single-threaded Reasoners: Demystifying the Working Mechanism of Soft ThinkingJunhong Wu, Jinliang Lu, Zixuan Ren, Gangqiang Hu et al.ICLR 2026 · 35 citations
- The Geometry of Reasoning: Flowing Logics in Representation SpaceYufa Zhou, Yixiao Wang, Xunjian Yin, Shuyan Zhou et al.ICLR 2026 · 29 citations
Builds on26
- Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma et al.NeurIPS 2022 · 22,562 citations
- MetaMath: Bootstrap Your Own Mathematical Questions for Large Language ModelsLonghui Yu, Weisen Jiang, Han Shi, Jincheng Yu et al.ICLR 2024 · 637 citations
- MAmmoTH: Building Math Generalist Models through Hybrid Instruction TuningXiang Yue, Xingwei Qu, Ge Zhang, Yao Fu et al.ICLR 2024 · 558 citations
- Are Transformers universal approximators of sequence-to-sequence functions?Chulhee Yun, Srinadh Bhojanapalli, Ankit Singh Rawat, Sashank J. Reddi et al.ICLR 2020 · 481 citations
- Towards Revealing the Mystery behind Chain of Thought: A Theoretical PerspectiveGuhao Feng, Bohang Zhang, Yuntian Gu, Haotian Ye et al.NeurIPS 2023 · 470 citations
Related papers
- Emergence of Superposition: Unveiling the Training Dynamics of Chain of Continuous ThoughtHanlin Zhu, Shibo Hao, Zhiting Hu, Jiantao Jiao et al.ICLR 2026 · 21 citations
- Soft Tokens, Hard TruthsNatasha Butt, Ariel Kwiatkowski, Ismail Labiad, Julia Kempe et al.ICLR 2026 · 20 citations
- SoftCoT: Soft Chain-of-Thought for Efficient Reasoning with LLMsYige Xu, Xu Guo, Zhiwei Zeng, Chunyan MiaoACL 2025
- Self-SoftCoT: A Self-Consistent Framework via Position-Aware Latent Space Reinforcement LearningLiangliang Dong, Lianlei Shan, Shuaimin LiACL 2026
- Chain of Thought Empowers Transformers to Solve Inherently Serial ProblemsZhiyuan Liu, Hong Liu, Denny Zhou, Tengyu MaICLR 2024 · 259 citations
