mlsanityData to 7 Oct 2026

RePair: Automated Program Repair with Process-based Feedback

arXiv 2408.11296 ↗First posted 21 Aug 2024cs.SE cs.CLcited by 16

On the map: LLM alignment / RLHF / preference optimisation → Process reward models for reasoning

Abstract (arXiv)

The gap between the trepidation of program reliability and the expense of repairs underscores the indispensability of Automated Program Repair (APR). APR is instrumental in transforming vulnerable programs into more robust ones, bolstering program reliability while simultaneously diminishing the financial burden of manual repairs. Commercial-scale language models (LM) have taken APR to unprecedented levels. However, the emergence reveals that for models fewer than 100B parameters, making single-step modifications may be difficult to achieve the desired effect. Moreover, humans interact with the LM through explicit prompts, which hinders the LM from receiving feedback from compiler and test cases to automatically optimize its repair policies. In this literature, we explore how small-scale LM (less than 20B) achieve excellent performance through process supervision and feedback. We start by constructing a dataset named CodeNet4Repair, replete with multiple repair records, which supervises the fine-tuning of a foundational model. Building upon the encouraging outcomes of reinforcement learning, we develop a reward model that serves as a critic, providing feedback for the fine-tuned LM's action, progressively optimizing its policy. During inference, we require the LM to generate solutions iteratively until the repair effect no longer improves or hits the maximum step limit. The results show that process-based not only outperforms larger outcome-based generation methods, but also nearly matches the performance of closed-source commercial large-scale LMs.

Key facts. Cited by 16 papers in the map (data through 7 Oct 2026). Placed in Process reward models for reasoning, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 31 of its 46 references that are in the map. First posted on arXiv 21 Aug 2024.

Builds on

31 of 46 references.

Closest ancestors · 1

Same direction, newest first

  1. 2022Solving math word problems with process- and outcome-based feedback25 Nov

Other references · 30

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022Training language models to follow instructions with human feedbackcited by 15,712
  3. 2017Proximal Policy Optimization Algorithmscited by 14,441
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  5. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  6. 2020Scaling Laws for Neural Language Modelscited by 6,411
  7. 2017Deep reinforcement learning from human preferencescited by 3,846
  8. 2020Learning to summarize from human feedbackcited by 2,562
  9. 2019Fine-Tuning Language Models from Human Preferencescited by 2,124
  10. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  11. 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,970
  12. 2022Competition-Level Code Generation with AlphaCodecited by 1,427
18 more
  1. 2021Measuring Coding Challenge Competence With APPScited by 879
  2. 2022GLM-130B: An Open Bilingual Pre-trained Modelcited by 837
  3. 2023CRITIC: Large Language Models Can Self-Correct with Tool-Interactive Critiquingcited by 751
  4. 2022CodeT: Code Generation with Generated Testscited by 369
  5. 2019Way Off-Policy Batch Deep Reinforcement Learning of Implicit Human Preferences in Dialogcited by 283
  6. 2016An Actor-Critic Algorithm for Sequence Predictioncited by 158
  7. 2022Execution-Based Evaluation for Open-Domain Code Generationcited by 89
  8. 2021CURE: Code-Aware Neural Machine Translation for Automatic Program Repaircited by 85
  9. 2023How Secure is Code Generated by ChatGPT?cited by 77
  10. 2023Copiloting the Copilots: Fusing Large Language Models with Completion Engines for Automated Program Repaircited by 55
  11. 2019On Learning Meaningful Code Changes via Neural Machine Translationcited by 50
  12. 2018Improving a Neural Semantic Parser by Counterfactual Learning from Human Bandit Feedbackcited by 32
  13. 2020Learning to Compare for Better Training and Evaluation of Open Domain Natural Language Generation Modelscited by 27
  14. 2023GAMMA: Revisiting Template-based Automated Program Repair via Mask Predictioncited by 22
  15. 2021Derivative-Free Reinforcement Learning: A Reviewcited by 15
  16. 2020Review4Repair: Code Review Aided Automatic Program Repairingcited by 13
  17. 2023Learning by Applying: A General Framework for Mathematical Reasoning via Enhancing Explicit Knowledge Learningcited by 5
  18. 2024EduNLP: Towards a Unified and Modularized Library for Educational Resourcescited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 9; 2026: 5.

16 papers.

Sort:

By area:

  1. 2025SWE-Synth: Synthesizing Verifiable Bug-Fix Data to Enable Large Language Models in Resolving Real-World Bugscited by 22
  2. 2025Blueprint First, Model Second: A Framework for Deterministic LLM Workflowcited by 11
  3. 2025Rethinking the Evaluation of Secure Code Generationcited by 10
  4. 2024OneNet: A Fine-Tuning Free Framework for Few-Shot Entity Linking via Large Language Model Promptingcited by 9
  5. 2024CursorCore: Assist Programming through Aligning Anythingcited by 6
  6. 2025LogiCase: Effective Test Case Generation from Logical Description in Competitive Programmingcited by 4
  7. 2025RepoDebug: Repository-Level Multi-Task and Multi-Language Debugging Evaluation of Large Language Modelscited by 4
  8. 2025AuPair: Golden Example Pairs for Code Repaircited by 3
  9. 2026DRAINCODE: Stealthy Energy Consumption Attacks on Retrieval-Augmented Code Generation via Context Poisoningcited by 3
  10. 2025SLMFix: Leveraging Small Language Models for Domain Specific Language Error Fixing with Reinforcement Learningcited by 2
  11. 2025Collaborative Agents for Automated Program Repair in Rubycited by 1
  12. 2026A Dual-Loop Agent Framework for Automated Vulnerability Reproductioncited by 1
4 more
  1. 2026Rethinking Automated Program Repair: The Impact of Bug Complexity, Fault Localization, and LLM Cost-efficiencycited by 1
  2. 2025SAGE:Specification-Aware Grammar Extraction for Automated Test Case Generation with LLMscited by 0
  3. 2026Framework and Benchmark for Code-Driven Agentic Testing in Web Developmentcited by 0
  4. 2026Test-Driven Approaches to Software Engineering with Large Language Models: A Survey of Phases, Tasks, and Agent Skillscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025A Survey of LLM-based Automated Program Repair: Taxonomies, Design Paradigms, and Applications
  2. 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repair
  3. 2025Unlocking LLM Repair Capabilities Through Cross-Language Translation and Multi-Agent Refinement
  4. 2025The Art of Repair: Optimizing Iterative Program Repair with Instruction-Tuned Models
  5. 2024ThinkRepair: Self-Directed Automated Program Repair
  6. 2026BoostAPR: Boosting Automated Program Repair via Execution-Grounded Reinforcement Learning with Dual Reward Models
  7. 2025FeedbackEval: A Benchmark for Evaluating Large Language Models in Feedback-Driven Code Repair Tasks
  8. 2026Refine After Generation: Toward Correct and Concise Patches in LLM-based Program Repair