paper-with-me

Papers

Reasoning by Superposition: A Theoretical Perspective on Chain of Continuous Thought

2025-05-18 · Hanlin Zhu, Shibo Hao, Zhiting Hu, Jiantao Jiao, Stuart Russell, Yuandong Tian

Large Language Models (LLMs) have demonstrated remarkable performance in many applications, including challenging reasoning problems via chain-of-thoughts (CoTs) techniques that generate ``thinking tokens'' before answering the questions. While existing theoretical works demonstrate that CoTs with discrete tokens boost the capability of LLMs, recent work on continuous CoTs 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 CoTs 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 CoTs 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 CoTs must choose a single path sampled from the superposition state, which leads to sequential search that requires many more steps and may be trapped into 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 CoTs, without explicit supervision to guide the model to explore multiple paths simultaneously.

📄 PDF Abstract BibTeX arXiv:2505.12514

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Emergence of Superposition: Unveiling the Training Dynamics of Chain of Continuous Thought

2025-09-27 · Hanlin Zhu, Shibo Hao, Zhiting Hu, Jiantao Jiao 외 arxiv

Previous work shows that the chain of continuous thought (continuous CoT) improves the reasoning capability of large language models (LLMs) by enabling implicit parallel thinking, and a subsequent work provided theoretic…

The Illusion of Superposition? A Principled Analysis of Latent Thinking in Language Models

2026-04-07 · Michael Rizvi-Martel, Guillaume Rabusseau, Marius Mosbach arxiv

Latent reasoning via continuous chain-of-thoughts (Latent CoT) has emerged as a promising alternative to discrete CoT reasoning. Operating in continuous space increases expressivity and has been hypothesized to enable su…

Attention as Binding: A Vector-Symbolic Perspective on Transformer Reasoning

2025-12-08 · Sahil Rajesh Dhayalkar arxiv

Transformer-based language models display impressive reasoning-like behavior, yet remain brittle on tasks that require stable symbolic manipulation. This paper develops a unified perspective on these phenomena by interpr…

LLM Latent Reasoning as Chain of Superposition

2025-10-17 · Jingcheng Deng, Liang Pang, Zihao Wei, Shicheng Xu 외 arxiv

Latent reasoning offers a computation-efficient alternative to Chain-of-Thought but often suffers from performance degradation due to distributional misalignment and ambiguous chain definitions. Ideally, latent reasoning…

Soft Tokens, Hard Truths

2025-09-23 · Natasha Butt, Ariel Kwiatkowski, Ismail Labiad, Julia Kempe 외 arxiv

The use of continuous instead of discrete tokens during the Chain-of-Thought (CoT) phase of reasoning LLMs has garnered attention recently, based on the intuition that a continuous mixture of discrete tokens could simula…

Reinforcement Learning