Mutation-based Fault Localization of Deep Neural Networks

Ali Ghanbari, Deepak-George Thomas, Muhammad Arbab Arshad, Hridesh Rajan
9/10/2023
cs.SEcs.LG

Official code: ali-ghanbari/deepmufl-ase-2023 (10 stars, Apache-2.0, last commit 2024-01-25).

Abstract

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 top-1 position.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Mutation-based Fault Localization of Deep Neural Networks

101PythonJul 31, 20232 years agoApache-2.0

Cite this paper

@article{ghanbari2023mutationbased,
  title  = {Mutation-based Fault Localization of Deep Neural Networks},
  author = {Ali Ghanbari and Deepak-George Thomas and Muhammad Arbab Arshad and Hridesh Rajan},
  year   = {2023},
  eprint = {2309.05067},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.05067v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2309.05067.svg)](https://codeofpaper.com/paper/2309.05067)

Discussion