arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.17440cs.SEcs.AIcs.LG
收藏

通过行为轨迹解释编码智能体

Interpreting Coding Agents Through Their Behavioral Trajectories

Ibragim Badertdinov, Alexander Golubev

AI总结:

该研究通过分析143209条编码智能体执行轨迹,开发规则解析器映射高级操作,发现相似解决率智能体行为差异,聚合行为特征可跨仓库检索智能体栈,还揭示支架与推理工作量对智能体行为的影响,发布相关工具与数据。

摘要:

标准编码智能体基准主要评估二元任务成功与否,将执行过程视为黑箱,掩盖了产生这些结果的行为。我们分析了来自125种智能体配置(涵盖117种独特模型)的143209条执行轨迹的大型语料库。为了实现异构智能体接口之间的比较,我们开发了一种基于规则的解析器,将原始执行轨迹映射为高级操作,如仓库搜索、文件编辑和测试执行,并针对500个事件的6种模型共识参考对其预测进行审计。我们发现,具有相似解决率的智能体在探索、修改和验证代码的方式上可能存在显著差异。此外,在不使用任务结果、令牌计数或工具名称作为特征的情况下,聚合行为特征可在不相交的仓库集和编程语言中检索对应的智能体栈,尽管跨仓库设置中未完全控制任务组成。通过对前沿模型和智能体支架的分析,我们进一步表明,支架选择和推理工作量会系统性地改变智能体的搜索、编辑和测试行为。我们发布了确定性解析器以及完整的注释和分析流程,同时发布了带注释的轨迹子集。

英文摘要:

Standard coding-agent benchmarks primarily evaluate binary task success, treating execution as a black box and obscuring the behaviors that produce those outcomes. We analyze a large corpus of 143,209 execution trajectories from 125 agent configurations spanning 117 unique models. To enable comparisons across heterogeneous agent interfaces, we develop a rule-based parser that maps raw execution traces to high-level actions such as repository search, file editing, and test execution, and audit its predictions against a six-model consensus reference on 500 events. We find that agents with similar solve rates can nevertheless differ substantially in how they explore, modify and verify code. Moreover, without using task outcomes, token counts, or tool names as features, aggregate behavioral profiles retrieve the corresponding agent stack across disjoint repository sets and programming languages, although task composition is not fully controlled in the cross-repository setting. Through analyses of frontier models and agent scaffolds, we further show that scaffold choice and reasoning effort systematically shift agents' search, editing, and testing behavior. We release the deterministic parser together with the full annotation and analysis pipeline alongside an annotated trajectory subset.

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

↑