This paper presents AIGen, a modular AIBoM generation tool running on top of the MLflow MLOps framework that combines heuristic mining with large language models, producing machine-readable AI system component inventories conforming to the SPDX 3.0 AI profile.
The core characteristic of industrial MLOps scenarios is that the various AI development data sources are siloed and distributed.
The two main existing AIBoM generation approaches each have clear boundaries of applicability: the ALOHA approach is designed with a focus on public model scenarios, while the AIBoMGen approach is fundamentally positioned around ensuring training pipeline completeness.
AIGen is a modular AIBoM generation tool that produces machine-readable, interoperable AI system component inventories conforming to the SPDX 3.0 AI profile. Built on the MLflow MLOps framework, the tool combines two techniques—mining heuristic rules and large language models—to generate AIBoMs, while also providing plugin interfaces so practitioners can extend it with domain-specific collectors without modifying the core code; it natively supports heterogeneous AI frameworks such as Hugging Face, PyTorch, and TensorFlow. AIGen's core design goal is to help meet the compliance requirements of the EU AI Act, the NIST AI Risk Management Framework, and ISO/IEC 42001, providing a reusable foundation for transparent, accountable AI asset inventory management.
The study's complete reproduction package, including raw data, execution scripts, and the tool itself, is publicly available, and the project provides an official code repository URL and a demo video for direct access by practitioners.
AIGen's layered data extraction architecture is driven by three complementary entity types: Builders, Teams, and Goals. Builders are specialized units responsible for extracting metadata from different data sources; developers only need to implement the processing logic for a specific data type to quickly extend support for new data sources. The system currently provides multiple reference implementations, including an MLflow Builder that collects structured metadata and custom SPDX tags via REST APIs, and a GitHub Builder that connects to a large language model client to analyze training scripts and documents and generate high-level summaries. You can use the system architecture figure that follows to intuitively understand the dependency, invocation, and generation relationships among the core modules and components.
For the various MLOps artifacts found in industrial scenarios, AIGen designs three targeted optimized processing logic paths to ensure robust handling of large and unstructured artifacts and compliance of generated results. For Jupyter Notebook artifacts, the system uses a custom deserialization layer to remove non-essential JSON metadata, keeping only code and Markdown content to optimize large language model context window usage. For large files limited by the large language model's token window, the system employs a sliding-window extraction mechanism, splitting input into overlapping segments processed sequentially, ultimately producing logically coherent extraction results on large files. The system also supports collecting license information from multiple sources such as the MLflow registry and GitHub file headers, performing license classification and parsing aligned with the SPDX 3.0 specification.
The evaluation selected 8 open-source machine learning projects from GitHub and Kaggle, covering three typical task scenarios: computer vision, tabular data, and recommender systems. During evaluation, the researchers integrated MLflow into all projects' training scripts to track metrics and artifacts, and used Ollama to call DeepSeek-r1 8B (Q4_K_M quantized version) for inference, with the temperature set to 0 and to ensure output consistency. The generated AIBoM fields were ultimately assessed with a four-point qualitative scoring system, with grades divided into four categories: error-free Perfect, with minor omissions Good, with extensive missing data Lackluster, and with factual errors Bad.
Across all evaluations of the 8 projects, AIGen generated a total of 124 AIBoM fields, of which 91% were rated Perfect or Good.
Fields handled by structured Builders such as MLflow and Kaggle—deterministic metadata such as hyperparameters and metrics—consistently received Perfect ratings, validating the effectiveness of the hybrid architecture when reliable APIs are available. The most challenging task in the entire evaluation was synthesizing descriptive fields from source code and README files. For these large language model–assisted fields, when the relevant information is explicit the model can usually accurately summarize complex training logic, but it occasionally hallucinates or suffers context loss due to the sliding-window strategy; moreover, domain-specific fields such as limitations typically require additional information beyond the analyzed artifacts.
The current research has verified that AIGen, as a modular tool, can automatically generate SPDX-conformant AIBoMs through a hybrid path combining structured MLOps extraction with large language model synthesis; its architecture itself supports functional extension, adaptation to continuously evolving related standards, and integration with heterogeneous machine learning pipelines.
The existing public validation covers only 8 open-source ML project scenarios and only confirms that AIGen can achieve high accuracy on structured field generation tasks; the natural language synthesis stage still presents clear unresolved challenges.
The study explicitly notes that future work will conduct supplementary validation in industrial scenarios in collaboration with partner companies, integrating AIGen into real MLOps pipelines to further assess its configurability, robustness to incomplete metadata, and practical utility in human-in-the-loop audit workflows.