Mutation-based Fault Localization of Deep Neural Networks
Ali Ghanbari, Deepak-George Thomas, Muhammad Arbab Arshad, Hridesh Rajan
摘要
Deep neural networks (DNNs) are susceptible to bugs, just like other types of software systems. A significant uptick in using DNN, and its applications in wide-ranging areas, including safety-critical systems, warrant extensive research on software engineering tools for improving the reliability of DNN-based systems. One such tool that has gained significant attention in the recent years is DNN fault localization. This paper revisits mutation-based fault localization in the context of DNN models and proposes a novel technique, named deepmufl, applicable to a wide range of DNN models. We have implemented deepmufl and have evaluated its effectiveness using 109 bugs obtained from StackOverflow. Our results show that deepmufl detects 53/109 of the bugs by ranking the buggy layer in top-1 position, outperforming state-of-the-art static and dynamic DNN fault localization systems that are also designed to target the class of bugs supported by deepmufl. Moreover, we observed that we can halve the fault localization time for a pre-trained model using mutation selection, yet losing only 7.55% of the bugs localized in ton-1 position.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Using Fourier Analysis and Mutant Clustering to Accelerate DNN Mutation Testing 引用了 DeepCrime: mutation testing of deep learning systems based on real faults
- Using Fourier Analysis and Mutant Clustering to Accelerate DNN Mutation Testing 引用了 Decomposition of Deep Neural Networks into Modules via Mutation Analysis
- BDefects4NN: A Backdoor Defect Database for Controlled Localization Studies in Neural Networks 引用了 DeepLocalize: Fault Localization for Deep Neural Networks
- BDefects4NN: A Backdoor Defect Database for Controlled Localization Studies in Neural Networks 引用了 DeepCrime: mutation testing of deep learning systems based on real faults
- QuanForge: A Mutation Testing Framework for Quantum Neural Networks 引用了 DeepCrime: mutation testing of deep learning systems based on real faults
- Improved Detection and Diagnosis of Faults in Deep Neural Networks Using Hierarchical and Explainable Classification 引用了 AUTOTRAINER: An Automatic DNN Training Problem Detection and Repair System
- Improved Detection and Diagnosis of Faults in Deep Neural Networks Using Hierarchical and Explainable Classification 引用了 Taxonomy of real faults in deep learning systems
- Improved Detection and Diagnosis of Faults in Deep Neural Networks Using Hierarchical and Explainable Classification 引用了 DeepLocalize: Fault Localization for Deep Neural Networks
- Improved Detection and Diagnosis of Faults in Deep Neural Networks Using Hierarchical and Explainable Classification 引用了 DeepCrime: mutation testing of deep learning systems based on real faults
- DeepLocalize: Fault Localization for Deep Neural Networks 引用了 Repairing deep neural networks: fix patterns and challenges
- DeepCrime: mutation testing of deep learning systems based on real faults 引用了 Taxonomy of real faults in deep learning systems
- Decomposition of Deep Neural Networks into Modules via Mutation Analysis 引用了 DeepCrime: mutation testing of deep learning systems based on real faults
引用它的顶会 Paper9
- Decomposition of Deep Neural Networks into Modules via Mutation AnalysisAli GhanbariISSTA 2024 · 4 次引用
- Improved Detection and Diagnosis of Faults in Deep Neural Networks Using Hierarchical and Explainable ClassificationSigma Jahan, Mehil B. Shah, Parvez Mahbub, Mohammad Masudur RahmanICSE 2025 · 2 次引用
- Using Fourier Analysis and Mutant Clustering to Accelerate DNN Mutation TestingAli Ghanbari, Sasan TavakkolASE 2025 · 1 次引用
- BDefects4NN: A Backdoor Defect Database for Controlled Localization Studies in Neural NetworksYisong Xiao, Aishan Liu, Xinwei Zhang, Tianyuan Zhang 等ICSE 2025
- QuanForge: A Mutation Testing Framework for Quantum Neural NetworksMinqi Shao, Shangzhou Xia, Jianjun ZhaoFSE 2026
它引用的 Paper8
- Taxonomy of real faults in deep learning systemsNargiz Humbatova, Gunel Jahangirova, Gabriele Bavota, Vincenzo Riccio 等ICSE 2020 · 281 次引用
- DeepCrime: mutation testing of deep learning systems based on real faultsNargiz Humbatova, Gunel Jahangirova, Paolo TonellaISSTA 2021 · 114 次引用
- Repairing deep neural networks: fix patterns and challengesMd Johirul Islam, Rangeet Pan, Giang Nguyen, Hridesh RajanICSE 2020 · 102 次引用
- DeepLocalize: Fault Localization for Deep Neural NetworksMohammad Wardat, Wei Le, Hridesh RajanICSE 2021 · 93 次引用
- AUTOTRAINER: An Automatic DNN Training Problem Detection and Repair SystemXiaoyu Zhang, Juan Zhai, Shiqing Ma, Chao ShenICSE 2021 · 62 次引用
相关 Paper
- Dynamic Data Fault Localization for Deep Neural NetworksYining Yin, Yang Feng, Shihao Weng, Zixi Liu 等FSE 2023 · 10 次引用
- DeepDiagnosis: Automatically Diagnosing Faults and Recommending Actionable Fixes in Deep Learning ProgramsMohammad Wardat, Breno Dantas Cruz, Wei Le, Hridesh RajanICSE 2022 · 46 次引用
- Element-Based Automated DNN Repair with Fine-Tuned Masked Language ModelXu Wang, Mingming Zhang, Xiangxin Meng, Jian Zhang 等FSE 2025
- Provably Lossless Acceleration of DNN Mutation Testing via MemoizationAli Ghanbari, Ben Greenman, Sasan Tavakkol, Shibbir AhmedISSTA 2026
- In Defense of Simple Techniques for Neural Network Test Case SelectionShenglin Bao, Chaofeng Sha, Bihuan Chen, Xin Peng 等ISSTA 2023 · 9 次引用
