1
Return

P-NPR: Practical Neural Program Repair via Learning to Ensemble

delete2026-04-28
delete0
PRE
AI
Z
Zhongqiang Pan
李传艺 (Chuanyi Li)
W
Wenkang Zhong
B
Bin Luo
V
Vincent Ng
DOI:10.1109/tse.2026.3687916delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
The rapid emergence of Large Language Model (LLM)-based program repair tools has significantly advanced the potential of automated program repair. Nevertheless, traditional Neural Program Repair (NPR) tools continue to offer unique value in resource-constrained or latency-sensitive scenarios due to their lightweight nature. Over 50 such NPR tools have been designed and proven effective at fixing various bugs using only the buggy code as input. Recent studies further demonstrate that combining these tools through ensemble strategies can enhance overall repair performance by leveraging their complementary strengths. However, existing ensemble approaches still suffer from two critical limitations: (1) they rely on manual feature summarization, requiring labor-intensive labeling of bug characteristics, and (2) they ignore the common “all-tools-fail” scenario (e.g., even a set of 15 state-of-the-art tools leaves over 66% of Defects4J bugs unfixed), which incurs unnecessary computational overhead. To address these issues, we propose Practical Neural Program Repair (P-NPR), a novel ensemble strategy that employs multi-label classification to automatically learn to characterize bugs and introduces a dedicated “AllFailure” label to explicitly sidestep futile repair attempts. Experimental results show that P-NPR outperforms the state-of-the-art ensemble strategy (i.e., P-EPR) by over 65% in Top1-accuracy, while reducing runtime by up to 45% and GPU memory usage by up to 23% across evaluated datasets.
Keywords:
Program repair
multi-label classification

Journal

IEEE Transactions on Software Engineering cover
IEEE Transactions on Software Engineering
IF:
5.6
Papers:
2.8K
Citations:
1.1W

Organization

N
nanjing university
Scholars:
7.6W
Papers: 5.5W
Citations: 87
U
university of texas at dallas
Scholars:
349
Papers: 163
Citations: 0
Cited Papers

Cited Papers

Citing Papers

Citing Papers