Papers › Diffusion-State Policy Optimization for Masked Diffusion Language Models

Diffusion-State Policy Optimization for Masked Diffusion Language Models

6 Feb 2026arXiv:2602.06462added by Syntology

Daisuke Oba, Hiroki Furuta, Naoaki Okazaki

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

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 .

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2602.06462")

Code

Syntology Ran 8 of 10 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 8 ran with no contract checked.

By repository: found in paper text by Syntology: 10 samples from 1 repository, 8 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

dllm-reasoning/d1 found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 8 ran; 0 honoured the contract we drafted; 2 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

8ran
2unverified

Licence: 0 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from dllm-reasoning/d1. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

add_gumbel_noise dllm-reasoning/d1/eval/generate.py found in paper text by Syntology ran fingerprinted Apache-2.0 (permissive) · f3233aab1c6c6543 · report
boxed_in_answer dllm-reasoning/d1/diffu-grpo/math500_utils.py found in paper text by Syntology ran Apache-2.0 (permissive) · 767d1c6e07285425 · report
correctness_reward_func dllm-reasoning/d1/diffu-grpo/reward_func.py found in paper text by Syntology ran Apache-2.0 (permissive) · c7b8593e2846507f · report
extract_hash_answer dllm-reasoning/d1/diffu-grpo/reward_func.py found in paper text by Syntology ran fingerprinted Apache-2.0 (permissive) · 6d5992a248b4c807 · report
extract_xml_answer dllm-reasoning/d1/diffu-grpo/reward_func.py found in paper text by Syntology ran fingerprinted Apache-2.0 (permissive) · 08fcee8ccfd3d4a9 · report
get_num_transfer_tokens dllm-reasoning/d1/eval/generate.py found in paper text by Syntology ran Apache-2.0 (permissive) · c3a8d456e319a4cd · report
is_equiv dllm-reasoning/d1/diffu-grpo/math500_utils.py found in paper text by Syntology ran Apache-2.0 (permissive) · e88118a107b326d1 · report
remove_boxed dllm-reasoning/d1/diffu-grpo/math500_utils.py found in paper text by Syntology ran fingerprinted Apache-2.0 (permissive) · 4e621edb2336a842 · report
generate dllm-reasoning/d1/eval/generate.py found in paper text by Syntology unverified Apache-2.0 (permissive) · e65421243695657c · report
preprocess_dataset dllm-reasoning/d1/SFT/sft_trainer.py found in paper text by Syntology unverified Apache-2.0 (permissive) · a3e7b9a227925647 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2602.06462, was issued in February 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections