DeepLocalize: Fault Localization for Deep Neural Networks
Mohammad Wardat, Wei Le, Hridesh Rajan

TL;DR
DeepLocalize introduces a dynamic analysis method to automatically identify and localize faults in deep neural networks by analyzing value propagation trends, significantly improving debugging accuracy over existing tools.
Contribution
The paper presents a novel dynamic analysis approach for fault localization in DNNs, enabling automatic root cause identification and outperforming current debugging techniques.
Findings
Successfully localized 21 out of 40 bugs in DNN models.
Outperformed Keras debugging in fault detection for 34 out of 40 cases.
Provided a benchmark with real bugs and patches for evaluating debugging tools.
Abstract
Deep neural networks (DNNs) are becoming an integral part of most software systems. Previous work has shown that DNNs have bugs. Unfortunately, existing debugging techniques do not support localizing DNN bugs because of the lack of understanding of model behaviors. The entire DNN model appears as a black box. To address these problems, we propose an approach that automatically determines whether the model is buggy or not, and identifies the root causes. Our key insight is that historic trends in values propagated between layers can be analyzed to identify faults, and localize faults. To that end, we first enable dynamic analysis of deep learning applications: by converting it into an imperative representation and alternatively using a callback mechanism. Both mechanisms allows us to insert probes that enable dynamic analysis over the traces produced by the DNN while it is being trained…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdversarial Robustness in Machine Learning · Software Testing and Debugging Techniques · Software Engineering Research
