RepairLLaMA: Efficient Representations and Fine-Tuned Adapters for Program Repair
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
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2023Code Llama: Open Foundation Models for Codecited by 2,139
- 2023StarCoder: may the source be with you!cited by 799
- 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 498
- 2022Efficient Training of Language Models to Fill in the Middlecited by 255
- 2023OctoPack: Instruction Tuning Code Large Language Modelscited by 189
- 2018SequenceR: Sequence-to-Sequence Learning for End-to-End Program Repaircited by 145
- 2022On the Effectiveness of Parameter-Efficient Fine-Tuningcited by 141
- 2023Full Parameter Fine-tuning for Large Language Models with Limited Resourcescited by 134
- 2023InferFix: End-to-End Program Repair with LLMscited by 114
28 more
- 2020Graph-based, Self-Supervised Program Repair from Diagnostic Feedbackcited by 94
- 2021CURE: Code-Aware Neural Machine Translation for Automatic Program Repaircited by 86
- 2023Impact of Code Language Models on Automated Program Repaircited by 85
- 2022Less Training, More Repairing Please: Revisiting Automated Program Repair via Zero-shot Learningcited by 76
- 2022Repair Is Nearly Generation: Multilingual Program Repair with LLMscited by 68
- 2021A Syntax-Guided Edit Decoder for Neural Program Repaircited by 57
- 2023Copiloting the Copilots: Fusing Large Language Models with Completion Engines for Automated Program Repaircited by 55
- 2023LLaMA-Reviewer: Advancing Code Review Automation with Large Language Models through Parameter-Efficient Fine-Tuningcited by 47
- 2022CoditT5: Pretraining for Source Code and Natural Language Editingcited by 45
- 2023RAP-Gen: Retrieval-Augmented Patch Generation with CodeT5 for Automatic Program Repaircited by 44
- 2022No More Fine-Tuning? An Experimental Evaluation of Prompt Tuning in Code Intelligencecited by 41
- 2021Neural Transfer Learning for Repairing Security Vulnerabilities in C Codecited by 36
- 2022SelfAPR: Self-supervised Program Repair with Test Execution Diagnosticscited by 33
- 2023A Critical Review of Large Language Model on Software Engineering: An Example from ChatGPT and Automated Program Repaircited by 29
- 2023Exploring Parameter-Efficient Fine-Tuning Techniques for Code Generation with Large Language Modelscited by 28
- 2023Towards Efficient Fine-tuning of Pre-trained Code Models: An Experimental Study and Beyondcited by 20
- 2022CIRCLE: Continual Repair across Programming Languagescited by 17
- 2023One Adapter for All Programming Languages? Adapter Tuning for Code Search and Summarizationcited by 16
- 2023ITER: Iterative Neural Repair for Multi-Location Patchescited by 16
- 2019Harnessing Evolution for Multi-Hunk Program Repaircited by 12
- 2021Megadiff: A Dataset of 600k Java Source Code Changes Categorized by Diff Sizecited by 10
- 2022Improving Automated Program Repair with Domain Adaptationcited by 10
- 2023Enhancing Automated Program Repair through Fine-tuning and Prompt Engineeringcited by 10
- 2023Revisiting the Plastic Surgery Hypothesis via Large Language Modelscited by 7
- 2023Fixing Rust Compilation Errors using LLMscited by 7
- 2021A Controlled Experiment of Different Code Representations for Learning-Based Bug Repaircited by 5
- 2023A Chain of AI-based Solutions for Resolving FQNs and Fixing Syntax Errors in Partial Codecited by 4
- 2023Program Repair with Minimal Edits Using CodeT5cited by 2
Built on by
Citing papers per year: 2024: 19; 2025: 18; 2026: 13.
50 papers.
Sort:
By area:
- 2024When LLMs Meet Cybersecurity: A Systematic Literature Reviewcited by 71
- 2024Large Language Models for Cyber Security: A Systematic Literature Reviewcited by 68
- 2024A Survey on LoRA of Large Language Modelscited by 67
- 2024CTIBench: A Benchmark for Evaluating LLMs in Cyber Threat Intelligencecited by 62
- 2024CodeUltraFeedback: An LLM-as-a-Judge Dataset for Aligning Large Language Models to Coding Preferencescited by 57
- 2024Can LLMs Replace Manual Annotation of Software Engineering Artifacts?cited by 42
- 2024Low-Rank Adaptation for Foundation Models: A Comprehensive Reviewcited by 37
- 2025Llama-3.1-FoundationAI-SecurityLLM-Base-8B Technical Reportcited by 31
- 2025SWE-Synth: Synthesizing Verifiable Bug-Fix Data to Enable Large Language Models in Resolving Real-World Bugscited by 22
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 15
- 2024SECURE: Benchmarking Large Language Models for Cybersecuritycited by 14
- 2024COAST: Enhancing the Code Debugging Ability of LLMs through Communicative Agent Based Data Synthesiscited by 13
38 more
- 2024Collu-Bench: A Benchmark for Predicting Language Model Hallucinations in Codecited by 13
- 2024Are Large Language Models Memorizing Bug Benchmarks?cited by 12
- 2025Seeing is Fixing: Cross-Modal Reasoning with Multimodal LLMs for Visual Software Issue Fixingcited by 12
- 2024RepairBench: Leaderboard of Frontier Models for Program Repaircited by 9
- 2026SGAgent: Suggestion-Guided LLM-Based Multi-Agent Framework for Repository-Level Software Repaircited by 9
- 2024Enhancing Automated Program Repair with Solution Designcited by 8
- 2025The Art of Repair: Optimizing Iterative Program Repair with Instruction-Tuned Modelscited by 7
- 2026RepoRepair: Leveraging Code Documentation for Repository-Level Automated Program Repaircited by 6
- 2024Towards Reliable Evaluation of Neural Program Repair with Natural Robustness Testingcited by 5
- 2024Memory-Efficient Large Language Models for Program Repair with Semantic-Guided Patch Generationcited by 5
- 2025Automated Cloud Infrastructure-as-Code Reconciliation with AI Agentscited by 5
- 2024Integrating Various Software Artifacts for Better LLM-based Bug Localization and Program Repaircited by 4
- 2025DefenderBench: A Toolkit for Evaluating Language Agents in Cybersecurity Environmentscited by 4
- 2025Evaluating the Generalizability of LLMs in Automated Program Repaircited by 3
- 2025The Impact of Fine-tuning Large Language Models on Automated Program Repaircited by 3
- 2025Wisdom and Delusion of LLM Ensembles for Code Generation and Repaircited by 3
- 2024Distilling Desired Comments for Enhanced Code Review with Large Language Modelscited by 2
- 2025Treefix: Enabling Execution with a Tree of Prefixescited by 2
- 2025Are Sparse Autoencoders Useful for Java Function Bug Detection?cited by 2
- 2025RefactorCoderQA: Benchmarking LLMs for Multi-Domain Coding Question Solutions in Cloud and Edge Deploymentcited by 2
- 2026FailureMem: A Failure-Aware Multimodal Framework for Autonomous Software Repaircited by 2
- 2025From Empirical Evaluation to Context-Aware Enhancement: Repairing Regression Errors with LLMscited by 1
- 2025Accelerating Automatic Program Repair with Dual Retrieval-Augmented Fine-Tuning and Patch Generation on Large Language Modelscited by 1
- 2025Empirical Study of Code Large Language Models for Binary Security Patch Detectioncited by 1
- 2025Collaborative Agents for Automated Program Repair in Rubycited by 1
- 2026BoostAPR: Boosting Automated Program Repair via Execution-Grounded Reinforcement Learning with Dual Reward Modelscited by 1
- 2024Peer-aided Repairer: Empowering Large Language Models to Repair Advanced Student Assignmentscited by 0
- 2024MergeRepair: An Exploratory Study on Merging Task-Specific Adapters in Code LLMs for Automated Program Repaircited by 0
- 2025Rethinking and Exploring String-Based Malware Family Classification in the Era of LLMs and RAGcited by 0
- 2026Anticipating Adversary Behavior in DevSecOps Scenarios through Large Language Modelscited by 0
- 2026Fine-grained Approaches for Confidence Calibration of LLMs in Automated Code Revisioncited by 0
- 2026Constraint-Guided Multi-Agent Decompilation for Executable Binary Recoverycited by 0
- 2026Low Rank Adaptation for Adversarial Perturbationcited by 0
- 2026Signal Reshaping for GRPO in Weak-Feedback Agentic Code Repaircited by 0
- 2026Recti-Q: Feature-Space Rectification for Out-of-Distribution-Robust Quantized Perception in Edge Roboticscited by 0
- 2026MultiFixer: A Coordinator-Proposer Based Multi-Agent Framework For Fixing Multi-Hunk Bugscited by 0
- 2026The Order Is the Guarantee: Verifier-Budgeted Code Deletion with Static-First Learned Proposalscited by 0
- 2026Does Fault Localization Beat a Fresh Attempt? A Placebo-Controlled Study of Test-Guided Code Repaircited by 0
- 2026Does Fault Localization Beat a Fresh Attempt? A Placebo-Controlled Study of Test-Guided Code Repair1 Sep 2026
- 2026The Order Is the Guarantee: Verifier-Budgeted Code Deletion with Static-First Learned Proposals5 Aug 2026
- 2026MultiFixer: A Coordinator-Proposer Based Multi-Agent Framework For Fixing Multi-Hunk Bugs29 Jul 2026
- 2026Recti-Q: Feature-Space Rectification for Out-of-Distribution-Robust Quantized Perception in Edge Robotics20 Jul 2026
- 2026BoostAPR: Boosting Automated Program Repair via Execution-Grounded Reinforcement Learning with Dual Reward Models9 May 2026
- 2026Signal Reshaping for GRPO in Weak-Feedback Agentic Code Repair8 May 2026
- 2026Low Rank Adaptation for Adversarial Perturbation30 Apr 2026
- 2026Constraint-Guided Multi-Agent Decompilation for Executable Binary Recovery27 Apr 2026
- 2026Fine-grained Approaches for Confidence Calibration of LLMs in Automated Code Revision8 Apr 2026
- 2026FailureMem: A Failure-Aware Multimodal Framework for Autonomous Software Repair18 Mar 2026
- 2026RepoRepair: Leveraging Code Documentation for Repository-Level Automated Program Repair1 Mar 2026
- 2026SGAgent: Suggestion-Guided LLM-Based Multi-Agent Framework for Repository-Level Software Repair27 Feb 2026
38 more
- 2026Anticipating Adversary Behavior in DevSecOps Scenarios through Large Language Models15 Feb 2026
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligence23 Nov 2025
- 2025Collaborative Agents for Automated Program Repair in Ruby6 Nov 2025
- 2025Wisdom and Delusion of LLM Ensembles for Code Generation and Repair24 Oct 2025
- 2025Automated Cloud Infrastructure-as-Code Reconciliation with AI Agents23 Oct 2025
- 2025RefactorCoderQA: Benchmarking LLMs for Multi-Domain Coding Question Solutions in Cloud and Edge Deployment12 Sep 2025
- 2025Empirical Study of Code Large Language Models for Binary Security Patch Detection7 Sep 2025
- 2025The Impact of Fine-tuning Large Language Models on Automated Program Repair26 Jul 2025
- 2025Accelerating Automatic Program Repair with Dual Retrieval-Augmented Fine-Tuning and Patch Generation on Large Language Models14 Jul 2025
- 2025Rethinking and Exploring String-Based Malware Family Classification in the Era of LLMs and RAG5 Jul 2025
- 2025Seeing is Fixing: Cross-Modal Reasoning with Multimodal LLMs for Visual Software Issue Fixing19 Jun 2025
- 2025From Empirical Evaluation to Context-Aware Enhancement: Repairing Regression Errors with LLMs16 Jun 2025
- 2025DefenderBench: A Toolkit for Evaluating Language Agents in Cybersecurity Environments31 May 2025
- 2025Are Sparse Autoencoders Useful for Java Function Bug Detection?15 May 2025
- 2025The Art of Repair: Optimizing Iterative Program Repair with Instruction-Tuned Models5 May 2025
- 2025Llama-3.1-FoundationAI-SecurityLLM-Base-8B Technical Report28 Apr 2025
- 2025SWE-Synth: Synthesizing Verifiable Bug-Fix Data to Enable Large Language Models in Resolving Real-World Bugs20 Apr 2025
- 2025Evaluating the Generalizability of LLMs in Automated Program Repair12 Mar 2025
- 2025Treefix: Enabling Execution with a Tree of Prefixes21 Jan 2025
- 2024Low-Rank Adaptation for Foundation Models: A Comprehensive Review31 Dec 2024
- 2024Distilling Desired Comments for Enhanced Code Review with Large Language Models29 Dec 2024
- 2024Integrating Various Software Artifacts for Better LLM-based Bug Localization and Program Repair5 Dec 2024
- 2024Are Large Language Models Memorizing Bug Benchmarks?20 Nov 2024
- 2024Memory-Efficient Large Language Models for Program Repair with Semantic-Guided Patch Generation22 Oct 2024
- 2024Collu-Bench: A Benchmark for Predicting Language Model Hallucinations in Code13 Oct 2024
- 2024RepairBench: Leaderboard of Frontier Models for Program Repair27 Sep 2024
- 2024Enhancing Automated Program Repair with Solution Design22 Aug 2024
- 2024MergeRepair: An Exploratory Study on Merging Task-Specific Adapters in Code LLMs for Automated Program Repair18 Aug 2024
- 2024Can LLMs Replace Manual Annotation of Software Engineering Artifacts?10 Aug 2024
- 2024COAST: Enhancing the Code Debugging Ability of LLMs through Communicative Agent Based Data Synthesis9 Aug 2024
- 2024A Survey on LoRA of Large Language Models8 Jul 2024
- 2024CTIBench: A Benchmark for Evaluating LLMs in Cyber Threat Intelligence11 Jun 2024
- 2024SECURE: Benchmarking Large Language Models for Cybersecurity30 May 2024
- 2024Large Language Models for Cyber Security: A Systematic Literature Review8 May 2024
- 2024When LLMs Meet Cybersecurity: A Systematic Literature Review6 May 2024
- 2024Peer-aided Repairer: Empowering Large Language Models to Repair Advanced Student Assignments2 Apr 2024
- 2024CodeUltraFeedback: An LLM-as-a-Judge Dataset for Aligning Large Language Models to Coding Preferences14 Mar 2024
- 2024Towards Reliable Evaluation of Neural Program Repair with Natural Robustness Testing19 Feb 2024
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 15
- 2024COAST: Enhancing the Code Debugging Ability of LLMs through Communicative Agent Based Data Synthesiscited by 13
- 2026SGAgent: Suggestion-Guided LLM-Based Multi-Agent Framework for Repository-Level Software Repaircited by 9
- 2025DefenderBench: A Toolkit for Evaluating Language Agents in Cybersecurity Environmentscited by 4
- 2025Collaborative Agents for Automated Program Repair in Rubycited by 1
- 2026Constraint-Guided Multi-Agent Decompilation for Executable Binary Recoverycited by 0
- 2026MultiFixer: A Coordinator-Proposer Based Multi-Agent Framework For Fixing Multi-Hunk Bugscited by 0
- 2026MultiFixer: A Coordinator-Proposer Based Multi-Agent Framework For Fixing Multi-Hunk Bugs29 Jul 2026
- 2026Constraint-Guided Multi-Agent Decompilation for Executable Binary Recovery27 Apr 2026
- 2026SGAgent: Suggestion-Guided LLM-Based Multi-Agent Framework for Repository-Level Software Repair27 Feb 2026
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligence23 Nov 2025
- 2025Collaborative Agents for Automated Program Repair in Ruby6 Nov 2025
- 2025DefenderBench: A Toolkit for Evaluating Language Agents in Cybersecurity Environments31 May 2025
- 2024COAST: Enhancing the Code Debugging Ability of LLMs through Communicative Agent Based Data Synthesis9 Aug 2024
- 2024When LLMs Meet Cybersecurity: A Systematic Literature Reviewcited by 71
- 2024Large Language Models for Cyber Security: A Systematic Literature Reviewcited by 68
- 2024A Survey on LoRA of Large Language Modelscited by 67
- 2024CTIBench: A Benchmark for Evaluating LLMs in Cyber Threat Intelligencecited by 62
- 2024Can LLMs Replace Manual Annotation of Software Engineering Artifacts?cited by 42
- 2024Low-Rank Adaptation for Foundation Models: A Comprehensive Reviewcited by 37
- 2025Llama-3.1-FoundationAI-SecurityLLM-Base-8B Technical Reportcited by 31
- 2025SWE-Synth: Synthesizing Verifiable Bug-Fix Data to Enable Large Language Models in Resolving Real-World Bugscited by 22
- 2024SECURE: Benchmarking Large Language Models for Cybersecuritycited by 14
- 2024Collu-Bench: A Benchmark for Predicting Language Model Hallucinations in Codecited by 13
- 2024Are Large Language Models Memorizing Bug Benchmarks?cited by 12
- 2024RepairBench: Leaderboard of Frontier Models for Program Repaircited by 9
12 most cited of 36 All 36 (JSON)
- 2026Does Fault Localization Beat a Fresh Attempt? A Placebo-Controlled Study of Test-Guided Code Repair1 Sep 2026
- 2026The Order Is the Guarantee: Verifier-Budgeted Code Deletion with Static-First Learned Proposals5 Aug 2026
- 2026Recti-Q: Feature-Space Rectification for Out-of-Distribution-Robust Quantized Perception in Edge Robotics20 Jul 2026
- 2026Low Rank Adaptation for Adversarial Perturbation30 Apr 2026
- 2026Fine-grained Approaches for Confidence Calibration of LLMs in Automated Code Revision8 Apr 2026
- 2026FailureMem: A Failure-Aware Multimodal Framework for Autonomous Software Repair18 Mar 2026
- 2026RepoRepair: Leveraging Code Documentation for Repository-Level Automated Program Repair1 Mar 2026
- 2026Anticipating Adversary Behavior in DevSecOps Scenarios through Large Language Models15 Feb 2026
- 2025Wisdom and Delusion of LLM Ensembles for Code Generation and Repair24 Oct 2025
- 2025Automated Cloud Infrastructure-as-Code Reconciliation with AI Agents23 Oct 2025
- 2025Empirical Study of Code Large Language Models for Binary Security Patch Detection7 Sep 2025
- 2025The Impact of Fine-tuning Large Language Models on Automated Program Repair26 Jul 2025
12 newest of 36 All 36 (JSON)