深度学习用于代码智能:综述、基准与工具包
Deep Learning for Code Intelligence: Survey, Benchmark and Toolkit
AI总结:
本文综述了深度学习在代码智能中的应用,涵盖代码表示学习、技术及应用任务,并提供了基准测试和开源工具包,以促进模型评估与比较。
摘要:
代码智能利用机器学习技术从大规模代码语料库中提取知识,旨在开发智能工具以提高计算机编程的质量和生产力。目前,已有蓬勃发展的研究社区专注于代码智能,其努力涵盖软件工程、机器学习、数据挖掘、自然语言处理和编程语言等领域。在本文中,我们从代码表示学习、深度学习技术和应用任务等方面,对深度学习用于代码智能进行了全面的文献综述。我们还对几种最先进的代码智能神经模型进行了基准测试,并提供了一个开源工具包,专为基于深度学习的代码智能模型的快速原型设计而定制。特别是,我们在代码表示学习的基础上审视了现有的代码智能模型,并提供了全面的概述,以增强对代码智能现状的理解。此外,我们公开发布了源代码和数据资源,为社区提供了一个即用型基准,可促进现有和未来代码智能模型的评估与比较(https://xcodemind.github.io)。最后,我们还指出了未来研究的几个具有挑战性和前景的方向。
英文摘要:
Code intelligence leverages machine learning techniques to extract knowledge from extensive code corpora, with the aim of developing intelligent tools to improve the quality and productivity of computer programming. Currently, there is already a thriving research community focusing on code intelligence, with efforts ranging from software engineering, machine learning, data mining, natural language processing, and programming languages. In this paper, we conduct a comprehensive literature review on deep learning for code intelligence, from the aspects of code representation learning, deep learning techniques, and application tasks. We also benchmark several state-of-the-art neural models for code intelligence, and provide an open-source toolkit tailored for the rapid prototyping of deep-learning-based code intelligence models. In particular, we inspect the existing code intelligence models under the basis of code representation learning, and provide a comprehensive overview to enhance comprehension of the present state of code intelligence. Furthermore, we publicly release the source code and data resources to provide the community with a ready-to-use benchmark, which can facilitate the evaluation and comparison of existing and future code intelligence models (https://xcodemind.github.io). At last, we also point out several challenging and promising directions for future research.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。