Skip to main content
QUICK REVIEW

[Paper Review] Quality Assurance for AI-based Systems: Overview and Challenges

Michael Felderer, Rudolf Ramler|arXiv (Cornell University)|Feb 10, 2021
Adversarial Robustness in Machine LearningComputer Science23 references19 citations
TL;DR

This paper provides a foundational framework for quality assurance (QA) in AI-based systems by identifying core challenges and proposing a multidimensional model across artifact type, process, and quality characteristics. It highlights critical issues such as model interpretability, dynamic self-adaptation, and testing in production, calling for integrated collaboration between software engineering and AI communities to establish robust QA practices for evolving AI systems.

ABSTRACT

The number and importance of AI-based systems in all domains is growing. With the pervasive use and the dependence on AI-based systems, the quality of these systems becomes essential for their practical usage. However, quality assurance for AI-based systems is an emerging area that has not been well explored and requires collaboration between the SE and AI research communities. This paper discusses terminology and challenges on quality assurance for AI-based systems to set a baseline for that purpose. Therefore, we define basic concepts and characterize AI-based systems along the three dimensions of artifact type, process, and quality characteristics. Furthermore, we elaborate on the key challenges of (1) understandability and interpretability of AI models, (2) lack of specifications and defined requirements, (3) need for validation data and test input generation, (4) defining expected outcomes as test oracles, (5) accuracy and correctness measures, (6) non-functional properties of AI-based systems, (7) self-adaptive and self-learning characteristics, and (8) dynamic and frequently changing environments.

Motivation & Objective

  • Address the growing need for systematic quality assurance in AI-based systems due to their increasing deployment across critical domains.
  • Identify and clarify terminology gaps between software engineering (SE) and AI communities that hinder effective QA collaboration.
  • Establish a baseline framework for characterizing AI-based systems using three dimensions: artifact type, process, and quality characteristics.
  • Highlight key challenges in QA for AI systems, including lack of specifications, dynamic behavior, and non-deterministic outcomes.
  • Promote interdisciplinary collaboration between SE and AI researchers to develop robust, standardized QA approaches for AI systems.

Proposed method

  • Define AI-based systems as software systems integrating AI components, with a focus on data-driven, machine learning (ML)-based artifacts.
  • Propose a three-dimensional model: (1) artifact type (data, model, framework, system), (2) process (isolated vs. continuous/DevOps-based development), and (3) quality characteristics (functional, non-functional, data quality).
  • Introduce and analyze eight core QA challenges: interpretability, lack of requirements, test input generation, oracle problem, accuracy measures, non-functional properties, self-adaptation, and dynamic environments.
  • Examine the limitations of traditional SE testing in AI contexts, especially the mismatch between SE testing (defect detection) and ML evaluation (performance metrics on holdout data).
  • Advocate for run-time monitoring and online testing in production environments, while acknowledging risks in safety-critical and privacy-sensitive systems.
  • Emphasize the need for domain-specific metrics, constraints, and ethical safeguards when applying testing in production.

Experimental results

Research questions

  • RQ1How can quality assurance for AI-based systems be systematically structured given the lack of standardized terminology and practices?
  • RQ2What are the key challenges in ensuring quality for AI components that are data-driven, non-deterministic, and self-adaptive?
  • RQ3How can test oracles be defined when AI model outputs are probabilistic and context-dependent?
  • RQ4In what ways do dynamic and evolving environments affect the testability and maintainability of AI-based systems?
  • RQ5What role can continuous integration and deployment (CI/CD) practices play in QA for AI systems with self-learning capabilities?

Key findings

  • AI-based systems are fundamentally different from traditional software due to their data-driven, non-deterministic, and self-adapting nature, requiring new QA approaches beyond classical SE practices.
  • The term 'testing' has conflicting meanings in SE (defect detection) and ML (performance evaluation), creating confusion and hindering unified QA strategies.
  • Challenges such as model interpretability, lack of formal specifications, and oracle problems significantly complicate QA, especially in high-stakes domains.
  • Testing in production is increasingly used for real-world validation but poses serious risks in safety-critical systems, requiring strict constraints and monitoring.
  • Self-adaptive and continuously learning systems increase QA complexity due to runtime behavior changes and evolving model behavior, demanding run-time monitoring and online validation.
  • Effective QA for AI systems requires interdisciplinary collaboration between SE and AI communities, supported by dedicated educational initiatives and research forums such as the IEEE AI Testing Conference.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.