English

Using Quality Attribute Scenarios for ML Model Test Case Generation

Software Engineering 2024-06-14 v1 Artificial Intelligence Machine Learning

Abstract

Testing of machine learning (ML) models is a known challenge identified by researchers and practitioners alike. Unfortunately, current practice for ML model testing prioritizes testing for model performance, while often neglecting the requirements and constraints of the ML-enabled system that integrates the model. This limited view of testing leads to failures during integration, deployment, and operations, contributing to the difficulties of moving models from development to production. This paper presents an approach based on quality attribute (QA) scenarios to elicit and define system- and model-relevant test cases for ML models. The QA-based approach described in this paper has been integrated into MLTE, a process and tool to support ML model test and evaluation. Feedback from users of MLTE highlights its effectiveness in testing beyond model performance and identifying failures early in the development process.

Keywords

Cite

@article{arxiv.2406.08575,
  title  = {Using Quality Attribute Scenarios for ML Model Test Case Generation},
  author = {Rachel Brower-Sinning and Grace A. Lewis and Sebastían Echeverría and Ipek Ozkaya},
  journal= {arXiv preprint arXiv:2406.08575},
  year   = {2024}
}

Comments

Paper accepted and presented in SAML 2024, the 3rd International Workshop on Software Architecture and Machine Learning, co-located with ICSA 2024, the 21st IEEE International Conference on Software Architecture

R2 v1 2026-06-28T17:03:41.444Z