Interactive and Long-Horizon Task Evaluation › Summary

Michael BrenndoerferDecember 1, 20262 min read
Language AI HandbookAll chapters
Part 57 of 67Dynamic, Interactive, and Agentic Evaluation
Chapter 437Interactive and Long-Horizon Task Evaluation › Summary
Reading section 11 of 12 · Summary · 2 minSection 11 of 12 · 2 min

Section 11 of 12 · 2 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

Interactive evaluation replaces "grade a string" with "grade a trajectory of a stateful world." The environment is a tuple of a closed state schema, a typed action space, a deterministic (for a fixed initial state and action sequence) transition function with first-class error codes, a goal predicate, and a cost/safety ledger. The trajectory is what you record, not just the final state, because the final state hides recovery, wastes steps, and unsafe side effects.

This chapter built a complete toy environment, an expense-filing task with an ordered prerequisite, a recoverable submission error (NEEDS_CATEGORY), and a safety rule that forbids a second accepted report. On it the harness defined and computed five dimensions:

  • outcome (goal predicate with violations disqualified)
  • partial credit (fraction of independently checkable subgoals)
  • recovery (did fixable errors get resolved)
  • efficiency (steps relative to a reference)
  • safety (a hard-fail boolean over prohibited attempts)

Four hand-written policies, naive, recovering, double-filing, and efficient, produced four genuinely different score profiles from the same initial state, which is the empirical argument for decomposing the score rather than collapsing it.

The analysis layer, action-sequence clusters, error-code histograms, step-to-first-error distributions, steps to resolution, and length-vs-success curves, turns a pile of trajectories into a diagnosis of why an agent fails. Because the process is doubly stochastic (decoding plus environment), evaluate with repeated, environment-reset trials and report both pass@k (capability ceiling) and pass^k (reliability floor). The dominant risk is specification gaming, and the dominant defenses are adversarial goal design, a hard-fail convention for violations, and reporting the dimension vector so that a gain in one dimension is checked against the others. Get the specification right, and the rest of interactive evaluation is engineering.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy