• Home
  • Search
  • MTL-TRANSFER: Leveraging Multi-task Learning and Transferred Knowledge for Improving Fault Localization and Program Repair
  • Cite Icon7
  • https://doi.org/10.1145/3654441Copy DOI Icon

MTL-TRANSFER: Leveraging Multi-task Learning and Transferred Knowledge for Improving Fault Localization and Program Repair

  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Fault localization (FL) and automated program repair (APR) are two main tasks of automatic software debugging. Compared with traditional methods, deep learning-based approaches have been demonstrated to achieve better performance in FL and APR tasks. However, the existing deep learning-based FL methods ignore the deep semantic features or only consider simple code representations. And for APR tasks, existing template-based APR methods are weak in selecting the correct fix templates for more effective program repair, which are also not able to synthesize patches via the embedded end-to-end code modification knowledge obtained by training models on large-scale bug-fix code pairs. Moreover, in most of FL and APR methods, the model designs and training phases are performed separately, leading to ineffective sharing of updated parameters and extracted knowledge during the training process. This limitation hinders the further improvement in the performance of FL and APR tasks. To solve the above problems, we propose a novel approach called MTL-TRANSFER, which leverages a multi-task learning strategy to extract deep semantic features and transferred knowledge from different perspectives. First, we construct a large-scale open-source bug datasets and implement 11 multi-task learning models for bug detection and patch generation sub-tasks on 11 commonly used bug types, as well as one multi-classifier to learn the relevant semantics for the subsequent fix template selection task. Second, an MLP-based ranking model is leveraged to fuse spectrum-based, mutation-based and semantic-based features to generate a sorted list of suspicious statements. Third, we combine the patches generated by the neural patch generation sub-task from the multi-task learning strategy with the optimized fix template selecting order gained from the multi-classifier mentioned above. Finally, the more accurate FL results, the optimized fix template selecting order, and the expanded patch candidates are combined together to further enhance the overall performance of APR tasks. Our extensive experiments on widely-used benchmark Defects4J show that MTL-TRANSFER outperforms all baselines in FL and APR tasks, proving the effectiveness of our approach. Compared with our previously proposed FL method TRANSFER-FL (which is also the state-of-the-art statement-level FL method), MTL-TRANSFER increases the faults hit by 8/11/12 on Top-1/3/5 metrics (92/159/183 in total). And on APR tasks, the number of successfully repaired bugs of MTL-TRANSFER under the perfect localization setting reaches 75, which is 8 more than our previous APR method TRANSFER-PR. Furthermore, another experiment to simulate the actual repair scenarios shows that MTL-TRANSFER can successfully repair 15 and 9 more bugs (56 in total) compared with TBar and TRANSFER, which demonstrates the effectiveness of the combination of our optimized FL and APR components.

Similar Papers
  • Research Article
  • Citations54

Fault localization for automated program repair: effectiveness, performance, repair correctness

  • Mar 26, 2016
  • Software Quality Journal
  • Fatmah Yousef Assiri +1
  • Research Article
  • Citations12

Restore: Retrospective Fault Localization Enhancing Automated Program Repair

  • Apr 02, 2020
  • IEEE Transactions on Software Engineering
  • Tongtong Xu +5
  • Research Article

Is Fault Localization Effective on Industrial Software? A Case Study on Computer-Aided Engineering Projects

  • Jan 20, 2026
  • ACM Transactions on Software Engineering and Methodology
  • Zhilei Ren +4
  • Conference Article
  • Citations8

Evaluating Fault Localization and Program Repair Capabilities of Existing Closed-Source General-Purpose LLMs

  • Apr 20, 2024
  • Shengbei Jiang +5
  • Conference Article
  • Citations1

Hey APR! Integrate Our Fault Localization Skill: Toward Better Automated Program Repair

  • Jun 01, 2022
  • Kyosuke Yamate +4
  • Research Article
  • Citations12

Evaluating the usage of fault localization in automated program repair: an empirical study

  • Sep 29, 2020
  • Frontiers of Computer Science
  • Deheng Yang +3
  • Conference Article
  • Citations13

A novel double terminal traveling wave fault location method not influenced by wave speed

  • Oct 01, 2009
  • Wu Zhihua +4
  • Conference Article
  • Citations51

A novel fault location method and algorithm for DC distribution protection

  • Oct 01, 2016
  • Xianyong Feng +2
  • Conference Article
  • Citations3

Real-time multiterminal fault location system for transmission networks

  • Oct 01, 2011
  • Yanfeng Gong +2
  • PDF
  • Research Article
  • Citations10

Traveling Wave-Based Fault Localization in FACTS-Compensated Transmission Line via Signal Decomposition Techniques

  • Feb 14, 2023
  • Energies
  • Saswati Mishra +3
  • PDF
  • Research Article
  • Citations12

A novel fault location method for the active distribution network based on dynamic quantum genetic algorithm

  • Feb 08, 2024
  • Electrical Engineering
  • Juan Wen +4
  • Research Article
  • Citations14

Optimal placement of voltage measurements for wide area fault location observability considering the uncertainty of network parameters

  • Aug 07, 2018
  • Electric Power Systems Research
  • Nader Jalali Marand +2
  • Conference Article
  • Citations7

Automatic Program Repair as Semantic Suggestions: An Empirical Study

  • Apr 01, 2021
  • Diogo Campos +3
  • Conference Article
  • Citations104

Can automated program repair refine fault localization? a unified debugging approach

  • Jul 18, 2020
  • Yiling Lou +6
  • Book Chapter
  • Citations4

Chapter 14 - Supervised Learning-Based Fault Location in Power Grids

  • Dec 01, 2017
  • Big Data Application in Power Systems
  • Hanif Livani
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.