GOCLAWAGENT EVALUATION
GoClaw 首页

23. 如何设计一个可信的 Agent Benchmark

研究与工程 · 4~6 小时

学习目标

  1. 掌握 Task Validity、Outcome Validity 与 Reporting
  2. 避免不可完成任务和错误 Reward
  3. 建立 Benchmark Card 与质量检查表

前置知识

本章产物: 为自己的 EvalSuite 完成一份 Benchmark Card 和 ABC 风格检查。

23.1 Benchmark 不只是 Dataset

完整 Benchmark:

Task Spec
Environment
Agent Interface
Tool Interface
Evaluator
Metrics
Reference / Policy
Reporting Protocol

任何一层错误都会改变排名。

23.2 Task Validity

检查:

23.3 Outcome Validity

最关键:

Reward / Scorer 是否真的代表任务成功?

典型错误:

23.4 Environment Validity

环境必须:

WebArena、StableToolBench 等工作都强调环境稳定性的重要性。

23.5 Reporting

Benchmark 结果至少报告:

agent/system version
model
prompt/tool settings
number of runs
sampling
limits
environment
score
uncertainty
failures
cost

否则排行榜数字难以复现。

23.6 Human Baseline

尤其复杂任务应让人类在同一环境完成,用于确认:

23.7 Benchmark Card

建议模板:

Purpose
Target Agent Type
Task Sources
Environment
Success Signal
Metrics
Known Failure Modes
Contamination Risk
License
Version
Human Validation
Limitations

23.8 验收问题


本章依据

  1. Establishing Best Practices for Building Rigorous Agentic Benchmarks — Zhu et al., 2025
  2. AlphaEval: Evaluating Agents in Production — Lu et al., 2026
  3. StableToolBench — Guo et al., 2024