arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.16067cs.SEcs.AI
收藏

当智能体评估变得不可靠:对LLM智能体基准中预言机故障与配置依赖测量的实证研究

When Agent Evaluation Becomes Unreliable: An Empirical Study of Oracle Failures and Configuration-Dependent Measurement in an LLM Agent Benchmark

School of Computer Science and Engineering, Nanjing University of Science and Technology(南京理工大学计算机科学与工程学院)

Junjie Chen

AI总结:

本文针对LLM智能体基准的评估软件,提出含5个状态不变量和3个已知答案控制项的审计方法,发现奖励函数缺陷及配置依赖测量效应,复现包可支持无外部依赖的审计复现。

摘要:

智能体评估 harness(软件系统)运行测试套件、生成输入并通过测试预言机判定结果。本文对这类软件进行审计,以发现评分表无法揭示的可靠性缺陷。我们提出一种包含5个状态完整性不变量和3个已知答案控制项的预言机完整性审计方法,通过在两个任务领域和一个合成领域中注入7类预言机缺陷来评估该方法。所有注入的缺陷类别均被检测到,且修复后的预言机无假阳性。将该审计方法应用于某智能体基准时,发现了一个奖励函数缺陷,其会在运行后评分前修改环境状态。在4320个回合中,基于重放的修正将数据库通过标签从4194个改为2883个,并将测得的成功率从94.3%降至65.5%。我们还研究了配置依赖的测量效应:对3240个回合进行组件消融实验,结果显示智能体的策略文档、工具描述和工具错误字符串会影响观测到的轨迹可靠性,其中工具描述的探索性效应最大(-9.2个百分点),错误字符串的效应最小(-5.3个百分点);第二个任务领域中语言效应的符号发生反转,因此结果受限于所测试的配置。最后,我们报告了一个可移植性边界:该审计方法无法验证第二个独立实现的基准,因为无法从其记录的API调用日志中重构所需的参考终端状态。本文发布了一个复现包,包含审计套件、故障注入目录、冻结记录、偏差日志和无网络访问、API密钥或模型调用的离线分析入口点。

英文摘要:

Agent evaluation harnesses are software that run tests, generate inputs and decide outcomes with a test oracle. We audit defects a score table cannot show. First, a systematic oracle-integrity auditing approach - five state-integrity invariants and three controls - injects seven defect classes across three targets. It detects 54/57 separable target-variant combinations and 56/63 overall; the sole cross-target miss is G5b_exception_swallow, and the un-injected implementation raises no alarm. Against a basic-check suite built from its own components, the full suite adds 20 detections (exception restoration, order dependence, format tolerance) at 1.7-1.8x the check cost; no check detects over-lenient numeric matching. Upstream reports (tau-bench PR #89, issue #92) identify reward-induced state contamination; we quantify its consequence when a harness scores after the session. A reward-time reset leaves the reference state in place: database passes fall from 4,194 to 2,883 over 4,320 episodes, and success from 94.3% to 65.5%. The non-uniform correction removes 24 to 34 points per agent and changes the highest point estimate. Second, a 3,240-episode ablation links localisation of three documents to lower collapse in the tested configuration, without ordering them; a second domain reverses the language effect. Third, the method did not transfer to an independent benchmark; we name the required contract. A replication package recomputes every reported statistic offline except the AppWorld probes, with no model calls.

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

↑