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

从正确性到协作:迈向以人为中心的评估AI代理行为在软件工程中的框架

From Correctness to Collaboration: Toward a Human-Centered Framework for Evaluating AI Agent Behavior in Software Engineering

Google LLC(谷歌公司)

Tao Dong, Harini Sampath, Ja Young Lee, Sherry Y. Shi, Andrew Macvean

AI总结:

本文提出以人为中心的评估框架,旨在评估AI代理在软件工程中的协作行为,通过定义代理行为期望和引入情境适应框架,推动AI代理向协作智能发展。

摘要:

随着大型语言模型(LLMs)从代码生成器发展为软件工程师的协作伙伴,我们的评估方法正在滞后。当前的基准测试专注于代码正确性,无法捕捉成功的人机协作中必要的细微和互动行为。为了弥合这一评估差距,本文做出了两个核心贡献。首先,我们提出了一个基础的代理行为分类,该分类基于对91组用户定义的代理规则的分析。该分类定义了四个关键的代理行为期望:遵守标准和流程、确保代码质量和可靠性、有效解决问题以及与用户的协作。其次,认识到这些期望并非静态,我们引入了情境适应行为(CAB)框架。该新兴框架揭示了行为期望如何沿着两个经验性得出的轴线变化:时间跨度(从即时需求到未来理想)和工作类型(从企业生产到快速原型开发)。这些贡献为设计和评估下一代AI代理提供了以人为中心的基础,将该领域的关注点从生成代码的正确性转向真正的协作智能的动态。

英文摘要:

As Large Language Models (LLMs) evolve from code generators into collaborative partners for software engineers, our methods for evaluation are lagging. Current benchmarks, focused on code correctness, fail to capture the nuanced, interactive behaviors essential for successful human-AI partnership. To bridge this evaluation gap, this paper makes two core contributions. First, we present a foundational taxonomy of desirable agent behaviors for enterprise software engineering, derived from an analysis of 91 sets of user-defined agent rules. This taxonomy defines four key expectations of agent behavior: Adhere to Standards and Processes, Ensure Code Quality and Reliability, Solving Problems Effectively, and Collaborating with the User. Second, recognizing that these expectations are not static, we introduce the Context-Adaptive Behavior (CAB) Framework. This emerging framework reveals how behavioral expectations shift along two empirically-derived axes: the Time Horizon (from immediate needs to future ideals), established through interviews with 15 expert engineers, and the Type of Work (from enterprise production to rapid prototyping, for example), identified through a prompt analysis of a prototyping agent. Together, these contributions offer a human-centered foundation for designing and evaluating the next generation of AI agents, moving the field's focus from the correctness of generated code toward the dynamics of true collaborative intelligence.

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

↑