TL;DR
DetourBench introduces a new evaluation framework for interactive language-model agents that moves beyond binary success/failure "endpoint scoring." By constraining environments to finite transition systems, the authors can compute the exact minimum number of actions required for success, allowing them to measure an agent's "detour" (inefficiency) and precisely categorize different types of failures.
What Problem Does This Paper Address?
Most current benchmarks judge agents by their final state: did they reach the goal or not? This "endpoint scoring" is a coarse metric that hides significant differences in agent behavior.
As illustrated in Figure 1, endpoint scoring conflates a "direct success" with a "detoured success" where the agent wandered aimlessly before finishing. Similarly, it gives a zero score to both an agent that was one action away from success and an agent that never even found the first piece of evidence.
To distinguish these cases, we need a defensible reference cost. While many benchmarks use "authored solutions," these only prove a task is solvable—they don't prove that a shorter, more efficient route doesn't exist.
Methods
DetourBench addresses this by modeling tasks as finite, partially observable transition systems. The key technical innovation is the use of exhaustive search over the complete transition graph to compute:
- $L_0$ (Full-Information Minimum): The absolute shortest path to success, assuming perfect knowledge of the environment.
- $R_T$ (Exact Residual Work): For failed episodes, the minimum number of additional actions that would have been required to reach the goal from the agent's final state.
This allows the authors to report several nuanced metrics:
- Conditional Attainment: The ratio of the optimal path length to the agent's actual path length (for successful runs).
- Normalized Detour (NDR): The excess interaction relative to the offline optimum.
- Residual Progress: How close a failed agent got to the goal in terms of action distance.
- Residual State Ratio (RSR): A measure of "waste," counting invalid or duplicate actions.
The evaluation pipeline, shown in Figure 2, ensures that once an agent discovers a resource identifier, it becomes "globally addressable," removing the need for the agent to pay navigation or backtracking costs for known resources.
Datasets
The authors introduce two complementary suites:
- Controlled Mechanism Suite: 40 pairs of tasks (focused on Currency) where the environment graph and targets are fixed, but a single "signpost" sentence in the prompt is toggled to see how it affects discovery efficiency.
- Integrated Workflow Suite: 25 complex, authored tasks grounded in real-world domains like clinical records, legal documents, software, and finance. These tasks require combining multiple sources, credentials, and workflow actions.
Key Insights and Ideas
- Success is a Ceiling: On nearly a third of the integrated tasks, every model achieved 100% success. However, their efficiency (attainment) varied by up to 19%. Success rate alone failed to distinguish these models, but DetourBench's cost metrics successfully ordered them.
- The "Near-Miss" is Real: Among recoverable failures, the median distance from the goal was only three accesses. Binary scoring ignores the fact that many agents are "nearly there" when they exhaust their budget.
- Information Scent Matters: In the controlled intervention, removing a single signposting sentence caused success rates to plummet and "wasteful" reads of out-of-scope information to spike (see Figure 3).
- Ranking Reversals: Interestingly, the model with the highest success rate isn't always the most efficient. For example, GLM had the lowest success rate in one set but higher conditional attainment than DeepSeek and Qwen on the tasks it did solve.
Key Results
The authors evaluated five model endpoints (Claude, Kimi, DeepSeek, Qwen, and GLM) across 375 episodes.
- Model Performance: Claude-opus-5 led the pack with a 96.0% success rate and the highest conditional attainment (0.890).
- Efficiency Spread: Even when models succeeded, they often took "detours." Conditional attainment ranged from 0.803 to 0.890 across models.
- Signposting Impact: Removing a cue sentence dropped success by 41 points and increased out-of-scope reads by 2.9 per episode.
Detailed results for the Integrated Workflow Suite are summarized in Figure 4.
Limitations and Future Work
The authors acknowledge several limitations:
- Oracle Advantage: The $L_0$ baseline is an "omniscient" oracle that knows the whole graph. It doesn't account for the fact that a real agent must explore to find information. Future work could involve developing "informed reference policies" that provide a more realistic baseline for partial observability.
- Sample Size: The study used three repeats per task; more repeats would strengthen the stochastic analysis.
- Human Baselines: The current study lacks human performance data for comparison.
- Selection Bias: The tasks were specifically screened to ensure they could separate models by either success or cost, which might not reflect the distribution of "natural" workflows.
Summary updated