Less Training, More Repairing Please: Revisiting Automated Program Repair via Zero-shot Learning
Not on the map. Why?
Abstract (arXiv)
Due to the promising future of Automated Program Repair (APR), researchers have proposed various APR techniques, including heuristic-based, template-based, and constraint-based techniques. Among such classic APR techniques, template-based techniques have been widely recognized as state of the art. However, such template-based techniques require predefined templates to perform repair, and their effectiveness is thus limited. To this end, researchers leveraged the recent advances in Deep Learning to further improve APR. Such learning-based techniques view APR as a Neural Machine Translation problem, using the buggy/fixed code snippets as the source/target languages for translation. In this way, such techniques heavily rely on large numbers of high-quality bug-fixing commits, which can be extremely costly and challenging to construct. Furthermore, the edit variety of these learning-based techniques are limited to the available bug-fixes within their training datasets. Therefore, in this paper, we aim to revisit the learning-based APR problem, and propose AlphaRepair, to leverage zero-shot learning directly using large pre-trained code models for APR. Our main insight is instead of modeling what a repair edit should look like, we can directly predict what the correct code is based on the context information. We have implemented AlphaRepair as a practical multilingual APR tool based on the recent CodeBERT model. Our results on the widely used Defects4J benchmark show that AlphaRepair can substantially outperform state-of-the-art APR tools. We also studied the impact of different design choices and show that AlphaRepair performs even better on a newer version of Defects4J (2.0) with 3.3X more fixes than best performing baseline, indicating that AlphaRepair can potentially avoid the dataset-overfitting issue of existing learning-based techniques.
Key facts. Cited by 76 papers in the map (data through 7 Oct 2026). First posted on arXiv 17 Jul 2022.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 3; 2023: 19; 2024: 27; 2025: 19; 2026: 8.
76 papers.
Sort:
By area:
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
- 2024Agentless: Demystifying LLM-based Software Engineering Agentscited by 400
- 2025SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software Evolutioncited by 246
- 2024Large Language Model-Based Agents for Software Engineering: A Surveycited by 173
- 2023Keep the Conversation Going: Fixing 162 out of 337 bugs for 0.42 each using ChatGPTcited by 125
- 2025Live-SWE-agent: Can Software Engineering Agents Self-Evolve on the Fly?cited by 91
- 2024Large Language Models for Cyber Security: A Systematic Literature Reviewcited by 65
- 2024NExT: Teaching Large Language Models to Reason about Code Executioncited by 60
- 2024Exploring and Unleashing the Power of Large Language Models in Automated Code Translationcited by 57
- 2025OpenCodeInstruct: A Large-scale Instruction Tuning Dataset for Code LLMscited by 57
- 2023Copiloting the Copilots: Fusing Large Language Models with Completion Engines for Automated Program Repaircited by 55
38 more
- 2023Large Language Models for Compiler Optimizationcited by 52
- 2024What's Wrong with Your Code Generated by Large Language Models? An Extensive Studycited by 52
- 2023RepairLLaMA: Efficient Representations and Fine-Tuned Adapters for Program Repaircited by 50
- 2023xCodeEval: A Large Scale Multilingual Multitask Benchmark for Code Understanding, Generation, Translation and Retrievalcited by 46
- 2023A New Era in Software Security: Towards Self-Healing Software via Large Language Models and Formal Verificationcited by 42
- 2023Conversational Automated Program Repaircited by 41
- 2025Evaluating Agent-based Program Repair at Googlecited by 35
- 2023Natural Language Generation and Understanding of Big Code for AI-Assisted Programming: A Reviewcited by 32
- 2024Can Large Language Models Understand Symbolic Graphics Programs?cited by 32
- 2022Repairing Bugs in Python Assignments Using Large Language Modelscited by 28
- 2023Exploring Parameter-Efficient Fine-Tuning Techniques for Code Generation with Large Language Modelscited by 28
- 2024The Future of AI-Driven Software Engineeringcited by 23
- 2025SWE-Synth: Synthesizing Verifiable Bug-Fix Data to Enable Large Language Models in Resolving Real-World Bugscited by 22
- 2024Beyond pip install: Evaluating LLM Agents for the Automated Installation of Python Projectscited by 21
- 2024NaturalCodeBench: Examining Coding Performance Mismatch on HumanEval and Natural User Promptscited by 19
- 2024LangProp: A code optimization framework using Large Language Models applied to drivingcited by 17
- 2023ITER: Iterative Neural Repair for Multi-Location Patchescited by 16
- 2024ChIRAAG: ChatGPT Informed Rapid and Automated Assertion Generationcited by 15
- 2023Towards Generating Functionally Correct Code Edits from Natural Language Issue Descriptionscited by 14
- 2023RAPGen: An Approach for Fixing Code Inefficiencies in Zero-Shotcited by 14
- 2024CigaR: Cost-efficient Program Repair with LLMscited by 14
- 2024Aligning the Objective of LLM-based Program Repaircited by 12
- 2023Invalidator: Automated Patch Correctness Assessment via Semantic and Syntactic Reasoningcited by 11
- 2022Improving Automated Program Repair with Domain Adaptationcited by 10
- 2024RepairBench: Leaderboard of Frontier Models for Program Repaircited by 9
- 2025Can Agents Fix Agent Issues?cited by 8
- 2023Revisiting the Plastic Surgery Hypothesis via Large Language Modelscited by 7
- 2024TransAgent: Enhancing LLM-Based Code Translation via Fine-Grained Execution Alignmentcited by 7
- 2025The Art of Repair: Optimizing Iterative Program Repair with Instruction-Tuned Modelscited by 7
- 2023FlakyFix: Using Large Language Models for Predicting Flaky Test Fix Categories and Test Code Repaircited by 6
- 2024XMainframe: A Large Language Model for Mainframe Modernizationcited by 6
- 2024CodeLutra: Boosting LLM Code Generation via Preference-Guided Refinementcited by 6
- 2025Agentic Program Repair from Test Failures at Scale: A Neuro-symbolic approach with static analysis and test execution feedbackcited by 6
- 2022Follow-up Attention: An Empirical Study of Developer and Neural Model Code Explorationcited by 5
- 2024Improving LLM Classification of Logical Errors by Integrating Error Relationship into Promptscited by 5
- 2024Memory-Efficient Large Language Models for Program Repair with Semantic-Guided Patch Generationcited by 5
- 2025SuperCoder: Assembly Program Superoptimization with Large Language Modelscited by 5
- 2023Multi-Granularity Detector for Vulnerability Fixescited by 4
50 most cited of 76 All 76 (JSON)
- 2026The Order Is the Guarantee: Verifier-Budgeted Code Deletion with Static-First Learned Proposals5 Aug 2026
- 2026Multi-Perspective Agentic Program Repair via Code Property Graphs and Temporal Execution Graphs14 Jul 2026
- 2026How Much Static Structure Do Code Agents Need? A Study of Deterministic Anchoring25 Jun 2026
- 2026AgentModernize: Preserving Business Logic in Legacy Modernization with Multi-Agent LLMs and Behavioral Specification Graphs17 May 2026
- 2026Project Prometheus: Bridging the Intent Gap in Agentic Program Repair via Reverse-Engineered Executable Specifications19 Apr 2026
- 2026LLM-Based Automated Diagnosis Of Integration Test Failures At Google13 Apr 2026
- 2026CONCUR: Benchmarking LLMs for Concurrent Code Generation4 Mar 2026
- 2026SVRepair: Structured Visual Reasoning for Automated Program Repair5 Feb 2026
- 2025Live-SWE-agent: Can Software Engineering Agents Self-Evolve on the Fly?17 Nov 2025
- 2025Empirical Study of Code Large Language Models for Binary Security Patch Detection7 Sep 2025
- 2025Agentic Program Repair from Test Failures at Scale: A Neuro-symbolic approach with static analysis and test execution feedback24 Jul 2025
- 2025Accelerating Automatic Program Repair with Dual Retrieval-Augmented Fine-Tuning and Patch Generation on Large Language Models14 Jul 2025
38 more
- 2025T3: Multi-level Tree-based Automatic Program Repair with Large Language Models26 Jun 2025
- 2025Can Agents Fix Agent Issues?27 May 2025
- 2025SuperCoder: Assembly Program Superoptimization with Large Language Models16 May 2025
- 2025Self-Bootstrapping Automated Program Repair: Using LLMs to Generate and Evaluate Synthetic Training Data for Bug Repair12 May 2025
- 2025The Art of Repair: Optimizing Iterative Program Repair with Instruction-Tuned Models5 May 2025
- 2025kAgent: An execution-guided crash resolution agent for the Linux kernel29 Apr 2025
- 2025SWE-Synth: Synthesizing Verifiable Bug-Fix Data to Enable Large Language Models in Resolving Real-World Bugs20 Apr 2025
- 2025OpenCodeInstruct: A Large-scale Instruction Tuning Dataset for Code LLMs5 Apr 2025
- 2025On Simulation-Guided LLM-based Code Generation for Safe Autonomous Driving Software2 Apr 2025
- 2025Unlocking LLM Repair Capabilities Through Cross-Language Translation and Multi-Agent Refinement28 Mar 2025
- 2025Evaluating the Generalizability of LLMs in Automated Program Repair12 Mar 2025
- 2025SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software Evolution25 Feb 2025
- 2025AuPair: Golden Example Pairs for Code Repair12 Feb 2025
- 2025Treefix: Enabling Execution with a Tree of Prefixes21 Jan 2025
- 2025Evaluating Agent-based Program Repair at Google13 Jan 2025
- 2024Beyond pip install: Evaluating LLM Agents for the Automated Installation of Python Projects9 Dec 2024
- 2024Automatic High-quality Verilog Assertion Generation through Subtask-Focused Fine-Tuned LLMs and Iterative Prompting23 Nov 2024
- 2024CodeLutra: Boosting LLM Code Generation via Preference-Guided Refinement7 Nov 2024
- 2024CodePurify: Defend Backdoor Attacks on Neural Code Models via Entropy-based Purification26 Oct 2024
- 2024Creating and Repairing Robot Programs in Open-World Domains24 Oct 2024
- 2024Memory-Efficient Large Language Models for Program Repair with Semantic-Guided Patch Generation22 Oct 2024
- 2024TransAgent: Enhancing LLM-Based Code Translation via Fine-Grained Execution Alignment30 Sep 2024
- 2024RepairBench: Leaderboard of Frontier Models for Program Repair27 Sep 2024
- 2024Insights from Benchmarking Frontier Language Models on Web App Code Generation8 Sep 2024
- 2024Large Language Model-Based Agents for Software Engineering: A Survey4 Sep 2024
- 2024Can Large Language Models Understand Symbolic Graphics Programs?15 Aug 2024
- 2024XMainframe: A Large Language Model for Mainframe Modernization5 Aug 2024
- 2024Risks of ignoring uncertainty propagation in AI-augmented security pipelines14 Jul 2024
- 2024What's Wrong with Your Code Generated by Large Language Models? An Extensive Study8 Jul 2024
- 2024Agentless: Demystifying LLM-based Software Engineering Agents1 Jul 2024
- 2024The Future of AI-Driven Software Engineering11 Jun 2024
- 2024Large Language Models for Cyber Security: A Systematic Literature Review8 May 2024
- 2024NaturalCodeBench: Examining Coding Performance Mismatch on HumanEval and Natural User Prompts7 May 2024
- 2024Improving LLM Classification of Logical Errors by Integrating Error Relationship into Prompts30 Apr 2024
- 2024NExT: Teaching Large Language Models to Reason about Code Execution23 Apr 2024
- 2024Exploring and Unleashing the Power of Large Language Models in Automated Code Translation23 Apr 2024
- 2024Aligning the Objective of LLM-based Program Repair13 Apr 2024
- 2024CovRL: Fuzzing JavaScript Engines with Coverage-Guided Reinforcement Learning for LLM-based Mutation19 Feb 2024
50 newest of 76 All 76 (JSON)
- 2024Agentless: Demystifying LLM-based Software Engineering Agentscited by 400
- 2024Large Language Model-Based Agents for Software Engineering: A Surveycited by 173
- 2025Live-SWE-agent: Can Software Engineering Agents Self-Evolve on the Fly?cited by 91
- 2025Evaluating Agent-based Program Repair at Googlecited by 35
- 2024Beyond pip install: Evaluating LLM Agents for the Automated Installation of Python Projectscited by 21
- 2025Can Agents Fix Agent Issues?cited by 8
- 2025Agentic Program Repair from Test Failures at Scale: A Neuro-symbolic approach with static analysis and test execution feedbackcited by 6
- 2025kAgent: An execution-guided crash resolution agent for the Linux kernelcited by 4
- 2025Unlocking LLM Repair Capabilities Through Cross-Language Translation and Multi-Agent Refinementcited by 3
- 2026AgentModernize: Preserving Business Logic in Legacy Modernization with Multi-Agent LLMs and Behavioral Specification Graphscited by 1
- 2026How Much Static Structure Do Code Agents Need? A Study of Deterministic Anchoringcited by 1
- 2026Multi-Perspective Agentic Program Repair via Code Property Graphs and Temporal Execution Graphscited by 1
12 most cited of 13 All 13 (JSON)
- 2026Multi-Perspective Agentic Program Repair via Code Property Graphs and Temporal Execution Graphs14 Jul 2026
- 2026How Much Static Structure Do Code Agents Need? A Study of Deterministic Anchoring25 Jun 2026
- 2026AgentModernize: Preserving Business Logic in Legacy Modernization with Multi-Agent LLMs and Behavioral Specification Graphs17 May 2026
- 2026Project Prometheus: Bridging the Intent Gap in Agentic Program Repair via Reverse-Engineered Executable Specifications19 Apr 2026
- 2025Live-SWE-agent: Can Software Engineering Agents Self-Evolve on the Fly?17 Nov 2025
- 2025Agentic Program Repair from Test Failures at Scale: A Neuro-symbolic approach with static analysis and test execution feedback24 Jul 2025
- 2025Can Agents Fix Agent Issues?27 May 2025
- 2025kAgent: An execution-guided crash resolution agent for the Linux kernel29 Apr 2025
- 2025Unlocking LLM Repair Capabilities Through Cross-Language Translation and Multi-Agent Refinement28 Mar 2025
- 2025Evaluating Agent-based Program Repair at Google13 Jan 2025
- 2024Beyond pip install: Evaluating LLM Agents for the Automated Installation of Python Projects9 Dec 2024
- 2024Large Language Model-Based Agents for Software Engineering: A Survey4 Sep 2024
12 newest of 13 All 13 (JSON)
- 2025SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software Evolutioncited by 246
- 2024NExT: Teaching Large Language Models to Reason about Code Executioncited by 60
- 2025AuPair: Golden Example Pairs for Code Repaircited by 3
- 2026SVRepair: Structured Visual Reasoning for Automated Program Repaircited by 2
- 2025T3: Multi-level Tree-based Automatic Program Repair with Large Language Modelscited by 0
- 2026SVRepair: Structured Visual Reasoning for Automated Program Repair5 Feb 2026
- 2025T3: Multi-level Tree-based Automatic Program Repair with Large Language Models26 Jun 2025
- 2025SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software Evolution25 Feb 2025
- 2025AuPair: Golden Example Pairs for Code Repair12 Feb 2025
- 2024NExT: Teaching Large Language Models to Reason about Code Execution23 Apr 2024
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
- 2023Keep the Conversation Going: Fixing 162 out of 337 bugs for 0.42 each using ChatGPTcited by 125
- 2024Large Language Models for Cyber Security: A Systematic Literature Reviewcited by 65
- 2024Exploring and Unleashing the Power of Large Language Models in Automated Code Translationcited by 57
- 2025OpenCodeInstruct: A Large-scale Instruction Tuning Dataset for Code LLMscited by 57
- 2023Copiloting the Copilots: Fusing Large Language Models with Completion Engines for Automated Program Repaircited by 55
- 2023Large Language Models for Compiler Optimizationcited by 52
- 2024What's Wrong with Your Code Generated by Large Language Models? An Extensive Studycited by 52
- 2023RepairLLaMA: Efficient Representations and Fine-Tuned Adapters for Program Repaircited by 50
- 2023xCodeEval: A Large Scale Multilingual Multitask Benchmark for Code Understanding, Generation, Translation and Retrievalcited by 46
- 2023A New Era in Software Security: Towards Self-Healing Software via Large Language Models and Formal Verificationcited by 42
12 most cited of 53 All 53 (JSON)
- 2026The Order Is the Guarantee: Verifier-Budgeted Code Deletion with Static-First Learned Proposals5 Aug 2026
- 2026LLM-Based Automated Diagnosis Of Integration Test Failures At Google13 Apr 2026
- 2026CONCUR: Benchmarking LLMs for Concurrent Code Generation4 Mar 2026
- 2025Empirical Study of Code Large Language Models for Binary Security Patch Detection7 Sep 2025
- 2025SuperCoder: Assembly Program Superoptimization with Large Language Models16 May 2025
- 2025The Art of Repair: Optimizing Iterative Program Repair with Instruction-Tuned Models5 May 2025
- 2025SWE-Synth: Synthesizing Verifiable Bug-Fix Data to Enable Large Language Models in Resolving Real-World Bugs20 Apr 2025
- 2025OpenCodeInstruct: A Large-scale Instruction Tuning Dataset for Code LLMs5 Apr 2025
- 2025Evaluating the Generalizability of LLMs in Automated Program Repair12 Mar 2025
- 2025Treefix: Enabling Execution with a Tree of Prefixes21 Jan 2025
- 2024Automatic High-quality Verilog Assertion Generation through Subtask-Focused Fine-Tuned LLMs and Iterative Prompting23 Nov 2024
- 2024CodeLutra: Boosting LLM Code Generation via Preference-Guided Refinement7 Nov 2024
12 newest of 53 All 53 (JSON)