Abstract
As machine learning (ML) moves toward collaborative, incremental development, the legal frameworks governing model reuse remain stuck in the era of traditional software. This paper introduces ModelGo (MG) Analyzer, an automated tool that uses semantic reasoning to detect license conflicts in ML workflows, and MG Licenses, a new suite of modular, model-specific licenses designed to bring clarity and transparency to AI development. By encoding legal rules into machine-interpretable logic, the authors demonstrate that license auditing can be integrated directly into MLOps pipelines.
Introduction
When a developer "borrows" a pre-trained model, fine-tunes it on a specific dataset, and then releases the result, they enter a legal minefield. Most current ML projects rely on software licenses (like GPL or Apache) or content licenses (like Creative Commons). However, these were never designed for the unique "lifecycle" of a model.
The authors identify three major gaps in the current landscape:
- Ambiguity: Traditional licenses like the GPL do not clearly define if "derivative work" applies to models fine-tuned on small datasets.
- Circumvention: Licenses often fail to govern "Model-as-a-Service" (SaaS) deployments, allowing users to bypass "copyleft" requirements by hiding the model behind an API.
- Incompatibility: Mixing assets with different licenses (e.g., a GPL model with a CC-BY-NC dataset) creates a "license soup" where determining the legal status of the final output is nearly impossible.
Methodology
ModelGo (MG) Analyzer
The MG Analyzer is a technical tool built on Semantic Web technologies that represents an ML workflow as a Resource Description Framework (RDF) graph.
As shown in Figure 1, the tool operates in three main phases:
- Construction: It uses an "MG Vocabulary" to describe ML-specific actions like Train, Fine-tune, Distill, and Combine. It employs "fuzz form matching" to map traditional software terms like "source code" to ML equivalents like "model weights."
- Reasoning: Using the Notation3 (N3) reasoning engine, the tool analyzes compositional dependencies (what is inside the model), definitional dependencies (how the license defines the output), and rights-using dependencies (what rights are required for intended actions).
- Analysis: The tool outputs reports including notices, warnings, and errors regarding license compliance.
MG Licenses
To replace the "square peg in a round hole" approach of using software licenses, the authors drafted a set of modular MG Licenses. Inspired by Creative Commons, these offer five options: BY (Attribution), NC (Non-Commercial), ND (No Derivatives), RAI (Responsible AI/Use restrictions), and OS (Open Source/Copyleft).
Key Insights and Results
The authors evaluated the MG framework using a wide array of real-world ML assets, including models like Llama 3 and Mixtral, and over 30 existing licenses.
Addressing the "SaaS Loophole"
A significant finding is that traditional GPL licenses can be "close-sourced" by serving a model via a web interface. Because GPL is triggered by physical distribution, API access does not mandate sharing source code. The proposed MG-BY-OS license successfully triggers "Disclose Source Code" warnings even in SaaS scenarios where traditional GPL fails.
Clarity and Conflict Detection
The authors developed a scoring system for licenses. While many "Open" licenses provide high freedom, they suffer from low Clarity Scores (averaging 1.5–2.5 out of 4.0) due to a lack of ML-specific definitions. MG Licenses achieved a perfect 4.0.
In practical case studies, such as the SmolLM workflow, the MG Analyzer successfully identified twelve critical notices and warnings that human developers had overlooked. As illustrated in Figure 2, the tool can pinpoint specific license mismatches, such as when commercial use is reserved by a component's license (e.g., CC-BY-NC-SA-4.0) but requested by a downstream action.
Conclusion and Future Work
While the MG Analyzer demonstrates the power of automated compliance, it remains dependent on the quality of input metadata (e.g., Model Cards), which is currently often unstructured. Furthermore, the tool provides technical analysis rather than binding legal advice. Future work aims to publish ML assets as Linked Open Data, embedding machine-readable licenses directly into model files to ensure compliance persists across generations of fine-tuning and distillation.
Summary updated