Step-Aware Policy Optimization for Reasoning in Diffusion Large Language Models
Shaoan Xie, Lingjing Kong, Xiangchen Song, Xinshuai Dong, Guangyi Chen, Eric P. Xing, Kun Zhang
TL;DR
This work tackles the challenge of training diffusion LLMs to perform complex, multi-step reasoning. It introduces a hierarchical framework that treats reasoning as staged, localized constraints linked by latent variables, and proposes Step-Aware Policy Optimization (SAPO) to align the MdLLM denoising process with this structure. A novel step-based reward, built on GRPO, encourages incremental progress along the reasoning hierarchy, mitigating unstructured refinement where steps contribute little to the solution. Empirical results across multiple reasoning benchmarks show improved alignment between intermediate reasoning and final answers, stronger benchmark performance, and better generalization, with additional insights into reward learnability and efficiency. The approach offers a principled direction for making diffusion-based reasoning both more accurate and more interpretable, with practical implications for faster, structured generation in complex tasks.
Abstract
Diffusion language models (dLLMs) offer a promising, non-autoregressive paradigm for text generation, yet training them for complex reasoning remains a key challenge. Current reinforcement learning approaches often rely on sparse, outcome-based rewards, which can reinforce flawed reasoning paths that lead to coincidentally correct answers. We argue that this stems from a fundamental mismatch with the natural structure of reasoning. We first propose a theoretical framework that formalizes complex problem solving as a hierarchical selection process, where an intractable global constraint is decomposed into a series of simpler, localized logical steps. This framework provides a principled foundation for algorithm design, including theoretical insights into the identifiability of this latent reasoning structure. Motivated by this theory, we identify unstructured refinement -- a failure mode where a model's iterative steps do not contribute meaningfully to the solution -- as a core deficiency in existing methods. We then introduce Step-Aware Policy Optimization (SAPO), a novel RL algorithm that aligns the dLLM's denoising process with the latent reasoning hierarchy. By using a process-based reward function that encourages incremental progress, SAPO guides the model to learn structured, coherent reasoning paths. Our empirical results show that this principled approach significantly improves performance on challenging reasoning benchmarks and enhances the interpretability of the generation process.
