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

当智能体失效时:模型还是执行工具——该归咎于谁?

When Agents Fail: Model or Harness--Who's to Blame?

Shanghai Artificial Intelligence Laboratory(上海人工智能实验室)

Shao Zhang, Hangfan Zhang, Yuanyuan Shi, Hao Li, Min-Le Su, Kangcong Li, Jingping Wang, Chunjiang Mu, Chen Zhang, Yang Chen, Bo Zhang, Shuyue Hu

AI总结:

该研究提出评估LLM智能体的模型-执行工具交互框架,通过五项指标评估四类工具与模型的配对,发现工具排名随模型和基准变化,为智能体评估与工具设计提供依据。

摘要:

大语言模型(LLM)智能体将模型与执行工具(harness)相结合,因此智能体基准测试的性能反映了它们的联合行为。我们认为,应通过执行工具与底层模型的交互来评估执行工具。我们开发了一个框架,包含五项互补指标:(i)有效完成率(Valid Completion Rate, VCR),即智能体正常完成并提供可评估结果的可靠程度,与任务正确性无关;(ii)模型-工具适配性(Model-Harness Fit),即针对给定模型,工具通过有效完成支持任务达成的程度;(iii)跨模型适配性(Cross-Model Fit),即工具在被评估模型中的整体适用性;(iv)交互残差(Interaction Residuals),即组件级摘要所掩盖的特定配对执行优缺点;(v)令牌负载(Token Load),即智能体执行的令牌需求,包括失败尝试。我们在涵盖上下文管理、工具使用、长上下文规划、多模态交互及工件交接的六个基准上,评估了四种通用工具(OpenCode、Codex CLI、Pi CLI和DeepAgents)与四种核心模型,以及两个固定的原生模型-工具系统,共111个评估设置(含原生参考和压力条件),产生52168条轨迹。工具排名因模型和基准而异;任务性能与有效完成可能倾向于不同配对,相似的任务分数可伴随不同的执行轮廓。OpenCode在跨模型性能中排名第一,而DeepSeek V4 Flash Preview在共享的四基准面板上,在所有工具中保持始终较高的平均有效完成率(Mean VCR)。这些发现支持评估模型-工具交互、在模型中训练可迁移的工具使用能力,以及设计适配模型与任务的工具。

英文摘要:

LLM agents combine models with execution harnesses, so agentic benchmark performance reflects their joint behavior. We argue that harnesses should therefore be evaluated through their interactions with underlying models. We develop a framework combining five complementary measures: (i) Valid Completion Rate (VCR), how reliably agents finish normally and deliver evaluable results, irrespective of task correctness; (ii) Model-Harness Fit, how well a harness supports task achievement through valid completion for a given model; (iii) Cross-Model Fit, a harness's overall suitability across evaluated models; (iv) Interaction Residuals, pairing-specific execution strengths and weaknesses hidden by component-level summaries; and (v) Token Load, the token demands of agent execution, including failed attempts. We evaluate four general-purpose harnesses (OpenCode, Codex CLI, Pi CLI, and DeepAgents) with four core models, plus two fixed native model-harness systems, on six benchmarks covering context management, tool use, long-context planning, multimodal interaction, and artifact handoff. Including native references and stress conditions, 111 evaluation settings yield 52,168 trajectories. Harness rankings vary across models and benchmarks; task performance and valid completion can favor different pairings, and similar task scores can accompany distinct execution profiles. OpenCode ranks first in cross-model performance, while DeepSeek V4 Flash Preview maintains consistently high Mean VCR across harnesses on the shared four-benchmark panel. These findings support evaluating model-harness interactions, training transferable harness-use capabilities in models, and harness designs adapted to the model and task.

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

↑