Back to search

University of Alberta

Towards Quality Assurance for AI Software Systems

Abstract

dc:description.abstract

Over the past decade, machine learning techniques have been significantly advanced. As a result, software systems involving artificial intelligence (AI) components (AI software systems) have become pervasive and widely deployed across different domains and applications. Recent advancements in large language models (LLMs) and generative AI have further demonstrated the potential of AI in reshaping the software industry. Similar to any other traditional software systems, AI software systems also need support in rigorous testing, debugging, and improvement to assure their reliability before and after deployment in real-world environments. Yet, quality assurance for AI software systems remains largely unexplored due to the fundamentally different nature and construction of AI software systems compared to traditional software. This thesis explores several opportunities to improve AI software systems' quality and reliability. In particular, this thesis unfolds into three parts aimed at quality assurance at the different development stages. Firstly, in response to the inefficiency and ineffectiveness of testing and evaluating complex AI software systems, such as Vision-Language-Action (VLA) models for robotic manipulation, we propose VLATest. VLATest is the first fuzzing framework that can automatically generate test cases and oracles for VLA models. Based on VLATest, we conducted a large-scale empirical study to understand the challenges in using VLA models for robotic manipulation as well as future research opportunities. Secondly, we investigated the debugging of AI software systems from two interconnected perspectives. On the one hand, to address the concern of lacking transparency in AI, we proposed DeepSeer--an interactive visual analytics system to help developers visualize, understand, and debug complex AI software systems based on stateful neural networks. A between-subjects user study of 28 developers was conducted to confirm the effectiveness and usability of DeepSeer. On the other hand, to understand what kind of errors AI software systems could make, we developed a taxonomy of errors made by large language models (LLMs) for code generation through an open-coding procedure. To understand whether different systems make similar mistakes, we conducted an empirical study of six LLMs. We found that errors made by LLMs usually stem from the incorrect interpretation of task requirements, resulting in multiple lines of error code that require substantial code restructuring and repair rather than simple fixes. Lastly, based on the finding that the subpar performance of AI software systems, in particular, the prompt-based large foundation models, can be largely attributed to the ineffectiveness of models in accurately interpreting the prompts, we developed a novel framework, PromptCharm, for improving AI software system's performance via effective human-AI collaboration and attention alignment. Two within-subjects user studies of 24 participants were conducted to validate the effectiveness and usability of PromptCharm. In summary, this thesis contributes to quality assurance for AI software systems at different development stages through both novel techniques and empirical findings, facilitating the development of more reliable and trustworthy AI software systems.

Degree

thesis:*
Name thesis:degree_name
Doctor of Philosophy
Level thesis:degree_level
Doctoral
Discipline thesis:degree_discipline
Software Engineering and Intelligent Systems
Grantor
University of Alberta
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Wang, Zhijie
Advisor dc:contributor.advisor
  • Ma, Lei (Electrical and Computer Engineering)

Subjects

dc:subject × 3

Rights

dc:rights
Statement dc:rights
  • This thesis is made available by the University of Alberta Library with permission of the copyright owner solely for non-commercial purposes. This thesis, or any portion thereof, may not otherwise be copied or reproduced without the written consent of the copyright owner, except to the extent permitted by Canadian copyright law.
Language dc:language.iso
en

Identifiers

dc:identifier.*
DOI dc:identifier.doi
https://doi.org/10.7939/83306

Chain of custody

source
Harvested from
University of Alberta
Base URL
era.library.ualberta.ca/oai
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Wang, Zhijie. Towards Quality Assurance for AI Software Systems. Doctoral thesis, University of Alberta, 2025. https://doi.org/10.7939/83306