← Writing · 中文版

Research guide

Why AI Agent Benchmarks Mislead, and How to Evaluate Agents Better

TL;DR — An agent can score well on a benchmark and still fail in deployment because the benchmark quietly assumed something false. Five of my papers each expose one such assumption: a clean world, a judge that grades by looks, one score for usefulness and safety, time that does not matter, and right/wrong labels as the only feedback. Each comes with a concrete fix.

A benchmark number is only useful if it predicts what happens in deployment. Each pitfall below is a place where that link breaks, followed by what to measure instead.

Pitfall 1: Assuming a clean world

Most tool-use benchmarks assume clean inputs, an unambiguous tool registry and reliable APIs. Modeling tool use as a POMDP, RobustBench-TC injects 22 realistic perturbation types across 21 models. Messy observations such as typos cost under 5% accuracy, but reward-relevant and transition-level noise (distractor tools, duplicate tool names, timeouts) cost about 40% and 30%, and a bigger model does not close the gap. Instead: perturb each part of the environment on purpose, and train against it with domain-randomized RL. Read: Benchmarking tool-use agents for the sim-to-real gap.

Pitfall 2: Grading by looks

For software, a fix that “looks right” to an LLM judge may not work. CUA-SWE grades every task with deterministic, task-specific tests, and lets agents run the app and inspect screenshots, not only edit code. Across eight frontier agents, giving the agent computer use raised mean task success by 12.8 to 48.6 percentage points; the strongest configuration reached 59.9% versus 11.3% code-only. Instead: verify outcomes with executable checks, and let agents see what users see. Read: Can computer-use agents do visual software engineering?.

Pitfall 3: One score for usefulness and safety

If success rate is the only number, an agent that completes tasks by leaking data looks great. WeClawArena reports utility and attack-success rate separately across 620 cross-user scenario variants, and audits attacks from recorded runtime evidence (messages, tool calls, resource operations, final workspace states) rather than inferring them. Instead: report safety as its own axis, from evidence. Read: How to secure multi-user agent networks.

Pitfall 4: Treating time as irrelevant

Meeting every deadline does not show an agent uses time well. In an exact toy example from the chronoception paper, a policy that always runs full verification is punctual and ignores unit changes, yet loses utility whenever tools slow down. In small controlled screens, model controllers delivered the same quality as an equally informed scheduler but were slower in all 22 matched comparisons. Instead: test stability under equivalent timing changes and adaptation under consequential ones, and always include a cheap scheduler baseline. Read: When should an AI agent keep working?.

Pitfall 5: Right/wrong as the only feedback

A verifier trained only on whether its final label is correct stops learning when every rollout lands on the same answer: the advantages collapse. SEVA scores the process of verification (evidence alignment, error typing, calibration), weighted roughly 70/30 toward process signals, and outputs a structured verdict that explains why a claim fails. Instead: evaluate and reward how the agent reached its answer, not only the answer. Read: What is a self-evolving verification agent?.

An evaluation checklist

Frequently asked questions

Why do AI agents fail in production when their benchmark scores look good?

Because benchmarks often assume a clean world. In RobustBench-TC, messy inputs cost under 5% accuracy, but reward-relevant and transition-level noise such as distractor or duplicate tools and timeouts cost about 40% and 30%, and larger models did not close the gap.

How should coding agents be evaluated?

With deterministic, task-specific tests rather than an LLM judge, and on tasks where the agent can run the application and inspect what it shows. In CUA-SWE, adding computer use raised success by 12.8 to 48.6 percentage points across eight frontier agents.

Should AI agent benchmarks report safety separately from task success?

Yes. A single success rate can reward an agent that completes tasks unsafely. WeClawArena reports utility and attack-success rate separately and audits attacks from recorded runtime evidence.

How do you evaluate whether an AI agent uses time well?

Test that its choices stay the same under equivalent timing changes, that it adapts when a timing change alters which plan is best, and that deadlines stay valid through deliberation and handoff, always against an equally informed simple scheduler.

Papers covered in this guide


Written by Aojie (Justin) Yuan, USC Fortis Lab. Every claim comes from the papers listed above; each section links to the detailed explainer for its paper.