Saved in:
Bibliographic Details
Main Authors: Anand, Avinash, Gupta, Akshit, Yadav, Nishchay, Bajaj, Shaurya
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2411.07586
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912115767377920
author Anand, Avinash
Gupta, Akshit
Yadav, Nishchay
Bajaj, Shaurya
author_facet Anand, Avinash
Gupta, Akshit
Yadav, Nishchay
Bajaj, Shaurya
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2411_07586
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle A Comprehensive Survey of AI-Driven Advancements and Techniques in Automated Program Repair and Code Generation
Anand, Avinash
Gupta, Akshit
Yadav, Nishchay
Bajaj, Shaurya
Artificial Intelligence
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.
title A Comprehensive Survey of AI-Driven Advancements and Techniques in Automated Program Repair and Code Generation
topic Artificial Intelligence
url https://arxiv.org/abs/2411.07586