mlsanityData to 14 Oct 2026

Automatic Fault Detection for Deep Learning Programs Using Graph Transformations

arXiv 2105.08095 ↗First posted 17 May 2021cs.SE cs.LGcited by 9

Not on the map. Why?

Abstract (arXiv)

Nowadays, we are witnessing an increasing demand in both corporates and academia for exploiting Deep Learning (DL) to solve complex real-world problems. A DL program encodes the network structure of a desirable DL model and the process by which the model learns from the training dataset. Like any software, a DL program can be faulty, which implies substantial challenges of software quality assurance, especially in safety-critical domains. It is therefore crucial to equip DL development teams with efficient fault detection techniques and tools. In this paper, we propose NeuraLint, a model-based fault detection approach for DL programs, using meta-modelling and graph transformations. First, we design a meta-model for DL programs that includes their base skeleton and fundamental properties. Then, we construct a graph-based verification process that covers 23 rules defined on top of the meta-model and implemented as graph transformations to detect faults and design inefficiencies in the generated models (i.e., instances of the meta-model). First, the proposed approach is evaluated by finding faults and design inefficiencies in 28 synthesized examples built from common problems reported in the literature. Then NeuraLint successfully finds 64 faults and design inefficiencies in 34 real-world DL programs extracted from Stack Overflow posts and GitHub repositories. The results show that NeuraLint effectively detects faults and design issues in both synthesized and real-world examples with a recall of 70.5 % and a precision of 100 %. Although the proposed meta-model is designed for feedforward neural networks, it can be extended to support other neural network architectures such as recurrent neural networks. Researchers can also expand our set of verification rules to cover more types of issues in DL programs.

Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 27 of its 49 references that are in the map. First posted on arXiv 17 May 2021.

Builds on

27 of 49 references.

References · 27

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  3. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
  4. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,005
  5. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,475
  6. 2016SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model sizecited by 1,060
  7. 2014Striving for Simplicity: The All Convolutional Netcited by 990
  8. 2017DeepXplore: Automated Whitebox Testing of Deep Learning Systemscited by 311
  9. 2017DeepTest: Automated Testing of Deep-Neural-Network-driven Autonomous Carscited by 251
  10. 2017Learning to Represent Programs with Graphscited by 220
  11. 2016Deep Pyramidal Residual Networkscited by 163
  12. 2018Activation Functions: Comparison of trends in Practice and Research for Deep Learningcited by 130
15 more
  1. 2016An Analysis of Deep Neural Network Models for Practical Applicationscited by 116
  2. 2019On the Impact of the Activation Function on Deep Neural Networks Trainingcited by 102
  3. 2019Taxonomy of Real Faults in Deep Learning Systemscited by 90
  4. 2014Convolutional Neural Networks at Constrained Time Costcited by 81
  5. 2019A Comprehensive Study on Deep Learning Bug Characteristicscited by 65
  6. 2018On Testing Machine Learning Programscited by 48
  7. 2018Understanding the Disharmony between Dropout and Batch Normalization by Variance Shiftcited by 37
  8. 2020Repairing Deep Neural Networks: Fix Patterns and Challengescited by 33
  9. 2018Identifying Implementation Bugs in Machine Learning based Image Classifiers using Metamorphic Testingcited by 31
  10. 2019DeepEvolution: A Search-Based Testing Approach for Deep Neural Networkscited by 15
  11. 2017Developing Bug-Free Machine Learning Systems With Formal Mathematicscited by 14
  12. 2018Towards Principled Design of Deep Convolutional Networks: Introducing SimpNetcited by 11
  13. 2016Deep Convolutional Neural Network Design Patternscited by 5
  14. 2019TFCheck : A TensorFlow Library for Detecting Training Issues in Neural Network Programscited by 3
  15. 2020Software Language Comprehension using a Program-Derived Semantics Graphcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2022: 1; 2023: 3; 2024: 2; 2025: 2; 2026: 1.

9 papers.