Back to search

University of Alberta

Solidifying AI-enabled Systems via Verification, Testing, and Monitoring

Abstract

dc:description.abstract

In the information era, Artificial Intelligence (AI)-enabled systems are ubiquitous due to their scalability, cost-effectiveness, and the availability of diverse operation environments. They can empower the automation of tasks, analysis of data, and recognition of diverse patterns. However, their trustworthiness, e.g., fairness, safety, and truthfulness, also encounter enormous challenges when deployed in the real-world environment. Therefore, how to ensure and enhance the trustworthiness of the AI-enabled system is of vital importance in current research. Nevertheless, it is challenging to address the trustworthiness issues of AI-enabled systems due to their nondeterminism and data-driven nature. Towards mitigating the threats, in this thesis, we address the trustworthiness challenges of AI-enabled systems via trustworthiness assurance techniques, i.e., verification (formally proving that the system satisfies the specification), testing (finding defects or abnormal behavior of the system), and monitoring (real-time tracking and analysis of the system). We aim to design and build advanced trustworthiness assurance techniques to improve the reliability and robustness of practical AI-enabled systems. In the first part, we develop a novel method for computing fairness scores for AI-enabled systems and explicitly recognizing discriminating samples. By reducing dependency fairness verification to the safety specification, we find discriminating samples using well-established safety verification techniques. Furthermore, using four iterative region refinement techniques—random-based, saliency map-based, important neuron-based, and "greedy-based—we present a counterexample-guided fairness analysis. Our empirical analysis demonstrates that the method allows for scalable, effective fairness calculations and successfully handles bias questions. In the second part, we provide a model-based safety analysis approach for AI-enabled systems. In order to improve the efficacy of safety analysis, we first abstract the system as a Markov Decision Process (MDP), offering a representative model. We create two techniques for safety analysis using this abstract model: offline model-guided falsification and online safety monitoring. The evaluation’s findings demonstrate that our method successfully detects falsifying inputs and safety monitoring. In the third part, we present a set of multi-level testing coverage criteria for large language models (LLMs). Attention-based coverage, neuron-based coverage, and uncertainty-based coverage are the three different categories of criteria that we include. We apply these criteria to coverage-guided testing and test prioritization, two real-world scenarios. The usefulness and practical values of these criteria in improving model testing and assessment are validated by experimental outcomes. In the final part, we present a comprehensive benchmark study specifically designed to assess online defect detection methods for LLMs across various domains. This benchmark provides a foundational framework for the advancement and refinement of online defect detection techniques. Our study begins with an initial investigation showing how defects can arise early in the generation process, highlighting the critical role of online defect detection. The benchmark includes a wide range of analysis methods, LLMs, datasets, and evaluation metrics, enabling a systematic and detailed evaluation of the leading online defect detection methods. Furthermore, we introduce simple yet effective hybrid approaches that combine the strengths of various individual techniques to enhance overall detection performance. In conclusion, this thesis offers important developments that improve the trustworthiness of AI-enabled systems using advanced trustworthiness assurance methods, such as verification, testing, and monitoring. By addressing essential issues in this area, their contributions set the stage for the creation of more reliable and promising methods for enhancing the trustworthiness of AI-enabled 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
  • Xie, Xuan
Advisor dc:contributor.advisor
  • Lei Ma (Electrical & Computer Engineering)

Subjects

dc:subject × 2

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/82054

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

Xie, Xuan. Solidifying AI-enabled Systems via Verification, Testing, and Monitoring. Doctoral thesis, University of Alberta, 2025. https://doi.org/10.7939/82054