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

SyncMind:衡量协作软件工程中的智能体失步恢复能力

SyncMind: Measuring Agent Out-of-Sync Recovery in Collaborative Software Engineering

University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Northwestern University(西北大学)

Xuehang Guo, Xingyao Wang, Yangyi Chen, Sha Li, Chi Han, Manling Li, Heng Ji

AI总结:

提出 SyncMind 框架与含 24,332 个实例的 SyncBench 基准,系统评估 LLM 智能体在协作软件工程中的失步恢复、协作意愿及资源感知能力。

摘要:

软件工程(SE)正变得日益协作化,开发者们在共享的复杂代码库上协同工作。在共享环境中实现有效协作,要求参与者——无论是人类还是 AI 智能体——在环境演进时保持认知一致。当协作者的理解偏离当前状态时——我们称之为失步挑战——协作者的行动可能失败,从而导致集成问题。在本工作中,我们提出 SyncMind,这是一个系统性定义大型语言模型(LLM)智能体在协作软件工程(CSE)中所面临失步问题的框架。基于 SyncMind,我们构建了 SyncBench,这一基准包含 24,332 个真实 CSE 中的智能体失步场景实例,源自 21 个流行的 GitHub 仓库,并配有可执行验证测试。在 SyncBench 上的实验揭示了现有 LLM 智能体能力与局限的关键洞见。除了智能体之间存在显著性能差距(从 Llama-3.1 智能体的 <= 3.33% 到 Claude-3.5-Sonnet 的 >= 28.18%)之外,它们持续偏低的协作意愿(<= 4.86%)表明现有 LLM 在 CSE 中存在根本性局限。然而,当协作发生时,它与失步恢复成功呈正相关。智能体在资源感知型失步恢复上的极小性能差异进一步揭示,它们严重缺乏资源感知能力和适应性,这为未来的资源高效协作系统提供了启示。代码和数据已在项目网站公开:https://xhguo7.github.io/SyncMind/。

英文摘要:

Software engineering (SE) is increasingly collaborative, with developers working together on shared complex codebases. Effective collaboration in shared environments requires participants -- whether humans or AI agents -- to stay on the same page as their environment evolves. When a collaborator's understanding diverges from the current state -- what we term the out-of-sync challenge -- the collaborator's actions may fail, leading to integration issues. In this work, we introduce SyncMind, a framework that systematically defines the out-of-sync problem faced by large language model (LLM) agents in collaborative software engineering (CSE). Based on SyncMind, we create SyncBench, a benchmark featuring 24,332 instances of agent out-of-sync scenarios in real-world CSE derived from 21 popular GitHub repositories with executable verification tests. Experiments on SyncBench uncover critical insights into existing LLM agents' capabilities and limitations. Besides substantial performance gaps among agents (from Llama-3.1 agent <= 3.33% to Claude-3.5-Sonnet >= 28.18%), their consistently low collaboration willingness (<= 4.86%) suggests fundamental limitations of existing LLM in CSE. However, when collaboration occurs, it positively correlates with out-of-sync recovery success. Minimal performance differences in agents' resource-aware out-of-sync recoveries further reveal their significant lack of resource awareness and adaptability, shedding light on future resource-efficient collaborative systems. Code and data are openly available on our project website: https://xhguo7.github.io/SyncMind/.

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

↑