RePair: Automated Program Repair with Process-based Feedback
Yuze Zhao, Zhenya Huang, Yixiao Ma, Rui Li, Kai Zhang, Hao Jiang, Qi, Liu, Linbo Zhu, Yu Su

TL;DR
This paper introduces RePair, a process-based feedback method for automated program repair using small-scale language models, which improves repair effectiveness by iterative feedback and nearly matches large commercial models.
Contribution
It presents a novel process supervision and feedback approach for small language models in automated program repair, enhancing performance without large-scale models.
Findings
Process-based feedback outperforms outcome-based methods.
Small models with process supervision nearly match large models.
Iterative repair improves success rates.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsParallel Computing and Optimization Techniques · Radiation Effects in Electronics · Fault Detection and Control Systems
