mlsanityData to 14 Oct 2026

Practical Program Repair in the Era of Large Pre-trained Language Models

arXiv 2210.14179 ↗First posted 25 Oct 2022cs.SEcited by 133

Not on the map. Why?

Cited by 28 in LLM agents and tool use, but placed by its own abstract, which didn’t fit.

Abstract (arXiv)

Automated Program Repair (APR) aims to help developers automatically patch software bugs. However, current state-of-the-art traditional and learning-based APR techniques face the problem of limited patch variety, failing to fix complicated bugs. This is mainly due to the reliance on bug-fixing datasets to craft fix templates or directly predict potential patches. Large Pre-Trained Language Models (PLMs), trained using billions of text/code tokens, can potentially help avoid this issue. Very recently, researchers have directly leveraged PLMs for APR without relying on any bug-fixing datasets. Meanwhile, such existing work either failed to include state-of-the-art PLMs or was not evaluated on realistic datasets. In this work, we perform the first extensive study on directly applying PLMs for APR. We select 9 recent state-of-the-art PLMs, including both generative and infilling models, ranging from 125M to 20B in size. We designed 3 different repair settings to evaluate the different ways we can use PLMs to generate patches. We apply the PLMs under these repair settings on 5 datasets across 3 different languages and compare different PLMs in the number of bugs fixed, generation speed and compilation rate. Our study demonstrates that directly applying state-of-the-art PLMs can already substantially outperform all existing APR techniques on all our datasets. Among the studied PLMs, the scaling effect exists for APR where larger models tend to achieve better performance. Also, we show for the first time that suffix code after the buggy line (adopted in infilling-style APR) is important in not only generating more fixes but more patches with higher compilation rate. Besides patch generation, the PLMs consider correct patches to be more natural than other ones, and can even be leveraged for effective patch ranking or patch correctness checking.

Key facts. Cited by 133 papers in the map (data through 14 Oct 2026). First posted on arXiv 25 Oct 2022.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 22; 2024: 44; 2025: 35; 2026: 32.

133 papers.

Sort:

By area:

  1. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,391
  2. 2024Agentless: Demystifying LLM-based Software Engineering Agentscited by 421
  3. 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 399
  4. 2024CRUXEval: A Benchmark for Code Reasoning, Understanding and Executioncited by 300
  5. 2025SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software Evolutioncited by 263
  6. 2023Magicoder: Empowering Code Generation with OSS-Instructcited by 256
  7. 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repaircited by 232
  8. 2024Large Language Model-Based Agents for Software Engineering: A Surveycited by 178
  9. 2024MAGIS: LLM-Based Multi-Agent Framework for GitHub Issue Resolutioncited by 134
  10. 2024Beyond Functional Correctness: Exploring Hallucinations in LLM-Generated Codecited by 107
  11. 2025SEC-bench: Automated Benchmarking of LLM Agents on Real-World Software Security Taskscited by 75
  12. 2024MarsCode Agent: AI-native Automated Bug Fixingcited by 71
38 more
  1. 2024NExT: Teaching Large Language Models to Reason about Code Executioncited by 63
  2. 2024SelfCodeAlign: Self-Alignment for Code Generationcited by 62
  3. 2025OpenCodeInstruct: A Large-scale Instruction Tuning Dataset for Code LLMscited by 60
  4. 2025CWEval: Outcome-driven Evaluation on Functionality and Security of LLM Code Generationcited by 59
  5. 2024Exploring and Unleashing the Power of Large Language Models in Automated Code Translationcited by 57
  6. 2023Copiloting the Copilots: Fusing Large Language Models with Completion Engines for Automated Program Repaircited by 55
  7. 2023Large Language Models for Compiler Optimizationcited by 52
  8. 2024Code Repair with LLMs gives an Exploration-Exploitation Tradeoffcited by 51
  9. 2023Large Language Model-Powered Smart Contract Vulnerability Detection: New Perspectivescited by 48
  10. 2024From Code to Correctness: Closing the Last Mile of Code Generation with Hierarchical Debuggingcited by 46
  11. 2023A New Era in Software Security: Towards Self-Healing Software via Large Language Models and Formal Verificationcited by 42
  12. 2023Look Before You Leap: An Exploratory Study of Uncertainty Measurement for Large Language Modelscited by 41
  13. 2024Top Leaderboard Ranking = Top Coding Proficiency, Always? EvoEval: Evolving Coding Benchmarks via LLMcited by 40
  14. 2024LeDex: Training LLMs to Better Self-Debug and Explain Codecited by 40
  15. 2024An LLM-Assisted Easy-to-Trigger Backdoor Attack on Code Completion Models: Injecting Disguised Vulnerabilities against Strong Detectioncited by 40
  16. 2024Meta Large Language Model Compiler: Foundation Models of Compiler Optimizationcited by 39
  17. 2025LessLeak-Bench: A First Investigation of Data Leakage in LLMs Across 83 Software Engineering Benchmarkscited by 37
  18. 2026From Failed Trajectories to Reliable LLM Agents: Diagnosing and Repairing Harness Flawscited by 29
  19. 2023Exploring Parameter-Efficient Fine-Tuning Techniques for Code Generation with Large Language Modelscited by 28
  20. 2024Search-Based LLMs for Code Optimizationcited by 28
  21. 2025KNighter: Transforming Static Analysis with LLM-Synthesized Checkerscited by 24
  22. 2025SWE-Synth: Synthesizing Verifiable Bug-Fix Data to Enable Large Language Models in Resolving Real-World Bugscited by 22
  23. 2023Exploring ChatGPT's Capabilities on Vulnerability Managementcited by 19
  24. 2024NaturalCodeBench: Examining Coding Performance Mismatch on HumanEval and Natural User Promptscited by 19
  25. 2025From CVE Entries to Verifiable Exploits: An Automated Multi-Agent Framework for Reproducing CVEscited by 18
  26. 2023Can Transformers Learn to Solve Problems Recursively?cited by 17
  27. 2023KernelGPT: Enhanced Kernel Fuzzing via Large Language Modelscited by 17
  28. 2023From Commit Message Generation to History-Aware Commit Message Completioncited by 16
  29. 2024OptLLM: Optimal Assignment of Queries to Large Language Modelscited by 16
  30. 2025SWE-Dev: Evaluating and Training Autonomous Feature-Driven Software Developmentcited by 16
  31. 2024CigaR: Cost-efficient Program Repair with LLMscited by 15
  32. 2026SWE-MeM: Learning Adaptive Memory Management for Long-Horizon Coding Agentscited by 15
  33. 2024Transformer-Based Models Are Not Yet Perfect At Learning to Emulate Structural Recursioncited by 14
  34. 2024LiCoEval: Evaluating LLMs on License Compliance in Code Generationcited by 14
  35. 2024Collu-Bench: A Benchmark for Predicting Language Model Hallucinations in Codecited by 13
  36. 2023Nova: Generative Language Models for Assembly Code with Hierarchical Attention and Contrastive Learningcited by 12
  37. 2024Aligning the Objective of LLM-based Program Repaircited by 12
  38. 2024Laurel: Unblocking Automated Verification with Large Language Modelscited by 11

50 most cited of 133 All 133 (JSON)