Improving Fault Localization and Program Repair with Deep Semantic Features and Transferred Knowledge
Tue 10 May 2022 11:10 - 11:15 at ICSE room 2-odd hours - Program Repair 3 Chair(s): Tegawendé F. Bissyandé
Automatic software debugging mainly includes two tasks of fault localization and automated program repair. Compared with the traditional spectrum-based and mutation-based methods, deep learning-based methods are proposed to achieve better performance for fault localization. However, the existing methods ignore the deep semantic features or only consider simple code representations. They do not leverage the existing bug-related knowledge from large-scale open-source projects either. In addition, existing template-based program repair techniques can incorporate project specific information better than deep-learning approaches. However, they are weak in selecting the fix templates for efficient program repair. In this work, we propose a novel approach called TRANSFER, which leverages the deep semantic features and transferred knowledge from open-source data to improve fault localization and program repair. First, we build two large-scale open-source bug datasets and design 11 BiLSTM-based binary classifiers and a BiLSTM-based multi-classifier to learn deep semantic features of statements for fault localization and program repair, respectively. Second, we combine semantic-based, spectrum-based and mutation-based features and use an MLP-based model for fault localization. Third, the semantic-based features are leveraged to rank the fix templates for program repair. Our extensive experiments on widely-used benchmark Defects4J show that TRANSFER outperforms all baselines in fault localization, and is better than existing deep-learning methods in automated program repair. Compared with the typical template-based work TBar, TRANSFER can correctly repair 6 more bugs (47 in total) on Defects4J.
Tue 10 MayDisplayed time zone: Eastern Time (US & Canada) change
03:00 - 04:00 | Program Repair 1Technical Track / Journal-First Papers at ICSE room 2-odd hours Chair(s): Ritu Kapur University of Sannio | ||
03:00 5mTalk | Evaluating Automatic Program Repair Capabilities to Repair API Misuses Journal-First Papers Maria Kechagia University College London, Sergey Mechtaev University College London, Federica Sarro University College London, Mark Harman University College London Link to publication DOI Pre-print Media Attached | ||
03:05 5mTalk | Improving Fault Localization and Program Repair with Deep Semantic Features and Transferred Knowledge Technical Track Xiangxin Meng Beihang University, Beijing, China, Xu Wang Beihang University, Hongyu Zhang University of Newcastle, Hailong Sun School of Computer Science and Engineering, Beihang University, Beijing,China, Xudong Liu Beihang University DOI Pre-print Media Attached | ||
03:10 5mTalk | NPEX: Repairing Java Null Pointer Exceptions without Tests Technical Track Junhee Lee Korea University, South Korea, Seongjoon Hong Korea University, Hakjoo Oh Korea University Pre-print Media Attached | ||
03:15 5mTalk | Neural Program Repair using Execution-based Backpropagation Technical Track He Ye KTH Royal Institute of Technology, Matias Martinez University of Valenciennes, Martin Monperrus KTH Royal Institute of Technology Pre-print Media Attached | ||
03:20 5mTalk | Trust Enhancement Issues in Program Repair Technical Track Yannic Noller National University of Singapore, Ridwan Salihin Shariffdeen National University of Singapore, Xiang Gao Beihang University, China, Abhik Roychoudhury National University of Singapore Pre-print Media Attached | ||
03:25 5mTalk | Causality-Based Neural Network Repair Technical Track Bing Sun Singapore Management University, Singapore, Jun Sun Singapore Management University, Long H. Pham Singapore University of Technology and Design, Jie Shi Huawei International Pre-print Media Attached |
11:00 - 12:00 | Program Repair 3Technical Track / Journal-First Papers at ICSE room 2-odd hours Chair(s): Tegawendé F. Bissyandé SnT, University of Luxembourg | ||
11:00 5mTalk | Learning Lenient Parsing & Typing via Indirect Supervision Journal-First Papers Toufique Ahmed University of California at Davis, Prem Devanbu Department of Computer Science, University of California, Davis, Vincent J. Hellendoorn Carnegie Mellon University Link to publication DOI Pre-print Media Attached | ||
11:05 5mTalk | Evaluating Automatic Program Repair Capabilities to Repair API Misuses Journal-First Papers Maria Kechagia University College London, Sergey Mechtaev University College London, Federica Sarro University College London, Mark Harman University College London Link to publication DOI Pre-print Media Attached | ||
11:10 5mTalk | Improving Fault Localization and Program Repair with Deep Semantic Features and Transferred Knowledge Technical Track Xiangxin Meng Beihang University, Beijing, China, Xu Wang Beihang University, Hongyu Zhang University of Newcastle, Hailong Sun School of Computer Science and Engineering, Beihang University, Beijing,China, Xudong Liu Beihang University DOI Pre-print Media Attached | ||
11:15 5mTalk | DEAR: A Novel Deep Learning-based Approach for Automated Program Repair Technical Track Yi Li New Jersey Institute of Technology, Shaohua Wang New Jersey Institute of Technology, Tien N. Nguyen University of Texas at Dallas Pre-print | ||
11:20 5mTalk | Neural Program Repair using Execution-based Backpropagation Technical Track He Ye KTH Royal Institute of Technology, Matias Martinez University of Valenciennes, Martin Monperrus KTH Royal Institute of Technology Pre-print Media Attached |