arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2606.30573cs.LG
收藏

SWE-INTERACT: 将 SWE 基准重新构想为用户驱动的长周期编码会话

SWE-INTERACT: Reimagining SWE Benchmarks as User-Driven Long-Horizon Coding Sessions

Scale AI

Mohit Raghavendra, Anisha Gunjal, Aakash Sabharwal, Yunzhong He

AI总结:

提出 SWE-Interact 测试平台,通过用户模拟器模拟多轮交互式软件开发任务,评估编码代理在模糊需求、渐进反馈和迭代修订下的意图发现与自适应能力。

摘要:

我们引入了 SWE-Interact,这是一个新的测试平台,用于评估编码代理在多轮、交互式、用户驱动的软件工程任务上的表现。现有的前沿 SWE 基准通常预先提供完整的需求,并评估代理在自主实现上的能力。相比之下,SWE-Interact 将代理置于一个真实的开发者工作流程中:一个精心设计的用户模拟器从模糊或不完整的指令开始,逐步揭示需求,检查代理的工作空间,并提供有针对性的反馈、修订和新的约束,直到完整任务目标被移交。基于对真实编码代理交互的大规模研究,该设置测试代理是否能发现用户意图、适应不断变化的需求,并基于自身先前的工作进行构建。在一系列前沿和开放权重模型中,我们发现,在单轮 SWE 任务上表现强劲并不能可靠地迁移到多轮、用户驱动的工作流程中:表现最好的模型解决了大约 50% 的单轮基线任务,但只解决了 25% 的相应 SWE-Interact 任务。我们评估中最强的模型,包括 Opus 4.8 和 GPT 5.5,即使在面对模糊的初始指令时也表现强劲,坚持到用户提出所有需求,更好地整合它们并编写干净的代码。然而,它们仍然存在过度主动编码、忘记需求和技术错误的问题。较弱的模型在模糊性下起步较差,过早放弃,忘记或忽略指令,并更频繁地重写代码。总体而言,SWE-Interact 为前沿模型开发衡量了一个正交的、真实世界的能力轴:与用户循环中的交互式目标发现和迭代改进。

英文摘要:

We introduce SWE-Interact, a new testbed for evaluating coding agents on multi-turn, interactive, user-driven software engineering tasks. Existing frontier SWE benchmarks typically provide complete requirements upfront and evaluate agents on autonomous implementation. In contrast, SWE-Interact places agents in a realistic developer workflow: a carefully designed user simulator starts with vague or incomplete instructions, progressively reveals requirements, inspects the agent's workspace, and provides targeted feedback, revisions, and new constraints until the full task goal has been handed off. Grounded in large-scale studies of real coding-agent interactions, this setup tests whether agents can discover user intent, adapt to evolving requirements, and build on their own prior work. Across a suite of frontier and open-weight models, we find that strong performance on single-turn SWE tasks does not reliably transfer to multi-turn, user-driven workflows: the best-performing models solve roughly 50% of single-turn baseline tasks but only 25% of the corresponding SWE-Interact tasks. The strongest models in our evaluation, including Opus 4.8 and GPT 5.5, start strong even in the face of vague initial instructions, persevere until all the requirements are surfaced by the user, integrate them better and write clean code. However, they still suffer from over-agentic coding, forgetting requirements and technical mistakes. Weaker models start poorly under ambiguity, give up early, forget or ignore instructions and rework their code more. Overall, SWE-Interact measures an orthogonal, real-world capability axis for frontier model development: interactive goal discovery and iterative refinement with a user in the loop.

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

↑