Model Fingerprinting with Benign Inputs

Thibault Maho, Teddy Furon, Erwan Le MerrerICASSP 2023

Abstract

As deep neural networks (DNNs) become valuable industrial assets, protecting intellectual property is critical. This paper introduces FBI (Fingerprinting with Benign Inputs), a method to identify specific deep learning model instances and their modified variants (e.g., pruned or quantized versions) using only standard, unmodified images. By leveraging information theory and mutual information, the authors achieve a 95.2% success rate in model identification, outperforming state-of-the-art methods that rely on complex adversarial example generation.

Introduction

Existing fingerprinting techniques typically rely on adversarial examples—carefully crafted inputs designed to sit right on a model's decision boundary. However, these methods suffer from two major flaws: fragility and complexity. Simple model modifications like quantization or randomized smoothing can shift these boundaries, causing the fingerprint to fail. Furthermore, generating these inputs is computationally expensive and often requires "white-box" access to the model's internal weights.

The authors of this study propose a shift in paradigm: identifying a model by looking at how it classifies normal, "benign" images. This approach assumes that the subtle, intrinsic classification "quirks" of a model on normal images are sufficient for unique identification.

Methodology: The FBI Framework

The authors propose a scheme called FBI. Instead of looking for specific "trigger" images, they treat the relationship between an original model and its variant as a noisy communication channel.

Discriminative Distance

They define a distance metric based on Empirical Mutual Information. If a suspect model is a variant of an original model, their outputs for the same inputs should be highly correlated. The distance is normalized using entropy to ensure it stays between 0 (identical behavior) and 1 (completely independent behavior).

Distribution of distances between model pairs. The clear separation between 'Different vanilla' (red) and 'Same vanilla' (orange/green) distributions enables effective threshold-based identification.

Input Selection

Not all images are equally useful for fingerprinting. If an image is "too easy" (e.g., a clear picture of a dog), every model will predict it correctly, providing no unique signature. The authors tested several selection strategies, finding that Entropy Selection—choosing images where different models tend to disagree or show high uncertainty—significantly boosts performance. This focuses the fingerprinting on the "disputed" areas of the input space where a model’s specific training history is most visible.

Experimental Evaluation

The study utilized the ImageNet dataset, a significant scale-up from previous research. The evaluation involved:

  • Models: 35 "vanilla" open-source models.
  • Variants: 1,046 modified versions created through fine-tuning, quantization, pruning, and randomized smoothing.
  • Scale: Over 583,000 model-pair combinations.

Key Results and Analysis

High Accuracy and Efficiency

Using the Entropy selection method with just 100 queries, FBI achieved a True Positive Rate (TPR) of 95.2% at a 5% False Positive Rate. With 200 queries, the TPR rose to 97.6%. This efficiency makes it highly practical for black-box API testing.

Uniqueness and Robustness

A t-SNE visualization of the model distances proves that the fingerprint is both unique and robust. Variants of the same model cluster tightly together, distinct from other vanilla models.

t-SNE visualization of model distances, demonstrating that variants of the same model cluster tightly together while remaining distinct from other vanilla models.

Furthermore, FBI is remarkably robust against Randomized Smoothing, a popular defense technique that usually "washes out" adversarial fingerprints. While the detection rate of competing methods like IP-Guard dropped to 26.1% under smoothing, FBI maintained an 85.6% detection rate because it relies on general classification behavior rather than precise boundary locations.

Conclusion

FBI demonstrates that adversarial examples are not necessary for robust model fingerprinting. By utilizing the statistical dependencies in how models classify benign inputs, it is possible to create fingerprints that are more robust to common model modifications and significantly easier to generate than traditional methods. Future work may explore fingerprinting across different tasks (transfer learning) and potential countermeasures designed to reduce statistical dependence between models.

Summary updated

BibTeX
@inproceedings{maho2023model,
  author = {Thibault Maho and Teddy Furon and Erwan Le Merrer},
  title = {{Model Fingerprinting with Benign Inputs}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2023},
  doi = {10.1109/icassp49357.2023.10094751},
}
Figure