Testing machine learning based systems: a systematic mapping
Open accessThe DOI matches its Crossref record; 140 of the 140 references it cites were found in a registry or an index.
Abstract
Context: A Machine Learning based System (MLS) is a software system including one or more components that learn how to perform a task from a given data set. The increasing adoption of MLSs in safety critical domains such as autonomous driving, healthcare, and finance has fostered much attention towards the quality assurance of such systems. Despite the advances in software testing, MLSs bring novel and unprecedented challenges, since their behaviour is defined jointly by the code that implements them and the data used for training them. Objective: To identify the existing solutions for functional testing of MLSs, and classify them from three different perspectives: (1) the context of the problem they address, (2) their features, and (3) their empirical evaluation. To report demographic information about the ongoing research. To identify open challenges for future research. Method: We conducted a systematic mapping study about testing techniques for MLSs driven by 33 research questions. We followed existing guidelines when defining our research protocol so as to increase the repeatability and reliability of our results. Results: We identified 70 relevant primary studies, mostly published in the last years. We identified 11 problems addressed in the literature. We investigated multiple aspects of the testing approaches, such as the used/proposed adequacy criteria, the algorithms for test input generation, and the test oracles. Conclusions: The most active research areas in MLS testing address automated scenario/input generation and test oracle creation. MLS testing is a rapidly growing and developing research area, with many open challenges, such as the generation of realistic inputs and the definition of reliable evaluation metrics and benchmarks.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“the current ML algorithms require evaluation and training using a pre-selected and labelled set of records”
From Machine learning computational tools to assist the performance of systematic reviews: A mapping review. (2022) · cites this paper as [72]
In the citing paper
“their performance varies greatly depending on this previous step of training [41, 71, 72]”
From Machine learning computational tools to assist the performance of systematic reviews: A mapping review. (2022) · cites this paper as [72]
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Deep Residual Learning for Image Recognition
He, K., Zhang, X., Ren, S., & Sun, J. (2016) · 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2016.90 · Cited by 235,474 · cited 2×
“Our results show that authors tend to reuse widely adopted and open-source models, such as LeNet [110] VGG [125], or ResNet [95].”
ResultInfluentialVery Deep Convolutional Networks for Large-Scale Image Recognition
Simonyan, K., & Zisserman, A. (2014) · arXiv · doi:10.48550/arxiv.1409.1556 · Cited by 114,148
Cortes, C., & Vapnik, V. (1995) · Machine Learning · doi:10.1007/bf00994018 · Cited by 59,421
Gradient-based learning applied to document recognition
Lecun, Y., Bottou, L., Bengio, Y., & Haffner, P. (1998) · Proceedings of the IEEE · doi:10.1109/5.726791 · Cited by 58,805
Cortes, C., & Vapnik, V. (1995) · Machine-mediated learning · doi:10.1023/a:1022627411411 · Cited by 48,445 · cited 1×
“Examples of well known algorithms for classification problems are Decision Trees [121], k-Nearest Neighbors [72], and Support Vector Machines (SVM) [83], while Linear Regression [126] and Multilayer Perceptron [94] are basic, yet very frequently used algorithms for regression problems.”
MethodThe Elements of Statistical Learning
Hastie, T., Tibshirani, R., & Friedman, J. (2009) · Springer Series in Statistics · doi:10.1007/978-0-387-84858-7 · Cited by 25,970
UCI Machine Learning Repository
Asuncion, A. (2007) · Medical Entomology and Zoology · Cited by 25,416
Learning Multiple Layers of Features from Tiny Images
Krizhevsky, A. (2024) · doi:10.57702/zp44cu3g · Cited by 23,395
Book Review: Pattern Recognition and Machine Learning
Nasrabadi, N. M. (2007) · Journal of Electronic Imaging · doi:10.1117/1.2819119 · Cited by 22,066 · cited 1×
“For a more complete introduction to ML, we refer the reader to the relevant literature [75,102,128].”
BackgroundArtificial intelligence: a modern approach
(1995) · Choice Reviews Online · doi:10.5860/choice.33-1577 · Cited by 21,974
Research works printed but not linked: 5
- Gal Y (2016) Uncertainty in deep learning. PhD thesis, University of Cambridge
- Odena A, Olsson C, Andersen D, Goodfellow I (2019) TensorFuzz: Debugging neural networks with coverage-guided fuzzing. In: Chaudhuri K, Salakhutdinov R (eds) Proceedings of the 36th International Conference on Machine Learning, Proceedings of Machine Learning Research, vol 97. PMLR, Long Beach, pp 4901-4911. http://proceedings.mlr.press/v97/odena19a.html
- Uesato J, Kumar A, Szepesv˙ ari C, Erez T, Ruderman A, Anderson K, Dvijotham KD, Heess N, Kohli P (2019) Rigorous agent evaluation: an adversarial approach to uncover catastrophic failures. In: 7Th international conference on learning representations, ICLR 2019, New Orleans
- Xie X, Zhang Z, Yueh Chen T, Liu Y, Poon PL, Xu B (2018) Mettle: A metamorphic testing approach to validating unsupervised machine learning methods. arXiv:1807.10453 · arXiv
- Andrea Stocco is a postdoctoral fellow at the Software Institute (USI) in Lugano, Switzerland. His research interests include software testing and empirical software engineering, with particular emphasis on misbehavior prediction for machine learning-based systems, and automated repair, robustness and maintainability of test suites for web applications. He is the recipient of the Best Student Paper Award at the 16th International Conference on Web Engineering (ICWE 2016). He serves on the program committees of top-tier software engineering conferences such as FSE and ICST, and reviews for numerous software engineering journals including TSE, EMSE, TOSEM, JSS, and IST.
Cited by
Items 301–352 of 352
dos PRAZERES, P. J. N. B. (2023) · LA Referencia (Red Federada de Repositorios Institucionales de Publicaciones Científicas)
Efficient Understanding of Machine Learning Model Mispredictions
Eberlein, M., Cito, J., & Grunske, L. (2025) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase63991.2025.00162
Probabilistic Runtime Verification, Evaluation, and Risk Assessment of Visual Deep Learning Systems
Torpmann-Hagen, B., Halvorsen, P., Riegler, M. A., & Johansen, D. (2026) · ACM Transactions on Intelligent Systems and Technology · doi:10.1145/3795523
“However, such hold-out evaluation typically results in test datasets that are characterized by a high degree of similarity to the training set, thereby providing inflated performance estimates [27, 39].”
DevOps Testing for Cyber-Physical Systems
Fazzini, M., Gambi, A., Riccio, V., Panichella, A., & Klikovits, S. (2026) · Springer eBooks · doi:10.1007/978-981-95-1786-2_4
Self-citationPanichella, S., Arcaini, P., Cohen, M. B., & Arrieta, A. (2026) · Springer eBooks · doi:10.1007/978-981-95-1786-2_1
Challenges and Needs of DevOps for Cyber-Physical Systems
Panichella, S., Arcaini, P., Cohen, M. B., & Arrieta, A. (2026) · Springer eBooks · doi:10.1007/978-981-95-1786-2_2
A survey of testing automated driving system
Li, Z., Zhu, W., Huang, H., Wang, Y., & Wang, L. (2026) · Frontiers of Computer Science · doi:10.1007/s11704-025-41327-y
Enhancing Diffusion-Driven Test Input Generation using Large Language Model
Lee, J., Kim, S., & Lee, S. U.-J. (2025) · Asia-Pacific Software Engineering Conference (APSEC) · doi:10.1109/apsec66846.2025.00072
“The testing of machine learning systems presents unique challenges distinct from traditional software testing [3], [4].”
Chidum, P., & AMADI, A. O. (2026) · International Journal of Research Publication and Reviews · doi:10.55248/gengpi.07.0226.0352
How Composite Metamorphic Relations Enhance Test Effectiveness of DNN Testing: An Empirical Study
Wu, H., Wang, P., Hu, S., Niu, X., Nie, C., & Chen, T. Y. (2026) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2026.3675285
Adsorption of Crystal Violet from Solutions
С., Д. А., М., К. О., О., Т. Ю., & Панасюк, Д. Ю. (2026) · doi:10.70286/isu-18.03.2026
Чичкарьов, Є. А., & Семенов, О. В. (2026) · Telecommunication and information technologies · doi:10.31673/2412-4338.2026.019011
Performance Analysis of Energy-Efficient Reliable AIoT System Architectures
Nishio, S., Makino, Y., Phung-Duc, T., & Machida, F. (2026) · Journal of Systems Scalability · doi:10.62762/jss.2025.386670
АВТОМАТИЗАЦІЯ ТЕСТУВАННЯ ПРОГРАМНОГО ЗАБЕЗПЕЧЕННЯ: КЛЮЧОВІ МЕТОДОЛОГІЇ ТА ПІДХОДИ
Лебідь, О. В. (2026) · Podilian Bulletin Agriculture Engineering Economics · doi:10.37406/2706-9052-2026-1-35
Testing Deep Learning Systems: From Practice to Prioritization in Autonomous Driving Systems
Ali, Q. (n.d.) · BOA (University of Milano-Bicocca)
Load Testing for Machine Learning Model Serving Systems at Scale
Abdelfattah, A. S., Tirumalai, N., Mohanan, I., Li, X., Wang, P., Dhurjati, D., & Sung, E. (2026) · Lecture notes in computer science · doi:10.1007/978-3-032-39236-7_29
Common sense testing and sanity checks in machine learning
Naser, M. Z. (2026) · International Journal of Data Science and Analytics · doi:10.1007/s41060-026-01183-w
E-CoDrive: A Co-Simulation Framework for Testing Energy-Critical Driving Scenarios
Napolitano, M., Somma, A., Gambi, A., Stocco, A., & Mazzocca, N. (2026) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/3832783.3834648
“Research on autonomous driving has made substantial progress in the validation of safety-critical behaviors, perception pipelines, motion-planning logic, and the reliability of learning-enabled components [7, 10, 15, 16, 20].”
Self-citationGenerative Testing of Automated Speech Recognition SystemsPreprint
Peña, Y. X. W., Weißl, O., & Stocco, A. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2607.09833
“Thisincreasedreliancede-mandssystematictesting,aslearning-enabledsystemssuchasASR are vulnerable to subtle input variations that can lead to incorrect behavior [23, 42].”
Self-citationTopoMap: Automated Topographical Mapping of the Deep Learning Input Space
Vita, G. D., Humbatova, N., & Tonella, P. (2026) · IEEE International Conference on Software Testing, Verification and Validation (ICST) · doi:10.1109/icst69053.2026.00049
“As deep learning (DL) systems are increasingly deployed across diverse domains, ensuring their reliability through effective testing has become an active area of research [1].”
Self-citationTopographical Deep Learning Testing
Vita, G. D. (2026) · IEEE International Conference on Software Testing, Verification and Validation (ICST) · doi:10.1109/icst69053.2026.00014
“This has direct consequences in the costs associated with generation and labelling of new inputs as the latter typically requires manual effort and domain-specific knowledge [1].”
Analyzing the Latent Input Space of LLMs for Systematic Prompt Testing
Kim, S. (2026) · IEEE International Conference on Software Testing, Verification and Validation (ICST) · doi:10.1109/icst69053.2026.00010
“The assumptions underlying classical software testing do not hold for LLMs. Traditional testing relies on deterministic behaviour, explicit input–output specifications, and structural coverage criteria [3].”
Reshaping the SDLC for Data- and AI-Centric SystemsPreprint
Alenezi, M. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2608.17824
“…broadly and consistently: mapping studies and surveys across data engineering for AI [22], software engineering for AI-based systems [4], ML testing [41, 57], deployment [5], and MLOps [10, 23, 24] converge with industrial case studies [2, 3, 7, 31, 50, 61] on the same phase-level transformations.”
Testing and Evaluation of Agentic AI Systems In Military Command and ControlPreprint
Richard, U., Frase, H., Cao, S., Cooke, D., Kwon, S., & Tan, A. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2608.20597
Beyond Coverage: An Empirical Study of Mutation-Score Proxies for Deep Neural Network TestingPreprint
Vekariya, V. V., Golagha, M., Stocco, A., & Pretschner, A. (2026) · Research Square · doi:10.21203/rs.3.rs-10524158/v1
Self-citationKambhampati, S., & Krishna, G. V. (2026) · Ceylon Journal of Science · doi:10.4038/cjs.v55i4.9573
“(Ali-Shahid et al., 2015; Riccio et al., 2020) proposed CovRel and CovRel+, which couple operational profiles and coverage measures to support reliability-aware testing (Lou et al., 2021).”
Modeling of cardiovascular diseases (CVDs) and development of predictive heart risk score
Rizwan, S. M. (2021) · UMP Institutional Repository (Universiti Malaysia Pahang)
A model-driven framework for automated UI prototyping with the two-hemisphere model
Babris, K., Ņikiforova, O., & Maciaszek, L. A. (2026) · Frontiers in Computer Science · doi:10.3389/fcomp.2026.1813208
Testing Online Machine Learning Programs: A Scenario-Based Approach and Tools
Demougeot, M., Trouilhet, S., Arcangeli, J.-P., & Adreit, F. (2026) · Communications in computer and information science · doi:10.1007/978-3-032-37353-3_3
Data Quality, Feature Engineering, and Model Reliability in Large-Scale AI Multi-Agentic Systems
Verma, H. (2021) · European Journal of Computer Science and Information Technology · doi:10.37745/ejcsit.2013/vol9n491110
Reliability Testing of Medical Model Performance under Distributed DeploymentPreprint
Wang, Y., Zhang, X., Ding, Y., Li, T., Zhang, X., Yang, Y., & Pan, L. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2609.36525
“Domain-specific studies further examine structural coverage, autonomous-driving perception, and DNN debugging (Xie et al. 2019; Humbatova et al. 2020; Riccio et al. 2020).”
Automated Evaluation of Multi-Turn Dialogues in In-Car Conversational AssistantsPreprint
Negi, V., Sorokin, L., Arasteh, S. T., & Stocco, A. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2609.35812
“However, these systems require higher reliability due to their critical application domain [6], [7].”
Self-citationTesting AI-Based Systems: A Systematic Mapping of Challenges and Approaches
Vincekovič, L., Pavlič, L., & Beranič, T. (2026) · Applied Sciences · doi:10.3390/app16199787
From Lab to Bedside: The Essential Role of Laboratory Results in Nursing Care Plans
Aljohani, K. S. (2024) · Review of Contemporary Philosophy
Mawadah, H. S., Prabukusumo, M. A., & Saputra, B. H. (2025) · Journal of Intelligent Decision Support System (IDSS)
Manukonda, K. R. R. (2024) · Educational Administration Theory and Practice journal
Mandava, L., Karma, R. B., & Mandava, S. G. (2026) · Communications in computer and information science · doi:10.1007/978-3-032-39763-8_21
Sulaima, M. F., Jyotsna, A., Herout, L., Gálvez, I. P., Krejcar, O., & Namazi, H. (2026) · Energy Nexus · doi:10.1016/j.nexus.2026.100870 · Cited by 1
DreamTest: World-Model Surrogates for Search-Based Testing of Deep Reinforcement Learning AgentsPreprint
Xu, Q., Wang, G., Yu, B., Lin, L., & Briand, L. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2610.04494
“Search-based testing of learning-enabled CPS predates DRL [5, 6, 36, 37], and surveys map the field [38, 39].”
Threshold Mutation Operators for Test Data Selection Applied to Machine Learning Testing
Braga, W. F., Delamaro, M. E., & Souza, S. R. S. (2026) · Simpósio Brasileiro de Testes de Software Sistemático e Automatizado (SAST) · doi:10.5753/sast.2026.30848
“Accordingly, surveys emphasize recurring themes such as test input generation, adequacy criteria, test oracles, and reliability assessment [19, 24].”
Systematic review of test case generation strategies for deep learning systems
LI, J., Mohamad, R., & Ahmad, J. B. (2026) · PeerJ Computer Science · doi:10.7717/peerj-cs.4114
MLOps-Bench: Benchmarking AI Agents on Production ML Engineering in Real Repositories
Tran, Q. C., Patel, H. L., Mahajan, D., Bakliwal, K., Sil, A., & Kirchhoff, K. (2026) · Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP) · doi:10.18653/2026.findings-emnlp.1402
Latief, A. A., & Kristianto, I. (2026) · JRIIN :Jurnal Riset Informatika dan Inovasi
Counterfactual Model Testing Under Distribution ShiftPreprint
Leest, J., Gerostathopoulos, I., Raibulet, C., & Lago, P. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2610.33594
“Testing ML systems is well established, but is performed predominantly before deployment [52, 72], where expectations about correct behavior are derived from input transformations rather than from labels [51, 70].”
The Reality Gap in Automated Driving Systems Testing: Landscape, Challenges, and Research DirectionsPreprint
Lambertenghi, S. C., Weißl, O., Betz, J., & Stocco, A. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2610.38628
Self-citationOne Verdict Is Not Enough: Regression Testing Learned World Models and Their Test HarnessesPreprint
Huo, J.-Y., Wan, Z.-H., Mao, Z.-Q., & Ginde, G. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2610.41130
“Software testing treats code, data, model versions, preprocessing, and configuration as coupled parts of an ML system [5], [6], [7], and practitioners report regression faults when testing evolving DL systems [8].”
A plant-wide analysis of an industrial flocculation process in biomanufacturing
Becerra, A. M. (2022) · Repositorio del Tecnológico de Monterrey (Tecnológico de Monterrey)
Solver-Admitted Metamorphic Testing of Learned Network Optimization SurrogatesPreprint
Nair, V. J., Peng, S., & Ravindran, A. (2026) · arXiv · doi:10.48550/arxiv.2611.08837
Lindqvist, S., Weber, M., Nair, P., & Andersen, T. (2026) · Journal of Trustworthy and Explainable Intelligent Systems · doi:10.68159/d376751026
Metadata
- Authors
- Riccio, V., Jahangirova, G., Stocco, A., Humbatova, N., Weiss, M., & Tonella, P.
- Affiliations
- Università della Svizzera italiana (CH)
- Corresponding author
- Riccio, Vincenzo
- Jahangirova, Gunel
- Stocco, Andrea
- Humbatova, Nargiz
- Weiss, Michael
- Tonella, Paolo
- Venue
- Empirical Software Engineering
- Published
- 2020-09-15
- Volume
- 25
- Issue
- 6
- Pages
- 5193-5254
- ISSN
- 1382-3256 (ISSN-L)
- 1573-7616
- OpenAlex
- W3087720408
- Semantic Scholar
- 3082caaa6355cc8173ee8e8c770002bd04b60cd6
- Cited by
- 251
- References
- 134
- Citations by year
- 2026: 37 · 2025: 44 · 2024: 50 · 2023: 53 · 2022: 32 · 2021: 33 · 2020: 2
- FWCI
- 55.14
- Type
- journal article
- Language
- en
- Open access
- hybrid
- doi.org
- Licence
- cc-by
- creativecommons.org/licenses/by/4.0 (tdm)
- creativecommons.org/licenses/by/4.0 (vor)
- Locations
- Empirical Software Engineering (publishedVersion, cc-by)
- RERO DOC (Universität Bern) (submittedVersion)
- Funders
- ERC-2017-ADG (787703)
- Topics
- Physical Sciences › Computer Science › Software › Software Testing and Debugging Techniques
- Physical Sciences › Computer Science › Artificial Intelligence › Adversarial Robustness in Machine Learning
- Physical Sciences › Computer Science › Information Systems › Software Engineering Research
- Keywords
- software testing, functional testing, test data generation, test oracles, adequacy criteria, automated scenario generation, safety-critical systems
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.