DeepTaster: Adversarial Perturbation-Based Fingerprinting to Identify Proprietary Dataset Use in Deep Neural Networks

Seonhye Park, Alsharif Abuadbba, Shuo Wang, Kristen Moore, Yansong Gao, Hyoungshick Kim, ‪Surya Nepal‬ · DOI

Abstract

Training deep neural networks (DNNs) requires large datasets and powerful computing resources, which has led some owners to restrict redistribution without permission. Watermarking techniques that embed confidential data into DNNs have been used to protect ownership, but these can degrade model performance and are vulnerable to watermark removal attacks. Recently, DeepJudge was introduced as an alternative approach to measuring the similarity between a suspect and a victim model. While DeepJudge shows promise in addressing the shortcomings of watermarking, it primarily addresses situations where the suspect model copies the victim's architecture. In this study, we introduce DeepTaster, a novel DNN fingerprinting technique, to address scenarios where a victim's data is unlawfully used to build a suspect model. DeepTaster can effectively identify such DNN model theft attacks, even when the suspect model's architecture deviates from the victim's. To accomplish this, DeepTaster generates adversarial images with perturbations, transforms them into the Fourier frequency domain, and uses these transformed images to identify the dataset used in a suspect model. The underlying premise is that adversarial images can capture the unique characteristics of DNNs built with a specific dataset. To demonstrate the effectiveness of DeepTaster, we evaluated the effectiveness of DeepTaster by assessing its detection accuracy on three datasets (CIFAR10, MNIST, and Tiny-ImageNet) across three model architectures (ResNet18, VGG16, and DenseNet161). We conducted experiments under various attack scenarios, including transfer learning, pruning, fine-tuning, and data augmentation. Specifically, in the Multi-Architecture Attack scenario, DeepTaster was able to identify all the stolen cases across all datasets, while DeepJudge failed to detect any of the cases.

Introduction

The development of state-of-the-art Deep Neural Networks (DNNs) is a resource-intensive endeavor, necessitating massive datasets and significant computational power. Consequently, proprietary datasets have become highly valuable intellectual property (IP). Protecting this IP is a critical challenge, as unauthorized use or redistribution can lead to significant economic losses for the data owners.

Current protection methods generally fall into two categories: watermarking and fingerprinting. Watermarking is an invasive technique that modifies the model during training to embed a secret signature. However, this often results in performance degradation and remains vulnerable to removal attacks like fine-tuning. Fingerprinting, such as the state-of-the-art DeepJudge, offers a non-invasive alternative but is typically architecture-dependent. If an attacker uses stolen data to train a model with a different architecture (e.g., using VGG16 instead of the victim's ResNet18), these existing tools often fail to detect the theft. DeepTaster addresses this gap by providing an architecture-agnostic fingerprinting method.

Methodology

DeepTaster is built on the insight that while different model architectures have distinct internal parameters, they develop remarkably similar decision boundaries when trained on the same dataset. These boundaries serve as a "statistical signature" or "taste" of the underlying data.

The DeepTaster framework operates in three distinct stages:

  1. Adversarial Probing: The system utilizes the Fast Gradient Sign Method (FGSM) to generate adversarial perturbations. These perturbations represent the minimal changes required to cause a model to misclassify an image. By probing the decision boundaries in this way, the perturbations capture the unique characteristics imparted by the training data.
  2. Fourier Transformation: While perturbations in the spatial (pixel) domain may appear as random noise, transforming them into the frequency domain using a Discrete Fourier Transform (DFT) reveals systematic, consistent patterns. Research shows that the Mean Squared Error (MSE) between adversarial images from different architectures is seven times lower in the DFT domain than in the spatial domain, providing much-needed clarity for cross-architecture detection.
  3. One-Class Classification: A "meta-classifier" is trained using DeepSVDD, an anomaly detection model, on these frequency-domain images. This classifier learns the specific "taste" of a dataset across multiple known architectures. To verify a suspect model, adversarial DFT images are generated from it and checked against the "stolen" cluster defined by the meta-classifier.
Overview of the DeepTaster framework for meta-classifier construction and suspect model verification.

Experimental Evaluation

The effectiveness of DeepTaster was evaluated using three benchmark image classification datasets: MNIST, CIFAR10, and Tiny-ImageNet. Additionally, ImageNet was used to provide "benign" models for testing false positive rates. The experiments spanned three popular model architectures: ResNet18, VGG16, and DenseNet161.

The researchers tested DeepTaster against various "model laundering" scenarios, including:

  • Multi-Architecture Attacks: Training a suspect model on stolen data using a different architecture.
  • Model Pruning and Fine-tuning: Reducing model size or adjusting weights on a subset of data.
  • Data Augmentation: Adding new classes to the stolen dataset.

Results and Discussion

DeepTaster demonstrated superior performance compared to existing methods. In the Multi-Architecture Attack scenario, it achieved a 100% detection rate across all datasets, whereas DeepJudge failed to detect any instances of theft.

Beyond its accuracy, DeepTaster proved to be highly robust against common laundering techniques and remarkably efficient. Once the meta-classifier is trained, verifying a suspect model requires only approximately 0.03 seconds per image. This speed makes it a practical solution for large-scale IP protection.

However, some limitations remain. The model's performance can decline when encountering entirely "unseen" architectures (e.g., SqueezeNet) or models that have undergone adversarial training, which intentionally alters the model's response to perturbations. Future work will focus on expanding the diversity of the meta-classifier and optimizing the selection of "seed images" used to generate the initial perturbations.

Conclusion

DeepTaster represents a significant advancement in DNN intellectual property protection. By shifting the focus from internal model parameters to the frequency-domain signatures of decision boundaries, it provides a robust, non-invasive, and architecture-agnostic method for identifying the unauthorized use of proprietary datasets.

Summary updated

BibTeX
@inproceedings{park2023deeptaster,
  author = {Seonhye Park and Alsharif Abuadbba and Shuo Wang and Kristen Moore and Yansong Gao and Hyoungshick Kim and ‪Surya Nepal‬},
  title = {{DeepTaster: Adversarial Perturbation-Based Fingerprinting to Identify Proprietary Dataset Use in Deep Neural Networks}},
  booktitle = {ACSAC},
  year = {2023},
  doi = {10.1145/3627106.3627204},
}
Figure