MetaFinger: Fingerprinting the Deep Neural Networks with Meta-training

Kang Yang, Run Wang, Lina Wang

Introduction

Training state-of-the-art deep learning models is a resource-intensive process, requiring massive datasets, specialized hardware, and significant human expertise. These models represent valuable intellectual property (IP), yet they are susceptible to theft and unauthorized redistribution.

Existing protection methods generally fall into two categories: watermarking and fingerprinting. Watermarking embeds secret triggers but often degrades performance and can be removed via fine-tuning. Traditional fingerprinting extracts unique characteristics without modification but typically relies on adversarial examples near "decision boundaries." These boundaries are fragile; if a thief prunes or fine-tunes a stolen model, the boundary shifts, and the fingerprint fails. MetaFinger addresses this by targeting a more stable part of the model.

The MetaFinger Approach: Targeting Inner Decision Areas

MetaFinger shifts the focus from fragile decision boundaries to the more stable inner decision areas. The core insight is that while many models might classify "normal" images similarly, they diverge significantly on "noisy" images. Only models derived from the same source will share the same specific classification patterns for these noisy regions.

Figure 1: Comparison of normal and noisy decision areas. MetaFinger targets the stable inner decision area rather than the fragile decision boundary.

Methodology

The MetaFinger framework consists of two primary stages: Meta-data Generation and Meta-training.

1. Meta-data Generation

To train a robust fingerprint, the model owner first creates a diverse pool of models. This includes the original "source model" and several unrelated "negative models." To simulate potential pirated versions efficiently, the authors use DNN Augmentation. Instead of training dozens of models from scratch, they add Gaussian noise to the source model's weights and perform a quick fine-tune. This creates a pool of "positive models" representing potential modified versions of the original IP.

2. Meta-training

The fingerprint itself is a set of optimized query images. Using Metric Learning with a Triple Loss function, these images are tuned so that all positive models (the source and its descendants) produce the same label, while negative models produce a different output. This "meta-training" ensures the fingerprint is tuned to the unique internal logic shared only by the source model's lineage.

Figure 4: The MetaFinger pipeline, showing Meta-data Generation (left) and the Meta-training process using Triple Loss (right).

Experimental Results

Evaluated on CIFAR-10 and Tiny-ImageNet, MetaFinger demonstrates superior performance over existing state-of-the-art methods like IPGuard:

  • High Accuracy: It achieves 99.34% query accuracy on CIFAR-10 and 97.69% on Tiny-ImageNet, surpassing existing methods by roughly 25-30%.
  • Extreme Pruning Resilience: Even if an attacker prunes 70% of the model's weights to hide the theft, MetaFinger maintains over 95% accuracy in identification, whereas most other methods drop below 60%.
  • Robustness to Input Attacks: The fingerprint remains effective even if the attacker attempts to "clean" query images using blurring, resizing, or additional noise.

Conclusion

By exploiting the unique "inner decision area" signatures of deep neural networks, MetaFinger provides a robust and efficient solution for IP protection. Its resilience to common model modifications like pruning and fine-tuning makes it a highly practical tool for verifying model ownership in the wild.

Summary updated

BibTeX
@inproceedings{yang2022metafinger,
  author = {Kang Yang and Run Wang and Lina Wang},
  title = {{MetaFinger: Fingerprinting the Deep Neural Networks with Meta-training}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.24963/ijcai.2022/109},
}
Figure