Re-thinking Data Availablity Attacks Against Deep Neural Networks

Bin Fang, Bo Li, Shuang Wu, Ran Yi, Shouhong Ding, Lizhuang MaarXiv 2023 · DOI

Abstract

As large-scale data scraping for AI training becomes ubiquitous, "unlearnable examples" have emerged as a promising privacy-preserving defense. By adding imperceptible perturbations to data, users can prevent neural networks from learning meaningful features. However, existing methods often fail when the model trainer employs adversarial training (AT). This paper introduces a novel two-stage optimization process and a randomness-based objective—Averaged Sample-wise Randomness (ASR)—to create robust unlearnable examples. Our method significantly outperforms state-of-the-art techniques, maintaining effectiveness even against strong adversarial defenses across various datasets and architectures.

Introduction

The rapid advancement of Deep Neural Networks (DNNs) relies heavily on massive datasets often scraped from the internet without explicit consent. To mitigate privacy risks, researchers proposed "availability attacks" or "unlearnable examples." These involve adding tiny, invisible noise to images that act as "shortcuts," tricking models into focusing on the noise rather than the actual content.

A critical weakness of early methods like Error-Minimizing (EM) noise is their fragility. If a model trainer uses adversarial training (AT)—a standard technique to improve model robustness—the protective noise is often neutralized, rendering the data "learnable" again. This work addresses this gap by developing a more durable shield for data privacy that anticipates and withstands adversarial countermeasures.

Methodology

The core of the proposed approach is a Two-Stage Optimization Procedure designed to embed robustness directly into the noise generation process.

  1. Noise Generation: The system first generates unlearnable noise tailored to a "surrogate" model, which acts as a proxy for the unknown model an unauthorized user might train.
  2. Robustness & Randomness: To ensure the noise survives adversarial training, the surrogate model itself undergoes AT while attempting to satisfy the Averaged Sample-wise Randomness (ASR) objective.

Instead of maximizing classification error (which can be unstable), the authors utilize Mean Square Error (MSE) to drive the model’s predictions toward a uniform distribution. This forces the model to essentially "randomly guess" when encountering the protected data. MSE is preferred over standard Cross-Entropy or KL-Divergence because its smoother gradient profile prevents "gradient explosion," leading to more stable and effective optimization.

Experimental Setup

The method was evaluated on three benchmark datasets:

  • CIFAR-10: 60,000 images across 10 classes.
  • CIFAR-100: 60,000 images across 100 classes.
  • ImageNet Subset: A 100-class subset of ImageNet used to test scalability to higher resolutions.

The researchers compared their approach against several baselines, including Error-Minimizing (EM), Targeted Adversarial Perturbations (TAP), Neural Tangent Generalization Attack (NTGA), and Robust Error-Minimizing (REM).

Key Results

The proposed method demonstrates superior protection across all tested scenarios, particularly when the "victim" model employs adversarial training.

Comparison of clean accuracy over training steps for REM and the proposed method. The proposed method maintains significantly lower accuracy, indicating better protection.

As shown in Figure 1, the clean accuracy of a model trained on our unlearnable examples remains consistently low throughout the training process, whereas the previous state-of-the-art (REM) allows the model to eventually learn some features, reaching higher accuracy levels.

Performance comparison (accuracy %) of different unlearnable noise methods under varying levels of adversarial training. Lower values indicate better data protection.

Table 1 highlights the robustness of the proposed method. On CIFAR-10 with a strong adversarial trainer ($\rho_a = 4/255$), our method restricts the model to 23.12% accuracy, compared to 48.16% for REM and over 88% for standard EM. Similar trends are observed across CIFAR-100 and the ImageNet subset.

Beyond raw performance, the method exhibits strong cross-architecture generalization. Noise generated using a ResNet-18 surrogate effectively protects data even if the final model uses a different architecture like VGG-16 or DenseNet. Furthermore, the generation process is highly efficient; for the ImageNet subset, it was nearly 5x faster than REM (11.3 hours vs. 51.2 hours).

Conclusion

This research provides a more robust framework for creating unlearnable examples that can withstand adversarial training. By simulating the defender's actions during noise generation and employing a stable randomness objective, the authors have significantly raised the bar for data availability attacks.

Future work will focus on reducing the computational cost of the adversarial training loop required for noise generation and investigating the effectiveness of protection when only a small fraction of the dataset is modified. As AI training techniques evolve, maintaining data privacy will require a continuous "arms race" of defensive innovations.

Summary updated

BibTeX
@misc{fang2023re,
  author = {Bin Fang and Bo Li and Shuang Wu and Ran Yi and Shouhong Ding and Lizhuang Ma},
  title = {{Re-thinking Data Availablity Attacks Against Deep Neural Networks}},
  year = {2023},
  eprint = {2305.10691},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.10691},
}
Figure