arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2208.06213cs.HCcs.AIcs.PL
收藏

用人工智能编程是什么感觉?

What is it like to program with artificial intelligence?

Microsoft Research(微软研究院);University of Cambridge(剑桥大学);University of Edinburgh(爱丁堡大学)

Advait Sarkar, Andrew D. Gordon, Carina Negreanu, Christian Poelitz, Sruti Srinivasa Ragavan, Ben Zorn

摘要:

大语言模型,如OpenAI的codex和Deepmind的AlphaCode,可以生成代码来解决用自然语言表达的各种问题。这项技术已经在至少一个广泛使用的编程编辑器扩展中商业化:GitHub Copilot。在本文中,我们将探讨如何编程与大语言模型(法学硕士辅助编程)是类似的,并不同于,以前的概念化的程序员援助。我们借鉴了LLM辅助编程的公开经验报告,以及之前的可用性和设计研究。我们发现,虽然法学硕士辅助编程共享一些属性的编译,配对编程,并通过搜索和重用编程,有根本的差异,无论是在技术上的可能性,以及实践经验。因此,法学硕士辅助编程应该被视为一种新的编程方式,具有其独特的属性和挑战。最后,我们从用户研究中观察到,非专家最终用户程序员使用LLM辅助工具来解决电子表格中的数据任务。我们讨论了可能出现的问题,并开放的研究挑战,在应用大语言模型的最终用户编程,特别是与用户谁很少或根本没有编程专业知识。

英文摘要:

Large language models, such as OpenAI's codex and Deepmind's AlphaCode, can generate code to solve a variety of problems expressed in natural language. This technology has already been commercialised in at least one widely-used programming editor extension: GitHub Copilot. In this paper, we explore how programming with large language models (LLM-assisted programming) is similar to, and differs from, prior conceptualisations of programmer assistance. We draw upon publicly available experience reports of LLM-assisted programming, as well as prior usability and design studies. We find that while LLM-assisted programming shares some properties of compilation, pair programming, and programming via search and reuse, there are fundamental differences both in the technical possibilities as well as the practical experience. Thus, LLM-assisted programming ought to be viewed as a new way of programming with its own distinct properties and challenges. Finally, we draw upon observations from a user study in which non-expert end user programmers use LLM-assisted tools for solving data tasks in spreadsheets. We discuss the issues that might arise, and open research challenges, in applying large language models to end-user programming, particularly with users who have little or no programming expertise.

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

↑