TraceDance: An Automated System for Building Agent Behavior Benchmarks from Real-World Agent Deployment Traces
Dehai Min, Daoan Zhang, Yiming Zeng, Huayi Zhang, Ziyi Chen, Yan Zhang, Qinbo Bai, Mengyuan Chao, Jing Ning, Qiyue Hua, Huiyi Chen, Hanrong Zhang, Henry Peng Zou, Jie Yang, Wei Xu, Philip S. Yu
Abstract
An agent can complete a task while exhibiting undesirable behavior during execution. Developers need tests for the specific behaviors encountered in deployment, beyond fixed benchmark suites. We present TraceDance, an agent system that constructs targeted benchmarks from deployment traces for user-specified undesirable behaviors. For efficient construction, Anchor-and-Confirm combines programmable retrieval with candidate-level confirmation by a Flash large language model (LLM), while the Anchor Synthesis Loop generates and revises specifications for custom behaviors. The benchmarks use decision-point continuation to evaluate an LLM's next turn at a recorded decision point with a behavior-specific rubric, without a reference answer or environment replay. Experiments in coding and general tool use draw on 252,557 sessions and produce 107 benchmarks with 4,125 instances, fulfilling 95.3% of build-target requests. Both human annotators confirm the requested behavior in 84% of sampled instances, and the automated grader's agreement with human pass/fail judgments is comparable to that between the annotators. Nine frontier LLMs achieve a mean pass rate of only 26.7%, showing that they still struggle to respond appropriately at the evaluated decision points. Analysis across behavior-specific benchmarks further reveals weaknesses in how current LLMs behave as agents. By turning deployment problems into targeted benchmarks, TraceDance could serve as a key component of the recursive self-improvement (RSI) loop.
Create a lesson
Metadata
- Categories
- cs.AI, cs.CL
- Comments
- 37 pages, 8 figures. Project website: https://zhishanq.github.io/TraceDance/
Related papers
JRDB-AVR: An Active Visual Reasoning Benchmark for Embodied Agents in Real-World Environments
Shared title terminologycs.AIZhixi Cai, Fucai Ke, Sukai Huang et al.
OWE-Bench: A long-horizon benchmark for measuring real-world engineering
Shared title terminologycs.AIJacob Cole, Martin Dimakis, Victor Barres et al.
BIABench: Evaluating AI agents on real-world bioimage analysis tasks
Shared title terminologycs.AIZixuan Pan, Davide Panzeri, Lukas Johanns et al.
GameDojo: Benchmarking Real-Time Interactive Agents in Video Games
Shared title terminologycs.AIKuan Zhang, Zhihao Yang, Yukun Chen et al.
PowerBench: A Benchmark for Agentic Retrieval and Reasoning in Power Systems
Shared title terminologycs.AIXijing Wang, Yinsheng Yao, Jinru Ding et al.
A Generative AI Agent to Emulate Interactive Human-driven Vehicles for Automated Driving Testing in Urban Areas
Shared title terminologycs.AIJia Hu, Changjian Yu, Panqu Wang et al.