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

LLM智能体评估中的重放保真度:AppWorld中的随机性、隐藏状态与测试预言机

Replay Fidelity in LLM Agent Evaluation: Randomness, Hidden State, and Test Oracles in AppWorld

You Liu, Quanchao Lu

AI总结:

该研究针对AppWorld语料库,通过284次重放实验分析LLM智能体重放保真度的影响因素,明确了随机性、隐藏状态等对评估可复现性的作用。

摘要:

大型语言模型(LLM)智能体评估的可复现性取决于重放保真度,即执行轨迹的哪些部分被重建、控制和比较。这对智能体调试、故障分析以及有状态工具使用的反事实评估至关重要。我们使用284次独立的固定代码重放尝试,对固定历史AppWorld语料库中的所有71次失败执行进行审计。重建的声明设置在打印输出、预言机前数据库增量和原生判定/测试计数检查下可覆盖42个案例;在每次交互前重置随机数生成器可覆盖68个案例。在数据库/预言机检查下,26个案例的差距缩小至4个,其中1个端点未知。机制研究发现,尽管输出和判定匹配,仍存在4个物化状态差异。在1个已确认的端点对中,相同的API调用产生匹配响应但不同的行效应;常见的未来Python RNG在两次配对重复中消除了该确定性差异。单独的JWT凭证相等性程序和对齐控制暴露了认证/写入差异,缺失的重复被保留。对于所有10个受影响的预言机后导出案例,从保留的输出跟踪器进行原生导出可恢复参考比较,且不改变原始缓存内容。一项有针对性的12案例BFCL试点在其测试的公共状态、返回值和判定检查下未发现差异。我们保留资源审查和基础设施偏差。本研究的贡献是对重放资格、隐藏状态和测试预言机集成的有界经验表征,未估计调试器准确性、修复收益或方法排名失真。

英文摘要:

Reproducibility in large language model (LLM) agent evaluation depends on replay fidelity: which parts of an execution trace are reconstructed, controlled, and compared. This matters for agent debugging, failure analysis, and counterfactual evaluation of stateful tool use. We audit all 71 unsuccessful executions in a fixed historical AppWorld corpus using 284 isolated fixed-code replay attempts. Reconstructed declared settings admit 42 cases under printed-output, pre-oracle database-delta, and native-verdict/test-count checks; resetting the random-number generator before each interaction admits 68. The 26-case gap contracts to four under database/oracle checks, with one endpoint unknown. Mechanism studies identify four materialized-state discrepancies despite matching outputs and verdicts. In one admitted endpoint pair, an identical API call yields matching responses but different row effects; common future Python RNG removes that deterministic difference in two paired repetitions. A separate JWT credential-equality program and alignment controls expose authentication/write differences, with missing repetitions retained. For all 10 affected post-oracle export cases, native export from retained output trackers restores the reference comparison without changing original cached contents. A purposeful 12-case BFCL pilot shows no discrepancy under its tested public-state, return, and verdict checks. We preserve resource censoring and infrastructure deviations. The contribution is a bounded empirical characterization of replay eligibility, hidden state, and test-oracle integration, without estimating debugger accuracy, repair gains, or method-ranking distortion.

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

↑