Abstract
The broad capabilities and substantial resources required to train Large Language Models (LLMs) make them valuable intellectual property, yet they remain vulnerable to copyright infringement, such as unauthorized use and model theft. LLM fingerprinting, a non-intrusive technique that extracts and compares the distinctive features from LLMs to identify infringements, offers a promising solution to copyright auditing. However, its reliability remains uncertain due to the prevalence of diverse model modifications and the lack of standardized evaluation. In this SoK, we present the first comprehensive study of LLM fingerprinting. We introduce a unified framework and formal taxonomy that categorizes existing methods into white-box and black-box approaches, providing a structured overview of the state of the art. We further propose LeaFBench, the first systematic benchmark for evaluating LLM fingerprinting under realistic deployment scenarios. Built upon mainstream foundation models and comprising 149 distinct model instances, LeaFBench integrates 13 representative post-development techniques, spanning both parameter-altering methods (e.g., fine-tuning, quantization) and parameter-independent mechanisms (e.g., system prompts, RAG). Extensive experiments on LeaFBench reveal the strengths and weaknesses of existing methods, thereby outlining future research directions and critical open problems in this emerging field.
Introduction
Training state-of-the-art Large Language Models (LLMs) requires massive investments in computational power and data curation, rendering the resulting model weights highly valuable intellectual property. However, these assets are increasingly vulnerable to "model laundering"—unauthorized reuse where a derivative model is claimed as original, or model stealing where parameters are extracted.
Traditional defenses like watermarking are often intrusive, potentially degrading model performance and requiring implementation during the training phase. Fingerprinting emerges as a superior post-hoc alternative. It extracts inherent, distinctive features—the "DNA" of the model—to identify its lineage without modifying the model itself. Despite its promise, the field has lacked a unified taxonomy and standardized evaluation against common "laundering" techniques like quantization, fine-tuning, or model merging.
A Unified Framework for LLM Fingerprinting
The authors propose a standardized workflow for LLM fingerprinting, which typically involves three core steps: query set selection, fingerprint generation, and fingerprint comparison.
The study categorizes existing methods into a formal taxonomy based on the auditor's level of access:
1. White-box Methods
In white-box auditing, the auditor has full access to the model's internal parameters and computation graph. These methods are further divided into:
- Static: Analyzing raw weights and their statistical distributions.
- Forward-pass: Examining internal activations during inference.
- Backward-pass: Analyzing gradients to understand how the model responds to specific learning signals.
2. Black-box Methods
Black-box methods require only API access (input/output). These are categorized as:
- Untargeted: Utilizing general queries to observe stylistic "idiosyncrasies" or behavioral patterns.
- Targeted: Employing adversarial "honeypot" queries designed to trigger unique, specific responses from a particular model lineage.
LeaFBench: A Systematic Benchmark
To address the lack of standardized evaluation, the researchers introduced LeaFBench. This benchmark is the first of its kind, designed to test fingerprinting robustness under realistic deployment scenarios.
- Model Diversity: Includes 7 mainstream foundation model families (e.g., Qwen, Llama, Mistral, Gemma) across 149 distinct instances.
- Laundering Simulations: Applies 13 techniques to simulate infringement, including parameter-altering methods (LoRA, quantization, model merging) and parameter-independent mechanisms (RAG, system prompts).
- Evaluation Protocol: Uses a triplet-based dataset $(M_o, M_s, y)$ to determine if an auditor can reliably distinguish between a true derivative and an independently trained model.
Key Insights and Experimental Results
The extensive experiments conducted on LeaFBench reveal a significant performance gap between auditing paradigms:
- The Dominance of White-Box Auditing: Static white-box methods (e.g., HuRef, PDF) achieved near-perfect AUC scores (0.994–0.995). These methods prove highly resilient, identifying derivatives even after significant modifications.
- The Fragility of Black-Box Methods: In contrast, black-box methods struggled significantly, with AUCs generally falling below 0.72. Their performance often collapsed when faced with common post-development techniques like quantization or fine-tuning.
- Efficiency vs. Effectiveness: White-box methods are not only more accurate but also significantly faster, typically running in under 50 seconds. Advanced black-box methods like TRAP can take over 3 hours for the same task.
- Base vs. Instruction-Tuned Models: Black-box auditing is particularly difficult for base pre-trained (PT) models, which exhibit more "random" behavior compared to the more predictable instruction-tuned (IT) variants.
Future Directions and Open Problems
The findings suggest that while white-box auditing is mature, black-box fingerprinting is not yet reliable for high-stakes legal auditing. Key areas for future research include:
- Bridging the Gap: Developing methods to infer white-box weight features from black-box outputs.
- Addressing Model Dilution: Investigating how Mixture-of-Experts (MoE) and multi-agent systems affect fingerprint attribution.
- Counter-Evasion: Developing fingerprints that are resistant to intentional weight shuffling or output paraphrasing.
- Side-Channel Analysis: Exploring non-textual fingerprints, such as memory usage patterns or token generation timing, which may be harder for infringers to mask.
Summary updated