Deep Learning for Code Intelligence: Survey, Benchmark and Toolkit
Preprint
Abstract
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.Keywords
All Related Versions
This publication has 139 references indexed in Scilit:
- EditSum: A Retrieve-and-Edit Framework for Source Code Summarization2021
- Adversarial Attacks to API Recommender Systems: Time to Wake Up and Smell the Coffee?2021
- On Multi-Modal Learning of Editing Source Code2021
- PyExplainer: Explaining the Predictions of Just-In-Time Defect Models2021
- Siamese Neural Networks: An Overview2020
- Modeling programs hierarchically with stack-augmented LSTMJournal of Systems and Software, 2020
- A manual inspection of Defects4J bugs and its implications for automatic program repairScience China Information Sciences, 2019
- Deep code comment generation with hybrid lexical and syntactical informationEmpirical Software Engineering, 2019
- Synthesizing benchmarks for predictive modeling2017
- LLVM: A compilation framework for lifelong program analysis & transformation2004