Skip to main content
QUICK REVIEW

[논문 리뷰] Deep Learning Based Code Generation Methods: Literature Review

Zezhou Yang, Sirong Chen|arXiv (Cornell University)|2023. 03. 02.
Software Engineering ResearchComputer Science인용 수 10
한 줄 요약

이 논문은 딥 러닝 기반 코드 생성에 대해 체계적으로 검토하고, 방법을 세 가지 그룹(코드 특성, 검색 강화, 그리고 사후 처리)으로 분류하며, 코퍼스, 지표, 향후 방향을 분석한다.

ABSTRACT

This paper focuses on Code Generation task that aims at generating relevant code fragments according to given natural language descriptions. In the process of software development, developers often encounter two scenarios. One is requested to write a large amount of repetitive and low-technical code for implementing common functionalities. The other is writing code that depends on specific task requirements, which may necessitate the use of external resources such as documentation or other tools. Therefore, 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. Besides, the paper 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.

연구 동기 및 목표

  • 개발자를 보조하기 위한 반복적이거나 작업 특화된 코딩 작업에 대한 코드 생성 연구를 촉진한다.
  • 코드 특징 기반, 검색 포함, 사후 처리의 세 가지 범주로 기존의 딥 러닝 기반 코드 생성 방법을 분류한다.
  • 코드 생성 연구에서 사용된 코퍼스와 인기 있는 평가 지표를 요약한다.
  • 기존 결과를 분석하고 도메인의 향후 방향을 제시한다.

제안 방법

  • 문헌을 세 가지 범주로 분류한다: 특징 기반 코드 생성, 검색 보강 방법, 그리고 사후 처리 기술.
  • 각 범주에 대해 기존 결과를 체계적으로 검토한다.
  • 코드 생성 연구에 사용된 코퍼스를 요약하고 분석한다.
  • 문헌에서 사용된 평가 지표를 요약하고 분석한다.
  • 향후 연구 방향에 대한 전망을 제시한다.

실험 결과

연구 질문

  • RQ1문헌에서 식별된 딥 러닝 기반 코드 생성 방법의 주요 범주는 무엇인가?
  • RQ2코드 생성 연구에 일반적으로 사용되는 코퍼스와 데이터세트는 무엇인가?
  • RQ3코드 생성 품질을 평가하기 위해 어떤 평가 지표와 벤치마크가 사용되는가?
  • RQ4딥 러닝 기반 코드 생성에서 제안된 향후 연구 방향과 남은 과제는 무엇인가?

주요 결과

  • 문헌은 세 가지 범주로 조직된다: 코드 특징 기반 방법, 검색 강화 방법, 그리고 사후 처리 방법.
  • 논문은 기존 결과를 체계적으로 검토하고 각 범주의 강점과 한계에 대해 논평한다.
  • 본 연구는 코드 생성 연구에 사용된 코퍼스와 인기 평가 지표를 요약하고 분석한다.
  • 논문은 이 분야의 향후 연구 방향에 대한 전망을 제시한다.
  • 본 검토는 딥 러닝 기반 코드 생성의 현황과 격차에 대한 구조화된 종합을 제시한다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.