How to build and maintain an agentic evaluation
本文为原文前 6,000 字符的节选翻译,完整内容请查看原文。
How to build and maintain an agentic evaluation
AI evaluations help shape which systems people build, adopt, and trust. An evaluation gives a system tasks, checks its answers or actions, and produces a score. Building and maintaining a useful evaluation therefore takes real work: defining tasks that reflect domain expertise, scoring them reliably, and checking that the results support the claims made.
人工智能评估有助于塑造人们构建、采用和信任的系统。评估会为系统提供任务,检查其答案或操作,并生成分数。因此,构建和维护一个有用的评估需要真正的工作:定义反映领域专业知识的任务,可靠地对其进行评分,并检查结果是否支持所提出的主张。
When methods, code, and data stay private, that work is harder for others to scrutinize or build on. Open source offers a means to build stronger, more frequently updated, and more comparable evaluations and the infrastructure around them. Existing tasks, environments, and tools give builders a starting point, so their effort can go to domain expertise and validation.
当方法、代码和数据保持私有时,其他人就更难审查这些工作或在此基础上进行构建。开源提供了一种构建更强大、更新更频繁、更具可比性的评估及其周围基础设施的方法。现有的任务、环境和工具为构建者提供了一个起点,因此他们的精力可以投入到领域专业知识和验证上。
Sharing how an evaluation was built, including what went wrong, lets others find errors, improve it, and reuse it. The Hugging Face hub is the home for AI evaluation: we host around 3500 eval leaderboards and have seen about a 16X growth in eval datasets on the hub in the past year, to about 17000 datasets.
分享评估的构建方式(包括出错的地方)可以让其他人发现错误、改进评估并重复使用它。Hugging Face Hub 是人工智能评估的大本营:我们托管了大约 3500 个评估排行榜,并且在过去一年中,Hub 上的评估数据集增长了约 16 倍,达到约 17000 个数据集。
In recent months, we have also incorporated support for agentic abstractions that are relevant to evaluation. For example, Traces that store an agent’s work in an easily reviewable and sharable way; Benchmarks that highlight datasets used to evaluate models with leaderboards; and Environments that show datasets used as agentic RL or evaluation environments.
近几个月来,我们还纳入了对与评估相关的智能体抽象的支持。例如,以易于审查和共享的方式存储智能体工作的“追踪”(Traces);突出显示用于通过排行榜评估模型的数据集的“基准测试”(Benchmarks);以及显示用作智能体强化学习或评估环境的数据集的“环境”(Environments)。
-
Introduction: how evaluation design has changed AI evaluation design has evolved in three forms as language models have become more capable and able to perform more complex work: question answer, agentic, and teams or swarms. Question-answer benchmarks such as MMLU (2020) and GPQA (2023) measure knowledge and reasoning through the answers models produce.
-
引言:评估设计发生了怎样的变化 随着语言模型变得越来越强大并能够执行更复杂的工作,人工智能评估设计已经演变为三种形式:问答式、智能体式以及团队或群体式。诸如 MMLU (2020) 和 GPQA (2023) 之类的问答基准测试通过模型生成的答案来衡量知识和推理能力。
As models became capable of planning and using tools, agentic benchmarks such as SWE-bench and WebArena expanded the scope to resolving software issues and completing tasks on websites. These tasks require evaluation setups that account for the environment in which the system operates and the changes it makes.
随着模型具备了规划和使用工具的能力,诸如 SWE-bench 和 WebArena 之类的智能体基准测试将范围扩大到了解决软件问题和完成网站任务。这些任务需要考虑到系统运行环境及其所做更改的评估设置。
Lately, research on multi-agent systems has started to add another dimension: how agents coordinate and what they accomplish together. This includes decentralized swarms, teams managed by an orchestrator, and specialized agents collaborating on scientific work.
最近,关于多智能体系统的研究开始增加另一个维度:智能体如何协调以及它们共同完成了什么。这包括去中心化的群体、由协调者管理的团队,以及在科学工作上进行协作的专业智能体。
We’ll focus on agentic evaluations in this article for two reasons. First, they are becoming increasingly the most prominent type in model release announcements due to high user and enterprise interest in agentic deployment. Second, they offer a useful starting point for understanding how evaluation design affects model performance.
我们在本文中将重点关注智能体评估,原因有二。首先,由于用户和企业对智能体部署的高度兴趣,它们正日益成为模型发布公告中最突出的类型。其次,它们为理解评估设计如何影响模型性能提供了一个有用的起点。
Once an agent uses tools to complete a task, each part of the surrounding software can affect its score. For instance, in an audit of Terminal-Bench, researchers kept the model fixed and changed the agent harness. Accuracy varied by up to 29.9 percentage points.
一旦智能体使用工具来完成任务,周围软件的每个部分都可能影响其分数。例如,在对 Terminal-Bench 进行审计时,研究人员保持模型不变,仅更改了智能体工具包(agent harness)。准确率的变化幅度高达 29.9 个百分点。
The anatomy of an agentic evaluation There are various parts to an agentic evaluation. A task gives the agent its instruction. The agent harness wraps the model and its tools, letting it work inside a pinned environment. During one rollout, the agent attempts the task from start to finish: it may run several commands, inspect their output, and try again before it stops.
智能体评估的剖析 智能体评估包含多个部分。任务为智能体提供指令。智能体工具包封装了模型及其工具,使其能够在固定的环境中工作。在一次执行过程中,智能体从头到尾尝试完成任务:它可能会运行多个命令,检查其输出,并在停止前再次尝试。
Why benchmark release decisions matter Demand for independent evaluation is growing. Policymakers, enterprises, and researchers want evaluations they can verify, and today they mostly cannot: 98.2% of model-benchmark scores are reported by only one party, and researchers have argued that in-house evaluation is not enough.
为什么基准测试发布决策很重要 对独立评估的需求正在增长。政策制定者、企业和研究人员希望获得他们可以验证的评估,而今天他们大多无法做到这一点:98.2% 的模型基准测试分数仅由一方报告,研究人员认为内部评估是不够的。