TL;DR
This paper introduces a novel framework for verifying the lineage of deep learning models, crucial for combating issues like unauthorized redistribution and false claims of origin in open-weight model ecosystems. By analyzing the "knowledge evolution" during fine-tuning, inspired by biological genetics, the method offers a robust way to attest model ancestry across various model types.
What Problem Does This Paper Address?
The rise of the pre-training and fine-tuning paradigm in deep learning has created complex "model lineages," where models are derived from one another through fine-tuning. This is incredibly useful for adapting models to new tasks but also introduces significant security challenges. These include:
- Unauthorized Redistribution: Models can be stolen and fine-tuned, with the derivative models being released without proper attribution or licensing.
- False Claims of Provenance: Adversaries might falsely claim a model was derived from their work to gain credit or mislead users.
- Harmful Fine-tuning: Models can be fine-tuned for malicious purposes.
Existing methods for verifying model lineage often rely on static architectural similarities or parameter comparisons, which are insufficient to capture the dynamic knowledge shifts that occur during fine-tuning. This gap makes it difficult to reliably determine if a model is a true descendant of another.
Methods
The authors propose a framework called Model Lineage Attestation (MLA), which focuses on the "knowledge evolution" during fine-tuning. The core ideas are:
- Characterizing Knowledge Evolution with Model Editing: They leverage "Task Arithmetic" and model editing techniques to decompose the fine-tuning process. This allows them to isolate the changes introduced by fine-tuning into an "evolution model" ($\Delta$). This model essentially represents the knowledge shift from the parent model to the child model.
- Knowledge Vectorization: To represent the knowledge within models (parent, child, and evolution model), they devise specialized probing strategies tailored to different model types:
- Classification Models: Use probe samples near decision boundaries to capture how these boundaries evolve.
- Diffusion Models: Sample from the parent model's data distribution to assess generative fidelity.
-
Large Language Models (LLMs): Use multi-domain benchmarks to elicit behavioral responses and compare them. These probes generate knowledge vectors that represent the model's learned information.
-
Lineage Attestation: The knowledge vectors from the parent, child, and evolution models are then fed into a shared knowledge encoder. The consistency between the parent's knowledge vector and the combined knowledge of the child and evolution model (representing inherited and evolved knowledge) is used to attest the lineage. This is framed as verifying if the knowledge evolution trajectory aligns with the fine-tuning process.
Datasets
The paper uses a variety of datasets for training and evaluation, often in the context of creating diverse model families:
- Classification: Caltech-101, Dogs, Flowers, CIFAR-100, Aircraft, Oxford-IIIT Pet, Tiny ImageNet.
- Diffusion Models: COCO2014 (for probe sampling), Naruto (for LoRA fine-tuning).
- LLMs: MMLU, LLMTwin, OpenMath, Guard, Tulu, Dolphin (for probe prompts).
The authors also construct several multi-generation model families using these datasets to simulate realistic lineage scenarios.
Key Insights and Ideas
- Genetics as a Metaphor: The analogy to biological evolution (genes inherited, but also modified/forgotten) provides a powerful conceptual framework for understanding model lineage.
- Knowledge Evolution, Not Just Parameter Change: The key insight is that fine-tuning isn't just about changing weights; it's about a dynamic evolution of the model's internal knowledge. MLA captures this by analyzing the trajectory of this evolution.
- Probing for Knowledge: Using carefully designed probe datasets tailored to model types is crucial for extracting meaningful knowledge representations that are robust to architectural differences.
- Robustness to Adversarial Attacks: The method demonstrates strong resilience against various attacks designed to fool lineage verification, highlighting its practical utility.
Key Results
- High Accuracy in Lineage Verification: MLA consistently achieves high True Positive Rates (TPR) and low False Positive Rates (FPR) across various model types (classifiers, diffusion models, LLMs) under different adversarial scenarios. For example, TPRs often exceed 0.99 with FPRs below 0.02 in classification models against across-generational attacks.
- Effective Against Adversarial Attacks: The method shows strong resistance to:
- Across-Generational Attacks: Accurately distinguishes lineage up to three generations.
- Weight Pruning: Remains effective even with significant pruning rates.
- Distillation Attacks: Maintains high TPR even when models are distilled into different architectures.
- Knowledge Infusion Attacks: Demonstrates robustness against attempts to forge lineage relationships.
- Generalizability: MLA performs well across diverse model architectures and families, including ResNet-18, MobileNet-V2, Stable Diffusion, and various LLMs (LLaMA, Qwen, Phi-4, Mistral, Gemma).
Limitations and Future Work
- Probe Dataset Authenticity: While MLA can verify claimed lineage relationships, ensuring the authenticity of the probe dataset itself (i.e., that it was the actual dataset used for fine-tuning) is challenging and remains an open research direction. The authors suggest that trusted authorities might need to construct alternative probe sets from semantically similar sources.
- Computational Cost: While not explicitly detailed as a limitation, the use of knowledge encoders and fusion networks implies a computational overhead that might be a consideration for real-time applications.
- Ethical Considerations: The authors acknowledge that lineage attestation techniques could be misused to infer relationships or dispute ownership. They emphasize the need for explicit authorization and adherence to privacy policies when applying these techniques to proprietary systems.
Future work could focus on developing stronger mechanisms for verifying dataset provenance and exploring more efficient computational approaches.
Summary updated