mlsanityData to 14 Oct 2026

Enhancing Automated Program Repair through Fine-tuning and Prompt Engineering

arXiv 2304.07840 ↗First posted 16 Apr 2023cs.LG cs.SEcited by 10

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  5. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  6. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
  7. 2014Sequence to Sequence Learning with Neural Networkscited by 2,986
  8. 2022Emergent Abilities of Large Language Modelscited by 2,512
  9. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,234
  10. 2020Extracting Training Data from Large Language Modelscited by 2,189
  11. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
  12. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
18 more
  1. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 885
  2. 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 609
  3. 2017Convolutional Sequence to Sequence Learningcited by 552
  4. 2017Zero-Shot Learning -- A Comprehensive Evaluation of the Good, the Bad and the Uglycited by 538
  5. 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 479
  6. 2021Asleep at the Keyboard? Assessing the Security of GitHub Copilot's Code Contributionscited by 431
  7. 2021Unified Pre-training for Program Understanding and Generationcited by 366
  8. 2018Bottom-Up Abstractive Summarizationcited by 177
  9. 2022GitHub Copilot AI pair programmer: Asset or Liability?cited by 152
  10. 2018SequenceR: Sequence-to-Sequence Learning for End-to-End Program Repaircited by 145
  11. 2021Cutting Down on Prompts and Parameters: Simple Few-Shot Learning with Language Modelscited by 139
  12. 2021Towards Automating Code Review Activitiescited by 54
  13. 2019Getafix: Learning to Fix Bugs Automaticallycited by 41
  14. 2022Piloting Copilot, Codex, and StarCoder2: Hot Temperature, Cold Prompts, or Black Magic?cited by 14
  15. 2023Towards Generating Functionally Correct Code Edits from Natural Language Issue Descriptionscited by 14
  16. 2020Review4Repair: Code Review Aided Automatic Program Repairingcited by 13
  17. 2022On the Effectiveness of Pretrained Models for API Learningcited by 9
  18. 2014Automatic Repair of Buggy If Conditions and Missing Preconditions with SMTcited by 7

Built on by

Cited by year

Citing papers per year: 2023: 3; 2024: 3; 2025: 4.

10 papers.