CoChat

Testing machine learning based systems: a systematic mapping

Open access

The 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.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1007/s10664-020-09881-0

Cites

139 of 140 references verified0 citation errors · 0 not checkable

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.

A few free checks a day · papers already verified open instantly · results are public

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?

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

Research works printed but not linked: 5

  1. Gal Y (2016) Uncertainty in deep learning. PhD thesis, University of Cambridge
  2. 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
  3. 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
  4. 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
  5. 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

See all 352

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
Licence
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.