Fingerprinting Classifiers With Benign Inputs

Thibault Maho, Teddy Furon, Erwan Le MerrerIEEE Trans. IFS 2023

Introduction

Training state-of-the-art deep neural networks (DNNs) is a resource-intensive endeavor, requiring massive datasets and significant computational power. Consequently, these models represent valuable intellectual property (IP). To protect this IP, researchers have developed "fingerprinting" techniques to prove ownership or detect if a competitor is utilizing a stolen or slightly modified model.

Traditionally, fingerprinting has relied on adversarial examples—carefully engineered inputs designed to trigger unique, erroneous behaviors in a specific model. However, these synthetic fingerprints are often fragile, computationally expensive to generate, and easily detected or filtered. This paper introduces FBI (Fingerprinting with Benign Inputs), a novel framework that identifies models using ordinary, unmodified images, leveraging the inherent "behavioral DNA" found in a model's standard classification patterns.

The FBI Framework

The core insight of FBI is that a model's natural classification boundaries are sufficiently unique to serve as a signature. Instead of forcing a model to fail, FBI observes how it handles normal data. Crucially, the method utilizes top-k predictions (e.g., the top 3 or 5 most likely classes) rather than just the single top prediction. This provides a much richer profile of the model's internal logic and uncertainty.

Detection vs. Identification

FBI operates in two primary modes:

  1. Detection (The Walled Garden): This scenario assumes the owner (Alice) wants to determine if a black-box model is exactly her model or one of its variants (e.g., pruned or quantized). FBI uses a greedy discrimination algorithm to select a sequence of benign images that maximize the disagreement between candidate models, quickly narrowing down the identity.
  2. Identification (The Open World): Here, Alice seeks to identify which model family a black box belongs to, even if it is a previously unseen version. This approach employs Information Theory, specifically the Rajski distance (based on Mutual Information), to measure the statistical similarity between the outputs of the black-box model and a reference architecture.
Visualizing model signatures: (a) shows distinct clusters for different vanilla architectures, while (b) demonstrates how model variants (pruned, quantized, etc.) remain clustered with their parent architecture, forming a unique behavioral signature.

Experimental Results

The researchers conducted an extensive study using the ImageNet dataset and a library of 1,081 models, including 35 base architectures and over 1,000 variants created through pruning, quantization, fine-tuning, and randomized smoothing.

Key Findings

  • High Accuracy and Speed: FBI achieved a 94.7% True Positive Rate (TPR) on ImageNet-scale models, significantly outperforming existing methods like IP-Guard (66.9%). In detection tasks, the greedy algorithm often identified the correct model in fewer than 10 queries.
  • Robustness: The fingerprint remains stable even after aggressive model modifications. For instance, pruning 90% of a model's weights or converting it to low-precision quantization did not erase the unique behavioral signature.
  • Scalability: The system can distinguish between hundreds of different model families with near-perfect accuracy. The use of top-k predictions significantly improves the efficiency of this identification.
Scalability of the identification process: The graph illustrates the relationship between the number of model families and the queries required for identification (log scale). Utilizing top-5 predictions (green) is consistently more efficient than relying solely on top-1 predictions (blue).

Conclusion and Future Work

FBI demonstrates that adversarial examples are not a prerequisite for robust model fingerprinting. By analyzing the natural "uncertainty profile" of a classifier on benign data, researchers can achieve highly accurate and resilient IP protection. While the method's effectiveness may face challenges as models approach "perfect" accuracy (where all models behave identically on benign inputs), it currently offers a powerful tool for AI forensics. Future research may extend these principles to other domains, such as Natural Language Processing (NLP) and generative AI, where output spaces are even larger and potentially more distinctive.

Summary updated

BibTeX
@article{maho2023fingerprinting,
  author = {Thibault Maho and Teddy Furon and Erwan Le Merrer},
  title = {{Fingerprinting Classifiers With Benign Inputs}},
  journal = {IEEE Trans. Inf. Forensics Secur.},
  year = {2023},
  doi = {10.1109/tifs.2023.3301268},
}
Figure