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

大型语言模型与NL2Code:综述

Large Language Models Meet NL2Code: A Survey

Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所);University of Chinese Academy of Sciences(中国科学院大学);Microsoft Research Asia(微软亚洲研究院);Shandong Normal University(山东师范大学)

Daoguang Zan, Bei Chen, Fengji Zhang, Dianjie Lu, Bingchao Wu, Bei Guan, Yongji Wang, Jian-Guang Lou

AI总结:

该综述调研了27个用于NL2Code的大型语言模型,比较了基准与指标,指出成功关键为“大规模、优质数据、专家调优”,并讨论了挑战与机遇。

摘要:

从自然语言描述生成代码的任务,即NL2Code,被认为是代码智能中一项紧迫且重大的挑战。得益于预训练技术的快速发展,越来越多的用于代码的大型语言模型被提出,推动了NL2Code的进步。为了促进该领域的进一步研究和应用,本文对27个现有的用于NL2Code的大型语言模型进行了全面综述,并回顾了相关基准和评估指标。我们在HumanEval基准上对所有现有模型进行了直观比较。通过深入观察和分析,我们提出了一些见解,并得出结论:大型语言模型在NL2Code上取得成功的关键因素是“大规模、优质数据、专家调优”。此外,我们讨论了模型与人类之间差距所带来的挑战和机遇。我们还创建了一个网站https://nl2code.github.io,通过众包方式跟踪最新进展。据我们所知,这是首个关于NL2Code大型语言模型的综述,我们相信它将为该领域的持续发展做出贡献。

英文摘要:

The task of generating code from a natural language description, or NL2Code, is considered a pressing and significant challenge in code intelligence. Thanks to the rapid development of pre-training techniques, surging large language models are being proposed for code, sparking the advances in NL2Code. To facilitate further research and applications in this field, in this paper, we present a comprehensive survey of 27 existing large language models for NL2Code, and also review benchmarks and metrics. We provide an intuitive comparison of all existing models on the HumanEval benchmark. Through in-depth observation and analysis, we provide some insights and conclude that the key factors contributing to the success of large language models for NL2Code are "Large Size, Premium Data, Expert Tuning". In addition, we discuss challenges and opportunities regarding the gap between models and humans. We also create a website https://nl2code.github.io to track the latest progress through crowd-sourcing. To the best of our knowledge, this is the first survey of large language models for NL2Code, and we believe it will contribute to the ongoing development of the field.

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

↑