The use of large language models for program repair

被引:0
作者
Zubair, Fida [1 ]
Al-Hitmi, Maryam [1 ]
Catal, Cagatay [1 ]
机构
[1] Qatar Univ, Coll Engn, Dept Comp Sci & Engn, Doha 2713, Qatar
关键词
Large language model; Program repair; Software engineering; Automated program repair;
D O I
10.1016/j.csi.2024.103951
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Large Language Models (LLMs) have emerged as a promising approach for automated program repair, offering code comprehension and generation capabilities that can address software bugs. Several program repair models based on LLMs have been developed recently. However, findings and insights from these efforts are scattered across various studies, lacking a systematic overview of LLMs' utilization in program repair. Therefore, this Systematic Literature Review (SLR) was conducted to investigate the current landscape of LLM utilization in program repair. This study defined seven research questions and thoroughly selected 41 relevant studies from scientific databases to explore these questions. The results showed the diverse capabilities of LLMs for program repair. The findings revealed that Encoder-Decoder architectures emerged as the most common LLM design for program repair tasks and that mostly open-access datasets were used. Several evaluation metrics were applied, primarily consisting of accuracy, exact match, and BLEU scores. Additionally, the review investigated several LLM fine-tuning methods, including fine-tuning on specialized datasets, curriculum learning, iterative approaches, and knowledge-intensified techniques. These findings pave the way for further research on utilizing the full potential of LLMs to revolutionize automated program repair.
引用
收藏
页数:12
相关论文
共 69 条
  • [1] AudioLM: A Language Modeling Approach to Audio Generation
    Borsos, Zalan
    Marinier, Raphael
    Vincent, Damien
    Kharitonov, Eugene
    Pietquin, Olivier
    Sharifi, Matt
    Roblek, Dominik
    Teboul, Olivier
    Grangier, David
    Tagliasacchi, Marco
    Zeghidour, Neil
    [J]. IEEE-ACM TRANSACTIONS ON AUDIO SPEECH AND LANGUAGE PROCESSING, 2023, 31 : 2523 - 2533
  • [2] Vul4J: A Dataset of Reproducible Java']Java Vulnerabilities Geared Towards the Study of Program Repair Techniques
    Bui, Quang-Cuong
    Scandariato, Riccardo
    Ferreyra, Nicolas E. Diaz
    [J]. 2022 MINING SOFTWARE REPOSITORIES CONFERENCE (MSR 2022), 2022, : 464 - 468
  • [3] A Survey on Evaluation of Large Language Models
    Chang, Yupeng
    Wang, Xu
    Wang, Jindong
    Wu, Yuan
    Yang, Linyi
    Zhu, Kaijie
    Chen, Hao
    Yi, Xiaoyuan
    Wang, Cunxiang
    Wang, Yidong
    Ye, Wei
    Zhang, Yue
    Chang, Yi
    Yu, Philip S.
    Yang, Qiang
    Xie, Xing
    [J]. ACM TRANSACTIONS ON INTELLIGENT SYSTEMS AND TECHNOLOGY, 2024, 15 (03)
  • [4] Chang YP, 2023, Arxiv, DOI arXiv:2307.03109
  • [5] Chen M., 2021, arXiv, DOI 10.48550/ARXIV.2107.03374
  • [6] FixJS']JS: A Dataset of Bug-fixing Java']JavaScript Commits
    Csuvik, Viktor
    Vidacs, Laszlo
    [J]. 2022 MINING SOFTWARE REPOSITORIES CONFERENCE (MSR 2022), 2022, : 712 - 716
  • [7] A C/C plus plus Code Vulnerability Dataset with Code Changes and CVE Summaries
    Fan, Jiahao
    Li, Yi
    Wang, Shaohua
    Nguyen, Tien N.
    [J]. 2020 IEEE/ACM 17TH INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES, MSR, 2020, : 508 - 512
  • [8] Fan ZY, 2022, Arxiv, DOI arXiv:2205.10583
  • [9] Feng ZY, 2024, Arxiv, DOI arXiv:2311.05876
  • [10] VulRepair: A T5-Based Automated Software Vulnerability Repair
    Fu, Michael
    Tantithamthavorn, Chakkrit
    Trung Le
    Van Nguyen
    Dinh Phung
    [J]. PROCEEDINGS OF THE 30TH ACM JOINT MEETING EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, ESEC/FSE 2022, 2022, : 935 - 947