Path Analysis for Effective Fault Localization in Deep Neural Networks
Not on the map. Why?
Abstract (arXiv)
Deep learning has revolutionized numerous fields, yet the reliability of Deep Neural Networks (DNNs) remains a concern due to their complexity and data dependency. Traditional software fault localization methods, such as Spectrum-based Fault Localization (SBFL), have been adapted for DNNs but often fall short in effectiveness. These methods typically overlook the propagation of faults through neural pathways, resulting in less precise fault detection. Research indicates that examining neural pathways, rather than individual neurons, is crucial because issues in one neuron can affect its entire pathway. By investigating these interconnected pathways, we can better identify and address problems arising from the collective activity of neurons. To address this limitation, we introduce the NP-SBFL method, which leverages Layer-wise Relevance Propagation (LRP) to identify essential faulty neural pathways. Our method explores multiple fault sources to accurately pinpoint faulty neurons by analyzing their interconnections. Additionally, our multi-stage gradient ascent (MGA) technique, an extension of gradient ascent (GA), enables sequential neuron activation to enhance fault detection. We evaluated NP-SBFL-MGA on the well-established MNIST and CIFAR-10 datasets, comparing it to other methods like DeepFault and NP-SBFL-GA, as well as three neuron measures: Tarantula, Ochiai, and Barinel. Our evaluation utilized all training and test samples (60,000 for MNIST and 50,000 for CIFAR-10) and revealed that NP-SBFL-MGA significantly outperformed the baselines in identifying suspicious pathways and generating adversarial inputs. Notably, Tarantula with NP-SBFL-MGA achieved a remarkable 96.75% fault detection rate compared to DeepFault's 89.90%. NP-SBFL-MGA highlights a strong correlation between critical path coverage and the number of failed tests in DNN fault localization.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 29 of its 73 references that are in the map. First posted on arXiv 29 Oct 2023.
Builds on
29 of 73 references.
References · 29
- 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,283
- 2016Improved Techniques for Training GANscited by 2,938
- 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,348
- 2019Importance Estimation for Neural Network Pruningcited by 531
- 2015Understanding Neural Networks Through Deep Visualizationcited by 332
- 2017DeepXplore: Automated Whitebox Testing of Deep Learning Systemscited by 307
- 2017DeepTest: Automated Testing of Deep-Neural-Network-driven Autonomous Carscited by 249
- 2019Machine Learning Testing: Survey, Landscapes and Horizonscited by 213
- 2017Neural Trojanscited by 151
- 2018DeepGauge: Multi-Granularity Testing Criteria for Deep Learning Systemscited by 144
- 2015Visualizing Deep Convolutional Neural Networks Using Natural Pre-Imagescited by 93
- 2015A Primer on Neural Network Models for Natural Language Processingcited by 75
17 more
- 2016"What is Relevant in a Text Document?": An Interpretable Machine Learning Approachcited by 53
- 2018On Testing Machine Learning Programscited by 48
- 2022Causality-based Neural Network Repaircited by 44
- 2021DeepLocalize: Fault Localization for Deep Neural Networkscited by 37
- 2018Testing Deep Neural Networkscited by 36
- 2019DeepFault: Fault Localization for Deep Neural Networkscited by 29
- 2019Arachne: Search Based Repair of Deep Neural Networkscited by 25
- 2021NNrepair: Constraint-based Repair of Neural Network Classifierscited by 24
- 2021DeepDiagnosis: Automatically Diagnosing Faults and Recommending Actionable Fixes in Deep Learning Programscited by 19
- 2022NPC: Neuron Path Coverage via Characterizing Decision Logic of Deep Neural Networkscited by 17
- 2022DeepFD: Automated Fault Diagnosis and Localization for Deep Learning Programscited by 16
- 2018DeepRoad: GAN-based Metamorphic Autonomous Driving System Testingcited by 9
- 2021Automatic Fault Detection for Deep Learning Programs Using Graph Transformationscited by 9
- 2021ArchRepair: Block-Level Architecture-Oriented Repairing for Deep Neural Networkscited by 7
- 2023Mutation-based Fault Localization of Deep Neural Networkscited by 5
- 2023Repairing Deep Neural Networks Based on Behavior Imitationcited by 4
- 2023An Effective Data-Driven Approach for Localizing Deep Learning Faultscited by 2
Built on by
Not cited yet.