arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2405.01466cs.SE
收藏

基于大型语言模型的自动程序修复系统文献综述

A Systematic Literature Review on Large Language Models for Automated Program Repair

Nanjing University of Science and Technology(南京理工大学);Nanjing University(南京大学);Nanyang Technological University(南洋理工大学);Swinburne University of Technology(斯威本科技大学)

Quanjun Zhang, Chunrong Fang, Yang Xie, YuXiang Ma, Weisong Sun, Yun Yang, Zhenyu Chen

AI总结:

本文系统综述了2020-2025年间基于大型语言模型的自动程序修复技术,分析了其应用、挑战与未来方向。

摘要:

自动程序修复(APR)试图修补软件错误并减少手动调试的努力。非常最近,随着大型语言模型(LLMs)的进步,越来越多的APR技术被提出,促进了软件开发和维护,并展示了显著的性能。然而,由于在基于LLM的APR领域中持续的探索,研究人员难以了解当前的成就、挑战和潜在机会。本工作提供了首次系统性的文献综述,总结了LLMs在APR中的应用,时间范围为2020年至2025年。我们分析了189篇相关的论文,涵盖LLMs、APR及其整合视角。首先,我们分类了现有流行的LLMs,用于支持APR,并概述了四种类型的利用策略。此外,我们详细描述了一些特定的修复场景,例如语义错误和安全漏洞。此外,我们讨论了将LLMs整合到APR研究中的几个关键方面,例如输入形式和开放科学。最后,我们强调了一组尚未被研究的挑战以及未来研究的潜在指南。总体而言,本文为APR社区提供了系统性的研究概述,帮助研究人员全面了解成就并推动未来研究。

英文摘要:

Automated Program Repair (APR) attempts to patch software bugs and reduce manual debugging efforts. Very recently, with the advances in Large Language Models (LLMs), an increasing number of APR techniques have been proposed, facilitating software development and maintenance and demonstrating remarkable performance. However, due to ongoing explorations in the LLM-based APR field, it is challenging for researchers to understand the current achievements, challenges, and potential opportunities. This work provides the first systematic literature review to summarize the applications of LLMs in APR between 2020 and 2025. We analyze 189 relevant papers from LLMs, APR and their integration perspectives. First, we categorize existing popular LLMs that are applied to support APR and outline four types of utilization strategies for their deployment. Besides, we detail some specific repair scenarios that benefit from LLMs, e.g., semantic bugs and security vulnerabilities. Furthermore, we discuss several critical aspects of integrating LLMs into APR research, e.g., input forms and open science. Finally, we highlight a set of challenges remaining to be investigated and the potential guidelines for future research. Overall, our paper provides a systematic overview of the research landscape to the APR community, helping researchers gain a comprehensive understanding of achievements and promote future research.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑