Unveiling Hidden DNN Defects with Decision-Based Metamorphic Testing

10/10/2022
by   Yuanyuan Yuan, et al.
0

Contemporary DNN testing works are frequently conducted using metamorphic testing (MT). In general, de facto MT frameworks mutate DNN input images using semantics-preserving mutations and determine if DNNs can yield consistent predictions. Nevertheless, we find that DNNs may rely on erroneous decisions (certain components on the DNN inputs) to make predictions, which may still retain the outputs by chance. Such DNN defects would be neglected by existing MT frameworks. Erroneous decisions, however, would likely result in successive mis-predictions over diverse images that may exist in real-life scenarios. This research aims to unveil the pervasiveness of hidden DNN defects caused by incorrect DNN decisions (but retaining consistent DNN predictions). To do so, we tailor and optimize modern eXplainable AI (XAI) techniques to identify visual concepts that represent regions in an input image upon which the DNN makes predictions. Then, we extend existing MT-based DNN testing frameworks to check the consistency of DNN decisions made over a test input and its mutated inputs. Our evaluation shows that existing MT frameworks are oblivious to a considerable number of DNN defects caused by erroneous decisions. We conduct human evaluations to justify the validity of our findings and to elucidate their characteristics. Through the lens of DNN decision-based metamorphic relations, we re-examine the effectiveness of metamorphic transformations proposed by existing MT frameworks. We summarize lessons from this study, which can provide insights and guidelines for future DNN testing.

READ FULL TEXT

page 4

page 5

page 6

research
08/11/2022

A Probabilistic Framework for Mutation Testing in Deep Neural Networks

Context: Mutation Testing (MT) is an important tool in traditional Softw...
research
11/22/2022

Application of property-based testing tools for metamorphic testing

Metamorphic testing (MT) is a general approach for the testing of a spec...
research
02/26/2021

Distribution-Aware Testing of Neural Networks Using Generative Models

The reliability of software that has a Deep Neural Network (DNN) as a co...
research
10/06/2021

Generalizing Neural Networks by Reflecting Deviating Data in Production

Trained with a sufficiently large training and testing dataset, Deep Neu...
research
03/14/2023

Sensitive Region-based Metamorphic Testing Framework using Explainable AI

Deep Learning (DL) is one of the most popular research topics in machine...
research
10/01/2019

Leveraging Model Interpretability and Stability to increase Model Robustness

State of the art Deep Neural Networks (DNN) can now achieve above human ...
research
07/12/2023

Peru Mining: Analysis and Forecast of Mining Production in Peru Using Time Series and Data Science Techniques

Peruvian mining plays a crucial role in the country's economy, being one...

Please sign up or login with your details

Forgot password? Click here to reset