# Diffusion-State Policy Optimization for Masked Diffusion Language Models

*Daisuke Oba, Hiroki Furuta, Naoaki Okazaki*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/153673) · [OpenReview](https://openreview.net/forum?id=Jd9XMjrCiK) · [alphaXiv](https://www.alphaxiv.org/abs/2602.06462) · [Open on the map](../papers.html#p153673)

Category: [LLM Reasoning, Memory & RAG](../pcat/19.md) › [Diffusion Language Model Decoding](../pgroup/271.md) · Type: new method · Keywords: masked diffusion language models, credit assignment, policy optimization, text generation, LLaDA, math benchmarks

Areas: [RL for LLMs & Agents](../areas/llm-rl.md) › Distillation Reinforcement Learning › Diffusion model reinforcement learning

## Summary
Diffusion-State Policy Optimization (DiSPO) introduces a plug-in credit-assignment layer that directly optimizes intermediate token filling decisions in masked diffusion language models, improving terminal-feedback baselines on math and planning tasks.

## Explained to a 5-year-old
Imagine a robot that writes sentences by filling in missing words one at a time. Right now, the robot only gets a reward when the whole sentence is finished, which doesn't tell it which words were wrong along the way. This new idea gives the robot a small reward after each word is filled, so it can learn better from its mistakes. It does this by trying a few choices at each step and picking the best ones. This helps the robot write better sentences with less extra work.

## Explained to a 5-year-old, longer
Imagine a computer program that writes stories by filling in missing words one at a time. Usually, the program only knows if the final story is good after it finishes writing everything. This means it cannot easily fix mistakes that happen while it is writing. The new idea gives the program a small reward after each word it fills, so it can see if it is going in the right direction. It tries a few different words at each step and checks which one leads to a better story. This process repeats many times, letting the program learn from each small decision. The program does not need to run extra large calculations after each step. It reuses the work it already did, making learning faster. This helps the program write more accurate and coherent stories. It also reduces the amount of extra computing power needed. The approach works for many kinds of text tasks, like solving math problems or planning steps. By improving the learning signal, the program can become better at generating high-quality text.

## For a technical reader
The paper adds a plug-in layer that gives intermediate feedback during masked diffusion text generation. At chosen steps, it branches the generation, evaluates the new completions, and updates only the newly filled tokens. This uses a fixed-state objective and a policy-gradient estimator that recycles existing rollouts, avoiding extra diffusion runs or optimizer steps. Experiments on LLaDA-8B-Instruct show consistent gains over existing terminal-feedback methods on math and planning benchmarks.

## Problem
Masked diffusion language models currently rely on terminal-only rewards, which provide coarse credit assignment for the intermediate token filling steps that shape generation. This makes it difficult to effectively train the model on the intermediate decisions.

## Method
The approach adds a plug-in credit-assignment layer that, at selected intermediate masked states, branches by resampling masked tokens from cached logits, scores the resulting completions, and updates only the newly filled tokens. It formalizes a fixed-state objective for branched completions and derives a policy-gradient estimator that reuses existing rollouts, requiring no extra diffusion rollouts or optimizer steps.

## Results
The approach yields consistent improvements over terminal-feedback baselines such as diffu-GRPO and SPG on math and planning benchmarks when rollout compute and optimizer steps are matched.

## Contributions
It introduces a plug-in credit-assignment mechanism that directly optimizes intermediate filling decisions in masked diffusion language models and provides a fixed-state objective with a policy-gradient estimator that reuses rollouts, enabling fine-grained training without additional diffusion rollouts or optimizer steps.

## Research questions this paper is counted under

- [How can diffusion language models be analyzed and improved to capture progressive denoising dynamics?](../q/589.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/153673)
