mlsanityData to 14 Oct 2026

RepairLLaMA: Efficient Representations and Fine-Tuned Adapters for Program Repair

arXiv 2312.15698 ↗First posted 25 Dec 2023cs.SE cs.LGcited by 50

Not on the map. Why?

Abstract (arXiv)

Automated Program Repair (APR) has evolved significantly with the advent of Large Language Models (LLMs). Fine-tuning LLMs for program repair is a recent avenue of research, with many dimensions which have not been explored. Existing work mostly fine-tune LLMs with naive code representations and does not scale to frontier models. To address this problem, we propose RepairLLaMA, a novel program repair approach that 1) identifies optimal code representations for APR with fine-tuned models, and 2) pioneers state-of-the-art parameter-efficient fine-tuning technique (PEFT) for program repair. This results in RepairLLaMA producing a highly effective `program repair adapter' for fixing bugs with AI. Our experiments demonstrate the validity of both concepts. First, fine-tuning adapters with program repair specific code representations enables the model to use meaningful repair signals and produce better patches. Second, parameter-efficient fine-tuning helps fine-tuning to converge and clearly contributes to the effectiveness of RepairLLaMA in fixing bugs outside the fine-tuning data distribution. Overall, RepairLLaMA correctly fixes 144 Defects4J v2, 109 HumanEval-Java, and 20 GitBug-Java bugs, outperforming all baselines.

Key facts. Cited by 50 papers in the map (data through 14 Oct 2026). Builds on 40 of its 72 references that are in the map. First posted on arXiv 25 Dec 2023.

Builds on

40 of 72 references.

References · 40

  1. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  3. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  4. 2023Code Llama: Open Foundation Models for Codecited by 2,139
  5. 2023StarCoder: may the source be with you!cited by 799
  6. 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 498
  7. 2022Efficient Training of Language Models to Fill in the Middlecited by 255
  8. 2023OctoPack: Instruction Tuning Code Large Language Modelscited by 189
  9. 2018SequenceR: Sequence-to-Sequence Learning for End-to-End Program Repaircited by 145
  10. 2022On the Effectiveness of Parameter-Efficient Fine-Tuningcited by 141
  11. 2023Full Parameter Fine-tuning for Large Language Models with Limited Resourcescited by 134
  12. 2023InferFix: End-to-End Program Repair with LLMscited by 114
28 more
  1. 2020Graph-based, Self-Supervised Program Repair from Diagnostic Feedbackcited by 94
  2. 2021CURE: Code-Aware Neural Machine Translation for Automatic Program Repaircited by 86
  3. 2023Impact of Code Language Models on Automated Program Repaircited by 85
  4. 2022Less Training, More Repairing Please: Revisiting Automated Program Repair via Zero-shot Learningcited by 76
  5. 2022Repair Is Nearly Generation: Multilingual Program Repair with LLMscited by 68
  6. 2021A Syntax-Guided Edit Decoder for Neural Program Repaircited by 57
  7. 2023Copiloting the Copilots: Fusing Large Language Models with Completion Engines for Automated Program Repaircited by 55
  8. 2023LLaMA-Reviewer: Advancing Code Review Automation with Large Language Models through Parameter-Efficient Fine-Tuningcited by 47
  9. 2022CoditT5: Pretraining for Source Code and Natural Language Editingcited by 45
  10. 2023RAP-Gen: Retrieval-Augmented Patch Generation with CodeT5 for Automatic Program Repaircited by 44
  11. 2022No More Fine-Tuning? An Experimental Evaluation of Prompt Tuning in Code Intelligencecited by 41
  12. 2021Neural Transfer Learning for Repairing Security Vulnerabilities in C Codecited by 36
  13. 2022SelfAPR: Self-supervised Program Repair with Test Execution Diagnosticscited by 33
  14. 2023A Critical Review of Large Language Model on Software Engineering: An Example from ChatGPT and Automated Program Repaircited by 29
  15. 2023Exploring Parameter-Efficient Fine-Tuning Techniques for Code Generation with Large Language Modelscited by 28
  16. 2023Towards Efficient Fine-tuning of Pre-trained Code Models: An Experimental Study and Beyondcited by 20
  17. 2022CIRCLE: Continual Repair across Programming Languagescited by 17
  18. 2023One Adapter for All Programming Languages? Adapter Tuning for Code Search and Summarizationcited by 16
  19. 2023ITER: Iterative Neural Repair for Multi-Location Patchescited by 16
  20. 2019Harnessing Evolution for Multi-Hunk Program Repaircited by 12
  21. 2021Megadiff: A Dataset of 600k Java Source Code Changes Categorized by Diff Sizecited by 10
  22. 2022Improving Automated Program Repair with Domain Adaptationcited by 10
  23. 2023Enhancing Automated Program Repair through Fine-tuning and Prompt Engineeringcited by 10
  24. 2023Revisiting the Plastic Surgery Hypothesis via Large Language Modelscited by 7
  25. 2023Fixing Rust Compilation Errors using LLMscited by 7
  26. 2021A Controlled Experiment of Different Code Representations for Learning-Based Bug Repaircited by 5
  27. 2023A Chain of AI-based Solutions for Resolving FQNs and Fixing Syntax Errors in Partial Codecited by 4
  28. 2023Program Repair with Minimal Edits Using CodeT5cited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 19; 2025: 18; 2026: 13.

50 papers.

Sort:

By area:

  1. 2024When LLMs Meet Cybersecurity: A Systematic Literature Reviewcited by 71
  2. 2024Large Language Models for Cyber Security: A Systematic Literature Reviewcited by 68
  3. 2024A Survey on LoRA of Large Language Modelscited by 67
  4. 2024CTIBench: A Benchmark for Evaluating LLMs in Cyber Threat Intelligencecited by 62
  5. 2024CodeUltraFeedback: An LLM-as-a-Judge Dataset for Aligning Large Language Models to Coding Preferencescited by 57
  6. 2024Can LLMs Replace Manual Annotation of Software Engineering Artifacts?cited by 42
  7. 2024Low-Rank Adaptation for Foundation Models: A Comprehensive Reviewcited by 37
  8. 2025Llama-3.1-FoundationAI-SecurityLLM-Base-8B Technical Reportcited by 31
  9. 2025SWE-Synth: Synthesizing Verifiable Bug-Fix Data to Enable Large Language Models in Resolving Real-World Bugscited by 22
  10. 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 15
  11. 2024SECURE: Benchmarking Large Language Models for Cybersecuritycited by 14
  12. 2024COAST: Enhancing the Code Debugging Ability of LLMs through Communicative Agent Based Data Synthesiscited by 13
38 more
  1. 2024Collu-Bench: A Benchmark for Predicting Language Model Hallucinations in Codecited by 13
  2. 2024Are Large Language Models Memorizing Bug Benchmarks?cited by 12
  3. 2025Seeing is Fixing: Cross-Modal Reasoning with Multimodal LLMs for Visual Software Issue Fixingcited by 12
  4. 2024RepairBench: Leaderboard of Frontier Models for Program Repaircited by 9
  5. 2026SGAgent: Suggestion-Guided LLM-Based Multi-Agent Framework for Repository-Level Software Repaircited by 9
  6. 2024Enhancing Automated Program Repair with Solution Designcited by 8
  7. 2025The Art of Repair: Optimizing Iterative Program Repair with Instruction-Tuned Modelscited by 7
  8. 2026RepoRepair: Leveraging Code Documentation for Repository-Level Automated Program Repaircited by 6
  9. 2024Towards Reliable Evaluation of Neural Program Repair with Natural Robustness Testingcited by 5
  10. 2024Memory-Efficient Large Language Models for Program Repair with Semantic-Guided Patch Generationcited by 5
  11. 2025Automated Cloud Infrastructure-as-Code Reconciliation with AI Agentscited by 5
  12. 2024Integrating Various Software Artifacts for Better LLM-based Bug Localization and Program Repaircited by 4
  13. 2025DefenderBench: A Toolkit for Evaluating Language Agents in Cybersecurity Environmentscited by 4
  14. 2025Evaluating the Generalizability of LLMs in Automated Program Repaircited by 3
  15. 2025The Impact of Fine-tuning Large Language Models on Automated Program Repaircited by 3
  16. 2025Wisdom and Delusion of LLM Ensembles for Code Generation and Repaircited by 3
  17. 2024Distilling Desired Comments for Enhanced Code Review with Large Language Modelscited by 2
  18. 2025Treefix: Enabling Execution with a Tree of Prefixescited by 2
  19. 2025Are Sparse Autoencoders Useful for Java Function Bug Detection?cited by 2
  20. 2025RefactorCoderQA: Benchmarking LLMs for Multi-Domain Coding Question Solutions in Cloud and Edge Deploymentcited by 2
  21. 2026FailureMem: A Failure-Aware Multimodal Framework for Autonomous Software Repaircited by 2
  22. 2025From Empirical Evaluation to Context-Aware Enhancement: Repairing Regression Errors with LLMscited by 1
  23. 2025Accelerating Automatic Program Repair with Dual Retrieval-Augmented Fine-Tuning and Patch Generation on Large Language Modelscited by 1
  24. 2025Empirical Study of Code Large Language Models for Binary Security Patch Detectioncited by 1
  25. 2025Collaborative Agents for Automated Program Repair in Rubycited by 1
  26. 2026BoostAPR: Boosting Automated Program Repair via Execution-Grounded Reinforcement Learning with Dual Reward Modelscited by 1
  27. 2024Peer-aided Repairer: Empowering Large Language Models to Repair Advanced Student Assignmentscited by 0
  28. 2024MergeRepair: An Exploratory Study on Merging Task-Specific Adapters in Code LLMs for Automated Program Repaircited by 0
  29. 2025Rethinking and Exploring String-Based Malware Family Classification in the Era of LLMs and RAGcited by 0
  30. 2026Anticipating Adversary Behavior in DevSecOps Scenarios through Large Language Modelscited by 0
  31. 2026Fine-grained Approaches for Confidence Calibration of LLMs in Automated Code Revisioncited by 0
  32. 2026Constraint-Guided Multi-Agent Decompilation for Executable Binary Recoverycited by 0
  33. 2026Low Rank Adaptation for Adversarial Perturbationcited by 0
  34. 2026Signal Reshaping for GRPO in Weak-Feedback Agentic Code Repaircited by 0
  35. 2026Recti-Q: Feature-Space Rectification for Out-of-Distribution-Robust Quantized Perception in Edge Roboticscited by 0
  36. 2026MultiFixer: A Coordinator-Proposer Based Multi-Agent Framework For Fixing Multi-Hunk Bugscited by 0
  37. 2026The Order Is the Guarantee: Verifier-Budgeted Code Deletion with Static-First Learned Proposalscited by 0
  38. 2026Does Fault Localization Beat a Fresh Attempt? A Placebo-Controlled Study of Test-Guided Code Repaircited by 0