What Are We Really Testing in Mutation Testing for Machine Learning? A Critical Reflection
Not on the map. Why?
Abstract (arXiv)
Mutation testing is a well-established technique for assessing a test suite's quality by injecting artificial faults into production code. In recent years, mutation testing has been extended to machine learning (ML) systems, and deep learning (DL) in particular; researchers have proposed approaches, tools, and statistically sound heuristics to determine whether mutants in DL systems are killed or not. However, as we will argue in this work, questions can be raised to what extent currently used mutation testing techniques in DL are actually in line with the classical interpretation of mutation testing. We observe that ML model development resembles a test-driven development (TDD) process, in which a training algorithm (`programmer') generates a model (program) that fits the data points (test data) to labels (implicit assertions), up to a certain threshold. However, considering proposed mutation testing techniques for ML systems under this TDD metaphor, in current approaches, the distinction between production and test code is blurry, and the realism of mutation operators can be challenged. We also consider the fundamental hypotheses underlying classical mutation testing: the competent programmer hypothesis and coupling effect hypothesis. As we will illustrate, these hypotheses do not trivially translate to ML system development, and more conscious and explicit scoping and concept mapping will be needed to truly draw parallels. Based on our observations, we propose several action points for better alignment of mutation testing techniques for ML with paradigms and vocabularies of classical mutation testing.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). First posted on arXiv 1 Mar 2021.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 4; 2023: 1; 2024: 1; 2025: 1.
7 papers.
- 2022Perturbation Augmentation for Fairer NLPcited by 51
- 2022Aries: Efficient Testing of Deep Neural Networks via Labeling-Free Accuracy Estimationcited by 9
- 2022A Probabilistic Framework for Mutation Testing in Deep Neural Networkscited by 3
- 2023D-Score: A White-Box Diagnosis Score for CNNs Based on Mutation Operatorscited by 1
- 2022Quality Assurance in MLOps Setting: An Industrial Perspectivecited by 0
- 2024Revising the Problem of Partial Labels from the Perspective of CNNs' Robustnesscited by 0
- 2025Scalability and Maintainability Challenges and Solutions in Machine Learning: Systematic Literature Reviewcited by 0
- 2025Scalability and Maintainability Challenges and Solutions in Machine Learning: Systematic Literature Review15 Apr 2025
- 2024Revising the Problem of Partial Labels from the Perspective of CNNs' Robustness24 Jul 2024
- 2023D-Score: A White-Box Diagnosis Score for CNNs Based on Mutation Operators3 Apr 2023
- 2022Quality Assurance in MLOps Setting: An Industrial Perspective23 Nov 2022
- 2022A Probabilistic Framework for Mutation Testing in Deep Neural Networks11 Aug 2022
- 2022Aries: Efficient Testing of Deep Neural Networks via Labeling-Free Accuracy Estimation22 Jul 2022
- 2022Perturbation Augmentation for Fairer NLP25 May 2022