arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.05153cs.HCcs.AI
收藏

AI是更好的编程搭档吗?人-人结对编程 vs 人-AI pAIr编程

Is AI the better programming partner? Human-Human Pair Programming vs. Human-AI pAIr Programming

Carnegie Mellon University(卡内基梅隆大学)

Qianou Ma, Tongshuang Wu, Kenneth Koedinger

AI总结:

该研究对比人-人结对编程与人-AI pAIr编程的异同,指出二者有效性结论不一且后者衡量指标欠全面,总结人-人结对的影响因素为AI编程助手研究提供方向。

摘要:

擅长代码生成的大语言模型(LLMs)以及GitHub Copilot等商业产品的出现,引发了人们对人-AI结对编程(称为“pAIr编程”)的兴趣,即AI系统与人类程序员协作的模式。尽管人类之间的传统结对编程已被广泛研究,但目前尚不清楚其研究结论是否适用于人-AI结对编程。我们对比了人-人结对编程与人-AI结对编程,探究二者在互动方式、衡量指标、优势和挑战方面的异同。我们发现,现有文献中两种方式的有效性结论不一(不过用于pAIr编程的衡量指标尚不全面)。我们总结了影响人-人结对编程成功的调节因素,这为pAIr编程研究提供了方向。例如,专业水平不匹配会降低结对编程的生产力,因此设计精良的AI编程助手可以适配不同的专业水平差异。

英文摘要:

The emergence of large-language models (LLMs) that excel at code generation and commercial products such as GitHub's Copilot has sparked interest in human-AI pair programming (referred to as "pAIr programming") where an AI system collaborates with a human programmer. While traditional pair programming between humans has been extensively studied, it remains uncertain whether its findings can be applied to human-AI pair programming. We compare human-human and human-AI pair programming, exploring their similarities and differences in interaction, measures, benefits, and challenges. We find that the effectiveness of both approaches is mixed in the literature (though the measures used for pAIr programming are not as comprehensive). We summarize moderating factors on the success of human-human pair programming, which provides opportunities for pAIr programming research. For example, mismatched expertise makes pair programming less productive, therefore well-designed AI programming assistants may adapt to differences in expertise levels.

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

↑