Back to search

Queen's University at Kingston

On the Release-Readiness of ML-Based Products

Abstract

dc:description.abstract

In the rapidly evolving fields of machine learning (ML) and artificial intelligence (AI), assessing the release-readiness of software products presents significant challenges. These include the unpredictability of AI results due to non-determinism, the complexity of comprehensive testing without clear model guidelines, and the need to comply with dynamic global regulations. To mitigate potential reputational risks, it is crucial for organizations to conduct detailed release-readiness evaluations. Traditional ML systems require checks like unbiased training data and model quality verification before deployment. Generative AI systems need additional checks to address challenges such as misinformation and defense against adversarial attacks like prompt injection. This thesis explores release-readiness across traditional and generative AI systems. Traditional approaches often follow established checklists and assume newer models are superior, disregarding the utility of older models post-deployment. An empirical study across eight long-lived Apache projects with 84,343 commits illustrates the benefits of model recycling, which preserves older models' utility and enhances software release-readiness. We evaluated three Just-In-Time (JIT) defect prediction models—Random Forest, Logistic Regression, and Neural Network. Our findings show that model recycling significantly outperforms traditional retraining in metrics like recall, g-mean, AUC, and F1 score by up to 30%, 20%, 11%, and 10%, respectively. Model Stacking, the top recycling strategy, improves outcomes in over 50% of the projects but increases inference time. For generative AI systems, the thesis identifies the absence of a comprehensive checklist tailored to the unique complexities of release-readiness. We synthesized a detailed checklist from a systematic review of 65 grey literature sources and insights from 44 organizations, guiding practitioners in evaluating key release-readiness aspects such as performance, monitoring, and deployment strategies. This research bridges the gap between theory and practice in release-readiness, advancing the discourse on ML software systems and providing actionable insights for managing ML model lifecycles. It contributes to the development of more reliable and sustainable ML-based software systems, facilitating their successful integration into the real-world.

Degree

thesis:*
Department dc:contributor.department
Computing
Grantor
Queen's University at Kingston
Year dc:date.issued
2024

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Patel, Harshkumar
Advisors dc:contributor.supervisor
  • Adams, Bram
  • Hassan, Ahmed E.

Subjects

dc:subject × 7

Rights

Language dc:language.iso
eng

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/1974/32997

Chain of custody

source
Harvested from
Queens University
Base URL
qspace.library.queensu.ca/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Patel, Harshkumar. On the Release-Readiness of ML-Based Products. Queen's University at Kingston, 2024. https://hdl.handle.net/1974/32997