# DetourBench: Trajectory-Level Evaluation of Interactive Agents with Exact Minimum-Action Bounds

Benchmark scores agents by how many accesses their route needed, not only final success

Tian, Hanlin, Zhu, Sihan, Yang, Zhao, Wang, Yuxiang, Hu, Zhiquan, Mi, Yu and 2 more · arXiv · 2026-11-16

- **Problem** Benchmarks only check whether an agent reaches the correct final state, so a direct route and a circuitous one score the same. Authored solutions show a task is solvable but not that no shorter route exists.
- **Method** DetourBench constrains each task so exhaustive search can compute the exact minimum number of charged accesses. It then reports success, attainment, residual work and normalized detour separately.
- **Results** Across 375 episodes and five models, success ranges from 58.7% to 96.0%, while conditional attainment ranges from 0.803 to 0.890 and orders the models differently.

![Figure 2: DetourBench transition semantics and evaluation pipeline.Agents interact with partially observable finite transition systems in which discovered reso…](https://refivu.com/papers/0e7c6359-9605-44df-8c48-79a61560a55c/figures/figure-f99b26e46e5a010e713db6d406d15930.png?thumb=512)

**Figure 2** :DetourBench transition semantics and evaluation pipeline.Agents interact with partially observable finite transition systems in which discovered resource identifiers remain globally addressable. Exhaustive search computes the full-information minimum charged accesses Lo and residual work RT . Success, conditional attainment, residual progress, normalized detour, redundant interaction, and irreversible failure are reported separately.

[Original paper](https://arxiv.org/abs/2611.20844v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Tian, Hanlin, Zhu, Sihan, Yang, Zhao, Wang, Yuxiang, Hu, Zhiquan, Mi, Yu, Zhu, Hongquan, Hu, Qiufei · DetourBench: Trajectory-Level Evaluation of Interactive Agents with Exact Minimum-Action Bounds · Original paper figure · Extracted the figure area from page 4 of the original PDF.

## Why endpoint scores hide the route

Most interactive-agent benchmarks ask only whether the agent reached the correct final state. That check merges a direct route with a circuitous one, so both earn the same success mark. It also gives the same zero to an agent that never found the evidence and to one that stopped a single action short. Figure 1 sets this endpoint view against charged accesses measured relative to a full-information minimum.

![Figure 1: Endpoint evaluation versus trajectory-aware measurement.Endpoint success conflates direct and circuitous successful trajectories and assigns the same…](https://refivu.com/papers/0e7c6359-9605-44df-8c48-79a61560a55c/figures/figure-304bc4f05f33babe4dcce8ce60863d89.png?thumb=512)

**Figure 1** :Endpoint evaluation versus trajectory-aware measurement.Endpoint success conflates direct and circuitous successful trajectories and assigns the same outcome to recoverable near-misses and irreversible failures. DetourBench compares charged accesses with the full-information minimum Lo and computes residual work RT from recoverable terminal states, separating outcome, oracle- relative excess interaction, and residual-distance progress.

[Original paper](https://arxiv.org/abs/2611.20844v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)

Authored solutions show that a task is solvable, but they rarely prove that no shorter route exists. Cost-weighted evaluations sidestep that gap only by assuming relative prices for each tool. DetourBench instead counts structural interaction under uniform access costs, so every charged access weighs the same. Exhaustive search over the transition graph gives the minimum number of charged accesses, Lo, along with a replayable witness.

Success weighted by Path Length, used in embodied navigation, compares a successful run with an instance-specific shortest path. SPL scores every failed episode zero, so it can't separate a near-miss from a run that never found the evidence. It has no representation for an irreversible wrong commitment, which DetourBench records as having no finite residual distance.

CORE's efficiency divides the longest acceptable path within the agent's own length by that length, so its reference moves with each trajectory.

Attainment instead uses a fixed per-instance minimum, so it stays defined for every success and comparable across episode lengths.

## Bounding the environment so the minimum is computable

DetourBench makes the minimum computable by first shrinking each task into a finite transition system. An identifier the agent has revealed can be invoked directly, so the environment charges no navigation or backtracking cost. Because the graph is finite, exhaustive breadth-first search over reachable states returns the fewest charged accesses to success, Lo.

The search's predecessor map also yields a shortest successful trajectory, which is replayed under the same transition function that models face.

A state records the visited resources, the acquired credentials, and an outcome flag that is active, success, or wrong. An action is enabled only when its source resource and its resource and credential prerequisites are already held. Every access that reaches the dispatcher is charged, even when it is invalid or duplicate, so the agent can't hide wasted steps.

A model response that dispatches no access costs nothing, and a separate model-turn limit guards against endless no-access loops.

For an episode that stops in an active state, residual work RT is the further charged accesses needed to succeed. Resources and credentials never shrink, so every active terminal state stays graph-recoverable and RT is always defined for it. Conditional attainment divides Lo by the charged cost of a successful episode, so it stays within (0,1\].

Normalized detour measures excess charged interaction over Lo, while RSR counts invalid and duplicate accesses over charged cost. An absorbing wrong commitment has no finite residual distance, so RT is left undefined instead of being assigned a value.

Each instance gets a frozen access budget that multiplies the larger of Lo and Li by m, with m fixed at 1.5. An instance with Lo = 12 runs under a budget of 18, and the budget is not raised during an episode.

## A single cue sentence and how far it moves success

The controlled intervention changes one thing: a seed sentence naming the point-in-time view is present in one arm and removed in the other. Graph, targets, oracle bound and correct answer stay fixed, so any change in behavior traces back to that sentence. The authors ran 40 paired problems across four models with three repeats per arm, a design of 960 episodes.

Table 1 shows how far the view query rate moves for Claude, falling from 77% in the signposted arm to 2% in the unsignposted arm.

Removing the sentence cuts view use by 63 points across 160 pairs. Success drops by 41 points in the same pairs. Out-of-scope reads rise by 2.9 per episode, and the authors read the drop as the cue steering which sources agents open. The endpoint stays reachable in both arms because only the sentence pointing at it is withheld. Of the 160 model–problem pairs, 131 move toward the unsignposted arm in view use, 27 don't move, and 2 move the other way.

Successful runs take longer routes, so conditional attainment falls from 0.826 to 0.644 on Qwen. On Claude, conditional attainment falls from 0.794 to 0.629.

Removal also changes which runs succeed, so the authors compared attainment only on pairs that succeed in both arms. The difference is -0.126, with a 95% problem-cluster bootstrap interval of \[-0.156, -0.099\]. On the same pairs, out-of-scope reads rise from 0.91 to 2.72. The decline holds on 23 of the 31 problems when averaged per problem.

pass@k separates failure modes that pass@1 blurs together. In the unsignposted arm, deepseek-v3.2 reaches 38% at pass@1 but only 8% at pass3. The authors read that gap as correct answers that land occasionally rather than reliably. The signposted arm sits near a ceiling, with 32 of the 40 problems passing above 70% against 13 in the unsignposted arm.

## Outcome and cost across the 25 integrated tasks

Endpoint scoring on the 25 integrated tasks ranks five models by success, and each model ran three times per task. Across 375 episodes, success ranges from 58.7% to 96.0%. Conditional attainment ranges from 0.803 to 0.890 across the same five models.

The middle of the ranking shifts, because GLM has the lowest success rate yet higher attainment than DeepSeek and Qwen. Each conditional mean averages a different set of successful episodes, so the reversal is descriptive only. Averaging per task instead keeps GLM above both, at 0.811 against 0.793 for Qwen and 0.789 for DeepSeek. On the thirteen tasks every model solves, GLM moves to third with 0.851, ahead of Qwen at 0.829 and DeepSeek at 0.824.

Qwen and DeepSeek differ by at most 0.005, so the authors don't order them.

Task 3 is the sharpest case, with oracle length 15 and all five models succeeding on every repeat. Mean accesses run from 17.0 for Claude to 21.7 for GLM. The best and worst models both record an RSR of 0.000, yet their attainments differ by 0.189. RSR counts only repeats and invalid calls, so the gap comes from valid but unnecessary exploration.

Successful-run RSR ranges from 0.023 to 0.040 across models, and it orders them differently from success.

Eight tasks are solved by all models on every repeat, and their attainment spreads run from 0.074 to 0.190. The authors say this shows cost variation exists rather than how common it is, since screening selected for it. Failures add a second view: 99 of 375 episodes fail, and 97 of those remain active and recoverable.

## Splitting failures a binary score merges

Of the 375 scored episodes, 99 failed, and 95 of those exhausted the access budget. Two episodes stopped in a recoverable state, and two entered an absorbing wrong state. The residual analysis covers the 97 recoverable failures, because a wrong commitment has no finite residual distance. Budget-exhausted runs end close to the goal: a median of three accesses away, with 47 of them within two accesses.

Their mean residual is 3.02 and their mean progress is 0.766. Duplicate and invalid accesses make up only 7.6% of their charged steps, so most of the budget goes to valid, non-repeated accesses.

Residual work is the minimum number of further charged accesses needed for success, so it measures how far a stopped episode still is from the goal. A binary score would give all of these runs the same failure value.

Task 18 has an exact oracle of Lo = 20, so six failures there collapse into one binary score. Residual work splits them into two runs that stopped one access short of success. It also separates three runs that used up the budget at 0.85 to 0.95 progress. The sixth is an absorbing commitment with no residual distance.

Claude fails on one instance, Kimi on four, DeepSeek on 13, GLM on 14, and Qwen on 16.

## What bounds the claims in DetourBench

The paper's claims rest on four limits, and the authors list them together in the closing section. The screen for choosing tasks used model behavior, so the suite's properties don't establish how common these cases are in general. Model-informed screening reflects properties of the released suite rather than population prevalence.

Three repeats per model and task limit the stochastic analysis, so within-task variability rests on a small sample. The task is the unit of comparison, and the repeats characterize within-task variability rather than 75 independent samples.

The omniscient oracle doesn't net out lookalike selection advantage, so NDR measures excess relative to hindsight-optimal selection. Exactness holds under the authored semantics, and semantic necessity was executed as a content counterfactual for only four tasks. The authors also suggest informed reference policies that separate discovery from planning error.

## Paper info

- **Authors**: Tian, Hanlin, Zhu, Sihan, Yang, Zhao, Wang, Yuxiang, Hu, Zhiquan, Mi, Yu, Zhu, Hongquan, Hu, Qiufei
- **Venue**: arXiv · Preprint
- **First published**: 2026-11-16
- **Added**: 2026-11-17
- **Updated**: 2026-11-16
- **Version**: v1
- **arXiv**: 2611.20844
- **Category**: cs.AI · cs.CL
- **Original paper terms**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **What we show**: Paper info, commentary and permitted figures from the original paper

[Original paper ↗](https://arxiv.org/abs/2611.20844v1) · [PDF ↗](https://arxiv.org/pdf/2611.20844v1)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Abstract

Benchmarks judge language-model agents mainly by whether they reach the correct final state, not by how they got there. Endpoint scoring cannot separate an agent that retrieved exactly the evidence a decision required from one that read most of the environment, nor an agent that never located the evidence from one that stopped a single action short. Settling this needs a reference cost, and authored solutions establish only that a task is solvable, not that no shorter route exists. We present DetourBench, which constrains the environment until that minimum is computable. Each task is a finite, partially observable transition system with unit-cost accesses whose resources become globally addressable after discovery. Exhaustive search yields the full-information minimum action count $L\_0$ with a replayable witness; from graph-recoverable terminal states it also yields exact residual work $R\_T$, which separates an episode that stopped one access short from one that wandered, while an irreversible wrong commitment is recorded as having no finite residual distance rather than assigned one. Success, attainment, residual progress, and normalized detour are reported separately. Across 375 scored episodes --- five model endpoints, 25 integrated tasks, three repeats --- success ranges from 58.7% to 96.0% while conditional attainment ranges from 0.803 to 0.890 and orders the models differently. Among recoverable failures, residual work separates near-complete trajectories from costly incompletion and from irreversible commitment. We open-source the instances, oracle witnesses, and evaluation harness at https://github.com/DatagridsAI/DetourBench.

## Quote from the paper

Tian, Hanlin, Zhu, Sihan, Yang, Zhao, Wang, Yuxiang, Hu, Zhiquan, Mi, Yu, Zhu, Hongquan, Hu, Qiufei (2026). DetourBench: Trajectory-Level Evaluation of Interactive Agents with Exact Minimum-Action Bounds. arXiv:2611.20844v1. https://arxiv.org/abs/2611.20844v1

**BibTeX**

```
@misc{hanlin2026detourbench,
  title = {{DetourBench: Trajectory-Level Evaluation of Interactive Agents with Exact Minimum-Action Bounds}},
  author = {Tian, Hanlin and Zhu, Sihan and Yang, Zhao and Wang, Yuxiang and Hu, Zhiquan and Mi, Yu and Zhu, Hongquan and Hu, Qiufei},
  year = {2026},
  eprint = {2611.20844},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.20844v1}
}
```

## Other paper commentary

- [Invariant-Aware Harness Enforcement to Protect LLM Agents from Silent API Failures](https://refivu.com/en/papers/bd28a6a6-5402-4777-8dd7-6c8f089fb4ba-invariant-aware-harness-enforcement-to-protect-llm-agents.md)
- [CRAFT: A Robot-Agent Harness with Scope-Aware Adaptation](https://refivu.com/en/papers/c797340e-3e38-4c1f-9503-2964c92d5483-craft-a-robot-agent-harness-with-scope-aware.md)
- [Guiding AI Agents to Generate Conjectures by Encoding How Theorems Build on One Another](https://refivu.com/en/papers/62af4783-da20-4330-8ead-89401a9e5c42-guiding-ai-agents-to-generate-conjectures-by-encoding.md)
- [Agent Authenticator: Passkey-Grade, Hardware-Bound Authentication for AI Agents](https://refivu.com/en/papers/c6881b60-4466-4f78-874b-a41bdd696c71-agent-authenticator-passkey-grade-hardware-bound.md)
- [Where Should LLM Agents Adapt at Test Time? In Context, in Weights, or Both](https://refivu.com/en/papers/39fae58e-bc8b-4dc6-bf76-acf24f94a299-where-should-llm-agents-adapt-at-test-time.md)
- [Beyond Plain MCP: Do Decision Models and Code Mode Make Tool Use Cheaper and Faster?](https://refivu.com/en/papers/88efe713-93d8-47d6-b8be-667c299e21ae-beyond-plain-mcp-do-decision-models-and-code.md)
- [Accelerate Bench: Evaluating Agents for Application-Level Program Optimization](https://refivu.com/en/papers/e40807f3-cbe0-4633-97fa-37169cef5746-accelerate-bench-evaluating-agents-for-application-level.md)
- [FastGRN: Few-Step Generative Refinement Networks](https://refivu.com/en/papers/38d9330b-21d2-4c59-ba86-076fb39ef929-fastgrn-few-step-generative-refinement-networks.md)
- [A COMPASS to the Galaxy: Joint nucleosynthetic yield set comparison and parameter inference in Galactic chemical evolution](https://refivu.com/en/papers/803161fa-b170-404a-8277-1845a3939d87-a-compass-to-the-galaxy-joint-nucleosynthetic-yield.md)
- [Polygraph: Large-Scale Multi-Session Trajectory Optimization using Pose Graphs](https://refivu.com/en/papers/05c4e863-0276-4159-8579-6702d3b03259-polygraph-large-scale-multi-session-trajectory-optimization.md)
- [Region-VAD: Video Anomaly Localization and Detection via Region Selection](https://refivu.com/en/papers/39b14224-60bb-4aba-8504-6534b14203c1-region-vad-video-anomaly-localization-and-detection-via.md)
- [Edit Recommendation: Can LLMs Anticipate Edit Requests from Users, and When?](https://refivu.com/en/papers/160d80a4-47cc-42cf-b64b-7113657c8378-edit-recommendation-can-llms-anticipate-edit-requests-from.md)

## Terms in this paper

- [pass@1](https://refivu.com/en/terms/0b5f8fd75383-pass-1)
- [DeepSeek-V4-Pro](https://refivu.com/en/terms/7f027481dc5a-deepseek-v4-pro)
- [exact oracle](https://refivu.com/en/terms/ee42168dafd9-exact-oracle)
- [AgentBoard](https://refivu.com/en/terms/ab814e34244e-agentboard)
- [Claude-Opus-5](https://refivu.com/en/terms/4206ee4944f1-claude-opus-5)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/0e7c6359-9605-44df-8c48-79a61560a55c-detourbench-trajectory-level-evaluation-of-interactive)
