TL;DR
DPR (Dual-Process Routing) is a new architecture that allows LLM agents to recover from failures in real-time without needing human demonstrations. By combining a "fast" process for tactical tweaks with a "slow" process for strategic replanning—triggered only when progress stalls—DPR achieves massive performance gains across both frontier and small open-weight models.
What Problem Does This Paper Address?
LLM agents often fail not because they lack the capability to solve a task, but because they get "stuck." An agent might commit to a flawed strategy early on, receive uninformative feedback from the environment, and then spend its entire step budget repeating minor variations of the same mistake.
Current recovery methods fall into two camps, both with significant gaps:
- Strategic Correction (e.g., Reflexion): These methods use verbal self-critique to fix high-level plans, but they usually require the agent to fail the entire episode first and try again in a new trial. They also often rely on human demonstrations to get started.
- Tactical Correction (e.g., TextGrad): These use "textual gradients" to refine the policy within a single session. However, these fixes are local; if the overall strategy is wrong, the agent just learns to execute a bad strategy more precisely.
DPR addresses the need for a mechanism that can switch between tactical refinement and strategic reorientation within a single episode and without requiring pre-written demonstrations.
Methods
The authors introduce Progress-Gated Dual-Process Routing (DPR), inspired by the "System 1/System 2" dual-process theory of human cognition.
- The Progress Gate: An LLM-based evaluator scores every transition on a scale of 0–10. A deterministic router monitors these scores to decide which process to invoke.
- The Fast Process (Tactical): Every $k=3$ steps, the system applies a TextGrad-style refinement. It looks at the recent trajectory and suggests small updates to the natural language policy to avoid immediate errors.
- The Slow Process (Strategic): If the agent hits a wall—defined as $m=5$ consecutive low-progress scores—the "slow" process triggers. It performs a deep causal diagnosis to identify why the strategy is failing and generates a new 1–3 step plan to get back on track.
- Policy Merge & Cooldown: To keep the agent's instructions coherent, DPR uses a priority-based merge (Plan > Gradient > Base Policy). After a slow-process activation, a 5-step "cooldown" prevents the fast process from interfering while the agent executes its new strategic plan.
Datasets
The primary evaluation was conducted on ALFWorld (134 interactive tasks), a standard benchmark for embodied LLM agents. To test generalization, the authors also ran probes on:
- TextWorld: A text-based game environment (9 tasks).
- OSWorld: A visual GUI-based benchmark for computer tool use (20 tasks).
Key Insights and Ideas
- Super-Additive Synergy: The most striking finding is that the fast and slow processes are better together than the sum of their parts. On GPT-5, the combined architecture provided a +12pp "synergy gain" over using either method in isolation.
- Architecture Over Scale: The performance lift was nearly identical for the massive GPT-5 (+41.8pp) and the much smaller Qwen-3-8B (+40.3pp). This suggests that the routing mechanism generalizes across model scales and isn't just a byproduct of "frontier model magic."
- Demonstration-Free Scaffolding: DPR acts as a substitute for human-provided demonstrations. The progress scores and causal diagnostics provide enough "scaffolding" for the agent to map out the environment's rules (like which verbs work with which objects) on the fly.
- The "Stuck" Signature: The authors found that a sequence of low progress scores is a highly reliable "falsifiable trigger" for strategic failure, allowing the system to avoid wasting expensive "slow" reasoning calls on simple tactical errors.
Key Results
- Massive Performance Lifts: On ALFWorld, DPR boosted Qwen-3-8B from a 35.1% success rate to 75.4%. On GPT-5, it reached 88.1%.
- Beating the Baselines: Even without demonstrations, DPR outperformed compute-matched versions of popular 1-shot methods:
- +2.7pp over LATS (Language Agent Tree Search).
- +5.7pp over ToT (Tree of Thoughts).
- +6.7pp over Self-Refine.
- Efficiency: DPR achieved the lowest "cost per percentage point gained," concentrating expensive LLM calls only on recoverable failures.
Limitations and Future Work
- Tacit World Knowledge: DPR still struggles when a task requires knowledge that isn't in the model's weights and can't be inferred from the trajectory (e.g., knowing that a specific task in ALFWorld requires a microwave specifically for "heating").
- Evaluator Hallucination: While rare (approx. 3%), the LLM evaluator can sometimes give high scores to irrelevant actions, which can delay the trigger of the slow recovery process.
- Navigation Limits: In some tasks, the agent identifies the correct fix but simply runs out of steps trying to navigate to the right location.
- Future Directions: The authors suggest exploring more complex benchmarks like WebShop and Mind2Web, and potentially integrating retrieval mechanisms to fill the "world knowledge" gap.
Summary updated