T5APR: Empowering Automated Program Repair across Languages through Checkpoint Ensemble
Reza Gharibi, Mohammad Hadi Sadreddini, Seyed Mostafa Fakhrahmad

TL;DR
T5APR is a multilingual neural program repair system that uses a pre-trained transformer model and checkpoint ensemble to effectively fix bugs across multiple programming languages, outperforming existing methods.
Contribution
It introduces T5APR, a novel multilingual APR approach leveraging CodeT5 and checkpoint ensemble, capable of fixing bugs across several languages with improved accuracy.
Findings
Correctly fixed 1,985 bugs across four languages.
Outperformed state-of-the-art techniques on six benchmarks.
Fixed 1,442 bugs that other methods did not address.
Abstract
Automated program repair (APR) using deep learning techniques has become an important area of research in recent years, aiming to automatically generate bug-fixing patches that can improve software reliability and maintainability. However, most existing methods either target a single language or require high computational resources to train multilingual models. In this paper, we propose T5APR, a novel neural program repair approach that provides a unified solution for bug fixing across multiple programming languages. T5APR leverages CodeT5, a powerful pre-trained text-to-text transformer model, and adopts a checkpoint ensemble strategy to improve patch recommendation. We conduct comprehensive evaluations on six well-known benchmarks in four programming languages (Java, Python, C, JavaScript), demonstrating T5APR's competitiveness against state-of-the-art techniques. T5APR correctly…
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
TopicsSoftware Testing and Debugging Techniques · Software Engineering Research · Software Reliability and Analysis Research
