Does This Action Still Explain the Task? Reverse Scoring for Diffusion Language Model Agents

Jiacheng Qiu, Christopher E. Mower, Jan Peters, Haitham Bou-Ammar, Matthieu ZimmerarXiv 2026 · arXiv

TL;DR

Diffusion language models (dLLMs) are fast due to parallel decoding, but they often fail in embodied tasks by getting stuck in repetitive "retry loops." This paper introduces Reflect Reverse, a training-free decoding strategy that fixes these loops by scoring candidate actions based on how well they explain the task, effectively canceling out structural biases inherent in masked diffusion.

What Problem Does This Paper Address?

While autoregressive models generate text token-by-token, diffusion-based language models (dLLMs) can generate entire spans in parallel, offering a massive potential speedup for AI agents. However, recent evaluations show a glaring weakness: dLLM agents frequently fall into "retry loops," where they stubbornly repeat a failed action (e.g., trying to open a locked door over and over) despite receiving failure feedback.

The authors trace this to a structural pathology in adaptive masked decoding. In dLLMs, the sampler fills in the tokens it is most confident about first. At a failure state, the failed action is already present in the conversation history (the context). The model sees this "salient" action and, due to the way it handles uncertainty, treats it as a highly confident prediction for the next step. This creates a "task-blind corruption"—a bias that favors recently seen actions regardless of whether they actually help achieve the current goal.

Methods

The authors propose Reflect Reverse, a plug-and-play reranking method that requires no additional training. The core idea is to invert the standard "forward" question. Instead of asking the model "Which action should I take for this task?", they ask: "Given this action, does it still explain the task?"

The process works in three steps:

  1. Propose: Generate $K$ candidate actions using the standard (potentially biased) forward model.
  2. Reflect: Score each candidate using the reverse conditional probability $P(\text{task} | \text{state}, \text{action})$. In practice, the agent masks the task description tokens, provides the candidate action, and uses the dLLM to denoise and calculate the likelihood of the original task tokens.
  3. Act: Sample the final action from the candidates based on these reverse scores.

Mathematically, the authors prove that if the model's bias is "task-blind" (meaning the inflation factor depends on the state and action but not the goal), this bias cancels out exactly in the reverse conditional. This allows the agent to recover the "faithful" task posterior that the raw model would have produced if it weren't distracted by contextually salient failures.

Datasets

The method was evaluated on four diverse multi-turn embodied benchmarks:

  • ALFWorld: Household task execution in a simulated environment.
  • ScienceWorld: Interactive scientific reasoning tasks.
  • BabyAI: Instruction following in gridworld environments.
  • Jericho: Classic text-based adventure games.

The researchers used two state-of-the-art dLLM backbones: LLaDA-8B-Instruct and its successor, iLLaDA-8B-Instruct.

Key Insights and Ideas

  • The "Forking" Problem: The authors build on the idea that retry loops occur because the model bypasses "forking" points—decisions where multiple paths are viable. By the time the model reaches these points in its parallel decoding, the surrounding context (the failed action) has already "resolved" the choice for it.
  • Empirical Verification of Bias: The paper demonstrates that dLLMs like LLaDA are nearly insensitive to goal changes when proposing actions at failure states. As shown in Figure 1, swapping the real goal for a random one barely changes the model's preference for the repeated action, confirming the bias is indeed "task-blind."
Figure 1: Task-blind corruption analyzed over 208 failed states in ALFWorld.
  • Native Reverse Scoring: A major advantage of dLLMs over autoregressive models is that they are bidirectional by nature. Masking the "middle" of a sequence (the task description) to score it against the "end" (the action) is a native operation for dLLMs, whereas it would be difficult and computationally expensive for standard GPT-style models.

Key Results

Reflect Reverse significantly outperformed standard "One Pass" decoding and "Reflect Forward" (reranking based on standard likelihood) across the board:

  • Success Rates (SR): Improved in 13 out of 16 evaluation groups. For example, on ALFWorld with LLaDA, the success rate nearly doubled from 8.71% to 16.17%.
  • Progress Rates (PR): Improved in 14 out of 16 groups, showing that even when the agent doesn't finish the task, it gets much closer to the goal.
  • Mitigating Repetition: As shown in Figure 3, Reflect Reverse consistently achieved the lowest retry percentages across all benchmarks, effectively breaking the loops that stall parallel agents.
Retry state percentage: Reflect Reverse (orange) consistently reduces repetitive behavior compared to baselines.

Limitations and Future Work

  • Proposal Support: Reflect Reverse can only choose from the candidates provided in the "Propose" step. If the biased forward model gives the correct action a zero probability of being sampled, the reranker never sees it. The authors suggest future work could involve "un-biasing" the proposal step itself.
  • Computational Overhead: While training-free, the method requires a few extra parallel denoising passes per candidate action, which adds some latency (though still potentially faster than purely sequential autoregressive decoding).
  • Generalization to Reasoning: The authors hypothesize that this "reverse question" logic—does this continuation still explain the prompt?—could be a general-purpose tool for improving reasoning chains in any masked diffusion model, not just embodied agents.

Summary updated

Abstract

Diffusion-based large language models (dLLMs) promise to break the sequential latency bottleneck of autoregressive agents through parallel decoding, but recent evaluations show this efficiency does not transfer to embodied agentic competence: dLLM-backed agents repeatedly fall into retry loops, re-issuing an action long after it has failed. We give a mechanistic account of this failure and a training-free remedy. We trace the retry loop to the adaptivity of masked decoding: the sampler commits the positions it is most confident about and defers the uncertain ones, and at a failure state the context already offers a confident fill for the deferred decision, i.e. the failed action itself, so the retry is committed without the failure feedback ever being confronted. We model the resulting distortion of the action distribution as a task-blind corruption: contextually salient actions (e.g., the action just taken) receive inflated probability by a factor that depends on the state and the action but not on the task. Under this model, we analyse an invariance proposition: the task-blind factor cancels exactly from the reverse conditional, i.e. the likelihood of the task given the state and a candidate action, which coincides with the task posterior of an idealized uncorrupted model. Masked dLLMs evaluate the reverse conditional natively, unlike autoregressive models, by masking the task tokens and denoising, at the cost of a few parallel passes per candidate. We instantiate the rule as Reflect Reverse and evaluate it on four multi-turn embodied benchmarks, where it improves task success and progression rates over forward-scoring baselines.
BibTeX
@misc{qiu2026does,
  author = {Jiacheng Qiu and Christopher E. Mower and Jan Peters and Haitham Bou-Ammar and Matthieu Zimmer},
  title = {{Does This Action Still Explain the Task? Reverse Scoring for Diffusion Language Model Agents}},
  year = {2026},
  eprint = {2609.38536},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.38536},
}
Figure