Skip to main navigation Skip to search Skip to main content

Systematic Analysis of Defect-Specific Code Abstraction for Neural Program Repair

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Automated program repair(APR) is in the spotlight in academia and the field to reduce the time and cost of maintenance for developers. Recently, APR has continued to study based on deep-learning models to understand and learn how to fix software bugs. Text-to-Text Transfer Transformer(T5), which scored state-of-the-art in natural language processing benchmarks, also showed promising results on program repair in recent studies. In deep-learning-based program repair studies, studies commonly propose code abstraction techniques to avoid vocabulary problems and learn fine code transformation to generate bug-fixing patches. However, there is not enough systematic analysis of code abstraction according to each bug type in deep-learning-based program repair. Therefore, We leverage TFix, T5-based program repair, to evaluate how code abstraction techniques affect neural program repair. Our experimental results showed that defect-specific code abstraction achives a higher average BLEU score than the existing code abstraction technique in both T5 and multilingual-T5(mT5) model-based TFix results. Also, mT5 model-based TFix, which is applied defect-specific code abstraction, gets a higher BLEU score in 37 error types of 52 ESLint error types than TFix.

Original languageEnglish
Title of host publicationProceedings - 2022 29th Asia-Pacific Software Engineering Conference, APSEC 2022
PublisherIEEE Computer Society
Pages81-89
Number of pages9
ISBN (Electronic)9781665455374
DOIs
StatePublished - 2022
Event29th Asia-Pacific Software Engineering Conference, APSEC 2022 - Virtual, Online, Japan
Duration: 6 Dec 20229 Dec 2022

Publication series

NameProceedings - Asia-Pacific Software Engineering Conference, APSEC
Volume2022-December
ISSN (Print)1530-1362

Conference

Conference29th Asia-Pacific Software Engineering Conference, APSEC 2022
Country/TerritoryJapan
CityVirtual, Online
Period6/12/229/12/22

Keywords

  • Automated program repair
  • Code abstraction
  • Deep learning
  • Transformers

Fingerprint

Dive into the research topics of 'Systematic Analysis of Defect-Specific Code Abstraction for Neural Program Repair'. Together they form a unique fingerprint.

Cite this