Queries, Representation & Detection: The Next 100 Model Fingerprinting Schemes

Augustin Godinot, Erwan Le Merrer, Camilla Penzo, François Taïani, Gilles Trédan · DOI

Abstract

Model fingerprinting—the art of proving an AI model was stolen—has become unnecessarily complex. This paper demonstrates that a dead-simple baseline based on a model's mistakes (the "Anna Karenina Heuristic") often outperforms state-of-the-art methods, and introduces the QuRD framework to systematically build and evaluate the next generation of fingerprinting schemes.

Introduction

Training high-performing machine learning models is expensive, making them prime targets for "model stealing." Whether through infrastructure leaks or "extraction attacks" (where a competitor queries your API to train a clone), model owners need a way to prove a suspect model is actually their stolen intellectual property. The current landscape of model fingerprinting is fragmented, with dozens of complex schemes operating under different assumptions, making direct comparison difficult. It has remained unclear whether the complexity of these methods translates to better detection in real-world scenarios.

Methodology

The authors introduce two major contributions to standardize and improve the field:

  1. The Anna Karenina Heuristic (AKH): Inspired by Tolstoy’s famous opening line ("All happy families are alike; each unhappy family is unhappy in its own way"), this baseline queries a suspect model using inputs that the original model misclassifies. Stolen models are highly likely to make the exact same idiosyncratic mistakes as the original, whereas unrelated models are not.
  2. The QuRD Framework: To move beyond one-off proposals, the authors decompose fingerprinting into three modular components: Query Sampling (Q) (how inputs are chosen), Representation (R) (how the model's response is recorded), and Detection (D) (the statistical test used for matching).

By mixing and matching these components, the authors generated and tested approximately 100 previously unexplored fingerprinting combinations.

Experimental Evaluation

The study evaluates fingerprinting schemes across three major computer vision benchmarks simulating different theft scenarios, including pruning, quantization, fine-tuning, and extraction: ModelReuse Flower102, ModelReuse SDog120, and SACBench CIFAR10.

Key Insights and Results

The evaluation revealed a "baseline shock": the simple AKH baseline performed on par with, or even better than, complex state-of-the-art fingerprints. In many cases, the sophistication of existing methods provides little additional value over this simple heuristic.

Figure 1: Performance of the AKH baseline compared to existing fingerprinting methods across three benchmarks.

Furthermore, the QuRD framework allows for systematic improvements to existing methods. By tweaking components—such as using negative samples as "seeds" for adversarial generation—the authors improved the performance of the IPGuard scheme by 14 percentage points.

Figure 2: Improvements in detection performance ([email protected]) achieved by modifying query samplers within the QuRD framework.

Other key findings include:

  • Query Budget Plateau: Performance typically plateaus after just 50–100 queries. For some methods, adding more queries can actually degrade performance by increasing self-correlation in the representation.
  • Negative Sampling Robustness: Fingerprints based on "negative samples" (natural images the model gets wrong) are often more robust and have lower variance than those based on adversarial sampling.
  • Task Resolution: While detecting direct model leaks (modified copies) is largely a solved problem, identifying models trained via label extraction remains the true frontier of the field.

Conclusion

This work provides a systematic framework for model fingerprinting, demonstrating that simple baselines can be remarkably effective. Future research should extend the QuRD framework to other modalities like Large Language Models (LLMs) and address the challenge of active adversaries who may attempt to evade detection.

Summary updated

BibTeX
@inproceedings{godinot2025queries,
  author = {Augustin Godinot and Erwan Le Merrer and Camilla Penzo and François Taïani and Gilles Trédan},
  title = {{Queries, Representation \& Detection: The Next 100 Model Fingerprinting Schemes}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i16.33848},
}
Figure