Papers
arxiv:2611.20844

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

Published on Nov 16
· Submitted by
Hanlin Tian
on Nov 26
Authors:
,
,
,
,
,
,

Abstract

DetourBench constrains environments to compute minimum action counts and residual work, enabling separate evaluation of language-model agents' success, attainment, and detour beyond endpoint scoring.

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.

Community

Paper author Paper submitter

We are excited to share DetourBench (accepted at the NeurIPS 2026 IAEval Workshop), a controlled diagnostic benchmark for evaluating interactive agents beyond binary pass/fail outcomes.

Why this matters: Standard endpoint metrics cannot distinguish an agent that solves a task cleanly from one that succeeds via costly detours—or one that nearly succeeds before hitting a step limit. DetourBench formulates tasks with exact minimum-action bounds, enabling direct measurement of trajectory efficiency alongside task completion.

Key findings across 375 episodes (25 tasks, 5 frontier models):

  • Efficiency changes the leaderboard: Raw success rates span from 58.7% to 96.0%, while conditional attainment (0.803–0.890) re-ranks models differently from raw success.
  • Prompt fragility is measurable: Removing a single sentence pointing to an available data view dropped average task success by 41 points, cut usage of that view by 63 points, and increased out-of-scope reads by 2.9 per episode.

Code and benchmark tasks are open-sourced on GitHub. Happy to discuss any questions or feedback here!

·

Thank you for going back through all 480 runs. Qwen at 66 of 69 failures without opening the view says its problem was mostly never looking. For the 113 runs that succeeded without it, what route did the agents usually take?

I was struck that removing one sentence pointing to an available data view cost 41 points of average task success across four models on 40 paired problems. It makes me want to know how much of the gap between agents depends on a hint like that. Did those four models keep their relative order once the sentence was gone?

·
Paper author

The hint changed the ranking. With it, pass@1 was 98% for Qwen, 85% for Claude, 71% for GLM, and 69% for DeepSeek. Without it, Qwen and Claude both rounded to 42%, followed by DeepSeek at 38% and GLM at 37%. So Qwen’s 13-point lead over Claude disappeared at the precision we report, and the spread across all four models shrank from 29 points to 5. The clearest result is how much the gaps narrowed. I’d be cautious about reading much into the one-point difference between DeepSeek and GLM.

This is an automated message from the Librarian Bot. I found the following papers similar to this paper.

The following papers were recommended by the Semantic Scholar API

Please give a thumbs up to this comment if you found it helpful!

If you want recommendations for any Paper on Hugging Face checkout this Space

You can directly ask Librarian Bot for paper recommendations by tagging it in a comment: @librarian-bot recommend

Reporting success, attainment, residual progress and detour separately is the right call. The case I would most like to see split further is the irreversible wrong commitment, because in production that is the one that costs money: an agent that holds a flight and then fails the hotel step has left a side effect behind, even though the episode scores as a plain failure.

Two questions:

  1. Do you separate commitments the environment could still undo (a hold, a draft) from ones it cannot (a payment, a sent message)? Both get no finite residual distance today.
  2. Since L_0 comes with a replayable witness, could the witness double as a regression trace, so that after a model update you see which access was added or dropped, not just the new detour ratio?

We see this pattern in recorded traces. In one plan-and-execute travel agent, the hotel hold was refused at a price no search had returned, while the flight hold had already gone through. A final-state check calls it a fail; a trajectory check shows the partial batch and the effect left after the failed step. That is the kind of check AiEnsured agentest, an Agentic AI Testing platform, runs on recorded traces. The checklist behind it is at https://huggingface.co/datasets/srinivaspadmanabhuni/agentic-ai-test-checklist-110 if anyone wants to enhance it with trajectory checks like these.

·
Paper author

Your flight-hold example gets at a distinction we’d like to capture better. In DetourBench, residual work measures how many more actions it would take to complete the task from the state the agent left behind. If the environment lets the agent release the hold and finish the booking, that recovery path has a finite cost. If the booking can no longer be completed but the hold can still be released, cleanup is possible even though task completion is unreachable. The current benchmark doesn’t separately score that cleanup or the cost of leaving the hold in place.

On the regression question, yes. We’d use the witness to check that the same minimum-cost route still replays on a frozen task, then compare the old and new model traces to see which requests changed. One detail worth preserving is what the agent knew when it made each request. Looking up both hotels in one batch is different from looking up the second hotel after a reply has already ruled it out. And since a task can have several equally short routes, a different access alone wouldn’t count as a regression.

Sign up or log in to comment

Get this paper in your agent:

hf papers read 2611.20844
Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash

Models citing this paper 0

No model linking this paper

Cite arxiv.org/abs/2611.20844 in a model README.md to link it from this page.

Datasets citing this paper 0

No dataset linking this paper

Cite arxiv.org/abs/2611.20844 in a dataset README.md to link it from this page.

Spaces citing this paper 0

No Space linking this paper

Cite arxiv.org/abs/2611.20844 in a Space README.md to link it from this page.

Collections including this paper 0

No Collection including this paper

Add this paper to a collection to link it from this page.