ZICQ
中 Log in / Sign up
Newsroom Agentic #DetourBench #Agent Evaluation #Trajectory Evaluation #Shortest-Path Oracles #Partial Observability

DetourBench Evaluates Agent Trajectories Against Exact Minimum-Action Bounds

Avatar of Mr.Xu

By Mr.Xu Compiled & Reviewed by Editorial

Published:

中文阅读 (Chinese) English Version
Co-reading Select any sentence in the article to highlight, annotate, or copy a quote card. Join discussion ↓

Summary:DetourBench replaces binary endpoint scoring with a trajectory-level account of how much work an interactive agent actually performed. Each task is a finite, partially observable transition system with unit-cost accesses and globally addressable resources after discovery. Offline exhaustive search computes the full-information minimum action count L₀ and emits a replayable witness; recoverable terminal states also receive an exact residual-work value, while irreversible wrong commitments remain


The missing signal: endpoint success hides wasted work

DetourBench targets interactive language-model agents by separating four questions that binary endpoint scoring conflates: whether the task succeeded, how much of the task was attained, how much recoverable work remained, and how far the trajectory strayed from the optimal action reference. Conventional success labels cannot distinguish an agent that found exactly the evidence required for a decision from one that searched most of the environment. They also fail to separate a near-complete run from one that never located the critical evidence, or a trajectory that stopped one access short from one that made an irreversible wrong commitment.

The central contribution is not another success label but a search-derived, replayable reference cost. An authored solution proves only that a task is solvable; it does not prove that no shorter route exists. DetourBench instead restricts each task to an environment in which an exact action bound can be computed and then uses an oracle to establish that bound.

Core mechanism: exact lower bounds over a finite transition graph

Each task is represented as a finite, partially observable transition system. Every resource access has unit cost, and a resource becomes globally addressable once discovered. These constraints allow the evaluator to construct a state-transition graph offline and run exhaustive search. For an initial state s₀ and the set of valid terminal states S*, the full-information minimum action count can be expressed as:

L₀ = min_(π:s₀→S*) Σ 1[aₜ]

The search also returns a witness sequence. Replaying that witness against the environment verifies the task definition, shortest path, and scoring implementation rather than asking reviewers to trust an authored demonstration.

L₀ must be interpreted carefully. It is computed with full information, whereas an agent operating in a partially observable environment may need exploratory actions to discover where useful resources are located. L₀ is therefore an optimistic lower bound, not the expected cost of a feasible partially observable policy. Comparing every additional agent action against L₀ without accounting for unavoidable exploration can mislabel information acquisition as inefficiency.

Residual work separates near misses from costly failures

When the environment graph can be recovered from a terminal state, DetourBench also computes exact residual work:

R_T(s_T) = min_(π:s_T→S*) Σ 1[aₜ]

This value gives the minimum number of additional actions required to reach a valid terminal state. A run that is one access away has a small residual, whereas a trajectory that wandered through many irrelevant resources has a much larger one. If the agent has already made an irreversible wrong commitment, the benchmark does not invent a finite distance; it explicitly records that no finite residual distance exists.

The resulting failure taxonomy has three useful levels: low-cost near completion, costly incompletion, and irreversible commitment that continued execution cannot repair. That separation is more actionable than a single failure flag because it can inform curriculum design, trajectory filtering, replay prioritization, and targeted error analysis.

Success, conditional attainment, residual progress, and normalized detour are reported separately. Normalized detour places actual trajectory length relative to an action reference on a comparable scale, while conditional attainment is an independent measure rather than a synonym for success. Because these signals can order models differently, they should not be collapsed into one score unless application-specific weights are defined in advance.

What the 375 scored episodes reveal

The evaluation covers five model endpoints, 25 integrated tasks, and three repeats, yielding 375 scored episodes. Success ranges from 58.7% to 96.0%, a 37.3-percentage-point spread. Conditional attainment falls between 0.803 and 0.890, only an 8.7-point range, but produces a different model ordering from success.

The result demonstrates that task completion and efficient task completion are separate capability axes. One model may reach the same terminal state through a much longer exploratory path, while another acquires the relevant evidence with fewer effective actions. An endpoint-only leaderboard conceals that distinction. Among recoverable failures, R_T further distinguishes trajectories that nearly finished from those that incurred substantial avoidable work.

The evidence does not yet support a stable universal ranking. The suite contains only 25 tasks, each configuration is repeated three times, and the abstract does not provide per-task variance, confidence intervals, or the model list. The 375 episodes should not be treated as 375 independent observations because repeated runs on the same task are correlated. A rigorous reproduction should compute uncertainty with task-clustered resampling rather than pooling every episode into a simple binomial test.

Engineering trade-offs: exactness through constrained, auditable environments

  • Exhaustive search is expensive but can remain offline. Even a finite state space can grow exponentially with the number of branches. The oracle should therefore generate witnesses and terminal-state distances ahead of time rather than run inside the online inference path.
  • Computability trades off some ecological validity. Making discovered resources globally addressable enables graph recovery and exact shortest-path search, but real browsers, repositories, and operating systems contain richer hidden state and side effects. DetourBench is better understood as an auditable mechanism-diagnostic layer than as a complete substitute for general agent-efficiency evaluation.
  • Unit action cost is not production cost. A web request, tool call, model inference, and database query may differ by orders of magnitude in latency and expense. A unit-cost detour can understate waste concentrated in long or expensive calls.
  • Irreversibility should remain a separate class. Treating an irreversible error as infinite distance prevents arbitrary finite penalties, but passing ∞ directly into an optimization loss can cause numerical failures. A non-recoverable label with tiered penalties is usually safer.
  • A public benchmark creates contamination risk. Open instances, witnesses, and code support reproducibility but also enable tuning against fixed paths. Model developers should retain hidden tasks, server-side witness validation, and temporally split private instances.

Deployment guidance for agent builders

  1. Instrument complete trajectories. Record action type, accessed object, discovery event, state transition, terminal identifier, and irreversible-commitment status in addition to text actions. Without this telemetry, R_T cannot be reconstructed.
  2. Use a four-metric dashboard. Keep success, conditional attainment, residual progress, and normalized detour visible, and retain the failure-type distribution instead of hiding it behind one aggregate score.
  3. Calibrate real action costs. Preserve the unit-action measure for interpretability, but add Token, wall-clock, monetary, and side-effect variants to expose efficiency–success trade-offs.
  4. Verify oracle witnesses after every change. Replay shortest-path witnesses whenever tasks, tools, or terminal-state logic change to detect evaluation drift.
  5. Aggregate statistics by task. Publish per-task results, clustered confidence intervals, and paired differences; add tasks and independent repetitions rather than merely multiplying calls on the same task set.
  6. Keep a hidden evaluation split. Use public instances for development and debugging, and private instances for release decisions to limit overfitting to fixed solution paths.

DetourBench's main contribution is an auditable chain from endpoint correctness to trajectory cost: search establishes an ideal lower bound, a replayable witness proves that bound, and residual work explains where a failed trajectory stands. The open implementation makes this evaluation model practical for agent development, while generalization to production systems still depends on state observability, realistic action-cost calibration, and independent validation on a broader task suite.


Source: Hugging Face Daily Papers (2026-11-16)

— END —

Tags: #DetourBench #Agent Evaluation #Trajectory Evaluation #Shortest-Path Oracles #Partial Observability

Editorial & Fact-Checking Note: This article is compiled from primary research, official release documentation, and source papers by the ZICQ Newsroom pipeline with automated entity verification and human editorial review. If you notice any technical inaccuracy, please submit a correction via our corrections policy or email our editorial desk directly.

What's your take on this story?
🚀 Explore & Submit Works

Community Comments

Loading live comments and annotations…