NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

'They've Stolen My GPL-Licensed Model!': Toward Standardized and Transparent Model Licensing

Moming Duan, Rui Zhao, Linshan Jiang, Nigel Shadbolt, Bingsheng He

TL;DR

Traditional software licenses like the GPL fail to protect machine learning models, allowing users to easily bypass copyleft terms by deploying models via web APIs. To fix this, this paper introduces ModelGo (MG) Analyzer, an automated tool that uses semantic web reasoning to detect license conflicts in ML workflows, alongside MG Licenses, a new modular framework designed specifically for machine learning assets.

What Problem Does This Paper Address?

When developers share machine learning models, they often slap on familiar Open Source Software (OSS) licenses (like Apache-2.0 or GPL) or Creative Commons (CC) licenses. However, these licenses were built for source code and creative text, not neural network weights.

This mismatch creates massive legal loopholes. For example, if a developer releases a model under the GPL, a third party can fine-tune it, host it behind a web API (Software-as-a-Service), and refuse to share their modifications. Because traditional GPL copyleft is triggered by the "distribution" of software copies—not remote execution—the license is effectively toothless in the cloud era. As ML development increasingly relies on complex pipelines of pre-training, fine-tuning, distillation, and synthetic data generation, tracking legal compliance across multiple interwoven assets has become a nightmare.

Methods

The authors tackle this problem from two angles: automated analysis and standardized licensing.

  1. ModelGo (MG) Analyzer: The authors developed an ontology (the MG Vocabulary) to represent ML workflows as Resource Description Framework (RDF) graphs. It translates Python workflow descriptions into structured data where models, datasets, and code are represented as Work nodes, and operations (like training, fine-tuning, or distilling) are represented as Action nodes.
  2. Ontological Reasoning: Using the EYE reasoning engine and Notation3 logic rules, the analyzer automatically propagates three types of dependencies: compositional (what components are inside a model), definition (what legally constitutes a derivative work), and rights-using (what permissions are required for a specific action).
  3. Fuzz Form Matching & Rule Alignment: To make traditional licenses machine-interpretable for AI, the tool broadens software terms (e.g., mapping "source code" rules to raw model weights) and aligns ambiguous actions to evaluate potential legal risks under multiple legal interpretations.
Overview of the ModelGo Analyzer pipeline

Datasets

The authors evaluated their framework using:

  • A License Benchmark: A curated dataset of over 30 mainstream licenses commonly found on Hugging Face (including OSS, Creative Commons, and proprietary model agreements like Llama 3 and Gemma), scored based on clarity and freedom.
  • SmolLM Production Workflow: A complex, real-world "in-the-wild" workflow based on the SmolLM model family. This pipeline involves generating synthetic data using Llama 3.1 and Mixtral, combining datasets like Cosmopedia v2 and The Stack v2, and performing downstream fine-tuning.

Key Insights and Ideas

  • The SaaS Loophole is Pervasive: Mainstream copyleft licenses (GPL, AGPL) are easily circumvented in ML because their trigger conditions rely on traditional software distribution definitions, which fail to cover web-based model deployment.
  • Hidden Compliance Debt: Legal restrictions can quietly cascade down a supply chain. For instance, if you train a small model on synthetic data generated by a model with strict "Use Behavior" restrictions (like Llama 3.1), your downstream model may inherit those legal obligations, even if you never touched the original model's weights.
  • Creative Commons is a Band-Aid: Many ML developers use CC-BY-NC-4.0 to block commercial exploitation, but because CC licenses don't explicitly define ML activities, they lack clear boundaries for what constitutes a "commercial derivative" in an AI context.

Key Results

  • Workflow Auditing: When tested on the real-world SmolLM workflow, MG Analyzer successfully identified 6 legal notices and 6 warnings (such as License Type Mismatches and Possibly Revocable Licenses), demonstrating that it can catch hidden compliance risks that human developers routinely miss.
  • MG Licenses Flexibility: The newly proposed MG Licenses introduce modular, CC-style options tailored for AI (such as Responsible AI (RAI) use restrictions and explicit Open Source (OS) copyleft clauses that cover remote API access). In experiments, these licenses successfully blocked the loopholes that allowed GPL and CC models to be closed-sourced or commercially exploited.

Limitations and Future Work

The primary bottleneck for the MG Analyzer is its reliance on high-quality, structured metadata. Currently, model repositories like Hugging Face rely on unstructured, user-annotated documentation (like Model Cards), which is frequently incomplete or inaccurate.

Additionally, major legal gray areas remain unresolved by courts—such as whether model distillation or training on synthetic data strictly constitutes a "derivative work." The authors plan to collaborate with open-source communities to integrate their vocabulary with broader supply chain standards like SPDX 3.0 to build a more transparent ecosystem for AI development.

Summary updated

BibTeX
@inproceedings{duan2026they,
  author = {Moming Duan and Rui Zhao and Linshan Jiang and Nigel Shadbolt and Bingsheng He},
  title = {{'They've Stolen My GPL-Licensed Model!': Toward Standardized and Transparent Model Licensing}},
  booktitle = {The Web Conference},
  year = {2026},
  doi = {10.1145/3774904.3792968},
}
Figure