DiffCoT: Diffusion-styled Chain-of-Thought Reasoning in LLMs
Shidong Cao, Hongzhan Lin, Yuxuan Gu, Ziyang Luo, Jing Ma
TL;DR
DiffCoT addresses exposure bias and error accumulation in multi-step chain-of-thought reasoning by reframing reasoning as a diffusion-styled denoising process. It introduces a diffusion sliding window with a causal diffusion noise schedule to jointly enable generation and retrospective revision of intermediate steps, while preserving token-level autoregression. Training uses Direct Preference Optimization on diffusion-based thought trajectories, and data are constructed via MCTS-guided, reward-ranked step-level candidates. Across GSM8K, SVAMP, and MATH on multiple backbones, DiffCoT demonstrates robust improvements over state-of-the-art preference-learning baselines, with stronger error-correction capabilities and more stable reasoning across tasks and model sizes. This unified diffusion-plus-AR framework offers a practical and scalable path to more reliable multi-step reasoning in large language models.
Abstract
Chain-of-Thought (CoT) reasoning improves multi-step mathematical problem solving in large language models but remains vulnerable to exposure bias and error accumulation, as early mistakes propagate irreversibly through autoregressive decoding. In this work, we propose DiffCoT, a diffusion-styled CoT framework that reformulates CoT reasoning as an iterative denoising process. DiffCoT integrates diffusion principles at the reasoning-step level via a sliding-window mechanism, enabling unified generation and retrospective correction of intermediate steps while preserving token-level autoregression. To maintain causal consistency, we further introduce a causal diffusion noise schedule that respects the temporal structure of reasoning chains. Extensive experiments on three multi-step CoT reasoning benchmarks across diverse model backbones demonstrate that DiffCoT consistently outperforms existing CoT preference optimization methods, yielding improved robustness and error-correction capability in CoT reasoning.
