A Comprehensive Survey of AI-Driven Advancements and Techniques in Automated Program Repair and Code Generation

Avinash Anand, Akshit Gupta, Nishchay Yadav, Shaurya Bajaj
11/12/2024
cs.AI

No confident code implementation found for this paper.

Abstract

Bug fixing and code generation have been core research topics in software development for many years. The recent explosive growth in Large Language Models has completely transformed these spaces, putting in reach incredibly powerful tools for both. In this survey, 27 recent papers have been reviewed and split into two groups: one dedicated to Automated Program Repair (APR) and LLM integration and the other to code generation using LLMs. The first group consists of new methods for bug detection and repair, which include locating semantic errors, security vulnerabilities, and runtime failure bugs. The place of LLMs in reducing manual debugging efforts is emphasized in this work by APR toward context-aware fixes, with innovations that boost accuracy and efficiency in automatic debugging. The second group dwells on code generation, providing an overview of both general-purpose LLMs fine-tuned for programming and task-specific models. It also presents methods to improve code generation, such as identifier-aware training, fine-tuning at the instruction level, and incorporating semantic code structures. This survey work contrasts the methodologies in APR and code generation to identify trends such as using LLMs, feedback loops to enable iterative code improvement and open-source models. It also discusses the challenges of achieving functional correctness and security and outlines future directions for research in LLM-based software development.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{anand2024comprehensive,
  title  = {A Comprehensive Survey of AI-Driven Advancements and Techniques in Automated Program Repair and Code Generation},
  author = {Avinash Anand and Akshit Gupta and Nishchay Yadav and Shaurya Bajaj},
  year   = {2024},
  eprint = {2411.07586},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.07586v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.07586.svg)](https://codeofpaper.com/paper/2411.07586)

Discussion