Towards Generalizable Data Protection With Transferable Unlearnable Examples

Bin Fang, Bo Li, Shuang Wu, Tianyi Zheng, Shouhong Ding, Ran Yi, Lizhuang MaarXiv 2023

Abstract

Artificial Intelligence (AI) is making a profound impact in almost every domain, largely due to the abundance of high-quality training data. However, this success has raised significant concerns regarding data privacy and unauthorized exploitation. To mitigate these risks, "unlearnable examples" (UEs) have been introduced to render data unexploitable by AI models. Current UEs, however, lack the generalization and robustness required for wide applicability. In this paper, we present a novel, generalizable data protection method that generates transferable unlearnable examples by examining data privacy from the perspective of data distribution. Through extensive experimentation, we substantiate the enhanced protection capabilities of our proposed method.

Introduction

As AI models grow in power, the demand for high-quality training data has led to widespread unauthorized data usage, such as scraping private images for facial recognition systems. Unlearnable Examples (UEs) offer a defense: by adding imperceptible noise to images, models are tricked into learning "shortcuts" rather than actual features, making the data useless for training.

Despite their promise, existing UEs have two major flaws:

  1. Lack of Robustness: Attackers using Adversarial Training (AT) can often bypass the protection, allowing the model to learn from the data anyway.
  2. Poor Transferability: Noise designed for one model architecture (e.g., ResNet) often fails to protect data if the attacker uses a different architecture (e.g., VGG).

This research introduces a "generalizable" protection method that remains effective regardless of the attacker's training strategy or model choice.

Methodology: Inducing Data Collapse

The core innovation of this work is the shift from pixel-level perturbations to inducing Data Collapse based on the underlying data distribution.

1. Estimating Data Distribution

The authors employ Stochastic Gradient Langevin Dynamics (SGLD) to estimate the gradient of the log ground truth class-conditional data distribution. This creates a mathematical map of the feature space for each category (e.g., "cat" vs. "dog").

2. Inducing Data Collapse

Rather than simply maximizing model error, the method generates noise that pushes all images of a specific category toward the same point in the data distribution. By forcing every "cat" image to appear identical to the model's feature extractor, the method removes the information necessary for learning, effectively collapsing the data's utility.

3. Robust Surrogate Training

To resist Adversarial Training, the noise must be generated using a "robust" surrogate model. The authors use a two-stage process:

  • Stage A: Generate noise that minimizes the distribution gradient (causing collapse) and minimizes model loss (ensuring unlearnability).
  • Stage B: Perform adversarial training on the surrogate model to ensure it captures the robust features an attacker would likely rely on.

Key Results

The proposed method was evaluated against state-of-the-art (SOTA) techniques like REM, TAP, and EM using standard benchmarks (CIFAR-10, CIFAR-100, and an ImageNet subset).

Superior Robustness and Transferability

The method significantly outperformed existing techniques, particularly when facing Adversarial Training. As illustrated in Figure 1, the proposed method (Ours) maintains high error rates across a wide variety of architectures, demonstrating exceptional transferability.

Figure 1: Comparison of protection effectiveness (Error Rate) across various architectures under Adversarial Training (AT) for CIFAR-10 and CIFAR-100. Higher values indicate superior data protection.

On CIFAR-10, models trained on data protected by this method reached only 29.20% accuracy under adversarial training, compared to 48.16% for the previous best method (REM). Furthermore, noise generated using a ResNet-18 surrogate successfully protected data against a Wide ResNet-34-10, keeping accuracy down to 22.98%.

Key Insights

  • Distribution-Centric Protection: By focusing on the data distribution rather than specific model features, the protection becomes intrinsic to the data itself.
  • Robust Surrogates are Essential: The researchers found that previous methods failed because their surrogate models were vulnerable. Using an adversarially trained surrogate ensures the noise targets the very features that AT-based attackers use.
  • Visualizing the Collapse: t-SNE visualizations confirm that the method effectively clusters different images of the same class into an indistinguishable distribution, hiding the underlying features from the model.
Figure 2: t-SNE visualization of the data distribution, illustrating how the proposed protection method (red) distributes examples to overlap with the clean data (green) while inducing collapse in the feature space.

Limitations and Future Work

While highly effective, the method is computationally expensive. It requires training both a score model for distribution estimation and an adversarial surrogate model, which may hinder scalability to massive datasets like the full ImageNet-1k. Future work will explore optimization techniques to reduce these costs and investigate the application of distribution-based protection in other domains, such as Natural Language Processing (NLP).

Summary updated

BibTeX
@misc{fang2023towards,
  author = {Bin Fang and Bo Li and Shuang Wu and Tianyi Zheng and Shouhong Ding and Ran Yi and Lizhuang Ma},
  title = {{Towards Generalizable Data Protection With Transferable Unlearnable Examples}},
  year = {2023},
  eprint = {2305.11191},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.11191},
}
Figure