Enhancing Automated Program Repair through Fine-tuning and Prompt Engineering
Not on the map. Why?
Abstract (arXiv)
Sequence-to-sequence models have been used to transform erroneous programs into correct ones when trained with a large enough dataset. Some recent studies also demonstrated strong empirical evidence that code review could improve the program repair further. Large language models, trained with Natural Language (NL) and Programming Language (PL), can contain inherent knowledge of both. In this study, we investigate if this inherent knowledge of PL and NL can be utilized to improve automated program repair. We applied PLBART and CodeT5, two state-of-the-art language models that are pre-trained with both PL and NL, on two such natural language-based program repair datasets and found that the pre-trained language models fine-tuned with datasets containing both code review and subsequent code changes notably outperformed each of the previous models. With the advent of code generative models like Codex and GPT-3.5-Turbo, we also performed zero-shot and few-shots learning-based prompt engineering to assess their performance on these datasets. However, the practical application of using LLMs in the context of automated program repair is still a long way off based on our manual analysis of the generated repaired codes by the learning models.
Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Builds on 30 of its 59 references that are in the map. First posted on arXiv 16 Apr 2023.
Builds on
30 of 59 references.
References · 30
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,986
- 2022Emergent Abilities of Large Language Modelscited by 2,512
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,234
- 2020Extracting Training Data from Large Language Modelscited by 2,189
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
18 more
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 885
- 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 609
- 2017Convolutional Sequence to Sequence Learningcited by 552
- 2017Zero-Shot Learning -- A Comprehensive Evaluation of the Good, the Bad and the Uglycited by 538
- 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 479
- 2021Asleep at the Keyboard? Assessing the Security of GitHub Copilot's Code Contributionscited by 431
- 2021Unified Pre-training for Program Understanding and Generationcited by 366
- 2018Bottom-Up Abstractive Summarizationcited by 177
- 2022GitHub Copilot AI pair programmer: Asset or Liability?cited by 152
- 2018SequenceR: Sequence-to-Sequence Learning for End-to-End Program Repaircited by 145
- 2021Cutting Down on Prompts and Parameters: Simple Few-Shot Learning with Language Modelscited by 139
- 2021Towards Automating Code Review Activitiescited by 54
- 2019Getafix: Learning to Fix Bugs Automaticallycited by 41
- 2022Piloting Copilot, Codex, and StarCoder2: Hot Temperature, Cold Prompts, or Black Magic?cited by 14
- 2023Towards Generating Functionally Correct Code Edits from Natural Language Issue Descriptionscited by 14
- 2020Review4Repair: Code Review Aided Automatic Program Repairingcited by 13
- 2022On the Effectiveness of Pretrained Models for API Learningcited by 9
- 2014Automatic Repair of Buggy If Conditions and Missing Preconditions with SMTcited by 7
Built on by
Citing papers per year: 2023: 3; 2024: 3; 2025: 4.
10 papers.
- 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 399
- 2024Large Language Models for Cyber Security: A Systematic Literature Reviewcited by 68
- 2024NExT: Teaching Large Language Models to Reason about Code Executioncited by 63
- 2023Unifying the Perspectives of NLP and Software Engineering: A Survey on Language Models for Codecited by 62
- 2023RepairLLaMA: Efficient Representations and Fine-Tuned Adapters for Program Repaircited by 50
- 2024CigaR: Cost-efficient Program Repair with LLMscited by 15
- 2025Hallucination to Consensus: Multi-Agent LLMs for End-to-End JUnit Test Generationcited by 9
- 2025The Impact of Fine-tuning Large Language Models on Automated Program Repaircited by 3
- 2025DynaFix: Iterative Automated Program Repair Driven by Execution-Level Dynamic Informationcited by 3
- 2025Kodezi Chronos: A Debugging-First Language Model for Repository-Scale Code Understandingcited by 0
- 2025DynaFix: Iterative Automated Program Repair Driven by Execution-Level Dynamic Information31 Dec 2025
- 2025The Impact of Fine-tuning Large Language Models on Automated Program Repair26 Jul 2025
- 2025Kodezi Chronos: A Debugging-First Language Model for Repository-Scale Code Understanding14 Jul 2025
- 2025Hallucination to Consensus: Multi-Agent LLMs for End-to-End JUnit Test Generation3 Jun 2025
- 2024Large Language Models for Cyber Security: A Systematic Literature Review8 May 2024
- 2024NExT: Teaching Large Language Models to Reason about Code Execution23 Apr 2024
- 2024CigaR: Cost-efficient Program Repair with LLMs9 Feb 2024
- 2023RepairLLaMA: Efficient Representations and Fine-Tuned Adapters for Program Repair25 Dec 2023
- 2023Unifying the Perspectives of NLP and Software Engineering: A Survey on Language Models for Code14 Nov 2023
- 2023Large Language Models for Software Engineering: A Systematic Literature Review21 Aug 2023