CURE: Code-Aware Neural Machine Translation for Automatic Program RepairTechnical Track
Fri 28 May 2021 09:30 - 09:50 at Blended Sessions Room 2 - 3.6.2. Program Repair: General Issues
Automatic program repair (APR) is crucial to improve software reliability. Recently, neural machine translation (NMT) techniques have been proposed to automatically fix bugs. While promising, these approaches have two major issues. Their search space often does not contain the correct fix and their search strategy ignores software knowledge such as strict code syntax. Due to these two issues, existing NMT-based techniques fail to outperform template-based approaches.
We propose CURE, a new NMT-based APR technique with three major novelties. First, CURE uses a subword tokenization technique to generate a smaller search space that contains more correct fixes. Second, CURE uses a new unsupervised programming language (PL) model to learn the correct syntax of source code before the APR task. Finally, CURE introduces a new code-aware search strategy that finds more correct fixes by focusing on searching for compilable patches and patches that are close in length to the buggy code.
Our evaluation on two widely-used benchmarks shows that CURE correctly fixes 57 Defects4J bugs and 26 QuixBugs bugs, outperforming all existing APR techniques on both benchmarks.
Thu 27 MayDisplayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change
20:50 - 21:50 | 3.6.2. Program Repair: General IssuesTechnical Track at Blended Sessions Room 2 +12h Chair(s): Sira Vegas Universidad Politecnica de Madrid | ||
20:50 20mPaper | Bounded Exhaustive Search of Alloy Specification RepairsTechnical Track Technical Track Simón Gutiérrez Brida University of Rio Cuarto and CONICET, Argentina, Germán Regis University of Rio Cuarto, Argentina, Guolong Zheng University of Nebraska Lincoln, Hamid Bagheri University of Nebraska-Lincoln, ThanhVu Nguyen University of Nebraska, Lincoln, Nazareno Aguirre University of Rio Cuarto and CONICET, Argentina, Marcelo F. Frias Dept. of Software Engineering Instituto Tecnológico de Buenos Aires Pre-print Media Attached | ||
21:10 20mPaper | Shipwright: A Human-in-the-Loop System for Dockerfile RepairTechnical Track Technical Track Jordan Henkel University of Wisconsin--Madison, Denini Silva Federal University of Pernambuco, Leopoldo Teixeira Federal University of Pernambuco, Marcelo d'Amorim Federal University of Pernambuco, Thomas Reps University of Wisconsin--Madison Pre-print Media Attached | ||
21:30 20mPaper | CURE: Code-Aware Neural Machine Translation for Automatic Program RepairTechnical Track Technical Track Pre-print Media Attached |
Fri 28 MayDisplayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change
08:50 - 09:50 | |||
08:50 20mPaper | Bounded Exhaustive Search of Alloy Specification RepairsTechnical Track Technical Track Simón Gutiérrez Brida University of Rio Cuarto and CONICET, Argentina, Germán Regis University of Rio Cuarto, Argentina, Guolong Zheng University of Nebraska Lincoln, Hamid Bagheri University of Nebraska-Lincoln, ThanhVu Nguyen University of Nebraska, Lincoln, Nazareno Aguirre University of Rio Cuarto and CONICET, Argentina, Marcelo F. Frias Dept. of Software Engineering Instituto Tecnológico de Buenos Aires Pre-print Media Attached | ||
09:10 20mPaper | Shipwright: A Human-in-the-Loop System for Dockerfile RepairTechnical Track Technical Track Jordan Henkel University of Wisconsin--Madison, Denini Silva Federal University of Pernambuco, Leopoldo Teixeira Federal University of Pernambuco, Marcelo d'Amorim Federal University of Pernambuco, Thomas Reps University of Wisconsin--Madison Pre-print Media Attached | ||
09:30 20mPaper | CURE: Code-Aware Neural Machine Translation for Automatic Program RepairTechnical Track Technical Track Pre-print Media Attached |