University of Alberta
Understanding ML Artifact Management Practices and Advancing Model Documentation Through Standardization and Automation
Abstract
dc:description.abstractMachine learning (ML) has become a key component in modern software applications, addressing a wide range of real-world problems. Datasets and models are two key artifacts in such ML applications. The absence of standardized practices for managing these artifacts hinders traceability, reproducibility, accountability, and effective collaboration among various stakeholders involved in ML development. This thesis focuses on improving the management and documentation of datasets and models, ultimately enhancing their user experience and supporting better collaboration in ML development. In the first study presented in this thesis, we investigated how datasets and models are stored and versioned in open-source ML applications. This analysis revealed current practices, gaps, and highlights areas where tools or guidelines are lacking to support their traceability and reproducibility. In the second study, we analyzed community discussions on pre-trained ML models hosted on Hugging Face, a widely used model hub, to understand the recurring challenges users face. Using topic modeling and manual analysis, we categorized the questions asked in these discussions and assessed whether improved model documentation could have preemptively addressed them. We showed that 42.5% of the community questions could have been answered if the model provider followed a standard model documentation template. We also proposed adding new (sub)sections to the template to address common community questions. In the third study, recognizing that authoring model documentation is widely acknowledged as a challenging task, we explored whether a large language model (LLM) can assist in automatically generating model documentation, reducing the burden on model authors and improving usability for model users. We proposed MCGenie, an LLM-based approach that will generate a model’s documentation from the model development data. We also proposed MCTidy, an LLM-based approach to reorganize existing model documentation to align it with a standardized model documentation template, thereby improving structure and comparability to support more informed and accountable model selection. Our findings in the study highlight the potential of LLM-based generation and reorganization to facilitate scalable, low-effort adoption of standardized model documentation. The research work presented in this thesis explores how ML artifacts can be better organized, understood, and communicated by analyzing existing development practices, identifying documentation gaps, and introducing automated approaches that promote more transparent and usable model documentation.
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
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Toma, Tajkia Rahman
- Advisor dc:contributor.advisor
-
- Bezemer, Cor-Paul (Electrical and Computer Engineering)
Subjects
dc:subject × 4Rights
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/85996