arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2605.18332cs.SEcs.AI
收藏

同信号,不同语义:软件工程代理跨框架行为分析

Same Signal, Different Semantics: A Cross-Framework Behavioral Analysis of Software Engineering Agents

Singapore Management University(新加坡国立大学);Nanjing University(南京大学);Nanyang Technological University(南洋理工大学)

Wei Ma, Zhi Chen, Jingxu Gu, Tianling Li, Shangqing Liu, Lingxiao Jiang

AI总结:

本文通过大规模实验分析软件工程代理在不同框架下的行为表现,发现相同的行为信号在不同框架下可能具有相反的意义,强调了跨框架验证的重要性。

摘要:

对基于大语言模型的软件工程代理进行行为研究,提取出关于轨迹形状与高分辨率率相关的操作规则:测试步骤跟随代码修改、错误级联较短或轨迹紧凑。每条规则通常源自单一框架,但其在结构不同的代理设计中是否转移,无论是符号还是幅度,尚未直接测试。我们在此生态系统层面进行研究:64,380次SWE-bench运行,涵盖126种代理配置,跨越43种框架,每种配置将LLM与一个框架(如SWE-Agent、OpenHands)配对,该框架提供其工具和工作流。我们通过固定每一层来分离框架效应与LLM效应,然后测量每种配置的行为-结果效应,并检查这些效应的一致性或分歧。在固定LLM的情况下,更换框架导致每个动作特征产生显著的行为差异。在大多数信号上,配置不仅在幅度上存在分歧,还在方向上存在分歧。错误率是清晰的案例:47种配置在错误率较低时解决更多问题,而48种配置在错误率较高时解决更多问题。其他五个连续特征和七个二元模式中的三个显示相似的方向分歧。框架身份比LLM家族解释了更多的变化:对于平均转弯数,框架解释了64%的配置间变异,而LLM仅解释了10%。这意味着相同的可观察行为信号可能在不同代理配置中具有相反的意义。因此,任何单一框架的行为发现应在跨配置验证后再被声称具有普遍性。

英文摘要:

Behavioral studies of LLM-based software engineering agents extract operational rules about which trajectory shapes correlate with higher resolution rates: that a test step follows a code modification, that error cascades are short, or that trajectories are compact. Each rule is typically derived from a single framework, and whether it transfers, in sign as well as magnitude, to structurally different agent designs has not been directly tested. We address this at ecosystem scale: 64,380 SWE-bench runs from 126 agent configurations spanning 43 frameworks, where each configuration pairs an LLM with a framework (e.g., SWE-Agent, OpenHands) that supplies its tools and workflow. We separate framework effects from LLM effects by holding each layer fixed in turn, then measure one behavior-outcome effect per configuration and examine how those effects agree or disagree. Swapping the framework while the LLM is held fixed produces large behavioral differences in every action feature. On most signals, configurations disagree not merely in magnitude but in direction. Error rate is the cleanest case: 47 configurations resolve more issues when their error rate is lower, while 48 resolve more when it is higher. Five other continuous features and three of seven binary patterns from prior SE literature show similar directional disagreement. Framework identity accounts for more of this variation than LLM family: for mean turns, framework explains 64% of the between-configuration variance against the LLM's 10%. The implication is that the same observable behavioral signal can carry opposite meaning for different agent configurations. Behavioral findings from any single framework therefore warrant cross-configuration validation before being claimed as general.

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

↑