Unveiling Hidden DNN Defects with Decision-Based Metamorphic Testing
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). First posted on arXiv 10 Oct 2022.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 2; 2024: 2; 2025: 1.
5 papers.
- 2023Explain Any Concept: Segment Anything Meets Concept-Based Explanationcited by 37
- 2024Validating LLM-Generated Programs with Metamorphic Prompt Testingcited by 6
- 2023Precise and Generalized Robustness Certification for Neural Networkscited by 4
- 2024MeTMaP: Metamorphic Testing for Detecting False Vector Matching Problems in LLM Augmented Generationcited by 4
- 2025Metamorphic Testing for Audio Content Moderation Softwarecited by 0
- 2025Metamorphic Testing for Audio Content Moderation Software29 Sep 2025
- 2024Validating LLM-Generated Programs with Metamorphic Prompt Testing11 Jun 2024
- 2024MeTMaP: Metamorphic Testing for Detecting False Vector Matching Problems in LLM Augmented Generation22 Feb 2024
- 2023Precise and Generalized Robustness Certification for Neural Networks11 Jun 2023
- 2023Explain Any Concept: Segment Anything Meets Concept-Based Explanation17 May 2023