NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

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

Hanlin Zhu, Shibo Hao, Zhiting Hu, Jiantao Jiao, Stuart Russell, Yuandong Tian

TL;DR

Chain of Continuous Thought (continuous CoT) allows Large Language Models to reason more efficiently by keeping thoughts in a continuous latent space, enabling them to maintain a "superposition" of multiple reasoning paths simultaneously. This paper provides the first theoretical proof of how gradient-based training naturally surfaces this superposition mechanism, demonstrating that attention logits remain bounded to perfectly balance exploration and exploitation.

What Problem Does This Paper Address?

Standard Chain of Thought (CoT) forces language models to output discrete text tokens step-by-step. While effective, this is computationally expensive and limits the model to exploring a single reasoning path at a time. If the model hits a dead end, it must backtrack.

Recent work introduced continuous CoT (such as the COCONUT framework), where the model's intermediate thoughts remain as continuous vectors in a latent space rather than being projected back into discrete tokens. This continuous space allows the model to execute a form of parallel thinking—maintaining a "superposition" of multiple plausible reasoning traces at once.

While previous research proved that a transformer can represent these superpositions, a fundamental question remained unanswered: How does a model naturally learn to form these superpositions using standard gradient descent? This is especially puzzling because training data typically only provides a single correct demonstration path, yet the model somehow learns to explore multiple paths in parallel.

Methods

The authors tackle this question by mathematically analyzing the training dynamics (via gradient flow) of a simplified two-layer transformer. They focus on the classic problem of directed graph reachability: given a graph, a starting root node, and two destination candidates, the model must determine which candidate can be reached from the root.

The training process is broken down into two distinct stages:

  1. Thought-Generation Stage: The model autoregressively expands its continuous thoughts step-by-step to perform a local search on the graph.
  2. Prediction Stage: The model reads the final continuous thought vector and maps it to the correct final answer.

The authors mathematically compare two different loss functions during training:

  • COCONUT Loss: The standard approach where the model is trained on a single demonstration path.
  • COCONUT-BFS Loss: An idealized variant where the model is explicitly penalized if it doesn't predict all reachable nodes at the next step (Breadth-First Search).

Datasets

The authors validate their theoretical findings using a dataset derived from ProsQA, a benchmark designed for question-answering over graph structures.

  • Task Setup: The graph vertices are randomly permuted during training and testing to eliminate any positional or prediction bias.
  • Dataset Statistics: The dataset consists of 14,785 training problems, 257 validation problems, and 419 test problems. On average, each graph contains roughly 23 nodes and 36 edges, with an average solution path length of 3.5 steps.

Key Insights and Ideas

  • The Bounded Logit Phenomenon: In typical discrete token training, attention logits tend to grow logarithmically toward infinity as the model becomes more confident. Crucially, the authors prove that under the standard COCONUT loss, the "index-matching logit" (which dictates local search strength) remains bounded.
  • Exploration vs. Exploitation: Because the logits stay bounded, the resulting softmax attention distribution remains smooth rather than collapsing into a sharp, one-hot distribution. This smoothness is the secret sauce: it prevents the model from over-confidently committing to a single random path, encouraging it to assign comparable weights to multiple plausible paths instead. This is exactly how superposition emerges naturally.
  • Superposition from Single Paths: Even though the training data only shows one valid path, the bounded logits force the model to utilize local graph structures to perform a parallel breadth-first search in the latent space.

The mechanics of this one-step parallel expansion are illustrated below:

One-step frontier expansion in the latent space

Key Results

  • Theoretical Convergence: The authors prove that if the target node's in-degree is less than the maximum in-degree in the graph, the attention logits will strictly converge to a finite fixed point ($\mu^* < \infty$), ensuring stable superposition.
  • High Empirical Accuracy: When testing the theory on a GPT-2 style architecture (2 layers, 8 heads, hidden dimension of 768), the model achieved a final answer accuracy of 96.2% on the graph reachability test set.
  • Logit Saturation Verified: Experimental tracking confirmed their main thesis: under standard COCONUT training, the attention logit difference between frontier and non-frontier edges steadily rises and then perfectly saturates around a value of 60, validating the bounded logit theory. Conversely, under the BFS variant, logits continued to climb without saturating.

Limitations and Future Work

While this paper provides a major step forward for mechanistic interpretability, it operates under a few simplifying assumptions:

  • The mathematical proofs assume a simplified two-layer transformer architecture with linear attention. Real-world implementations use non-linear activations and much deeper architectures.
  • The theory treats the thought-generation and prediction stages as largely independent, whereas in practical training, these two stages dynamically interact with each other. The authors note that this interaction is likely why logits plateau even more quickly in practice than the simplified theory predicts, marking it as a compelling direction for future research.

Summary updated

BibTeX
@inproceedings{zhu2026emergence,
  author = {Hanlin Zhu and Shibo Hao and Zhiting Hu and Jiantao Jiao and Stuart Russell and Yuandong Tian},
  title = {{Emergence of Superposition: Unveiling the Training Dynamics of Chain of Continuous Thought}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=lsJwX9Jf5u},
}
Figure