Manuscript Offprint

arXiv:2610.24717

DiffuPlan: Editable Planning State for Diffusion Language Model Agents

Qisheng Zhou, Zhen Xiong, Qiaoyu Tan

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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. 1^{1}

1 Introduction

Language agents act over multiple turns, continually forming and revising intermediate hypotheses, subgoals, and plans as new observations arrive. Yet the textual state of most agents is effectively append-only: once a model writes an intermediate decision, later evidence does not change that text; instead, the agent expresses the revision by generating additional text. This interaction pattern is natural for autoregressive (AR) language models, which generate a continuation conditioned on a fixed prefix. It is not obviously natural for diffusion language models (dLLMs).

dLLMs provide a different computational primitive. Rather than committing every token strictly left-to-right, masked and block-diffusion language models can reconstruct selected positions from surrounding context (Nie et al., 2025; Ye et al., 2025; Arriola et al., 2025; Bie et al., 2025). This raises a basic question for agent design: should a diffusion agent inherit the same append-only state paradigm as an AR agent, or should its intermediate state itself remain editable?

Existing dLLM agents largely follow the former design. They retain ReAct-style, append-only interaction histories (Yao et al., 2023) and use diffusion primarily to accelerate or restructure forward generation—for example, by issuing tool calls from partially denoised states or overlapping reasoning with tool execution (Zhao et al., 2026; Jünger et al., 2026). Under such an interaction, the distinctive reconstruction capability of dLLMs is not used to revise agent state across turns. In our controlled setting, this mismatch is visible empirically: with the same training data and post-training recipe, a search agent built on LLaDA2.0-mini reaches 47.80 average F1 under append-only plan revision, below 49.54 for Ling-mini-2.0 (Ling Team, 2025), the AR model from which LLaDA2.0-mini was converted (Bie et al., 2025).

Multi-hop search provides a natural testbed for studying this mismatch. During search, later evidence routinely changes state formed earlier: a retrieved passage can resolve an entity referenced by a pending subquestion, add constraints that make a query more specific, or invalidate the planned search route. Making this state explicit and revisable helps even without training: on our validation

∗^{*}Corresponding author.

1^{1}Code is available at https://github.com/Jaasssoooonnnnn/DiffuPlan.

set, prompting the untrained LLaDA2.0-mini yields 26.53 F1 without a plan, 28.61 with an initial plan, and 29.26 when the plan is revised as evidence arrives. Existing agents can represent such changes, but typically by appending another rationale or a regenerated plan (Luo et al., 2026). Consequently, multiple versions of the same intermediate state may coexist in the interaction history. In contrast, a diffusion agent could maintain a single current state and revise the affected content where it was originally written, using later evidence as conditioning context.

We introduce DIFFUPLAN, a diffusion search agent with an editable planning state. The plan is treated not merely as another piece of historical text, but as a persistent state variable that should reflect the agent's current search strategy. When later evidence resolves an intermediate answer or changes the route, the agent requests an edit and reconstructs only the affected plan span conditioned on the preserved plan and the subsequent interaction. This turns cross-turn state revision into a native reconstruction problem for the dLLM.

Making this idea trainable raises two central technical challenges. First, one shared model must support two different computation patterns: forward action generation should remain block-causal, whereas state revision must condition on later evidence. We therefore use a block-causal Action Mode and a full-canvas Edit Mode with shared parameters. Second, revisions are often variable-length. Dynamic expansion allows an editable mask to grow, but the same target replacement may be realized by many equally valid expansion paths. We introduce Expansion-Partition Marginalization (EPM), which marginalizes over these paths and supervises the final edit rather than an arbitrary expansion trajectory. SFT teaches action generation and state reconstruction jointly, and we further optimize search decisions from end-task reward with Multi-turn Diffusion Search with Anchored Stabilization (MDSAS), which extends TraceRL (Wang et al., 2026) to multi-turn search and stabilizes training with a frozen SFT anchor.

The central empirical question is not merely whether editable plans improve QA, but whether they provide a diffusion-specific advantage. Our controlled 2×22 \times 2 comparison varies both backbone (diffusion vs. its AR source model) and state protocol (editable vs. append-only) under matched data and training. Editable state improves the dLLM by 2.44 F1, compared with only 0.47 F1 for the AR model, while reducing generated tokens for both. Moreover, the diffusion gain is mechanism-aligned: it is only 0.20 F1 when no edit is requested, but rises to 4.63 F1 with multiple updates and 7.12 F1 when replanning is required.

Our contributions are threefold:

• We identify a mismatch between the append-only state paradigm inherited from AR agents and the cross-context reconstruction capability of dLLMs, and formulate editable planning state as a diffusion-native alternative for multi-turn agents.

• We introduce DIFFUPLAN, which realizes cross-turn state revision with shared Action/Edit modes and learns variable-length edits with EPM, marginalizing over equivalent expansion paths.

• We show through matched backbone–protocol comparisons that editable state benefits the diffusion agent substantially more than its AR counterpart, with gains increasing as more revision is required, while DIFFUPLAN also achieves the best average F1 among the evaluated search agents.

References (50)