vix.ing · top · new · best · stats · spec

Neural Program Repair by Jointly Learning to Localize and Repair

2019/04/03 by Marko Vasić, Aditya Kanade, Vasic, Marko +7 · 2 citations
Computer Science · Engineering · #Advanced Memory and Neural Computing #FOS: Computer and information sciences #Machine Learning (cs.LG) #Machine Learning (stat.ML) #Neural Networks and Applications #Software Engineering Research

paper · pdf · doi:10.48550/arxiv.1904.01720

openalex publication_date 2019/04/03 · openalex created_date 2025/10/10 · openalex updated_date 2026/07/28

Abstract

Due to its potential to improve programmer productivity and software quality, automated program repair has been an active topic of research. Newer techniques harness neural networks to learn directly from examples of buggy programs and their fixes. In this work, we consider a recently identified class of bugs called variable-misuse bugs. The state-of-the-art solution for variable misuse enumerates potential fixes for all possible bug locations in a program, before selecting the best prediction. We show that it is beneficial to train a model that jointly and directly localizes and repairs variable-misuse bugs. We present multi-headed pointer networks for this purpose, with one head each for localization and repair. The experimental results show that the joint model significantly outperforms an enumerative solution that uses a pointer based model for repair alone.

Cited by

Related