Print Email Facebook Twitter What Are We Really Testing in Mutation Testing for Machine Learning? A Critical Reflection Title What Are We Really Testing in Mutation Testing for Machine Learning? A Critical Reflection Author Panichella, A. (TU Delft Software Engineering) Liem, C.C.S. (TU Delft Multimedia Computing) Date 2021 Abstract 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. Subject mutation testingmachine Learningmutation operatorssoftware testing To reference this document use: http://resolver.tudelft.nl/uuid:dd838af4-cd89-428d-85fa-ced5488d9a07 DOI https://doi.org/10.1109/ICSE-NIER52604.2021.00022 Publisher ACM/IEEE Embargo date 2021-12-07 ISBN 9780738133249 Source 43rd International Conference on Software Engineering - New Ideas and Emerging Results Bibliographical note Green Open Access added to TU Delft Institutional Repository ‘You share, we take care!’ – Taverne project https://www.openaccess.nl/en/you-share-we-take-care Otherwise as indicated in the copyright section: the publisher is the copyright holder of this work and the author uses the Dutch legislation to make this work public. Part of collection Institutional Repository Document type conference paper Rights © 2021 A. Panichella, C.C.S. Liem Files PDF What_Are_We_Really_Testin ... ection.pdf 469.13 KB Close viewer /islandora/object/uuid:dd838af4-cd89-428d-85fa-ced5488d9a07/datastream/OBJ/view