Skip to main content
QUICK REVIEW

[論文レビュー] Deep Learning Based Code Generation Methods: Literature Review

Zezhou Yang, Sirong Chen|arXiv (Cornell University)|Mar 2, 2023
Software Engineering ResearchComputer Science被引用数 10
ひとこと要約

この論文は深層学習ベースのコード生成を系統的にレビューし、手法を3つのグループ(コード特徴、検索強化、後処理)に分類し、コーパス、指標、将来の方向性を分析します。

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.

研究の動機と目的

  • 反復的またはタスク特有のコーディングタスクを支援するためのコード生成の研究を動機づける。
  • 既存の深層学習ベースのコード生成手法をコード特徴ベース、検索インコーポレート、そしてポスト処理の3カテゴリに分類する。
  • コード生成研究で使用されるコーパスと一般的な評価指標を要約する。
  • 既存の結果を分析し、ドメインの将来の方向性を提供する。

提案手法

  • 既存の文献を、特徴ベースのコード生成、検索強化手法、ポスト処理技術の3カテゴリーに分類する。
  • 各カテゴリの既存の結果を系統的にレビューする。
  • コード生成研究で使用されるコーパスを要約して分析する。
  • 文献で使用される評価指標を要約して分析する。
  • 将来の研究方向について前向きな議論を提供する。

実験結果

リサーチクエスチョン

  • RQ1文献で特定された深層学習ベースのコード生成手法の主なカテゴリは何ですか?
  • RQ2コード生成研究で一般的に使用されるコーパスとデータセットは何ですか?
  • RQ3コード生成品質を評価するためにどのような評価指標とベンチマークが用いられていますか?
  • RQ4深層学習ベースのコード生成における将来の研究方向と未解決の課題は何ですか?

主な発見

  • 文献は3つのカテゴリに整理されている:コード特徴ベースの手法、検索強化手法、ポスト処理手法。
  • 論文は既存の結果を体系的にレビューし、各カテゴリの長所と限界についてコメントしている。
  • 本研究はコード生成研究で使用されるコーパスと一般的な評価指標を要約・分析する。
  • 本論文は分野の将来の研究方向に関する展望を提供している。
  • このレビューは深層学習ベースのコード生成の現在の進展とギャップを構造的に統合している。

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。