Deep Learning Based Code Generation Methods: A Literature Review

03/02/2023
by   Zezhou Yang, et al.
0

Code Generation aims at generating relevant code fragments according to given natural language descriptions. In the process of software development, there exist a large number of repetitive and low-tech code writing tasks, so code generation has received a lot of attention among academia and industry for assisting developers in coding. In fact, it has also been one of the key concerns in the field of software engineering to make machines understand users' requirements and write programs on their own. The recent development of deep learning techniques especially pre-training models make the code generation task achieve promising performance. In this paper, we systematically review the current work on deep learning-based code generation and classify the current deep learning-based code generation methods into three categories: methods based on code features, methods incorporated with retrieval, and methods incorporated with post-processing. The first category refers to the methods that use deep learning algorithms for code generation based on code features, and the second and third categories of methods improve the performance of the methods in the first category. In this paper, the existing research results of each category of methods are systematically reviewed, summarized and commented. The paper then summarizes and analyzes the corpus and the popular evaluation metrics used in the existing code generation work. Finally, the paper summarizes the overall literature review and provides a prospect on future research directions worthy of attention.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/15/2021

Code Generation Based on Deep Learning: a Brief Review

Automatic software development has been a research hot spot in the field...
research
02/08/2023

Source Code Recommender Systems: The Practitioners' Perspective

The automatic generation of source code is one of the long-lasting dream...
research
05/03/2022

A Survey of Deep Learning Models for Structural Code Understanding

In recent years, the rise of deep learning and automation requirements i...
research
08/08/2023

Deep Learning-Based Knowledge Injection for Metaphor Detection: A Comprehensive Review

The history of metaphor research also marks the evolution of knowledge i...
research
03/28/2023

Automatically Generating Dockerfiles via Deep Learning: Challenges and Promises

Containerization allows developers to define the execution environment i...
research
11/04/2020

Opportunities and Challenges in Code Search Tools

Code search is a core software engineering task. Effective code search t...
research
01/27/2021

In-IDE Code Generation from Natural Language: Promise and Challenges

A great part of software development involves conceptualizing or communi...

Please sign up or login with your details

Forgot password? Click here to reset