Testing machine learning based systems: a systematic mapping
Open accessThe DOI matches its Crossref record; 139 of the 140 references it cites were found in a registry or an index, and 1 are not checked yet.
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,385
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
Software Engineering for AI-Based Systems: A Survey
Martínez-Fernández, S., Bogner, J., Franch, X., Oriol, M., Siebert, J., Trendowicz, A., Vollmer, A. M., & Wagner, S. (2022) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3487043 · Cited by 335
“[28] 37 studies (2012-2018) correctness testing practices 18 challenges organized in 6 dimensions: implementation issues, data issues, model issues, written code issues, execution environment issues, mathematical design issues [164] 70 studies (2004-2019) fairness, accuracy, safety, consistency functional testing, tes…”
BackgroundGiray, G. (2021) · Journal of Systems and Software · doi:10.1016/j.jss.2021.111031 · Cited by 187
Perez-Cerrolaza, J., Abella, J., Borg, M., Donzella, C., Cerquides, J., Cazorla, F. J., Englund, C., Tauber, M., Nikolakopoulos, G., & Flores, J. L. (2024) · ACM Computing Surveys · doi:10.1145/3626314 · Cited by 185
Model-based exploration of the frontier of behaviours for deep learning system testing
Riccio, V., & Tonella, P. (2020) · Proceedings of the 28th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3368089.3409730 · Cited by 134
Self-citationStocco, A., Pulfer, B., & Tonella, P. (2022) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2022.3202311 · Cited by 172
“This attack requires data-box access [36] because the adversarial image is learned offline using the images of the training set of the DNN under test.”
MethodSelf-citationSoftware Verification and Validation of Safe Autonomous Cars: A Systematic Literature Review
Rajabli, N., Flammini, F., Nardone, R., & Vittorini, V. (2020) · IEEE Access · doi:10.1109/access.2020.3048047 · Cited by 148
DeepHyperion: exploring the feature space of deep learning-based systems through illumination search
Zohdinasab, T., Riccio, V., Gambi, A., & Tonella, P. (2021) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3460319.3464811 · Cited by 111
“Moreover, they have been widely used in the literature to evaluate testing techniques for DL systems [26, 34].”
Self-citationFintech research: systematic mapping, classification, and future directions
Liu, Q., Chan, K. C., & Chimhundu, R. (2024) · Financial Innovation · doi:10.1186/s40854-023-00524-z · Cited by 103
“To distinguish the authors of the selected articles from the current authors (Riccio et al. 2020), the authors of this study are referred to as “assessors”.”
BackgroundMethodInfluentialQuality Metrics and Oracles for Autonomous Vehicles Testing
Jahangirova, G., Stocco, A., & Tonella, P. (2021) · IEEE International Conference on Software Testing, Verification and Validation (ICST) · doi:10.1109/icst49551.2021.00030 · Cited by 90
Self-citationPanichella, S., Gambi, A., Zampetti, F., & Riccio, V. (2021) · IEEE/ACM International Workshop on Search-Based Software Testing (SBST) · doi:10.1109/sbst52555.2021.00011 · Cited by 89
“To keep our competition focused, we considered only one representative instance of CPSs, i.e., self-driving cars, which are increasingly becoming relevant to both academia [25] and industry [26].”
BackgroundSelf-citationCierco Jimenez, R., Lee, T., Rosillo, N., Cordova, R., Cree, I. A., Gonzalez, A., & Indave Ruiz, B. I. (2022) · BMC Medical Research Methodology · doi:10.1186/s12874-022-01805-4 · Cited by 85
Nahar, N., Zhang, H., Lewis, G. A., Zhou, S., & Kästner, C. (2023) · IEEE/ACM International Conference on AI Engineering – Software Engineering for AI (CAIN) · doi:10.1109/cain58948.2023.00034 · Cited by 87
“Most surveys review academic papers proposing solutions in subfields, such as testing ML components [129], [5], [97], [15], [38], safety and security [13], [63], [38], data management [90], and even trying to cover published research on SE4ML broadly [27], [68].”
Weiß, M., & Tonella, P. (2022) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3533767.3534375 · Cited by 84
“of machine learning based systems [34].”
Self-citationSecurity for Machine Learning-based Software Systems: A Survey of Threats, Practices, and Challenges
Chen, H., & Babar, M. A. (2024) · ACM Computing Surveys · doi:10.1145/3638531 · Cited by 85
Quality assurance strategies for machine learning applications in big data analytics: an overview
Ogrizović, M., Drašković, D., & Bojić, D. M. (2024) · Journal Of Big Data · doi:10.1186/s40537-024-01028-y · Cited by 77
“…d e s i g n i n g s y s t e m s i n p r o d u c t i o n a n d t h e i r t e s t i n g , i n c l u d i n g e x a m p l e s f r o m i n d u s t r y [ 120 ] 2020 T o a n a l y z e t h e e x i s t i n g s o l u t i o n s f o r f u n c t i o n a l t e s t i n g M L - b a s e d s y s t e m s + U n i v…”
Systematic literature review on software quality for AI-based software
Gezici, B., & Tarhan, A. (2022) · Empirical Software Engineering · doi:10.1007/s10664-021-10105-2 · Cited by 70
“…etc., “testing components” such as data, framework, etc., “testing workflow” such as test generation, test evaluation, and “application scenario” such as autonomous driving, etc. Riccio et al. (2020) ML-based System They conducted a systematic mapping study in the context of testing techniques.”
BackgroundMethodSoftware Testing of Generative AI Systems: Challenges and Opportunities
Aleti, A. (2023) · IEEE/ACM International Conference on Software Engineering: Future of Software Engineering (ICSE-FoSE) · doi:10.1109/icse-fose59343.2023.00009 · Cited by 72
“Automated testing of AI systems has been significantly researched, with an exponential increase in the number of papers in the last few years [95], [16], [73].”
BackgroundTowards a model-driven approach for multiexperience AI-based user interfaces
Planas, E., Daniel, G., Brambilla, M., & Cabot, J. (2021) · Software & Systems Modeling · doi:10.1007/s10270-021-00904-y · Cited by 68
Efficient and Effective Feature Space Exploration for Testing Deep Learning Systems
Zohdinasab, T., Riccio, V., Gambi, A., & Tonella, P. (2023) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3544792 · Cited by 67
“Several test generation approaches have been proposed for automatically testing DL systems [58, 69].”
BackgroundMethodSelf-citationGambi, A., Jahangirova, G., Riccio, V., & Zampetti, F. (2022) · doi:10.1145/3526072.3527538 · Cited by 71
“Self-driving cars are safety-critical CPSs which are growing in relevance within the SBST research community [36] and industry [12].”
BackgroundSelf-citationUsing Technology to Identify Children With Autism Through Motor Abnormalities
Simeoli, R., Milano, N., Rega, A., & Marocco, D. (2021) · Frontiers in Psychology · doi:10.3389/fpsyg.2021.635696 · Cited by 67
“Having checked that no overfitting is present in every fold, for the successive analysis, we used the best trained model across the 10-fold, as reported in Riccio et al. (2020).”
MethodThirdEye: Attention Maps for Safe Autonomous Driving Systems
Stocco, A., Nunes, P. J., d’Amorim, M., & Tonella, P. (2022) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/3551349.3556968 · Cited by 64
“To implement DNN-based ADS, we use Nvidia’s DAVE-2model [11], a reference model widely used as object of study in prior related work [27, 30, 46, 48, 60, 62, 77].”
MethodSelf-citationDeepMetis: Augmenting a Deep Learning Test Set to Increase its Mutation Score
Riccio, V., Humbatova, N., Jahangirova, G., & Tonella, P. (2021) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase51524.2021.9678764 · Cited by 63
“However, mutation testing approaches should take into account the stochastic nature of DL (in particular, of its training process) and of mutation generation (some DL mutations are non-deterministic) to properly measure the test set’s ability to discriminate the original system from the artificially generated faulty v…”
BackgroundSelf-citationBorg, M., Henriksson, J., Socha, K., Lennartsson, O., Lönegren, E. S., Bui, T., Tomaszewski, P., Sathyamoorthy, S. R., Brink, S., & Moghadam, M. H. (2023) · Software Quality Journal · doi:10.1007/s11219-022-09613-1 · Cited by 65
“This is the primary focus of academic research on ML testing, and includes white-box, black-box, and data-box access levels during testing (Riccio et al, 2020).”
BackgroundMTTM: Metamorphic Testing for Textual Content Moderation Software
Wang, W., Huang, J.-T., Wu, W., Zhang, J., Huang, Y., Li, S., He, P., & Lyu, M. R.-T. (2023) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse48619.2023.00200 · Cited by 61
When and Why Test Generators for Deep Learning Produce Invalid Inputs: an Empirical Study
Riccio, V., & Tonella, P. (2023) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse48619.2023.00104 · Cited by 56
“In the SE literature, several Test Input Generators (TIGs) have been proposed to produce artificial inputs, which are used to evaluate whether a DL system generalises beyond the initially considered dataset of inputs, since often such dataset is not fully representative of the scenarios that will be experienced in the…”
BackgroundSelf-citationBiasAsker: Measuring the Bias in Conversational AI System
Wan, Y., Wang, W., He, P., Gu, J., Bai, H., & Lyu, M. R. (2023) · Proceedings of the 31st ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3611643.3616310 · Cited by 54
Model vs system level testing of autonomous driving systems: a replication and extension study
Stocco, A., Pulfer, B., & Tonella, P. (2023) · Empirical Software Engineering · doi:10.1007/s10664-023-10306-x · Cited by 54
“Riccio et al. (2020) present a systematic mapping of the main challenges of testing machine learning-based systems, including autonomous driving systems.”
BackgroundMethodInfluentialSelf-citationBug characterization in machine learning-based systems
Morovati, M. M., Nikanjam, A., Tambon, F., Khomh, F., & Jiang, Z. M. (2023) · Empirical Software Engineering · doi:10.1007/s10664-023-10400-0 · Cited by 54
“Similar to research conducted by Riccio et al. (2020), we categorize bugs in ML-based systems into three main classes based on the location of the code where the bugs occur (Fig.”
ResultTest Optimization in DNN Testing: A Survey
Hu, Q., Guo, Y., Xie, X., Cordy, M., Ma, L., Papadakis, M., & Traon, Y. L. (2024) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3643678 · Cited by 54
“Then, we use citation-based search [90], also called snowballing to check the missing papers.”
BackgroundMethodBugs in machine learning-based systems: a faultload benchmark
Morovati, M. M., Nikanjam, A., Khomh, F., & Jiang, Z. M. (2023) · Empirical Software Engineering · doi:10.1007/s10664-023-10291-1 · Cited by 52
“It is also worth noting that the intrinsic difference between ML-based and traditional software systems generates new types of bugs which do not exist in the traditional software systems (Riccio et al. 2020).”
BackgroundMethodInfluentialLeveraging AI for Network Threat Detection—A Conceptual Overview
Paracha, M. A., Jamil, S. U., Shahzad, K., Khan, M. A., & Rasheed, A. (2024) · Electronics · doi:10.3390/electronics13234611 · Cited by 51
Towards Anomaly Detectors that Learn Continuously
Stocco, A., & Tonella, P. (2020) · IEEE International Symposium on Software Reliability Engineering Workshops (ISSREW) · doi:10.1109/issrew51248.2020.00073 · Cited by 50
“Nowadays, an increasing number of such systems embed one or more Deep Neural Networks (DNNs) to perform tasks that cannot be expressed with traditional software logic [1].”
BackgroundSelf-citationStocco, A., & Tonella, P. (2021) · Journal of Software Evolution and Process · doi:10.1002/smr.2386 · Cited by 50
“…rate (i.e., the number of correct misbehavior predictions) and the false negative rate (i.e., the number of missed misbehavior predictions) by our framework at a different time to misbehavior (TTM), that is, considering different detection and reaction windows sizes, in the range [1, 2, 3, 4, 5].”
BackgroundMethodSelf-citationPredicting Safety Misbehaviours in Autonomous Driving Systems Using Uncertainty Quantification
Grewal, R., Tonella, P., & Stocco, A. (2024) · IEEE International Conference on Software Testing, Verification and Validation (ICST) · doi:10.1109/icst60714.2024.00016 · Cited by 53
“Certain propositions are based on a data-box access [21] 1 to the main system [13], [18]–[20], whereas other solutions require internal information of the systems and therefore are considered white-box [23], [29], [30].”
InfluentialSelf-citationRAGVA: Engineering retrieval augmented generation-based virtual assistants in practice
Yang, R., Fu, M. C., Tantithamthavorn, C. K., Arora, C., Vandenhurk, L., & Chua, J. (2025) · Journal of Systems and Software · doi:10.1016/j.jss.2025.112436 · Cited by 50
Parameter Coverage for Testing of Autonomous Driving Systems under Uncertainty
Laurent, T., Klikovits, S., Arcaini, P., Ishikawa, F., & Ventresque, A. (2022) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3550270 · Cited by 46
“However, existing reviews survey such works [62, 76].”
Regression Fuzzing for Deep Learning Systems
You, H., Wang, Z., Chen, J., Liu, S., & Li, S. (2023) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse48619.2023.00019 · Cited by 44
“The statistical nature of deep learning systems makes it hard to be sufficiently tested [62], [63].”
BackgroundFail-Safe Execution of Deep Learning based Systems through Uncertainty Monitoring
Weiß, M., & Tonella, P. (2021) · IEEE International Conference on Software Testing, Verification and Validation (ICST) · doi:10.1109/icst49551.2021.00015 · Cited by 44
“This is the most popular dataset in machine learning testing [4], and a relatively easy problem, where even simple models achieve high accuracy.”
BackgroundInfluentialSelf-citationCausality-driven Testing of Autonomous Driving Systems
Giamattei, L., Guerriero, A., Pietrantuono, R., & Russo, S. (2024) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3635709 · Cited by 44
“A primary focus of researchers is on testing decision-making DNNs as standalone components [70], based on datasets obtained without involving the DNNs under test.”
BackgroundA Systematic Mapping of Quality Models for AI Systems, Software and Components
Ali, M. A., Yap, N. K., Ghani, A., Zulzalil, H. B., Admodisastro, N. I., & Najafabadi, A. A. (2022) · Applied Sciences · doi:10.3390/app12178700 · Cited by 43
Ebadi, H., Moghadam, M. H., Borg, M., Gay, G., Fontes, A., & Socha, K. (2021) · IEEE International Conference on Artificial Intelligence Testing (AITest) · doi:10.1109/aitest52744.2021.00030 · Cited by 40
Sharif, A., & Marijan, D. (2022) · Asia-Pacific Software Engineering Conference (APSEC) · doi:10.1109/apsec57359.2022.00018 · Cited by 42
“ACs integrate deep learning based software, which is known to be difficult to validate [2] [3]; yet, testing and validating ACs is indispensable for their deployment in practice [4] [5] [6].”
BackgroundNFTs for combating deepfakes and fake metaverse digital contents
Hasan, H. R., Salah, K. M., Jayaraman, R., Yaqoob, I., & Omar, M. (2024) · Internet of Things · doi:10.1016/j.iot.2024.101133 · Cited by 39
Shivashankar, K., Hajj, G. S. A., & Martini, A. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2504.11079 · Cited by 40
“Potential solutions include developing automated and dependable oracles, creating common frameworks and benchmarks, and utilising techniques like input mutation and search-based approaches for generating diverse test data ( SM29 [LR86]).”
Requirements Engineering in Machine Learning Projects
Gjorgjevikj, A., Mishev, K., Antovski, L., & Trajanov, D. (2023) · IEEE Access · doi:10.1109/access.2023.3294840 · Cited by 38
“Riccio et al. [53] point to a limitation in the effectiveness of conventional testing approaches when applied to ML systems, primarily because of the program logic dependence on training data and the stochastic nature of the learning process.”
BackgroundSBFT Tool Competition 2023 - Cyber-Physical Systems Track
Biagiola, M., Klikovits, S., Peltomäki, J., & Riccio, V. (2023) · IEEE/ACM International Workshop on Search-Based Software Testing (SBST) · doi:10.1109/sbft59156.2023.00010 · Cited by 38
“Among the huge variety of existing safety-critical Cyber-Physical Systems (CPSs), self-driving cars are steadily growing in relevance within the software engineering research community [1] and industry [2].”
BackgroundSelf-citationMartino, V. D., & Palomba, F. (2025) · Information and Software Technology · doi:10.1016/j.infsof.2025.107678 · Cited by 32
A multi-year grey literature review on AI-assisted test automation
Ricca, F., Marchetto, A., & Stocco, A. (2025) · Information and Software Technology · doi:10.1016/j.infsof.2025.107799 · Cited by 32
Self-citationAssessing Quality Metrics for Neural Reality Gap Input Mitigation in Autonomous Driving Testing
Lambertenghi, S. C., & Stocco, A. (2024) · IEEE International Conference on Software Testing, Verification and Validation (ICST) · doi:10.1109/icst60714.2024.00024 · Cited by 31
“Virtual testing uses simulation toolkits to assess the compliance of an ADS with the safety requirements on a wide range of virtual scenarios, some of which are extremely difficult to test in the real world [4], [5].”
Self-citationLow Code for Smart Software Development
Cabot, J., & Clarisó, R. (2022) · IEEE Software · doi:10.1109/ms.2022.3211352 · Cited by 31
Adaptive Search-based Repair of Deep Neural Networks
Calsi, D. L., Duran, M., Laurent, T., Zhang, X., Arcaini, P., & Ishikawa, F. (2023) · Genetic and Evolutionary Computation Conference (GECCO) · doi:10.1145/3583131.3590477 · Cited by 31
DeepAtash: Focused Test Generation for Deep Learning Systems
Zohdinasab, T., Riccio, V., & Tonella, P. (2023) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3597926.3598109 · Cited by 31
“DL systems should be carefully tested with appropriate techniques that generate data beyond the datasets used at development time [58, 74].”
MethodSelf-citationTesting challenges for NLP-intensive bots
Cabot, J., Burgueño, L., Clarisó, R., Daniel, G., Perianez-Pascual, J., & Rodríguez-Echeverría, R. (2021) · IEEE/ACM International Workshop on Bots in Software Engineering (BotSE) · doi:10.1109/botse52550.2021.00014 · Cited by 31
“Among those, they are hard to specify [3], test, verify and debug [4].”
BackgroundBenchmarking Generative AI Models for Deep Learning Test Input Generation
Maryam, M., Biagiola, M., Stocco, A., & Riccio, V. (2025) · IEEE International Conference on Software Testing, Verification and Validation (ICST) · doi:10.1109/icst62969.2025.10989043 · Cited by 28
“Due to its simplicity, MNIST is widely used in DL frameworks’ tutorials [48] and research papers [9].”
Self-citationBayesian networks in project management: A scoping review
Guinhouya, K. A. (2022) · Expert Systems with Applications · doi:10.1016/j.eswa.2022.119214 · Cited by 28
Silaa, M. Y., Bencherif, A., & Barambones, Ó. (2024) · Actuators · doi:10.3390/act13020051 · Cited by 27
Neelofar, N., & Aleti, A. (2024) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3597503.3623314 · Cited by 27
“The challenge of testing AI-based systems is well accepted by the Software Engineering community, which is actively working on finding effective test adequacy metrics for such systems [55, 67, 77, 84, 86].”
QuoTe : Quality-oriented Testing for Deep Learning Systems
Chen, J., Wang, J., Ma, X., Sun, Y., Sun, J., Zhang, P., & Cheng, P. (2023) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3582573 · Cited by 26
“The first key ingredient is the test adequacy metrics [57] (which we call testing metrics for simplicity) used to evaluate the quality of a test case or a test suite.”
MethodChallenges in Testing Large Language Model-Based Software: A Faceted Taxonomy
Dobslaw, F., FELDT, R. H., Yoon, J., & Yoo, S. (2026) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3806396 · Cited by 28
“Existing paradigms–whether deterministic [2], stochastic [2, 9, 10], or ML-specific [6, 24]–struggle to address the multi-layered complexity of LLM-based systems.”
Applying model-driven engineering to the domain of chatbots: The Xatkit experience
Daniel, G., & Cabot, J. (2023) · Science of Computer Programming · doi:10.1016/j.scico.2023.103032 · Cited by 27
Design by Contract for Deep Learning APIs
Ahmed, S., Imtiaz, S. M., Khairunnesa, S. S., Cruz, B. D., & Rajan, H. (2023) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3611643.3616247 · Cited by 25
“Empirical studies [24, 32, 34, 35, 52, 60, 62] have motivated the need for DL bug repair, but none propose a DbC methodology like DL Contract.”
MethodA Review and Refinement of Surprise Adequacy
Weiß, M., Chakraborty, R., & Tonella, P. (2021) · IEEE/ACM International Workshop on Deep Learning for Testing and Testing for Deep Learning (DeepTest) · doi:10.1109/deeptest52559.2021.00009 · Cited by 25
Self-citationTesting the Plasticity of Reinforcement Learning-based Systems
Biagiola, M., & Tonella, P. (2022) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3511701 · Cited by 25
“According to Riccio et al [61] the most widely applied test input generation technique is input mutation where existing inputs to a DL based system are mutated with the constraint of preserving their semantics.”
MethodInfluentialSelf-citationIdentifying Microscopic Augmented Images using Pre-Trained Deep Convolutional Neural Networks
Tiwari, R. G., Misra, A., Khullar, V., Agarwal, A. K., Gupta, S., & Srivastava, A. P. (2021) · International Conference on Technological Advancements and Innovations (ICTAI) · doi:10.1109/ictai53825.2021.9673472 · Cited by 24
An Empirical Study of Testing Machine Learning in the Wild
Openja, M., Khomh, F., Foundjem, A. T., Jiang, Z. M., Abidi, M., & Hassan, A. E. (2024) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3680463 · Cited by 24
Logging requirement for continuous auditing of responsible machine learning-based applications
Foalem, P. L., Silva, L. D., Khomh, F., Li, H., & Merlo, E. (2025) · Empirical Software Engineering · doi:10.1007/s10664-025-10656-8 · Cited by 25
“To build more responsible and trustworthy ML applications, practitioners should ensure that all four principles of responsible AI/ML are adequately addressed in their projects.”
A Systematic Review on Software Robustness Assessment
Laranjeiro, N., Agnelo, J., & Bernardino, J. (2021) · ACM Computing Surveys · doi:10.1145/3448977 · Cited by 23
“Research on the evaluation of machine learning systems can be distinguished according to the testing level [165].”
BackgroundTest and Evaluation Framework for Multi-Agent Systems of Autonomous Intelligent Agents
Lanus, E., Hernandez, I. A., Dachowicz, A. P., Freeman, L., Grande, M. L., Lang, A. W., Panchal, J. H., Patrick, A., & Welch, S. (2021) · International Conference on System of Systems Engineering · doi:10.1109/sose52739.2021.9497472 · Cited by 22
Uncertainty-Wizard: Fast and User-Friendly Neural Network Uncertainty Quantification
Weiß, M., & Tonella, P. (2021) · IEEE International Conference on Software Testing, Verification and Validation (ICST) · doi:10.1109/icst49551.2021.00056 · Cited by 22
“To evaluate the performance of different ECMs, we trained a Deep Ensemble containing 20 atomic models for 100 epochs, using a batch size of 32 on the cifar10 dataset, a popular dataset in machine learning based system testing [11].”
BackgroundMethodSelf-citationA review of machine learning for analysing accident reports in the construction industry
Shayboun, M., Kifokeris, D., & Koch, C. (2025) · Journal of Information Technology in Construction · doi:10.36680/j.itcon.2025.019 · Cited by 21
Vibe Modeling: Challenges and Opportunities
Cabot, J. (2025) · Lecture notes in computer science · doi:10.1007/978-3-032-08620-4_7 · Cited by 21
Uncertainty quantification for deep neural networks: An empirical comparison and usage guidelines
Weiß, M., & Tonella, P. (2023) · Software Testing Verification and Reliability · doi:10.1002/stvr.1840 · Cited by 21
Self-citationSharif, A., & Marijan, D. (2022) · IEEE International Conference on Software Quality, Reliability and Security (QRS) · doi:10.1109/qrs57517.2022.00084 · Cited by 21
Distributed Repair of Deep Neural Networks
Calsi, D. L., Duran, M., Zhang, X., Arcaini, P., & Ishikawa, F. (2023) · IEEE International Conference on Software Testing, Verification and Validation (ICST) · doi:10.1109/icst57152.2023.00017 · Cited by 21
“…or to generate inputs detecting specific mutants [25]; moreover, explanation approaches like DeepGini [9] and DeepHyper-ion [46] have been proposed to understand the behaviours of DNNs. Refer to [45] and [26] for surveys on DNN testing and testing of systems relying on machine learning components.”
BackgroundMethodOn Offline Evaluation of 3D Object Detection for Autonomous Driving
Schreier, T., Renz, K., Geiger, A., & Chitta, K. (2023) · IEEE International Conference on Computer Vision Workshops · doi:10.1109/iccvw60793.2023.00441 · Cited by 21
Swarnali, S. H. (2024) · American Journal of Interdisciplinary Studies · doi:10.63125/hz27wz06 · Cited by 21
The AIQ Meta-Testbed: Pragmatically Bridging Academic AI Testing and Industrial Q Needs
Borg, M. (2021) · Lecture notes in business information processing · doi:10.1007/978-3-030-65854-0_6 · Cited by 20
Machine Learning Verification and Safety for Unmanned Aircraft - A Literature Study
Torens, C., Jünger, F., Schirmer, S., Schopferer, S., Maienschein, T., & Dauer, J. C. (2022) · AIAA SciTech Forum · doi:10.2514/6.2022-1133 · Cited by 21
Moghadam, M. H., Borg, M., Saadatmand, M., Mousavirad, S. J., Bohlin, M., & Lisper, B. (2023) · Journal of Software Evolution and Process · doi:10.1002/smr.2591 · Cited by 20
“Assurance activities on ML safety requirements, data management, and model learning alongside the model verification and model deployment 8,32 are different levels proposed by AMLAS.”
BackgroundMethodGenerating and detecting true ambiguity: a forgotten danger in DNN supervision testing
Weiß, M., Gómez, A. G., & Tonella, P. (2023) · Empirical Software Engineering · doi:10.1007/s10664-023-10393-w · Cited by 21
“We built and released two ready-to-use ambiguous datasets for MNIST [39], the most common dataset used in software testing literature [51], where images of handwritten numbers between 0 and 9 are to be classified, and its more challenging drop-in replacement Fashion MNIST (FMNIST) [65], consisting…”
MethodSelf-citationFocused Test Generation for Autonomous Driving Systems
Zohdinasab, T., Riccio, V., & Tonella, P. (2024) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3664605 · Cited by 19
“Hence, ADSs necessitate rigorous testing employing appropriate techniques capable of generating data beyond the datasets used during development [45, 55].”
Self-citationThe Present and Future of Bots in Software Engineering
Shihab, E., Wagner, S., Gerosa, M. A., Wessel, M. S., & Cabot, J. (2022) · IEEE Software · doi:10.1109/ms.2022.3176864 · Cited by 19
“Mainly when bots include conversational capabilities, bot testing implies redefining many of the classical testing concepts as we need to test the behavioral part of the bot, the conversational component, and the combination of the two [4], [5].”
BackgroundSecuring DNN for smart vehicles: an overview of adversarial attacks, defenses, and frameworks
Almutairi, S., & Barnawi, A. (2023) · Journal of Engineering and Applied Science · doi:10.1186/s44147-023-00184-x · Cited by 20
“In this technique, it is also challenging for complex domains, such as autonomous vehicles, to identify the correct behavior for every test input [20, 30].”
BackgroundMethodInfluentialMulti-objective metamorphic follow-up test case selection for deep learning systems
Arrieta, A. (2022) · Genetic and Evolutionary Computation Conference (GECCO) · doi:10.1145/3512290.3528697 · Cited by 18
“The learned functions can later be applied in unseen data, allowing to make predictions about unknown properties of observed data [36].”
BackgroundInfluentialLarge Language Models for Secure Code Assessment: A Multi-Language Empirical Study
Dozono, K., Espinha, T., & Stocco, A. (2026) · IEEE/ACM International Workshop on Deep Learning for Testing and Testing for Deep Learning (DeepTest) · doi:10.1145/3786154.3788584 · Cited by 18
Self-citationWhat to Blame? On the Granularity of Fault Localization for Deep Neural Networks
Duran, M., Zhang, X., Arcaini, P., & Ishikawa, F. (2021) · Proceedings/Proceedings - International Symposium on Software Reliability Engineering · doi:10.1109/issre52982.2021.00037 · Cited by 18
Online Safety Analysis for LLMs: A Benchmark, an Assessment, and a Path Forward
Xie, X., Song, J., Zhou, Z., Huang, Y., Song, D., & Ma, L. (2025) · IEEE Transactions on Artificial Intelligence · doi:10.1109/tai.2025.3603547 · Cited by 17
“To evaluate the effectiveness of online safety analysis meth-ods for LLMs, we construct a comprehensive benchmark that incorporates a wide range of analysis techniques and diverse datasets.”
Targeted Deep Learning System Boundary Testing
Weißl, O., Abdellatif, A., Chen, X., Merabishvili, G., Riccio, V., Kacianka, S., & Stocco, A. (2026) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3771557 · Cited by 16
“The increasing dependence on Deep Learning (DL) systems for both everyday tasks and critical sectors [51] makes rigorous testing for these systems a relevant topic [47, 63].”
InfluentialSelf-citationAgility in Software 2.0 – Notebook Interfaces and MLOps with Buttresses and Rebars
Borg, M. (2022) · Lecture notes in business information processing · doi:10.1007/978-3-030-94238-0_1 · Cited by 16
Song, Q., Borg, M., Engström, E., Ardö, H., & Rico, S. (2022) · IEEE/ACM International Conference on AI Engineering – Software Engineering for AI (CAIN) · doi:10.1145/3522664.3528596 · Cited by 16
“The taxonomy builds on previous work on taxonomy development [31], general testing terminology [17] and recent ML testing syntheses [33, 37, 46].”
BackgroundMethodInfluentialCommunity Smell Detection and Refactoring in SLACK: The CADOCS Project
Voria, G., Pentangelo, V., Porta, A. D., Lambiase, S., Catolino, G., Palomba, F., & Ferrucci, F. (2022) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme55016.2022.00061 · Cited by 17
“We performed input testing [32], i.e., an approach based on metamorphic testing [33] that aims at identifying potential reasons for unsuccessful training in the used data.”
MethodAn Empirical Study on Low- and High-Level Explanations of Deep Learning Misbehaviours
Zohdinasab, T., Riccio, V., & Tonella, P. (2023) · Proceedings of the ... ACM-IEEE International Symposium on Empirical Software Engineering and Measurement/International Symposium on Empirical Software Engineering and Measurement · doi:10.1109/esem56168.2023.10304866 · Cited by 15
“A large part of the literature focuses on evaluating the quality of DL systems by triggering misbehaviours, i.e., deviations from their expected behaviour [1], [2].”
BackgroundSelf-citationEnd-to-end lifecycle machine learning framework for predictive maintenance of critical equipment
Marchand, J., Laval, J., Sekhari, A., Cheutet, V., & Danielou, J.-B. (2025) · Enterprise Information Systems · doi:10.1080/17517575.2024.2448008 · Cited by 15
“ML models for pedestrian protection and lane keeping assistant are trained using offline training data (dataset), then the ML system operates using online data as input (Riccio et al. 2020).”
Sklavenitis, D., & Kalles, D. (2025) · Applied Sciences · doi:10.3390/app15137165 · Cited by 15
Wang, W., Chan, Y.-K., Ling, Z., Shi, J., Yuan, Y., Huang, J.-T., Zhang, Y., Jiao, W., Tu, Z., & Lyu, M. R.-T. (2024) · arXiv (Cornell University) · doi:10.48550/arxiv.2401.00761 · Cited by 15
UML Sequence Diagram Generation: A Multi-Model, Multi-Domain Evaluation
Xiao, C., Ståhl, D., & Bosch, J. (2025) · IEEE/ACM International Conference on Software Engineering: Software Engineering in Practice (ICSE-SEIP) · doi:10.1109/icse-seip66354.2025.00030 · Cited by 14
“Among these, AI has especially impacted software development [1], [2], particularly in areas such as project planning and management [3], code generation [4], code review [5], and testing [6].”
STELLAR: A Search-Based Testing Framework for Large Language Model Applications
Sorokin, L., Vasilev, I., Friedl, K. E., & Stocco, A. (2026) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner67736.2026.00093 · Cited by 14
“…input spaces is search-based software testing [18], which frames the testing process as an optimization problem, guiding the systematic generation of failure-revealing test inputs [19], [20], [21], [22], [23], [24], [25], [26], [27], [28], [29], [30], [31] to reduce the testing costs and time.”
Self-citationRobustness Testing of an Industrial Road Object Detection System
Wozniak, A.-L., Duong, N. Q. K., Benderitter, I., Leroy, S., Segura, S., & Mazo, R. (2023) · IEEE International Conference on Artificial Intelligence Testing (AITest) · doi:10.1109/aitest58265.2023.00022 · Cited by 14
“Most of the approaches to generating perturbations have, however, been proposed and evaluated in academia, in settings that are sometimes quite different from what can be encountered in practice [3].”
BackgroundSBFT Tool Competition 2024 - Cyber-Physical Systems Track
Biagiola, M., & Klikovits, S. (2024) · IEEE/ACM International Workshop on Search-Based Software Testing (SBST) · doi:10.1145/3643659.3643932 · Cited by 14
“Being among the most promising cyber-physical systems (CPSs), self-driving vehicles experience continuous attention software engineering research community [16] and industry [8].”
Background
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
- 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.