arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2111.07875cs.SEcs.LGcs.NE
收藏

选择你的程序设计副驾驶:GitHub副驾驶与遗传编程的程序合成性能比较

Choose Your Programming Copilot: A Comparison of the Program Synthesis Performance of GitHub Copilot and Genetic Programming

Johannes Gutenberg University(约翰内斯·古腾堡大学)

Dominik Sobania, Martin Briesch, Franz Rothlauf

摘要:

GitHub Copilot是由大规模语言模型Codex提供支持的Visual Studio Code开发环境的扩展,为软件开发人员提供自动程序合成。该模型在深度学习领域已经得到了广泛的研究,然而,与遗传编程的比较尚未进行,遗传编程也以其在自动程序合成中的性能而闻名。在本文中,我们评估GitHub Copilot在标准程序合成基准问题上的表现,并将所取得的结果与遗传编程文献中的结果进行比较。此外,我们讨论了这两种方法的性能。我们发现这两种方法在基准测试问题上的性能相当相似,然而,与GitHub Copilot相比,基于遗传编程的程序合成方法还不够成熟,无法支持程序员进行实际的软件开发。遗传编程通常需要大量昂贵的手工标记的训练案例,并且需要花费太多的时间来生成解决方案。此外,由遗传编程方法生成的源代码通常是臃肿的并且难以理解。对于未来的工作与遗传编程的程序合成,我们建议研究人员专注于提高执行时间,可读性和可用性。

英文摘要:

GitHub Copilot, an extension for the Visual Studio Code development environment powered by the large-scale language model Codex, makes automatic program synthesis available for software developers. This model has been extensively studied in the field of deep learning, however, a comparison to genetic programming, which is also known for its performance in automatic program synthesis, has not yet been carried out. In this paper, we evaluate GitHub Copilot on standard program synthesis benchmark problems and compare the achieved results with those from the genetic programming literature. In addition, we discuss the performance of both approaches. We find that the performance of the two approaches on the benchmark problems is quite similar, however, in comparison to GitHub Copilot, the program synthesis approaches based on genetic programming are not yet mature enough to support programmers in practical software development. Genetic programming usually needs a huge amount of expensive hand-labeled training cases and takes too much time to generate solutions. Furthermore, source code generated by genetic programming approaches is often bloated and difficult to understand. For future work on program synthesis with genetic programming, we suggest researchers to focus on improving the execution time, readability, and usability.

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

↑