Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Gozeten, Halil Alperen, Ildiz, M. Emrullah, Zhang, Xuechen, Harutyunyan, Hrayr, Rawat, Ankit Singh, Oymak, Samet
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:https://arxiv.org/abs/2505.23648
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866912942870495232
author Gozeten, Halil Alperen
Ildiz, M. Emrullah
Zhang, Xuechen
Harutyunyan, Hrayr
Rawat, Ankit Singh
Oymak, Samet
author_facet Gozeten, Halil Alperen
Ildiz, M. Emrullah
Zhang, Xuechen
Harutyunyan, Hrayr
Rawat, Ankit Singh
Oymak, Samet
contents Modern 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 provides new theoretical guarantees and algorithms for CoT2, motivated by logical reasoning tasks that inherently require search capabilities. Theoretically, we establish how CoT2 facilitates the model to track multiple discrete traces in parallel; and quantify the level of achievable parallelism and its benefits for inference efficiency. We also provide a CoT2-based one-layer transformer construction that solves the combinatorial "subset sum problem" given a sufficient embedding dimension. These insights arise from a novel and effective supervision strategy where we match the language model outputs to the empirical token distributions of a set of target traces. Complementing this, we introduce sampling strategies that unlock policy optimization methods for CoT2. Our primary strategy samples and composes $K$ discrete tokens at each decoding step to control the level of parallelism. Experiments confirm that (i) the optimal level of parallelism is governed by the embedding dimension, (ii) our continuous supervision strategy can outperform alternative methods, and (iii) policy optimization with CoT2 indeed improves the performance of the model beyond its initial discrete or continuous supervision.
format Preprint
id arxiv_https___arxiv_org_abs_2505_23648
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Continuous Chain of Thought Enables Parallel Exploration and Reasoning
Gozeten, Halil Alperen
Ildiz, M. Emrullah
Zhang, Xuechen
Harutyunyan, Hrayr
Rawat, Ankit Singh
Oymak, Samet
Machine Learning
Modern 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 provides new theoretical guarantees and algorithms for CoT2, motivated by logical reasoning tasks that inherently require search capabilities. Theoretically, we establish how CoT2 facilitates the model to track multiple discrete traces in parallel; and quantify the level of achievable parallelism and its benefits for inference efficiency. We also provide a CoT2-based one-layer transformer construction that solves the combinatorial "subset sum problem" given a sufficient embedding dimension. These insights arise from a novel and effective supervision strategy where we match the language model outputs to the empirical token distributions of a set of target traces. Complementing this, we introduce sampling strategies that unlock policy optimization methods for CoT2. Our primary strategy samples and composes $K$ discrete tokens at each decoding step to control the level of parallelism. Experiments confirm that (i) the optimal level of parallelism is governed by the embedding dimension, (ii) our continuous supervision strategy can outperform alternative methods, and (iii) policy optimization with CoT2 indeed improves the performance of the model beyond its initial discrete or continuous supervision.
title Continuous Chain of Thought Enables Parallel Exploration and Reasoning
topic Machine Learning
url https://arxiv.org/abs/2505.23648