Diffusion-State Policy Optimization for Masked Diffusion Language Models
About
Masked diffusion language models generate text through iterative masked-token filling, but terminal-only rewards on final completions provide coarse credit assignment for the intermediate filling decisions that shape the generation process. We propose Diffusion-State Policy Optimization (DiSPO), a plug-in credit-assignment layer that directly optimizes intermediate filling decisions. At selected intermediate masked states, DiSPO branches by resampling the currently masked positions from rollout-cached logits, scores the resulting completions, and updates only the newly filled tokens, requiring no additional multi-step diffusion rollouts or optimizer steps. We formalize a fixed-state objective for branched completions and derive a policy-gradient estimator that reuses the same rollouts as terminal-feedback policy optimization. Experiments on LLaDA-8B-Instruct show that DiSPO consistently improves terminal-feedback baselines, including diffu-GRPO and SPG, on math and planning benchmarks under matched rollout compute and optimizer steps, supporting its use as a general plug-in for masked diffusion policy optimization. Our project page is available at https://daioba.github.io/dispo .
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Math Reasoning | GSM8K | Exact Match Accuracy (Ngen=128)75 | 6 | |
| Math Reasoning | MATH500 | Exact-match Accuracy (Ngen=128)34.8 | 6 | |
| Symbolic planning | 4x4 Sudoku | Accuracy (Ngen=128)26.6 | 6 | |
| Symbolic planning | Countdown | Exact-match Accuracy (Ngen=128)40.6 | 6 |