Identifying Implementation Bugs in Machine Learning based Image Classifiers using Metamorphic Testing
Not on the map. Why?
Abstract (arXiv)
We have recently witnessed tremendous success of Machine Learning (ML) in practical applications. Computer vision, speech recognition and language translation have all seen a near human level performance. We expect, in the near future, most business applications will have some form of ML. However, testing such applications is extremely challenging and would be very expensive if we follow today's methodologies. In this work, we present an articulation of the challenges in testing ML based applications. We then present our solution approach, based on the concept of Metamorphic Testing, which aims to identify implementation bugs in ML based image classifiers. We have developed metamorphic relations for an application based on Support Vector Machine and a Deep Learning based application. Empirical validation showed that our approach was able to catch 71% of the implementation bugs in the ML applications.
Key facts. Cited by 30 papers in the map (data through 7 Oct 2026). First posted on arXiv 16 Aug 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 5; 2022: 7; 2023: 7; 2024: 2; 2025: 5; 2026: 4.
30 papers.
Sort:
By area:
- 2021Software Engineering for AI-Based Systems: A Surveycited by 68
- 2023MTTM: Metamorphic Testing for Textual Content Moderation Softwarecited by 20
- 2024New Job, New Gender? Measuring the Social Bias in Image Generation Modelscited by 15
- 2021MDPFuzz: Testing Models Solving Markov Decision Processescited by 11
- 2022If a Human Can See It, So Should Your System: Reliability Requirements for Machine Vision Componentscited by 11
- 2024A Survey on Verification and Validation, Testing and Evaluations of Neurosymbolic Artificial Intelligencecited by 10
- 2021Automatic Fault Detection for Deep Learning Programs Using Graph Transformationscited by 9
- 2023"Oops, Did I Just Say That?" Testing and Repairing Unethical Suggestions of Large Language Models with Suggest-Critique-Reflect Processcited by 9
- 2022Towards a Change Taxonomy for Machine Learning Systemscited by 6
- 2023Perfect is the enemy of test oraclecited by 6
- 2022Software Testing for Machine Learningcited by 5
- 2022Specifying and Testing k-Safety Properties for Machine-Learning Modelscited by 5
18 more
- 2023Validating Multimedia Content Moderation Software via Semantic Fusioncited by 5
- 2025Rule-Guided Reinforcement Learning Policy Evaluation and Improvementcited by 4
- 2023Semantic-Based Neural Network Repaircited by 3
- 2023An Image is Worth a Thousand Toxic Words: A Metamorphic Testing Framework for Content Moderation Softwarecited by 3
- 2023Test & Evaluation Best Practices for Machine Learning-Enabled Systemscited by 3
- 2025Metamorphic Testing for Pose Estimation Systemscited by 3
- 2021ML4ML: Automated Invariance Testing for Machine Learning Modelscited by 2
- 2022Testing Deep Learning Models: A First Comparative Study of Multiple Testing Techniquescited by 2
- 2022Testing Feedforward Neural Networks Training Programscited by 2
- 2025MetaRAG: Metamorphic Testing for Hallucination Detection in RAG Systemscited by 2
- 2026Semantic Invariance in Agentic AIcited by 2
- 2021Provably Valid and Diverse Mutations of Real-World Media Data for DNN Testingcited by 1
- 2022ExAIS: Executable AI Semanticscited by 1
- 2025TigAug: Data Augmentation for Testing Traffic Light Detection in Autonomous Driving Systemscited by 0
- 2025Metamorphic Testing for Audio Content Moderation Softwarecited by 0
- 2026Metamorphic Testing with the Rashomon Set: Explanation Faithfulness in Machine Learningcited by 0
- 2026Metamorphic Testing for Clinical ML Models: A Framework Proposal and Pilot Studycited by 0
- 2026Reliability Testing of Medical Model Performance under Distributed Deploymentcited by 0
- 2026Reliability Testing of Medical Model Performance under Distributed Deployment29 Sep 2026
- 2026Metamorphic Testing for Clinical ML Models: A Framework Proposal and Pilot Study25 Jul 2026
- 2026Metamorphic Testing with the Rashomon Set: Explanation Faithfulness in Machine Learning4 Jun 2026
- 2026Semantic Invariance in Agentic AI13 Mar 2026
- 2025Metamorphic Testing for Audio Content Moderation Software29 Sep 2025
- 2025MetaRAG: Metamorphic Testing for Hallucination Detection in RAG Systems11 Sep 2025
- 2025TigAug: Data Augmentation for Testing Traffic Light Detection in Autonomous Driving Systems8 Jul 2025
- 2025Rule-Guided Reinforcement Learning Policy Evaluation and Improvement12 Mar 2025
- 2025Metamorphic Testing for Pose Estimation Systems13 Feb 2025
- 2024A Survey on Verification and Validation, Testing and Evaluations of Neurosymbolic Artificial Intelligence6 Jan 2024
- 2024New Job, New Gender? Measuring the Social Bias in Image Generation Models1 Jan 2024
- 2023Test & Evaluation Best Practices for Machine Learning-Enabled Systems10 Oct 2023
18 more
- 2023An Image is Worth a Thousand Toxic Words: A Metamorphic Testing Framework for Content Moderation Software18 Aug 2023
- 2023Semantic-Based Neural Network Repair12 Jun 2023
- 2023Validating Multimedia Content Moderation Software via Semantic Fusion23 May 2023
- 2023"Oops, Did I Just Say That?" Testing and Repairing Unethical Suggestions of Large Language Models with Suggest-Critique-Reflect Process4 May 2023
- 2023MTTM: Metamorphic Testing for Textual Content Moderation Software11 Feb 2023
- 2023Perfect is the enemy of test oracle3 Feb 2023
- 2022Specifying and Testing k-Safety Properties for Machine-Learning Models13 Jun 2022
- 2022Software Testing for Machine Learning30 Apr 2022
- 2022Testing Feedforward Neural Networks Training Programs1 Apr 2022
- 2022Towards a Change Taxonomy for Machine Learning Systems21 Mar 2022
- 2022Testing Deep Learning Models: A First Comparative Study of Multiple Testing Techniques24 Feb 2022
- 2022ExAIS: Executable AI Semantics20 Feb 2022
- 2022If a Human Can See It, So Should Your System: Reliability Requirements for Machine Vision Components8 Feb 2022
- 2021MDPFuzz: Testing Models Solving Markov Decision Processes6 Dec 2021
- 2021Provably Valid and Diverse Mutations of Real-World Media Data for DNN Testing3 Dec 2021
- 2021ML4ML: Automated Invariance Testing for Machine Learning Models27 Sep 2021
- 2021Automatic Fault Detection for Deep Learning Programs Using Graph Transformations17 May 2021
- 2021Software Engineering for AI-Based Systems: A Survey5 May 2021
- 2026Semantic Invariance in Agentic AIcited by 2
- 2022ExAIS: Executable AI Semanticscited by 1
- 2026Semantic Invariance in Agentic AI13 Mar 2026
- 2022ExAIS: Executable AI Semantics20 Feb 2022
- 2021Software Engineering for AI-Based Systems: A Surveycited by 68
- 2023MTTM: Metamorphic Testing for Textual Content Moderation Softwarecited by 20
- 2024New Job, New Gender? Measuring the Social Bias in Image Generation Modelscited by 15
- 2021MDPFuzz: Testing Models Solving Markov Decision Processescited by 11
- 2022If a Human Can See It, So Should Your System: Reliability Requirements for Machine Vision Componentscited by 11
- 2024A Survey on Verification and Validation, Testing and Evaluations of Neurosymbolic Artificial Intelligencecited by 10
- 2021Automatic Fault Detection for Deep Learning Programs Using Graph Transformationscited by 9
- 2023"Oops, Did I Just Say That?" Testing and Repairing Unethical Suggestions of Large Language Models with Suggest-Critique-Reflect Processcited by 9
- 2022Towards a Change Taxonomy for Machine Learning Systemscited by 6
- 2023Perfect is the enemy of test oraclecited by 6
- 2022Software Testing for Machine Learningcited by 5
- 2022Specifying and Testing k-Safety Properties for Machine-Learning Modelscited by 5
12 most cited of 27 All 27 (JSON)
- 2026Reliability Testing of Medical Model Performance under Distributed Deployment29 Sep 2026
- 2026Metamorphic Testing for Clinical ML Models: A Framework Proposal and Pilot Study25 Jul 2026
- 2026Metamorphic Testing with the Rashomon Set: Explanation Faithfulness in Machine Learning4 Jun 2026
- 2025Metamorphic Testing for Audio Content Moderation Software29 Sep 2025
- 2025TigAug: Data Augmentation for Testing Traffic Light Detection in Autonomous Driving Systems8 Jul 2025
- 2025Rule-Guided Reinforcement Learning Policy Evaluation and Improvement12 Mar 2025
- 2025Metamorphic Testing for Pose Estimation Systems13 Feb 2025
- 2024A Survey on Verification and Validation, Testing and Evaluations of Neurosymbolic Artificial Intelligence6 Jan 2024
- 2024New Job, New Gender? Measuring the Social Bias in Image Generation Models1 Jan 2024
- 2023Test & Evaluation Best Practices for Machine Learning-Enabled Systems10 Oct 2023
- 2023An Image is Worth a Thousand Toxic Words: A Metamorphic Testing Framework for Content Moderation Software18 Aug 2023
- 2023Semantic-Based Neural Network Repair12 Jun 2023
12 newest of 27 All 27 (JSON)