DeepFD: Automated Fault Diagnosis and Localization for Deep Learning Programs
Not on the map. Why?
Abstract (arXiv)
As Deep Learning (DL) systems are widely deployed for mission-critical 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 the diagnosed faults in DL programs. It overcomes the limitations by identifying the root causes of faults in DL programs instead of neurons and diagnosing the faults by a learning approach instead of a set of hard-coded rules. The evaluation exhibits the potential of DeepFD. It correctly diagnoses 52% faulty DL programs, compared with around half (27%) achieved by the best state-of-the-art works. Besides, for fault localization, DeepFD also outperforms the existing works, correctly locating 42% faulty programs, which almost doubles the best result (23%) achieved by the existing works.
Key facts. Cited by 16 papers in the map (data through 14 Oct 2026). Builds on 18 of its 72 references that are in the map. First posted on arXiv 4 May 2022.
Builds on
18 of 72 references.
References · 18
- 2018Efficient Neural Architecture Search via Parameter Sharingcited by 837
- 2019Machine Learning Testing: Survey, Landscapes and Horizonscited by 218
- 2019Taxonomy of Real Faults in Deep Learning Systemscited by 90
- 2018A Walk with SGDcited by 78
- 2018DeepMutation: Mutation Testing of Deep Learning Systemscited by 67
- 2018Stable Recurrent Modelscited by 66
- 2019A Comprehensive Study on Deep Learning Bug Characteristicscited by 65
- 2018Software Engineering Challenges of Deep Learningcited by 41
- 2021DeepLocalize: Fault Localization for Deep Neural Networkscited by 38
- 2020Repairing Deep Neural Networks: Fix Patterns and Challengescited by 33
- 2019DeepFault: Fault Localization for Deep Neural Networkscited by 30
- 2021AlphaD3M: Machine Learning Pipeline Synthesiscited by 24
6 more
- 2014Random Walk Initialization for Training Very Deep Feedforward Networkscited by 13
- 2018An Empirical Study of Fault Localization Families and Their Combinationscited by 13
- 2021Graph Traversal with Tensor Functionals: A Meta-Algorithm for Scalable Learningcited by 12
- 2019Deep Neural Network Hyperparameter Optimization with Orthogonal Array Tuningcited by 11
- 2018Constructing Deep Neural Networks by Bayesian Network Structure Learningcited by 6
- 2020The effect of Target Normalization and Momentum on Dying ReLUcited by 6
Built on by
Citing papers per year: 2022: 1; 2023: 3; 2024: 2; 2025: 4; 2026: 6.
16 papers.
Sort:
By area:
- 2022Personalized Dialogue Generation with Persona-Adaptive Attentioncited by 24
- 2023Mutation-based Fault Localization of Deep Neural Networkscited by 5
- 2025Can Hessian-Based Insights Support Fault Diagnosis in Attention-based Models?cited by 2
- 2025Feature-Guided Analysis of Neural Networks: A Replication Studycited by 2
- 2023Tensor-Aware Energy Accountingcited by 1
- 2024Toward Debugging Deep Reinforcement Learning Programs with RLExplorercited by 1
- 2025Why Attention Fails: A Taxonomy of Faults in Attention-Based Neural Networkscited by 1
- 2025Imitation Game: Reproducing Deep Learning Bugs Leveraging an Intelligent Agentcited by 1
- 2023Path Analysis for Effective Fault Localization in Deep Neural Networkscited by 0
- 2024An Empirical Study of Fault Localisation Techniques for Deep Learningcited by 0
- 2026BTTackler: A Diagnosis-based Framework for Efficient Deep Learning Hyperparameter Optimizationcited by 0
- 2026Quality-Driven Selective Mutation for Deep Learningcited by 0
4 more
- 2026Hierarchical Fault Detection and Diagnosis for Transformer Architecturescited by 0
- 2026Training Dynamics of Neural Software Defect Predictors under Coupled Data-Quality Issuescited by 0
- 2026Evaluation-Strategy Gap in Fault Diagnosis of Deep Learning Programscited by 0
- 2026Deep4ge: DNN Training Trajectories for Fault Detection and Diagnosiscited by 0
- 2026Deep4ge: DNN Training Trajectories for Fault Detection and Diagnosis14 Jul 2026
- 2026Evaluation-Strategy Gap in Fault Diagnosis of Deep Learning Programs25 Jun 2026
- 2026Training Dynamics of Neural Software Defect Predictors under Coupled Data-Quality Issues23 Jun 2026
- 2026Hierarchical Fault Detection and Diagnosis for Transformer Architectures30 Apr 2026
- 2026Quality-Driven Selective Mutation for Deep Learning24 Apr 2026
- 2026BTTackler: A Diagnosis-based Framework for Efficient Deep Learning Hyperparameter Optimization27 Feb 2026
- 2025Imitation Game: Reproducing Deep Learning Bugs Leveraging an Intelligent Agent17 Dec 2025
- 2025Feature-Guided Analysis of Neural Networks: A Replication Study28 Oct 2025
- 2025Why Attention Fails: A Taxonomy of Faults in Attention-Based Neural Networks6 Aug 2025
- 2025Can Hessian-Based Insights Support Fault Diagnosis in Attention-based Models?9 Jun 2025
- 2024An Empirical Study of Fault Localisation Techniques for Deep Learning15 Dec 2024
- 2024Toward Debugging Deep Reinforcement Learning Programs with RLExplorer6 Oct 2024
4 more
- 2023Tensor-Aware Energy Accounting19 Nov 2023
- 2023Path Analysis for Effective Fault Localization in Deep Neural Networks29 Oct 2023
- 2023Mutation-based Fault Localization of Deep Neural Networks10 Sep 2023
- 2022Personalized Dialogue Generation with Persona-Adaptive Attention27 Oct 2022
- 2022Personalized Dialogue Generation with Persona-Adaptive Attentioncited by 24
- 2023Mutation-based Fault Localization of Deep Neural Networkscited by 5
- 2025Can Hessian-Based Insights Support Fault Diagnosis in Attention-based Models?cited by 2
- 2025Feature-Guided Analysis of Neural Networks: A Replication Studycited by 2
- 2023Tensor-Aware Energy Accountingcited by 1
- 2025Why Attention Fails: A Taxonomy of Faults in Attention-Based Neural Networkscited by 1
- 2023Path Analysis for Effective Fault Localization in Deep Neural Networkscited by 0
- 2024An Empirical Study of Fault Localisation Techniques for Deep Learningcited by 0
- 2026BTTackler: A Diagnosis-based Framework for Efficient Deep Learning Hyperparameter Optimizationcited by 0
- 2026Quality-Driven Selective Mutation for Deep Learningcited by 0
- 2026Hierarchical Fault Detection and Diagnosis for Transformer Architecturescited by 0
- 2026Training Dynamics of Neural Software Defect Predictors under Coupled Data-Quality Issuescited by 0
12 most cited of 14 All 14 (JSON)
- 2026Deep4ge: DNN Training Trajectories for Fault Detection and Diagnosis14 Jul 2026
- 2026Evaluation-Strategy Gap in Fault Diagnosis of Deep Learning Programs25 Jun 2026
- 2026Training Dynamics of Neural Software Defect Predictors under Coupled Data-Quality Issues23 Jun 2026
- 2026Hierarchical Fault Detection and Diagnosis for Transformer Architectures30 Apr 2026
- 2026Quality-Driven Selective Mutation for Deep Learning24 Apr 2026
- 2026BTTackler: A Diagnosis-based Framework for Efficient Deep Learning Hyperparameter Optimization27 Feb 2026
- 2025Feature-Guided Analysis of Neural Networks: A Replication Study28 Oct 2025
- 2025Why Attention Fails: A Taxonomy of Faults in Attention-Based Neural Networks6 Aug 2025
- 2025Can Hessian-Based Insights Support Fault Diagnosis in Attention-based Models?9 Jun 2025
- 2024An Empirical Study of Fault Localisation Techniques for Deep Learning15 Dec 2024
- 2023Tensor-Aware Energy Accounting19 Nov 2023
- 2023Path Analysis for Effective Fault Localization in Deep Neural Networks29 Oct 2023
12 newest of 14 All 14 (JSON)