arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.30491cs.AIcs.SE
收藏

轨迹显示了什么,标签说了什么:智能体评估中行为检测器的审计

What the Trace Shows and What the Label Says: Auditing Behavioral Detectors in Agent Evaluation

University of Illinois Chicago(伊利诺伊大学芝加哥分校);Argonne National Laboratory(阿贡国家实验室)

Idunnuoluwa A. Adeniji, Shilpika, Michael E. Papka

AI总结:

本研究针对智能体评估中行为检测器的局限性,在GSM8K工具场景中审计三类检测器,发现标签与轨迹存在分歧,提出需附带轨迹证据的测量透明度方案并开发了轨迹查看器。

摘要:

大语言模型(LLM)智能体的评估常通过将执行轨迹简化为最终答案正确性、工具验证、故障传播等标签来完成,这些标签是解析器、行为检测器和测试 harness 规则生成的测量结果,可能无法完全捕捉轨迹所呈现的内容。我们在基于 GSM8K 的工具使用场景中研究该问题,智能体调用计算器,其输出偶尔会被损坏,为工具返回内容、模型后续使用内容及检测器报告提供了明确的基准。我们审计了三个轨迹级检测器,涉及六个生产模型,每个模型对应30个问题。最终正确性、可见的重新验证及故障传播可能存在系统性不一致,关键失效模式为工具输出的静默覆盖:计算器返回损坏值,但模型后续使用不同的(通常正确的)值且未再次调用工具,导致坏值停止传播,而验证检测器未记录重新检查。对90条轨迹的人工审查与自动化标签在最终正确性(67/67)、故障影响(19/19)、故障相关性(18/18)上完全一致,但验证项仅为67/81;所有14处分歧属于四种重复模式。执行限制也会改变报告结果:在两个模型的 ablation 实验中,一个模型随步骤和 token 预算变化,正确率从21/30升至27/30,另一个模型则保持在27/30至29/30之间。这些发现推动了测量透明度:自动化标签应附带其背后的轨迹证据,包括检测器针对该轨迹提出的问题是否适用、运行是否被执行限制截断及任何人工修正;我们的轨迹查看器可将此信息与报告结果一同呈现。

英文摘要:

LLM agents are often evaluated by reducing execution traces to labels such as final-answer correctness, tool verification, and fault propagation. These labels are measurements produced by parsers, behavioral detectors, and harness rules, yet evaluations rarely report whether a measurement actually fits the trace it describes. We study what happens when those measurements do not fully capture the trace's behavior. Agents solve GSM8K problems with a calculator whose outputs are occasionally corrupted, which gives ground truth for what the tool returned, what the model later used, and what the detectors reported; a chemistry task with search and retrieval tests the case where the model cannot recompute the tool's output. Across eight models and up to 1,000 traces per model, final correctness, visible re-verification, and fault propagation disagree in systematic ways. The most common gap is the silent tool-output override: the model replaces a corrupted value without calling the tool again, so the error stops propagating while a verification detector records no re-check. Human review finds verification labels the least reliable (\k{appa} =0.29), and checking depends on the task: the same calculator that several models re-checked on arithmetic was never re-checked on chemistry. Execution limits and serving failures also change what is measured. These findings motivate measurement transparency: an automated label should be reported with its evidence, whether the detector's question applied, whether the run was censored, and any human corrections. Our trace viewer makes this information inspectable alongside the reported results.

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

↑