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:
- Propose: Generate $K$ candidate actions using the standard (potentially biased) forward model.
- 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.
- 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."
- 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.
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