mlsanityData to 7 Oct 2026

InferFix: End-to-End Program Repair with LLMs

arXiv 2303.07263 ↗First posted 13 Mar 2023cs.SEcited by 113

Not on the map. Why?

Abstract (arXiv)

Software development life cycle is profoundly influenced by bugs: their introduction, identification, and eventual resolution account for a significant portion of software cost. This has motivated software engineering researchers and practitioners to propose different approaches for automating the identification and repair of software defects. Large language models have been adapted to the program repair task through few-shot demonstration learning and instruction prompting, treating this as an infilling task. However, these models have only focused on learning general bug-fixing patterns for uncategorized bugs mined from public repositories. In this paper, we propose InferFix: a transformer-based program repair framework paired with a state-of-the-art static analyzer to fix critical security and performance bugs. InferFix combines a Retriever -- transformer encoder model pretrained via contrastive learning objective, which aims at searching for semantically equivalent bugs and corresponding fixes; and a Generator -- a large language model (Codex Cushman) finetuned on supervised bug-fix data with prompts augmented via bug type annotations and semantically similar fixes retrieved from an external non-parametric memory. To train and evaluate our approach, we curated InferredBugs, a novel, metadata-rich dataset of bugs extracted by executing the Infer static analyzer on the change histories of thousands of Java and C# repositories. Our evaluation demonstrates that InferFix outperforms strong LLM baselines, with a top-1 accuracy of 65.6% for generating fixes in C# and 76.8% in Java. We discuss the deployment of InferFix alongside Infer at Microsoft which offers an end-to-end solution for detection, classification, and localization of bugs, as well as fixing and validation of candidate patches, integrated in the continuous integration pipeline to automate the software development workflow.

Key facts. Cited by 113 papers in the map (data through 7 Oct 2026). First posted on arXiv 13 Mar 2023.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 12; 2024: 40; 2025: 41; 2026: 20.

113 papers.

Sort:

By area:

  1. 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 389
  2. 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 380
  3. 2024Retrieval-Augmented Generation for AI-Generated Content: A Surveycited by 352
  4. 2024CRUXEval: A Benchmark for Code Reasoning, Understanding and Executioncited by 294
  5. 2024AutoCodeRover: Autonomous Program Improvementcited by 272
  6. 2024Debug like a Human: A Large Language Model Debugger via Verifying Runtime Execution Step-by-stepcited by 123
  7. 2023Retrieving Multimodal Information for Augmented Generation: A Surveycited by 84
  8. 2024When LLMs Meet Cybersecurity: A Systematic Literature Reviewcited by 70
  9. 2024Large Language Models for Cyber Security: A Systematic Literature Reviewcited by 65
  10. 2024SelfCodeAlign: Self-Alignment for Code Generationcited by 61
  11. 2024Bugs in Large Language Models Generated Code: An Empirical Studycited by 59
  12. 2023RepairLLaMA: Efficient Representations and Fine-Tuned Adapters for Program Repaircited by 50
38 more
  1. 2023Can It Edit? Evaluating the Ability of Large Language Models to Follow Code Editing Instructionscited by 46
  2. 2023SelfEvolve: A Code Evolution Framework via Large Language Modelscited by 43
  3. 2024Robustifying Safety-Aligned Large Language Models through Clean Data Curationcited by 43
  4. 2026Endless Terminals: Scaling RL Environments for Terminal Agentscited by 43
  5. 2023A New Era in Software Security: Towards Self-Healing Software via Large Language Models and Formal Verificationcited by 42
  6. 2024HumanEval Pro and MBPP Pro: Evaluating Large Language Models on Self-invoking Code Generationcited by 39
  7. 2024Can Large Language Models Understand Symbolic Graphics Programs?cited by 32
  8. 2024MHPP: Exploring the Capabilities and Limitations of Language Models Beyond Basic Code Generationcited by 25
  9. 2024How secure is AI-generated Code: A Large-Scale Comparison of Large Language Modelscited by 23
  10. 2024The Future of AI-Driven Software Engineeringcited by 23
  11. 2025Retrieval-Augmented Code Generation: A Survey with Focus on Repository-Level Approachescited by 20
  12. 2024Increasing the LLM Accuracy for Question Answering: Ontologies to the Rescue!cited by 18
  13. 2026SWE-Universe: Scale Real-World Verifiable Environments to Millionscited by 16
  14. 2024Embedding Large Language Models into Extended Reality: Opportunities and Challenges for Inclusion, Engagement, and Privacycited by 14
  15. 2024LiCoEval: Evaluating LLMs on License Compliance in Code Generationcited by 13
  16. 2024Aligning the Objective of LLM-based Program Repaircited by 12
  17. 2024Diffusion On Syntax Trees For Program Synthesiscited by 10
  18. 2025CASTLE: Benchmarking Dataset for Static Code Analyzers and LLMs towards CWE Detectioncited by 10
  19. 2025CXXCrafter: An LLM-Based Agent for Automated C/C++ Open Source Software Buildingcited by 10
  20. 2024Python is Not Always the Best Choice: Embracing Multilingual Program of Thoughtscited by 8
  21. 2024AutoCoder: Enhancing Code Large Language Model with textscAIEV-Instructcited by 8
  22. 2025Do LLMs Consider Security? An Empirical Study on Responses to Programming Questionscited by 8
  23. 2025OSVBench: Benchmarking LLMs on Specification Generation Tasks for Operating System Verificationcited by 8
  24. 2025Retrieval-Augmented Generation in Industry: An Interview Study on Use Cases, Requirements, Challenges, and Evaluationcited by 8
  25. 2024MetRex: A Benchmark for Verilog Code Metric Reasoning Using LLMscited by 7
  26. 2024Is Next Token Prediction Sufficient for GPT? Exploration on Code Logic Comprehensioncited by 6
  27. 2024Helping LLMs Improve Code Generation Using Feedback from Testing and Static Analysiscited by 6
  28. 2024How Propense Are Large Language Models at Producing Code Smells? A Benchmarking Studycited by 6
  29. 2025Retrieval-Augmented Code Review Comment Generationcited by 6
  30. 2023Frustrated with Code Quality Issues? LLMs can Help!cited by 5
  31. 2023Exploring the Limits of ChatGPT in Software Security Applicationscited by 5
  32. 2024Memory-Efficient Large Language Models for Program Repair with Semantic-Guided Patch Generationcited by 5
  33. 2025Logic Meets Magic: LLMs Cracking Smart Contract Vulnerabilitiescited by 5
  34. 2025PredicateFix: Repairing Static Analysis Alerts with Bridging Predicatescited by 5
  35. 2025Impact-driven Context Filtering For Cross-file Code Completioncited by 5
  36. 2024Leveraging Reviewer Experience in Code Review Comment Generationcited by 4
  37. 2024SC-Bench: A Large-Scale Dataset for Smart Contract Auditingcited by 4
  38. 2024Repository Structure-Aware Training Makes SLMs Better Issue Resolvercited by 4

50 most cited of 113 All 113 (JSON)