arrow
Return

Testing convolutional neural network based deep learning systems: a statistical metamorphic approach

delete2025-01-30
delete0
delete
OA
AI
F
Faqeer Ur Rehman *
C
Clemente Izurieta
DOI:10.7717/peerj-cs.2658delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Machine learning technology spans many areas and today plays a significant role in addressing a wide range of problems in critical domains, i.e., healthcare, autonomous driving, finance, manufacturing, cybersecurity, etc. Metamorphic testing (MT) is considered a simple but very powerful approach in testing such computationally complex systems for which either an oracle is not available or is available but difficult to apply. Conventional metamorphic testing techniques have certain limitations in verifying deep learning-based models (i.e., convolutional neural networks (CNNs)) that have a stochastic nature (because of randomly initializing the network weights) in their training. In this article, we attempt to address this problem by using a statistical metamorphic testing (SMT) technique that does not require software testers to worry about fixing the random seeds (to get deterministic results) to verify the metamorphic relations (MRs). We propose seven MRs combined with different statistical methods to statistically verify whether the program under test adheres to the relation(s) specified in the MR(s). We further use mutation testing techniques to show the usefulness of the proposed approach in the healthcare space and test two CNN-based deep learning models (used for pneumonia detection among patients). The empirical results show that our proposed approach uncovers 85.71% of the implementation faults in the classifiers under test (CUT). Furthermore, we also propose an MRs minimization algorithm for the CUT, thus saving computational costs and organizational testing resources.
Keywords:
Metamorphic relations
Metamorphic testing
Testing convolutional neural networks (CNNs)
Testing deep learning systems
Testing pneumonia detection models
Metamorphic relations prioritization
Statistical metamorphic testing

Journal

PeerJ Computer Science cover
PeerJ Computer Science
IF:
2.5
Papers:
3.4K
Citations:
6.9K

Organization

M
Montana State Univ
Scholars:
235
Papers: 126
Citations: 40
Cited Papers

Cited Papers

ImageNet: A large-scale hierarchical image database
err2009-06-01
err0
PREAI
errJia Deng; Wei Dong; Richard Socher; Li-Jia Li; Kai Li; Li Fei-Fei
errShare
errSave
Testing and validating machine learning classifiers by metamorphic testing
err2011-04-01
err251
errOAAI
errXie, Xiaoyuan; Ho, Joshua W. K.; Murphy, Christian; Kaiser, Gail; Xu, Baowen; Chen, Tsong Yueh
errShare
errSave
Identifying implementation bugs in machine learning based image classifiers using metamorphic testing
err2018-07-12
err0
errOAAI
errAnurag Dwarakanath; Manish Ahuja; Samarth Sikand; Raghotham M. Rao; R. P. Jagadeesh Chandra Bose; Neville Dubash; Sanjay Podder
errShare
errSave
err
IF0
err
err0
errOAAI
err
errShare
errSave
Identifying pneumonia in chest X-rays: A deep learning approach
err2019-10-01
err246
PREAI
errJaiswal, Amit Kumar; Tiwari, Prayag; Kumar, Sachin; Gupta, Deepak; Khanna, Ashish; Rodrigues, Joel J. P. C.
errShare
errSave
err
IF0
err
err0
errOAAI
err
errShare
errSave
researcher View more