Continuous Chain of Thought Enables Parallel Exploration and Reasoning
By: Halil Alperen Gozeten , M. Emrullah Ildiz , Xuechen Zhang and more
Potential Business Impact:
Lets computers think in more ways at once.
Current language models generate chain-of-thought traces by autoregressively sampling tokens from a finite vocabulary. While this discrete sampling has achieved remarkable success, conducting chain-of-thought with continuously-valued tokens (CoT2) offers a richer and more expressive alternative. Our work examines the benefits of CoT2 through logical reasoning tasks that inherently require search capabilities and provide optimization and exploration methods for CoT2. Theoretically, we show that CoT2 allows the model to track multiple traces in parallel and quantify its benefits for inference efficiency. Notably, one layer transformer equipped with CoT2 can provably solve the combinatorial "subset sum problem" given sufficient embedding dimension. These insights lead to a novel and effective supervision strategy where we match the softmax outputs to the empirical token distributions of a set of target traces. Complementing this, we introduce sampling strategies that unlock policy optimization and self-improvement for CoT2. Our first strategy samples and composes $K$ discrete tokens at each decoding step to control the level of parallelism, and reduces to standard CoT when $K=1$. Our second strategy relies on continuous exploration over the probability simplex. Experiments confirm that policy optimization with CoT2 indeed improves the performance of the model beyond its initial discrete or continuous supervision.
Similar Papers
Reasoning by Superposition: A Theoretical Perspective on Chain of Continuous Thought
Machine Learning (CS)
Helps computers solve problems faster by thinking in parallel.
SoftCoT: Soft Chain-of-Thought for Efficient Reasoning with LLMs
Computation and Language
Helps computers think better without changing them.
Soft Tokens, Hard Truths
Computation and Language
Lets computers think in more ways to solve problems.