Exploring Neural Machine Translation Architectures for Automated Code Repair
Year: 2021
Type: dissertation
Abstract: We have, as individuals and as a society, become increasingly more dependant on software, thus, the consequences of failing software have also become greater. Identifying the failing parts of the software and fixing these parts manually could be time-consuming, expensive, and frustrating. The growing research field of automated code repair aims to tackle this problem, by applying machine learning techniques to be able to repair software in an automated fashion. In this thesis, we will compare various variations of the state-of-the-art neural machine translation architecture, the transformer, against each other and also against the former state-of-the-art LSTM architecture. We compare these architectures by swapping the sequence-to-sequence network integrated into the end-to-end automated repair tool, SEQUENCER [8], with our versions of the LSTM or transformer networks. We train a total of 25 different networks through four phases of training. We test our networks on two data sets, The CodRep-4 data set [7] and the Defects4J data set [23]. Our results show that while some of the transformer networks can compete with the LSTM model, it is not a guaranteed improvement and that fine-tuning the transformer models is required to achieve similar results as the LSTM model.
Source: NVA (Nasjonalt vitenarkiv)
Author: Nora Elisabeth Qi Eck Pålsrud
Institution: University of Oslo
Language: English
Subfield: Information Systems
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
Award: G1731361040
OpenAlex ID: W7019096511
