Automated Repair of Programs from Large Language Models
Not on the map. Why?
Abstract (arXiv)
Large language models such as Codex, have shown the capability to produce code for many programming tasks. However, the success rate of existing models is low, especially for complex programming tasks. One of the reasons is that language models lack awareness of program semantics, resulting in incorrect programs, or even programs which do not compile. In this paper, we systematically study whether automated program repair (APR) techniques can fix the incorrect solutions produced by language models in LeetCode contests. The goal is to study whether APR techniques can enhance reliability in the code produced by large language models. Our study revealed that: (1) automatically generated code shares common programming mistakes with human-crafted solutions, indicating APR techniques may have potential to fix auto-generated code; (2) given bug location information provided by a statistical fault localization approach, the newly released Codex edit mode, which supports editing code, is similar to or better than existing Java repair tools TBar and Recoder in fixing incorrect solutions. By analyzing the experimental results generated by these tools, we provide several suggestions: (1) enhancing APR tools to surpass limitations in patch space (e.g., introducing more flexible fault localization) is desirable; (2) as large language models can derive more fix patterns by training on more data, future APR tools could shift focus from adding more fix patterns to synthesis/semantics based approaches, (3) combination of language models with APR to curate patch ingredients, is worth studying.
Key facts. Cited by 71 papers in the map (data through 7 Oct 2026). First posted on arXiv 21 May 2022.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 19; 2024: 22; 2025: 16; 2026: 14.
71 papers.
Sort:
By area:
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 389
- 2025Trae Agent: An LLM-based Agent for Software Engineering with Test-time Scalingcited by 93
- 2024Large Language Models Can Automatically Engineer Features for Few-Shot Tabular Learningcited by 79
- 2023Is ChatGPT the Ultimate Programming Assistant -- How far is it?cited by 72
- 2024NExT: Teaching Large Language Models to Reason about Code Executioncited by 60
- 2024Bugs in Large Language Models Generated Code: An Empirical Studycited by 59
- 2023Emotionally Numb or Empathetic? Evaluating How LLMs Feel Using EmotionBenchcited by 54
- 2024Code Repair with LLMs gives an Exploration-Exploitation Tradeoffcited by 50
- 2024Calibration and Correctness of Language Models for Codecited by 49
- 2023Can It Edit? Evaluating the Ability of Large Language Models to Follow Code Editing Instructionscited by 46
- 2023A New Era in Software Security: Towards Self-Healing Software via Large Language Models and Formal Verificationcited by 42
38 more
- 2023Generating High-Precision Feedback for Programming Syntax Errors using Large Language Modelscited by 34
- 2024An LLM-Assisted Easy-to-Trigger Backdoor Attack on Code Completion Models: Injecting Disguised Vulnerabilities against Strong Detectioncited by 32
- 2023Fully Autonomous Programming with Large Language Modelscited by 31
- 2025AI Agentic Programming: A Survey of Techniques, Challenges, and Opportunitiescited by 26
- 2024Can Large Language Models Serve as Data Analysts? A Multi-Agent Assisted Approach for Qualitative Data Analysiscited by 20
- 2023Trustworthy and Synergistic Artificial Intelligence for Software Engineering: Vision and Roadmapscited by 19
- 2023ITER: Iterative Neural Repair for Multi-Location Patchescited by 16
- 2023Revisiting the Reliability of Psychological Scales on Large Language Modelscited by 16
- 2024Evaluating Software Development Agents: Patch Patterns, Code Quality, and Issue Complexity in Real-World GitHub Scenarioscited by 16
- 2023Benchmarking and Explaining Large Language Model-based Code Generation: A Causality-Centric Approachcited by 15
- 2023Towards Generating Functionally Correct Code Edits from Natural Language Issue Descriptionscited by 14
- 2024CigaR: Cost-efficient Program Repair with LLMscited by 14
- 2024Are LLMs Correctly Integrated into Software Systems?cited by 13
- 2024Aligning the Objective of LLM-based Program Repaircited by 12
- 2025Reasoning-as-Logic-Units: Scaling Test-Time Reasoning in Large Language Models Through Logic Unit Alignmentcited by 12
- 2024LLMs: A Game-Changer for Software Engineers?cited by 11
- 2023Turbulence: Systematically and Automatically Testing Instruction-Tuned Large Language Models for Codecited by 9
- 2024RepairBench: Leaderboard of Frontier Models for Program Repaircited by 9
- 2024A Deep Dive Into Large Language Model Code Generation Mistakes: What and Why?cited by 9
- 2025Investigating The Smells of LLM Generated Codecited by 9
- 2023Seeing Seeds Beyond Weeds: Green Teaming Generative AI for Beneficial Usescited by 8
- 2024Can GPT-O1 Kill All Bugs? An Evaluation of GPT-Family LLMs on QuixBugscited by 7
- 2024On the Workflows and Smells of Leaderboard Operations (LBOps): An Exploratory Study of Foundation Model Leaderboardscited by 6
- 2025Agentic Services Computingcited by 6
- 2023Frustrated with Code Quality Issues? LLMs can Help!cited by 5
- 2023Configuration Validation with Large Language Modelscited by 4
- 2023LUNA: A Model-Based Universal Analysis Framework for Large Language Modelscited by 4
- 2025Code Copycat Conundrum: Demystifying Repetition in LLM-based Code Generationcited by 4
- 2025EditLord: Learning Code Transformation Rules for Code Editingcited by 4
- 2025PAGENT: Learning to Patch Software Engineering Agentscited by 4
- 2025Function-to-Style Guidance of LLMs for Code Translationcited by 4
- 2024Assessing the Latent Automated Program Repair Capabilities of Large Language Models using Round-Trip Translationcited by 3
- 2024CovRL: Fuzzing JavaScript Engines with Coverage-Guided Reinforcement Learning for LLM-based Mutationcited by 3
- 2024Automated Repair of AI Code with Large Language Models and Formal Verificationcited by 3
- 2025Leveraging Metamemory Agent for Enhanced Data-Free Code Generation in Large Language Modelscited by 3
- 2025Can Large Language Models Be Trusted as Evolutionary Optimizers for Network-Structured Combinatorial Problems?cited by 3
- 2024Renaissance of Literate Programming in the Era of LLMs: Enhancing LLM-Based Code Generation in Large-Scale Projectscited by 3
- 2025Benchmarking AI Models in Software Engineering: A Review, Search Tool, and Unified Approach for Elevating Benchmark Qualitycited by 3
50 most cited of 71 All 71 (JSON)
- 2026A Tool-Augmented, GPT-4 Chatbot for Real-Time Repository Data Analysis7 Sep 2026
- 2026Does Fault Localization Beat a Fresh Attempt? A Placebo-Controlled Study of Test-Guided Code Repair1 Sep 2026
- 2026An Exploratory Study on LLM-Generated Code and Comments in Code Repositories2 Jul 2026
- 2026TraceView: Interactive Visualization of Agentic Program Repair Trajectories20 Jun 2026
- 2026BLAgent: Agentic RAG for File-Level Bug Localization18 May 2026
- 2026Task Abstention for Large Language Models in Code Generation16 May 2026
- 2026XSearch: Explainable Code Search via Concept-to-Code Alignment15 May 2026
- 2026PYTHALAB-MERA: Validation-Grounded Memory, Retrieval, and Acceptance Control for Frozen-LLM Coding Agents8 May 2026
- 2026HYPERHEURIST: A Simulated Annealing-Based Control Framework for LLM-Driven Code Generation in Optimized Hardware Design17 Apr 2026
- 2026Procedural Refinement by LLM-driven Algorithmic Debugging for ARC-AGI-220 Mar 2026
- 2026CONCUR: Benchmarking LLMs for Concurrent Code Generation4 Mar 2026
- 2026SVRepair: Structured Visual Reasoning for Automated Program Repair5 Feb 2026
38 more
- 2026Human-Aligned Enhancement of Programming Answers with LLMs Guided by User Feedback24 Jan 2026
- 2026Structure-BiEval: A Self-Supervised, Dual-Track Framework for Decoupling Structure and Content in LLM Evaluation for Web Information Systems9 Jan 2026
- 2025Investigating The Smells of LLM Generated Code3 Oct 2025
- 2025Agentic Services Computing29 Sep 2025
- 2025HFuzzer: Testing Large Language Models for Package Hallucinations via Phrase-based Fuzzing28 Sep 2025
- 2025On the Soundness and Consistency of LLM Agents for Executing Test Cases Written in Natural Language23 Sep 2025
- 2025AI Agentic Programming: A Survey of Techniques, Challenges, and Opportunities15 Aug 2025
- 2025Trae Agent: An LLM-based Agent for Software Engineering with Test-time Scaling31 Jul 2025
- 2025The Impact of Fine-tuning Large Language Models on Automated Program Repair26 Jul 2025
- 2025Function-to-Style Guidance of LLMs for Code Translation15 Jul 2025
- 2025PAGENT: Learning to Patch Software Engineering Agents21 Jun 2025
- 2025Harnessing LLMs Explanations to Boost Surrogate Models in Tabular Data Classification9 May 2025
- 2025Code Copycat Conundrum: Demystifying Repetition in LLM-based Code Generation17 Apr 2025
- 2025EditLord: Learning Code Transformation Rules for Code Editing10 Mar 2025
- 2025Benchmarking AI Models in Software Engineering: A Review, Search Tool, and Unified Approach for Elevating Benchmark Quality7 Mar 2025
- 2025Reasoning-as-Logic-Units: Scaling Test-Time Reasoning in Large Language Models Through Logic Unit Alignment5 Feb 2025
- 2025Can Large Language Models Be Trusted as Evolutionary Optimizers for Network-Structured Combinatorial Problems?25 Jan 2025
- 2025Leveraging Metamemory Agent for Enhanced Data-Free Code Generation in Large Language Models14 Jan 2025
- 2024Enabling New HDLs with Agents31 Dec 2024
- 2024Renaissance of Literate Programming in the Era of LLMs: Enhancing LLM-Based Code Generation in Large-Scale Projects25 Dec 2024
- 2024A Deep Dive Into Large Language Model Code Generation Mistakes: What and Why?3 Nov 2024
- 2024LLMs: A Game-Changer for Software Engineers?1 Nov 2024
- 2024Evaluating Software Development Agents: Patch Patterns, Code Quality, and Issue Complexity in Real-World GitHub Scenarios16 Oct 2024
- 2024RepairBench: Leaderboard of Frontier Models for Program Repair27 Sep 2024
- 2024Can GPT-O1 Kill All Bugs? An Evaluation of GPT-Family LLMs on QuixBugs16 Sep 2024
- 2024Automatic Detection of LLM-Generated Code: A Comparative Case Study of Contemporary Models Across Function and Class Granularities2 Sep 2024
- 2024Are LLMs Correctly Integrated into Software Systems?6 Jul 2024
- 2024On the Workflows and Smells of Leaderboard Operations (LBOps): An Exploratory Study of Foundation Model Leaderboards4 Jul 2024
- 2024An LLM-Assisted Easy-to-Trigger Backdoor Attack on Code Completion Models: Injecting Disguised Vulnerabilities against Strong Detection10 Jun 2024
- 2024Code Repair with LLMs gives an Exploration-Exploitation Tradeoff26 May 2024
- 2024Automated Repair of AI Code with Large Language Models and Formal Verification14 May 2024
- 2024NExT: Teaching Large Language Models to Reason about Code Execution23 Apr 2024
- 2024Large Language Models Can Automatically Engineer Features for Few-Shot Tabular Learning15 Apr 2024
- 2024Aligning the Objective of LLM-based Program Repair13 Apr 2024
- 2024Bugs in Large Language Models Generated Code: An Empirical Study13 Mar 2024
- 2024CovRL: Fuzzing JavaScript Engines with Coverage-Guided Reinforcement Learning for LLM-based Mutation19 Feb 2024
- 2024CigaR: Cost-efficient Program Repair with LLMs9 Feb 2024
- 2024Calibration and Correctness of Language Models for Code3 Feb 2024
50 newest of 71 All 71 (JSON)
- 2025AI Agentic Programming: A Survey of Techniques, Challenges, and Opportunitiescited by 26
- 2024Can Large Language Models Serve as Data Analysts? A Multi-Agent Assisted Approach for Qualitative Data Analysiscited by 20
- 2024Evaluating Software Development Agents: Patch Patterns, Code Quality, and Issue Complexity in Real-World GitHub Scenarioscited by 16
- 2025Agentic Services Computingcited by 6
- 2025PAGENT: Learning to Patch Software Engineering Agentscited by 4
- 2025Leveraging Metamemory Agent for Enhanced Data-Free Code Generation in Large Language Modelscited by 3
- 2026TraceView: Interactive Visualization of Agentic Program Repair Trajectoriescited by 2
- 2024Enabling New HDLs with Agentscited by 0
- 2025On the Soundness and Consistency of LLM Agents for Executing Test Cases Written in Natural Languagecited by 0
- 2026PYTHALAB-MERA: Validation-Grounded Memory, Retrieval, and Acceptance Control for Frozen-LLM Coding Agentscited by 0
- 2026TraceView: Interactive Visualization of Agentic Program Repair Trajectories20 Jun 2026
- 2026PYTHALAB-MERA: Validation-Grounded Memory, Retrieval, and Acceptance Control for Frozen-LLM Coding Agents8 May 2026
- 2025Agentic Services Computing29 Sep 2025
- 2025On the Soundness and Consistency of LLM Agents for Executing Test Cases Written in Natural Language23 Sep 2025
- 2025AI Agentic Programming: A Survey of Techniques, Challenges, and Opportunities15 Aug 2025
- 2025PAGENT: Learning to Patch Software Engineering Agents21 Jun 2025
- 2025Leveraging Metamemory Agent for Enhanced Data-Free Code Generation in Large Language Models14 Jan 2025
- 2024Enabling New HDLs with Agents31 Dec 2024
- 2024Evaluating Software Development Agents: Patch Patterns, Code Quality, and Issue Complexity in Real-World GitHub Scenarios16 Oct 2024
- 2024Can Large Language Models Serve as Data Analysts? A Multi-Agent Assisted Approach for Qualitative Data Analysis2 Feb 2024
- 2025Trae Agent: An LLM-based Agent for Software Engineering with Test-time Scalingcited by 93
- 2024NExT: Teaching Large Language Models to Reason about Code Executioncited by 60
- 2025Reasoning-as-Logic-Units: Scaling Test-Time Reasoning in Large Language Models Through Logic Unit Alignmentcited by 12
- 2026SVRepair: Structured Visual Reasoning for Automated Program Repaircited by 2
- 2026SVRepair: Structured Visual Reasoning for Automated Program Repair5 Feb 2026
- 2025Trae Agent: An LLM-based Agent for Software Engineering with Test-time Scaling31 Jul 2025
- 2025Reasoning-as-Logic-Units: Scaling Test-Time Reasoning in Large Language Models Through Logic Unit Alignment5 Feb 2025
- 2024NExT: Teaching Large Language Models to Reason about Code Execution23 Apr 2024
- 2024Are LLMs Correctly Integrated into Software Systems?cited by 13
- 2026BLAgent: Agentic RAG for File-Level Bug Localizationcited by 0
- 2026BLAgent: Agentic RAG for File-Level Bug Localization18 May 2026
- 2024Are LLMs Correctly Integrated into Software Systems?6 Jul 2024
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 389
- 2024Large Language Models Can Automatically Engineer Features for Few-Shot Tabular Learningcited by 79
- 2023Is ChatGPT the Ultimate Programming Assistant -- How far is it?cited by 72
- 2024Bugs in Large Language Models Generated Code: An Empirical Studycited by 59
- 2023Emotionally Numb or Empathetic? Evaluating How LLMs Feel Using EmotionBenchcited by 54
- 2024Code Repair with LLMs gives an Exploration-Exploitation Tradeoffcited by 50
- 2024Calibration and Correctness of Language Models for Codecited by 49
- 2023Can It Edit? Evaluating the Ability of Large Language Models to Follow Code Editing Instructionscited by 46
- 2023A New Era in Software Security: Towards Self-Healing Software via Large Language Models and Formal Verificationcited by 42
- 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 53 All 53 (JSON)
- 2026A Tool-Augmented, GPT-4 Chatbot for Real-Time Repository Data Analysis7 Sep 2026
- 2026Does Fault Localization Beat a Fresh Attempt? A Placebo-Controlled Study of Test-Guided Code Repair1 Sep 2026
- 2026An Exploratory Study on LLM-Generated Code and Comments in Code Repositories2 Jul 2026
- 2026Task Abstention for Large Language Models in Code Generation16 May 2026
- 2026XSearch: Explainable Code Search via Concept-to-Code Alignment15 May 2026
- 2026HYPERHEURIST: A Simulated Annealing-Based Control Framework for LLM-Driven Code Generation in Optimized Hardware Design17 Apr 2026
- 2026Procedural Refinement by LLM-driven Algorithmic Debugging for ARC-AGI-220 Mar 2026
- 2026CONCUR: Benchmarking LLMs for Concurrent Code Generation4 Mar 2026
- 2026Human-Aligned Enhancement of Programming Answers with LLMs Guided by User Feedback24 Jan 2026
- 2026Structure-BiEval: A Self-Supervised, Dual-Track Framework for Decoupling Structure and Content in LLM Evaluation for Web Information Systems9 Jan 2026
- 2025Investigating The Smells of LLM Generated Code3 Oct 2025
- 2025HFuzzer: Testing Large Language Models for Package Hallucinations via Phrase-based Fuzzing28 Sep 2025
12 newest of 53 All 53 (JSON)