# An empirical study of fault localisation techniques for deep neural networks

**Authors:** Nargiz Humbatova, Jinhan Kim, Gunel Jahangirova, Shin Yoo, Paolo Tonella

PMC · DOI: 10.1007/s10664-025-10657-7 · 2025-06-10

## TL;DR

This paper evaluates tools that help find faults in deep neural networks and finds that using alternative patches improves their performance.

## Contribution

The study introduces a benchmark with real and mutated faults and shows the impact of using alternative patches for evaluation.

## Key findings

- Using a single ground truth for evaluation leads to low recall and precision in fault localisation.
- Considering alternative patches significantly improves the performance of fault localisation tools.
- DeepFD is the most effective tool with an average recall of 0.55 and precision of 0.37.

## Abstract

With the increased popularity of Deep Neural Networks (DNNs), increases also the need for tools to assist developers in the DNN implementation, testing and debugging process. Several approaches have been proposed that automatically analyse and localise potential faults in DNNs under test. In this work, we evaluate and compare existing state-of-the-art fault localisation techniques, which operate based on both dynamic and static analysis of the DNN. The evaluation is performed on a benchmark consisting of both real faults obtained from bug reporting platforms and faulty models produced by a mutation tool. Our findings indicate that the usage of a single, specific ground truth (e.g. the human-defined one) for the evaluation of DNN fault localisation tools results in pretty low performance (maximum average recall of 0.33 and precision of 0.21). However, such figures increase when considering alternative, equivalent patches that exist for a given faulty DNN. The results indicate that DeepFD is the most effective tool, achieving an average recall of 0.55 and a precision of 0.37 on our benchmark.

## Full-text entities

- **Chemicals:** DNN (-)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Figures

7 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12152046/full.md

---
Source: https://tomesphere.com/paper/PMC12152046