DeepFD: Automated Fault Diagnosis and Localization for Deep Learning Programs
Jialun Cao, Meiziniu Li, Xiao Chen, Ming Wen, Yongqiang Tian, Bo Wu, Shing-Chi Cheung
Abstract
As Deep Learning (DL) systems are widely deployed for missioncritical applications, debugging such systems becomes essential. Most existing works identify and repair suspicious neurons on the trained Deep Neural Network (DNN), which, unfortunately, might be a detour. Specifically, several existing studies have reported that many unsatisfactory behaviors are actually originated from the faults residing in DL programs. Besides, locating faulty neurons is not actionable for developers, while locating the faulty statements in DL programs can provide developers with more useful information for debugging. Though a few recent studies were proposed to pinpoint the faulty statements in DL programs or the training settings (e.g. too large learning rate), they were mainly designed based on predefined rules, leading to many false alarms or false negatives, especially when the faults are beyond their capabilities. In view of these limitations, in this paper, we proposed DeepFD, a learning-based fault diagnosis and localization framework which maps the fault localization task to a learning problem. In particular, it infers the suspicious fault types via monitoring the runtime features extracted during DNN model training, and then locates
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
9 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Design by Contract for Deep Learning APIs cites Repairing deep neural networks: fix patterns and challenges
- Design by Contract for Deep Learning APIs cites AUTOTRAINER: An Automatic DNN Training Problem Detection and Repair System
- Design by Contract for Deep Learning APIs cites Taxonomy of real faults in deep learning systems
- Design by Contract for Deep Learning APIs cites DeepLocalize: Fault Localization for Deep Neural Networks
- Improved Detection and Diagnosis of Faults in Deep Neural Networks Using Hierarchical and Explainable Classification cites 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 cites Mutation-based Fault Localization of Deep Neural Networks
- Improved Detection and Diagnosis of Faults in Deep Neural Networks Using Hierarchical and Explainable Classification cites Taxonomy of real faults in deep learning systems
- Improved Detection and Diagnosis of Faults in Deep Neural Networks Using Hierarchical and Explainable Classification cites DeepLocalize: Fault Localization for Deep Neural Networks
- Improved Detection and Diagnosis of Faults in Deep Neural Networks Using Hierarchical and Explainable Classification cites DeepCrime: mutation testing of deep learning systems based on real faults
- Mutation-based Fault Localization of Deep Neural Networks cites Repairing deep neural networks: fix patterns and challenges
- Mutation-based Fault Localization of Deep Neural Networks cites AUTOTRAINER: An Automatic DNN Training Problem Detection and Repair System
- Mutation-based Fault Localization of Deep Neural Networks cites Taxonomy of real faults in deep learning systems
- Mutation-based Fault Localization of Deep Neural Networks cites DeepLocalize: Fault Localization for Deep Neural Networks
- Mutation-based Fault Localization of Deep Neural Networks cites DeepCrime: mutation testing of deep learning systems based on real faults
- DeepLocalize: Fault Localization for Deep Neural Networks cites Repairing deep neural networks: fix patterns and challenges
- DeepCrime: mutation testing of deep learning systems based on real faults cites Taxonomy of real faults in deep learning systems
- OpGuard: Bitwise Alignment for Precise and General Debugging of Production LLM Training cites DeepLocalize: Fault Localization for Deep Neural Networks
- ROME: Testing Image Captioning Systems via Recursive Object Melting cites DeepCrime: mutation testing of deep learning systems based on real faults
Cited by top-tier papers9
- Mutation-based Fault Localization of Deep Neural NetworksAli Ghanbari, Deepak-George Thomas, Muhammad Arbab Arshad, Hridesh RajanASE 2023 · 20 citations
- Design by Contract for Deep Learning APIsShibbir Ahmed, Sayem Mohammad Imtiaz, Syeda Khairunnesa Samantha, Breno Dantas Cruz et al.FSE 2023 · 10 citations
- ROME: Testing Image Captioning Systems via Recursive Object MeltingBoxi Yu, Zhiqing Zhong, Jiaqi Li, Yixing Yang et al.ISSTA 2023 · 3 citations
- 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 citations
- OpGuard: Bitwise Alignment for Precise and General Debugging of Production LLM TrainingZiming Zhou, Yinjie Zhao, Hang Zhu, Wenxiao Wang et al.OSDI 2026 · 2 citations
Builds on8
- Taxonomy of real faults in deep learning systemsNargiz Humbatova, Gunel Jahangirova, Gabriele Bavota, Vincenzo Riccio et al.ICSE 2020 · 281 citations
- DeepCrime: mutation testing of deep learning systems based on real faultsNargiz Humbatova, Gunel Jahangirova, Paolo TonellaISSTA 2021 · 114 citations
- Repairing deep neural networks: fix patterns and challengesMd Johirul Islam, Rangeet Pan, Giang Nguyen, Hridesh RajanICSE 2020 · 102 citations
- DeepLocalize: Fault Localization for Deep Neural NetworksMohammad Wardat, Wei Le, Hridesh RajanICSE 2021 · 93 citations
- AUTOTRAINER: An Automatic DNN Training Problem Detection and Repair SystemXiaoyu Zhang, Juan Zhai, Shiqing Ma, Chao ShenICSE 2021 · 62 citations
Related papers
- DeepDiagnosis: Automatically Diagnosing Faults and Recommending Actionable Fixes in Deep Learning ProgramsMohammad Wardat, Breno Dantas Cruz, Wei Le, Hridesh RajanICSE 2022 · 46 citations
- Dynamic Data Fault Localization for Deep Neural NetworksYining Yin, Yang Feng, Shihao Weng, Zixi Liu et al.FSE 2023 · 10 citations
- An Empirical Study on Deployment Faults of Deep Learning Based Mobile ApplicationsZhenpeng Chen, Huihan Yao, Yiling Lou, Yanbin Cao et al.ICSE 2021 · 73 citations
- AI-Lancet: Locating Error-inducing Neurons to Optimize Neural NetworksYue Zhao, Hong Zhu, Kai Chen, Shengzhi ZhangCCS 2021 · 17 citations
- A comprehensive study on challenges in deploying deep learning based softwareZhenpeng Chen, Yanbin Cao, Yuanqiang Liu, Haoyu Wang et al.FSE 2020 · 121 citations
