arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2602.07150cs.LGcs.AIcs.SE
收藏

关于代理评估中的随机性

On Randomness in Agentic Evals

KTH Royal Institute of Technology(皇家理工学院)

Bjarni Haukur Bjarnason, André Silva, Martin Monperrus

AI总结:

研究通过分析6万条轨迹发现单次运行的pass@1分数存在显著波动,建议采用多轮运行、统计分析和多指标评估以提高代理系统评估的可靠性。

摘要:

代理系统在基准测试中通过与环境互动解决任务进行评估。大多数论文报告单次运行的pass@1分数,假设其能可靠估计性能。本文通过收集SWE-Bench-Verified上的6万条轨迹,发现单次运行的pass@1分数在2.2至6.0个百分点之间变化,标准差超过1.5个百分点。这种波动对报告的改进有重要影响:2-3个百分点的改进可能反映评估噪声而非真实算法进步。通过token级分析,发现轨迹在早期就发生分歧,并导致不同的解决方案策略。为实现可靠的代理系统评估,本文建议三项实践:(1) 对每个任务进行多次独立运行以估计pass@1;(2) 使用统计功效分析确定所需运行次数以检测预期效应大小;(3) 考虑pass@k和pass^k等指标以更好地表征整体性能范围。尽管这些实践增加了评估成本,但它们对于区分真实科学进步与统计噪声至关重要。

英文摘要:

Agentic systems are evaluated on benchmarks where agents interact with environments to solve tasks. Most papers report a pass@1 score computed from a single run per task, assuming this gives a reliable performance estimate. We test this assumption by collecting 60,000 agentic trajectories on SWE-Bench-Verified, spanning three models and two scaffolds. We find substantial variance: single-run pass@1 estimates vary by 2.2 to 6.0 percentage points depending on which run is selected, with standard deviations exceeding 1.5 percentage points even at temperature 0. This variance has critical implications: reported improvements of 2--3 percentage points may reflect evaluation noise rather than genuine algorithmic progress. Through token-level analysis, we show that trajectories diverge early, often within the first few percent of tokens, and that these small differences cascade into different solution strategies. To enable reliable evaluation of agentic systems, we recommend three concrete practices: (1) estimate pass@1 from multiple independent runs per task, especially when measuring small improvements, (2) use statistical power analysis to determine the number of runs needed to detect expected effect sizes, and (3) consider metrics like pass@k (optimistic bound) and pass^k (pessimistic bound) with k>1 to better characterize the full performance envelope. While these practices increase evaluation cost, they are essential for distinguishing genuine scientific progress from statistical noise.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑