收藏切换
Survey of Large-Language-Model-Based Automated Program Repair
收藏切换
Pengyu Xu1, Boyu Kuang1, Mang Su2, Anmin Fu1, 2, *
Journal of Computer Research and Development | 2025, 62(8) : 2040 - 2057
Less
收藏切换
Journal of Computer Research and Development | 2025, 62(8): 2040-2057
• Network and Information Security •
Survey of Large-Language-Model-Based Automated Program Repair
Full
Pengyu Xu1, Boyu Kuang1, Mang Su2, Anmin Fu1, 2, *
Affiliations
  • 1School of Cyber Science and Engineering, Nanjing University of Science and Technology, Nanjing 210094
  • 2School of Computer Science and Engineering, Nanjing University of Science and Technology, Nanjing 210094
  • born in 1999. Master candidate. His main research interests include large language model and automated program repair

    born in 1994. PhD. His main research interests include IoT security and IoV security

    born in 1987. PhD, associate professor. Her main research interests include cloud security, access control, and right management

    born in 1981. PhD, professor, PhD supervisor. Senior member of CCF. His main research interests include cryptography and privacy preserving

About Author:

born in 1999. Master candidate. His main research interests include large language model and automated program repair

born in 1994. PhD. His main research interests include IoT security and IoV security

born in 1987. PhD, associate professor. Her main research interests include cloud security, access control, and right management

born in 1981. PhD, professor, PhD supervisor. Senior member of CCF. His main research interests include cryptography and privacy preserving

Published: 2025-08-01 doi: 10.7544/issn1000-1239.202440467
Outline
收藏切换

Software systems play an indispensable role across various industries, handling large-scale and high-density data. However, the numerous defects within these systems have troubled developers for a long time, constantly threatening the security of data elements. Automated program repair (APR) technology aims to assist developers in automatically fixing defects in code during software development process, thereby saving costs in software system development and maintenance, enhancing the confidentiality, availability, and integrity of data elements within software systems. With the development of large language model (LLM) technology, many powerful code large language models have emerged. These models have demonstrated strong repair capabilities in the APR field, while also addressing shortcomings of traditional approaches in code comprehension and patch generation capabilities, further elevating the level of program repair tools. We thoroughly survey high-quality papers related to APR in recent years, summarizing the latest developments in the field. We then systematically categorize two types of LLM-based APR techniques: cloze style and neural machine translation style. We also conduct an in-depth comparison from various perspectives such as model usage, model size, types of defects repaired, programming languages involved, and the pros and cons of repair approaches. Additionally, we discuss the widely adopted APR datasets and metrics, and outline existing empirical studies. Finally, we summarize current challenges in the APR field along with future research directions.

automated program repair (APR)  /  large language model (LLM)  /  code large language model  /  software defect  /  patch generation
许鹏宇, 况博裕, 苏铓, 付安民. 基于大语言模型的自动代码修复综述. 计算机研究与发展, 2025 , 62 (8) : 2040 -2057 . DOI: 10.7544/issn1000-1239.202440467
Pengyu Xu, Boyu Kuang, Mang Su, Anmin Fu. Survey of Large-Language-Model-Based Automated Program Repair[J]. Journal of Computer Research and Development, 2025 , 62 (8) : 2040 -2057 . DOI: 10.7544/issn1000-1239.202440467
Year 2025 volume 62 Issue 8
156
72
Cite this Article
BibTeX
Article Info
doi: 10.7544/issn1000-1239.202440467
  • Receive Date:2024-06-05
  • Online Date:2026-11-10
  • Published:2025-08-01
Article Data
Affiliations
History
  • Received:2024-06-05
  • Revised:2024-10-22
  • Accepted:2024-11-13
Affiliations
    1School of Cyber Science and Engineering, Nanjing University of Science and Technology, Nanjing 210094
    2School of Computer Science and Engineering, Nanjing University of Science and Technology, Nanjing 210094
References
Share
https://castjournals.cast.org.cn/joweb/jsjyjyfz/EN/10.7544/issn1000-1239.202440467
Share to
QR

Scan QR to access full text

Cite this article
BibTeX
Citations
表12种不同金属材料的力学参数
科
Family
属数
Number of
genus
种数
Number of
species
占总种数比例
Percentage of
total species (%)
属
Genus
种数
Number of
species
占总种数比例
Percentage of total
species (%)
鹅膏菌科Amanitaceae 2 11 5.26 鹅膏菌属 Amanita 10 4.78
小菇科 Mycenaceae 2 12 5.74 丝盖伞属 Inocybe 5 2.39
多孔菌科 Polyporaceae 8 14 6.70 蜡蘑属 Laccaria 5 2.39
红菇科 Russulaceae 3 23 11.00 小皮伞属 Marasmius 6 2.87
小菇属 Mycena 11 5.26
光柄菇属 Pluteus 5 2.39
红菇属 Russula 17 8.13
栓菌属 Trametes 5 2.39
关闭全屏
  • BibTeX
  • EndNote
  • RefWorks
  • TxT