Repair Is Nearly Generation: Multilingual Program Repair with LLMs
Not on the map. Why?
Abstract (arXiv)
Most programmers make mistakes when writing code. Some of these mistakes are small and require few edits to the original program -- a class of errors recently termed last mile mistakes. These errors break the flow for experienced developers and can stump novice programmers. Existing automated repair techniques targeting this class of errors are language-specific and do not easily carry over to new languages. Transferring symbolic approaches requires substantial engineering and neural approaches require data and retraining. We introduce RING, a multilingual repair engine powered by a large language model trained on code (LLMC) such as Codex. Such a multilingual engine enables a flipped model for programming assistance, one where the programmer writes code and the AI assistance suggests fixes, compared to traditional code suggestion technology. Taking inspiration from the way programmers manually fix bugs, we show that a prompt-based strategy that conceptualizes repair as localization, transformation, and candidate ranking, can successfully repair programs in multiple languages with minimal effort. We present the first results for such a multilingual repair engine by evaluating on 6 different languages and comparing performance to language-specific repair engines. We show that RING can outperform language-specific repair engines for three of these languages.
Key facts. Cited by 68 papers in the map (data through 7 Oct 2026). Builds on 19 of its 49 references that are in the map. First posted on arXiv 24 Aug 2022.
Builds on
19 of 49 references.
References · 19
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
- 2017Billion-scale similarity search with GPUscited by 2,477
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
- 2019Measuring Calibration in Deep Learningcited by 443
- 2022Synchromesh: Reliable code generation from pre-trained language modelscited by 156
- 2021A Neural Network Solves, Explains, and Generates University Math Problems by Program Synthesis and Few-Shot Learning at Human Levelcited by 96
- 2020Graph-based, Self-Supervised Program Repair from Diagnostic Feedbackcited by 93
- 2021Break-It-Fix-It: Unsupervised Learning for Program Repaircited by 71
- 2022Code Generation Tools (Almost) for Free? A Study of Few-Shot, Pre-Trained Language Models on Codecited by 39
7 more
- 2022Fault-Aware Neural Code Rankerscited by 33
- 2022Novelty Controlled Paraphrase Generation with Retrieval Augmented Conditional Prompt Tuningcited by 25
- 2021Automatic Program Repair with OpenAI's Codex: Evaluating QuixBugscited by 24
- 2021Learning to Complete Code with Sketchescited by 23
- 2022Neurosymbolic Repair for Low-Code Formula Languagescited by 12
- 2016sk_p: a neural program corrector for MOOCscited by 10
- 2018Don't Panic! Better, Fewer, Syntax Errors for LR Parserscited by 4
Built on by
Citing papers per year: 2022: 2; 2023: 20; 2024: 23; 2025: 15; 2026: 8.
68 papers.
Sort:
By area:
- 2024Retrieval-Augmented Generation for AI-Generated Content: A Surveycited by 352
- 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repaircited by 225
- 2024Large Language Model-Based Agents for Software Engineering: A Surveycited by 173
- 2022Large Language Models Meet NL2Code: A Surveycited by 135
- 2024From LLMs to LLM-based Agents for Software Engineering: A Survey of Current, Challenges and Futurecited by 85
- 2023Retrieving Multimodal Information for Augmented Generation: A Surveycited by 84
- 2023Automatic Semantic Augmentation of Language Model Prompts (for Code Summarization)cited by 72
- 2025FEA-Bench: A Benchmark for Evaluating Repository-Level Code Generation for Feature Implementationcited by 57
- 2023Copiloting the Copilots: Fusing Large Language Models with Completion Engines for Automated Program Repaircited by 55
- 2023RepairLLaMA: Efficient Representations and Fine-Tuned Adapters for Program Repaircited by 50
- 2023Can It Edit? Evaluating the Ability of Large Language Models to Follow Code Editing Instructionscited by 46
- 2023Knowledge Transfer from High-Resource to Low-Resource Programming Languages for Code LLMscited by 45
38 more
- 2023RAP-Gen: Retrieval-Augmented Patch Generation with CodeT5 for Automatic Program Repaircited by 43
- 2023A New Era in Software Security: Towards Self-Healing Software via Large Language Models and Formal Verificationcited by 42
- 2023Recommending Root-Cause and Mitigation Steps for Cloud Incidents using Large Language Modelscited by 38
- 2023Generating High-Precision Feedback for Programming Syntax Errors using Large Language Modelscited by 34
- 2023Fully Autonomous Programming with Large Language Modelscited by 31
- 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
- 2023Refactoring Programs Using Large Language Models with Few-Shot Examplescited by 27
- 2024Learning Agent-based Modeling with LLM Companions: Experiences of Novices and Experts Using ChatGPT & NetLogo Chatcited by 23
- 2023Trustworthy and Synergistic Artificial Intelligence for Software Engineering: Vision and Roadmapscited by 19
- 2023Exploring the Robustness of Large Language Models for Solving Programming Problemscited by 16
- 2023FLAME: A small language model for spreadsheet formulascited by 15
- 2023FRANC: A Lightweight Framework for High-Quality Code Generationcited by 14
- 2024Do Large Code Models Understand Programming Concepts? Counterfactual Analysis for Code Predicatescited by 14
- 2024Learning Task Decomposition to Assist Humans in Competitive Programmingcited by 14
- 2025To Protect the LLM Agent Against the Prompt Injection Attack with Polymorphic Promptcited by 14
- 2024Aligning the Objective of LLM-based Program Repaircited by 12
- 2024FT2Ra: A Fine-Tuning-Inspired Approach to Retrieval-Augmented Code Completioncited by 9
- 2024Statically Contextualizing Large Language Models with Typed Holescited by 9
- 2023CloudEval-YAML: A Practical Benchmark for Cloud Configuration Generationcited by 8
- 2024Counterexample Guided Program Repair Using Zero-Shot Learning and MaxSAT-based Fault Localizationcited by 8
- 2024DeepCode AI Fix: Fixing Security Vulnerabilities with Large Language Modelscited by 7
- 2024Can GPT-O1 Kill All Bugs? An Evaluation of GPT-Family LLMs on QuixBugscited by 7
- 2024TransAgent: Enhancing LLM-Based Code Translation via Fine-Grained Execution Alignmentcited by 7
- 2025Large Language Model Guided Self-Debugging Code Generationcited by 7
- 2024A Methodology for Evaluating RAG Systems: A Case Study On Configuration Dependency Validationcited by 6
- 2023Frustrated with Code Quality Issues? LLMs can Help!cited by 5
- 2025PredicateFix: Repairing Static Analysis Alerts with Bridging Predicatescited by 5
- 2025Impact-driven Context Filtering For Cross-file Code Completioncited by 5
- 2024Aligners: Decoupling LLMs and Alignmentcited by 4
- 2024A Survey on Large Language Models from Concept to Implementationcited by 4
- 2024Enhancing Source Code Security with LLMs: Demystifying The Challenges and Generating Reliable Repairscited by 4
- 2025Simplifying Root Cause Analysis in Kubernetes with StateGraph and LLMcited by 4
- 2025PyVeritas: On Verifying Python via LLM-Based Transpilation and Bounded Model Checking for Ccited by 4
- 2024Chain of Targeted Verification Questions to Improve the Reliability of Code Generated by LLMscited by 3
- 2024Renaissance of Literate Programming in the Era of LLMs: Enhancing LLM-Based Code Generation in Large-Scale Projectscited by 3
- 2025Unlocking LLM Repair Capabilities Through Cross-Language Translation and Multi-Agent Refinementcited by 3
- 2025Diffusion is a code repair operator and generatorcited by 3
50 most cited of 68 All 68 (JSON)
- 2026ARQ: Agentic CodeQL Query Refinement for C/C++ Vulnerability Detection21 Aug 2026
- 2026How Do LLMs Read Bug Reports? An Empirical Study of Attention in LLMs for Automated Program Repair28 Jul 2026
- 2026Evidence-Driven LLM Agent for C-to-Synthesizable-C Conversion and Verification25 Jun 2026
- 2026BLAgent: Agentic RAG for File-Level Bug Localization18 May 2026
- 2026LIFT: Last-Mile Fine-Tuning for Table Explicitation13 May 2026
- 2026To Diff or Not to Diff? Structure-Aware and Adaptive Output Formats for Efficient LLM-based Code Editing30 Apr 2026
- 2026CONCUR: Benchmarking LLMs for Concurrent Code Generation4 Mar 2026
- 2026Canonical Intermediate Representation for LLM-based optimization problem formulation and code generation2 Feb 2026
- 2025MedDCR: Learning to Design Agentic Workflows for Medical Coding17 Nov 2025
- 2025SLEAN: Simple Lightweight Ensemble Analysis Network for Multi-Provider LLM Coordination: Design, Implementation, and Vibe Coding Bug Investigation Case Study11 Oct 2025
- 2025Secure-Instruct: An Automated Pipeline for Synthesizing Instruction-Tuning Datasets Using LLMs for Secure Code Generation8 Oct 2025
- 2025Generating High-Quality Datasets for Code Editing via Open-Source Language Models19 Sep 2025
38 more
- 2025Diffusion is a code repair operator and generator14 Aug 2025
- 2025PyVeritas: On Verifying Python via LLM-Based Transpilation and Bounded Model Checking for C11 Aug 2025
- 2025Impact-driven Context Filtering For Cross-file Code Completion8 Aug 2025
- 2025To Protect the LLM Agent Against the Prompt Injection Attack with Polymorphic Prompt6 Jun 2025
- 2025Simplifying Root Cause Analysis in Kubernetes with StateGraph and LLM3 Jun 2025
- 2025Unlocking LLM Repair Capabilities Through Cross-Language Translation and Multi-Agent Refinement28 Mar 2025
- 2025PredicateFix: Repairing Static Analysis Alerts with Bridging Predicates15 Mar 2025
- 2025FEA-Bench: A Benchmark for Evaluating Repository-Level Code Generation for Feature Implementation9 Mar 2025
- 2025Securing Smart Contract Languages with a Unified Agentic Framework for Vulnerability Repair in Solidity and Move22 Feb 2025
- 2025Large Language Model Guided Self-Debugging Code Generation5 Feb 2025
- 2025Fault Localization via Fine-tuning Large Language Models with Mutation Generated Stack Traces29 Jan 2025
- 2024Renaissance of Literate Programming in the Era of LLMs: Enhancing LLM-Based Code Generation in Large-Scale Projects25 Dec 2024
- 2024Counterexample Guided Program Repair Using Zero-Shot Learning and MaxSAT-based Fault Localization19 Dec 2024
- 2024A Methodology for Evaluating RAG Systems: A Case Study On Configuration Dependency Validation11 Oct 2024
- 2024TransAgent: Enhancing LLM-Based Code Translation via Fine-Grained Execution Alignment30 Sep 2024
- 2024Can GPT-O1 Kill All Bugs? An Evaluation of GPT-Family LLMs on QuixBugs16 Sep 2024
- 2024Large Language Model-Based Agents for Software Engineering: A Survey4 Sep 2024
- 2024Statically Contextualizing Large Language Models with Typed Holes2 Sep 2024
- 2024Enhancing Source Code Security with LLMs: Demystifying The Challenges and Generating Reliable Repairs1 Sep 2024
- 2024Unintentional Security Flaws in Code: Automated Defense via Root Cause Analysis30 Aug 2024
- 2024From LLMs to LLM-based Agents for Software Engineering: A Survey of Current, Challenges and Future5 Aug 2024
- 2024Learning Task Decomposition to Assist Humans in Competitive Programming7 Jun 2024
- 2024Chain of Targeted Verification Questions to Improve the Reliability of Code Generated by LLMs22 May 2024
- 2024Benchmarking Educational Program Repair8 May 2024
- 2024Aligning the Objective of LLM-based Program Repair13 Apr 2024
- 2024Peer-aided Repairer: Empowering Large Language Models to Repair Advanced Student Assignments2 Apr 2024
- 2024FT2Ra: A Fine-Tuning-Inspired Approach to Retrieval-Augmented Code Completion2 Apr 2024
- 2024A Survey on Large Language Models from Concept to Implementation27 Mar 2024
- 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repair25 Mar 2024
- 2024Aligners: Decoupling LLMs and Alignment7 Mar 2024
- 2024Retrieval-Augmented Generation for AI-Generated Content: A Survey29 Feb 2024
- 2024DeepCode AI Fix: Fixing Security Vulnerabilities with Large Language Models19 Feb 2024
- 2024Do Large Code Models Understand Programming Concepts? Counterfactual Analysis for Code Predicates8 Feb 2024
- 2024Learning Agent-based Modeling with LLM Companions: Experiences of Novices and Experts Using ChatGPT & NetLogo Chat30 Jan 2024
- 2023RepairLLaMA: Efficient Representations and Fine-Tuned Adapters for Program Repair25 Dec 2023
- 2023Can It Edit? Evaluating the Ability of Large Language Models to Follow Code Editing Instructions11 Dec 2023
- 2023Refactoring Programs Using Large Language Models with Few-Shot Examples20 Nov 2023
- 2023CloudEval-YAML: A Practical Benchmark for Cloud Configuration Generation10 Nov 2023
50 newest of 68 All 68 (JSON)
- 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repaircited by 225
- 2024Large Language Model-Based Agents for Software Engineering: A Surveycited by 173
- 2024From LLMs to LLM-based Agents for Software Engineering: A Survey of Current, Challenges and Futurecited by 85
- 2024Learning Agent-based Modeling with LLM Companions: Experiences of Novices and Experts Using ChatGPT & NetLogo Chatcited by 23
- 2025To Protect the LLM Agent Against the Prompt Injection Attack with Polymorphic Promptcited by 14
- 2025Unlocking LLM Repair Capabilities Through Cross-Language Translation and Multi-Agent Refinementcited by 3
- 2025MedDCR: Learning to Design Agentic Workflows for Medical Codingcited by 3
- 2025Securing Smart Contract Languages with a Unified Agentic Framework for Vulnerability Repair in Solidity and Movecited by 1
- 2026Evidence-Driven LLM Agent for C-to-Synthesizable-C Conversion and Verificationcited by 1
- 2026ARQ: Agentic CodeQL Query Refinement for C/C++ Vulnerability Detectioncited by 0
- 2026ARQ: Agentic CodeQL Query Refinement for C/C++ Vulnerability Detection21 Aug 2026
- 2026Evidence-Driven LLM Agent for C-to-Synthesizable-C Conversion and Verification25 Jun 2026
- 2025MedDCR: Learning to Design Agentic Workflows for Medical Coding17 Nov 2025
- 2025To Protect the LLM Agent Against the Prompt Injection Attack with Polymorphic Prompt6 Jun 2025
- 2025Unlocking LLM Repair Capabilities Through Cross-Language Translation and Multi-Agent Refinement28 Mar 2025
- 2025Securing Smart Contract Languages with a Unified Agentic Framework for Vulnerability Repair in Solidity and Move22 Feb 2025
- 2024Large Language Model-Based Agents for Software Engineering: A Survey4 Sep 2024
- 2024From LLMs to LLM-based Agents for Software Engineering: A Survey of Current, Challenges and Future5 Aug 2024
- 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repair25 Mar 2024
- 2024Learning Agent-based Modeling with LLM Companions: Experiences of Novices and Experts Using ChatGPT & NetLogo Chat30 Jan 2024
- 2024Retrieval-Augmented Generation for AI-Generated Content: A Surveycited by 352
- 2023RAP-Gen: Retrieval-Augmented Patch Generation with CodeT5 for Automatic Program Repaircited by 43
- 2024FT2Ra: A Fine-Tuning-Inspired Approach to Retrieval-Augmented Code Completioncited by 9
- 2024A Methodology for Evaluating RAG Systems: A Case Study On Configuration Dependency Validationcited by 6
- 2025PredicateFix: Repairing Static Analysis Alerts with Bridging Predicatescited by 5
- 2025Impact-driven Context Filtering For Cross-file Code Completioncited by 5
- 2026BLAgent: Agentic RAG for File-Level Bug Localizationcited by 0
- 2026BLAgent: Agentic RAG for File-Level Bug Localization18 May 2026
- 2025Impact-driven Context Filtering For Cross-file Code Completion8 Aug 2025
- 2025PredicateFix: Repairing Static Analysis Alerts with Bridging Predicates15 Mar 2025
- 2024A Methodology for Evaluating RAG Systems: A Case Study On Configuration Dependency Validation11 Oct 2024
- 2024FT2Ra: A Fine-Tuning-Inspired Approach to Retrieval-Augmented Code Completion2 Apr 2024
- 2024Retrieval-Augmented Generation for AI-Generated Content: A Survey29 Feb 2024
- 2023RAP-Gen: Retrieval-Augmented Patch Generation with CodeT5 for Automatic Program Repair12 Sep 2023
- 2025Diffusion is a code repair operator and generatorcited by 3
- 2025Diffusion is a code repair operator and generator14 Aug 2025
- 2022Large Language Models Meet NL2Code: A Surveycited by 135
- 2023Retrieving Multimodal Information for Augmented Generation: A Surveycited by 84
- 2023Automatic Semantic Augmentation of Language Model Prompts (for Code Summarization)cited by 72
- 2025FEA-Bench: A Benchmark for Evaluating Repository-Level Code Generation for Feature Implementationcited by 57
- 2023Copiloting the Copilots: Fusing Large Language Models with Completion Engines for Automated Program Repaircited by 55
- 2023RepairLLaMA: Efficient Representations and Fine-Tuned Adapters for Program Repaircited by 50
- 2023Can It Edit? Evaluating the Ability of Large Language Models to Follow Code Editing Instructionscited by 46
- 2023Knowledge Transfer from High-Resource to Low-Resource Programming Languages for Code LLMscited by 45
- 2023A New Era in Software Security: Towards Self-Healing Software via Large Language Models and Formal Verificationcited by 42
- 2023Recommending Root-Cause and Mitigation Steps for Cloud Incidents using Large Language Modelscited by 38
- 2023Generating High-Precision Feedback for Programming Syntax Errors using Large Language Modelscited by 34
- 2023Fully Autonomous Programming with Large Language Modelscited by 31
12 most cited of 49 All 49 (JSON)
- 2026How Do LLMs Read Bug Reports? An Empirical Study of Attention in LLMs for Automated Program Repair28 Jul 2026
- 2026LIFT: Last-Mile Fine-Tuning for Table Explicitation13 May 2026
- 2026To Diff or Not to Diff? Structure-Aware and Adaptive Output Formats for Efficient LLM-based Code Editing30 Apr 2026
- 2026CONCUR: Benchmarking LLMs for Concurrent Code Generation4 Mar 2026
- 2026Canonical Intermediate Representation for LLM-based optimization problem formulation and code generation2 Feb 2026
- 2025SLEAN: Simple Lightweight Ensemble Analysis Network for Multi-Provider LLM Coordination: Design, Implementation, and Vibe Coding Bug Investigation Case Study11 Oct 2025
- 2025Generating High-Quality Datasets for Code Editing via Open-Source Language Models19 Sep 2025
- 2025PyVeritas: On Verifying Python via LLM-Based Transpilation and Bounded Model Checking for C11 Aug 2025
- 2025Simplifying Root Cause Analysis in Kubernetes with StateGraph and LLM3 Jun 2025
- 2025FEA-Bench: A Benchmark for Evaluating Repository-Level Code Generation for Feature Implementation9 Mar 2025
- 2025Large Language Model Guided Self-Debugging Code Generation5 Feb 2025
- 2025Fault Localization via Fine-tuning Large Language Models with Mutation Generated Stack Traces29 Jan 2025
12 newest of 49 All 49 (JSON)