DiffuPlan: Editable Planning State for Diffusion Language Model Agents
Organizations: New York University Shanghai · New York University
Abstract
Diffusion language models (dLLMs) are emerging as an alternative to autoregressive (AR) language models, yet dLLM agents largely inherit an interaction protocol designed for AR generation: once intermediate state is written, later observations can only be incorporated by appending more text. This is a poor match to a defining capability of dLLMs -- reconstructing earlier text conditioned on context that appears both before and after it. We ask whether this capability can support a different agent-state paradigm in which intermediate planning state is directly revisable as evidence arrives. We introduce DiffuPlan, a diffusion search agent that maintains a single editable planning state and reconstructs only the affected steps when later evidence resolves an entity or changes the search route. To support variable-length revisions, we introduce Expansion-Partition Marginalization (EPM), which marginalizes over equivalent expansion paths. We further adapt diffusion trajectory RL to multi-turn search. Across four multi-hop QA benchmarks, DiffuPlan achieves 50.24 average F1, outperforming strong AR search agents. More importantly, under identical data and training, editable planning state improves the diffusion agent by 2.44 F1 versus only 0.47 for its AR source model. These results show that dLLMs need not imitate append-only AR agents: revising committed state is a distinct agentic advantage.
Figures & tables
| HotpotQA | 2Wiki | MuSiQue | Bamboogle | Avg. | ||||||
| System | F1 | ACC L | F1 | ACC L | F1 | ACC L | F1 | ACC L | F1 | ACC L |
| Inference-only methods | ||||||||||
| Direct | 25.72 | 29.20 | 29.04 | 28.80 | 11.26 | 15.60 | 21.51 | 20.80 | 21.88 | 23.60 |
| CoT | 21.95 | 26.40 | 32.55 | 31.40 | 11.70 | 11.20 | 40.88 | 40.80 | 26.77 | 27.45 |
| Standard RAG | 39.30 | 46.40 | 31.96 | 30.60 | 10.60 | 11.40 | 25.06 | 29.60 | 26.73 | 29.50 |
| SuRe | 37.68 | 45.60 | 26.90 | 27.60 | 12.15 | 12.40 | 29.44 | 35.20 | 26.54 | 30.20 |
| Planning state | F1 | ACC L | Tokens |
| dLLM (LLaDA2.0-mini) | |||
| Editable | 50.24 | 55.30 | 338 |
| Append | 47.80 | 52.30 | 411 |
| AR LLM (Ling-mini-2.0) | |||
| Editable | 50.01 | 53.70 | 357 |
| Append | 49.54 | 52.60 | 425 |
Appendix figures & tables11 assets
Supplementary material from the paper’s appendix.
Appendix
| Query key | ||||||
|---|---|---|---|---|---|---|
| 1 | ||||||
| 1 | 1 | |||||
| 1 | 1 | 1 | ||||
| 1 | ||||||
| 1 | 1 | |||||
| 1 | 1 | 1 |
| Stage | Serialization | Direct loss positions | Conditioning only |
|---|---|---|---|
| Action-Mode SFT | Corrupted tokens in the newly generated Action-Mode segment | Prompt, history, information, uncorrupted target tokens, clean lane, padding | |
| Edit-Mode SFT | Controller-owned unresolved masks, using EPM | All other canvas tokens, resolved edit tokens, non-owned plan spans, dummy half | |
| MDSAS | Generated Action-Mode tokens committed in slice | Prefix, observations, clean helper blocks, padding |
| Partition | Chunk assignment | Immediate mask labels |
|---|---|---|
| Record family | Count | Breakdown |
|---|---|---|
| Teacher trajectories | 6,486 | — |
| Action records | 26,539 | 12,722 search; 6,769 update; 6,486 answer; 562 replan |
| Edit records | 83,519 | 70,031 update states; 13,488 replan states |
| Setting | SFT | MDSAS |
|---|---|---|
| Initialization | LLaDA2.0-mini MoE merged checkpoint | SFT epoch 1 |
| Optimizer | AdamW | AdamW |
| Weight decay | ||
| Learning rate | peak | constant |
| Schedule | 3% linear warmup, cosine decay to | no warmup or scheduler |
| Gradient clipping |
| HotpotQA | 2Wiki | MuSiQue | Bamboogle | Avg. | |||||||
| Planning state | F1 | ACC L | F1 | ACC L | F1 | ACC L | F1 | ACC L | F1 | ACC L | Tokens |
| LLaDA2.0-mini | |||||||||||
| Editable | 55.34 | 65.00 | 55.03 | 56.00 | 31.72 | 34.60 | 58.86 | 65.60 | 50.24 | 55.30 | 338 |
| Append | 54.25 | 64.00 | 51.82 | 53.40 | 28.73 | 34.20 | 56.40 | 57.60 | 47.80 | 52.30 | 411 |
| Ling-mini-2.0 | |||||||||||
| Editable | 55.99 | 65.20 | 54.30 | 54.80 | 33.59 | 35.60 | 56.16 | 59.20 | 50.01 | 53.70 | 357 |
| Dataset | Update | Replan | Upd./q | Rep./q | Exp. |
|---|---|---|---|---|---|
| HotpotQA | 71.2 | 9.6 | 1.04 | 0.10 | 88.3 |
| 2Wiki | 83.2 | 16.4 | 1.52 | 0.16 | 92.9 |
| MuSiQue | 81.8 | 18.8 | 1.20 | 0.19 | 90.4 |
| Bamboogle | 91.2 | 4.8 | 0.98 | 0.05 | 89.1 |
| All | 79.7 | 14.2 | 1.23 | 0.14 | 90.7 |
| F1 | Tokens | ||||||
|---|---|---|---|---|---|---|---|
| Append-agent requests | % | Editable | Append | Editable | Append | ||
| No edit request | 223 | 13.7 | 39.40 | 39.20 | +0.20 | 359 | 379 |
| 1 edit request | 1,402 | 86.3 | 49.65 | 46.87 | +2.79 | 335 | 416 |
| 2 updates | 433 | 26.6 | 55.38 | 50.75 | +4.63 | 383 | 546 |
| 1 replan | 272 | 16.7 | 30.18 | 23.06 | +7.12 | 433 | 585 |
| Training rollout | Checkpoint selection | |
|---|---|---|
| Block size / denoising steps | 32 / 32 | 32 / 32 |
| Temperature | 0.8 | 0 |
| Top- / top- | 0.95 / 0 | 1.0 / 0 |
| Confidence threshold | 0.90 | 0.95 |
| Max new tokens per segment | 256 | 256 |
| System | EM | F1 | SubEM | ACC L |
|---|---|---|---|---|
| Search-o1 | 29.45 | 39.78 | 39.50 | 46.25 |
| Search-R1 | 27.50 | 35.33 | 33.90 | 37.75 |
| R1-Searcher | 38.40 | 48.71 | 46.55 | 52.60 |
| DLLM-Searcher | 0.05 | 7.25 | 36.25 | 36.65 |
| DiffuPlan | 38.15 | 50.24 | 48.45 | 55.30 |
LLM Agents
Large language model agents use language models to plan, use tools, and act across multi-step tasks and environments.
See all 681 papers