VeriDIP: Verifying Ownership of Deep Neural Networks Through Privacy Leakage Fingerprints

Aoting Hu, Zhigang Lü, Renjie Xie, Minhui Xue

TL;DR

VeriDIP is a novel, non-invasive framework that verifies the ownership of Deep Neural Networks (DNNs) by treating "privacy leakage" as a unique fingerprint. By measuring how a suspect model "remembers" specific training samples through membership inference attacks, VeriDIP can identify stolen models with high confidence using as few as five data samples.

What Problem Does This Paper Address?

Training state-of-the-art DNNs is an expensive endeavor, requiring massive datasets, specialized expertise, and significant computational power. This makes trained models valuable Intellectual Property (IP). However, once a model is deployed via an API, it becomes vulnerable to "model stealing" attacks—such as extraction, distillation, or fine-tuning—where an attacker creates a functional copy without the original owner's permission.

Existing protection methods fall into two camps: Watermarking, which embeds hidden triggers into the model but can be "washed out" by fine-tuning or hurt model performance; and Fingerprinting, which extracts intrinsic characteristics of the model. Current fingerprinting methods often rely on model "robustness" (how it handles noise) or "overfitting," but these are often computationally expensive, require thousands of queries, or fail on models that generalize well (like those trained on tabular data). VeriDIP aims to provide a fingerprint that is robust, efficient, and theoretically grounded in privacy leakage.

Methods

The core idea of VeriDIP is to leverage Membership Inference (MI). An MI attack determines whether a specific data point was part of a model's training set. The authors argue that the specific way a model leaks information about its training data constitutes a "privacy leakage fingerprint" that is nearly impossible to remove without destroying the model's utility.

The framework consists of two main versions:

  1. Basic VeriDIP: Uses standard MI attacks to estimate the average privacy leakage across random samples from the training set. It uses hypothesis testing (p-values) to decide if a suspect model is a "positive" (stolen) or "negative" (independent) instance.
  2. Enhanced VeriDIP: This is the paper's major innovation. Instead of random samples, it identifies "less private samples"—outliers or specific data points that the model is disproportionately sensitive to. By targeting these "canary" samples, the owner can extract a much stronger fingerprint with significantly fewer queries.

To find these "less private" samples, the authors train "shadow models" to identify which data points, when removed, cause the most significant change in the model's prediction loss.

Datasets

The authors evaluated VeriDIP across two different domains to ensure versatility:

  • Image Datasets: CIFAR-10 and Fashion-MNIST (FMNIST).
  • Tabular Datasets: The US Adult Census dataset and the Heritage Health dataset. The inclusion of tabular data is significant because these models often exhibit less overfitting than image models, making them a "worst-case scenario" for traditional fingerprinting methods.

Key Insights and Ideas

  • Privacy as a Fingerprint: Traditionally, privacy leakage is seen purely as a vulnerability. This paper flips the script, using that "leak" as a unique, indelible signature of the training process.
  • The Power of the Outlier: The "Enhanced" version of VeriDIP proves that not all training points are equal. A model’s "memory" of a few specific, difficult-to-generalize samples is a much more potent proof of ownership than its average performance on the whole set.
  • Fine-tuning Backfire: Interestingly, the authors found that fine-tuning—often used by attackers to erase watermarks—can actually reinforce the model's memory of certain training samples, making the VeriDIP fingerprint even easier to detect.
  • Differential Privacy (DP) Compatibility: The paper provides a theoretical link between the DP "privacy budget" ($\epsilon$) and the effectiveness of ownership testing. It shows that as long as a DP model remains "utility-preserving" (useful), it still leaks enough information for VeriDIP to work.

Key Results

  • High Efficiency: On image datasets (CIFAR-10/FMNIST), Enhanced VeriDIP successfully verified ownership using only 5 training samples. This is a massive improvement over previous state-of-the-art methods like Dataset Inference, which often require thousands of queries.
  • Robustness: VeriDIP achieved a 100% true positive rate and a 0% false positive rate across various stealing attacks, including model extraction, distillation, and aggressive fine-tuning.
  • Tabular Success: While previous methods struggled with tabular data, Enhanced VeriDIP successfully identified stolen models on the Adult and Health datasets, though it required slightly more samples (up to 70-125 for complex distillation attacks) compared to image tasks.
  • Low Overhead: Because it requires so few queries, VeriDIP is "immune" to detector attacks that try to block users who ask too many suspicious questions of an API.

Limitations and Future Work

  • Shadow Model Cost: Identifying the "less private" samples for the Enhanced version requires training many shadow models (the authors used 100). While this is a one-time "offline" cost for the owner, it is computationally intensive.
  • Quantitative Standards: The authors note that the number of shadow models needed might vary by dataset, and more work is needed to establish a formal standard for this.
  • Domain Expansion: The current study focuses on images and tabular data. The authors suggest that future work should explore VeriDIP's applicability to Natural Language Processing (NLP), audio data, and specialized fields like genomics.

Summary updated

BibTeX
@article{hu2023veridip,
  author = {Aoting Hu and Zhigang Lü and Renjie Xie and Minhui Xue},
  title = {{VeriDIP: Verifying Ownership of Deep Neural Networks Through Privacy Leakage Fingerprints}},
  journal = {IEEE Transactions on Dependable and Secure Computing},
  year = {2023},
  doi = {10.1109/tdsc.2023.3313577},
}
Figure