On Using Decision Tree Coverage Criteria forTesting Machine Learning Models

  • Sebastião Santos USP
  • Beatriz Silveira USP
  • Vinicius Durelli UFSJ
  • Rafael Durelli UFLA
  • Simone Souza USP
  • Marcio Delamaro USP

Resumo


Over the past decade, there has been a growing interest in applying machine learning (ML) to address a myriad of tasks. Owing to this interest, the adoption of ML-based systems has gone mainstream. However, this widespread adoption of ML-based systems poses new challenges for software testers that must improve the quality and reliability of these ML-based solutions. To cope with the challenges of testing ML-based systems, we propose novel test adequacy criteria based on decision tree models. Differently from the traditional approach to testing ML models, which relies on manual collection and labelling of data, our criteria leverage the internal structure of decision tree models to guide the selection of test inputs. Thus, we introduce decision tree coverage (DTC) and boundary value analysis (BVA) as approaches to systematically guide the creation of effective test data that exercises key structural elements of a given decision tree model. To evaluate these criteria, we carried out an experiment using 12 datasets. We measured the effectiveness of test inputs in terms of the difference in model’s behavior between the test input and the training data. The experiment results indicate that our testing criteria can be used to guide the generation of effective test data.
Publicado
28/09/2021
Como Citar

Selecione um Formato
SANTOS, Sebastião; SILVEIRA, Beatriz; DURELLI, Vinicius; DURELLI, Rafael; SOUZA, Simone; DELAMARO, Marcio. On Using Decision Tree Coverage Criteria forTesting Machine Learning Models. In: SIMPÓSIO BRASILEIRO DE TESTES DE SOFTWARE SISTEMÁTICO E AUTOMATIZADO (SAST), 6. , 2021, Joinville. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2021 . p. 1–9.