Transferable Unlearnable Examples

Jie Ren, Han Xu, Yuxuan Wan, Xingjun Ma, Lichao Sun, Jiliang Tang

TL;DR

This paper introduces Transferable Unlearnable Examples (TUE), a method to protect personal data from unauthorized AI training by injecting imperceptible "shortcut" noise. Unlike previous methods that fail if an attacker changes their training strategy or dataset, TUE leverages linear separability to ensure protection remains effective across both supervised and unsupervised learning environments.

What Problem Does This Paper Address?

As we share more personal data online, the risk of unauthorized usage—such as companies scraping images to train face recognition models without consent—has skyrocketed. To combat this, researchers developed Unlearnable Examples (UEs). These are data samples modified with tiny, invisible perturbations that act as "shortcuts." A model trained on this data will "lazily" learn the noise patterns instead of the actual features (like faces), making the resulting model useless on real-world, clean data.

The pipeline of generating and evaluating Unlearnable Examples.

However, existing UEs have a major "transferability" flaw:

  1. Training-wise Transferability: A perturbation designed to trick a supervised model often fails to protect against unsupervised methods (like Contrastive Learning).
  2. Data-wise Transferability: Perturbations generated for one specific dataset (e.g., CIFAR-10) often lose their protective power when applied to a different dataset (e.g., SVHN).
Existing methods like EMN fail to protect against unsupervised training.

The authors aim to create a "universal" unlearnable perturbation that is robust regardless of how or where the attacker trains their model.

Methods

The core innovation is the Class-wise Separability Discriminant (CSD). The authors argue that linear separability is the ultimate shortcut for any neural network. If the noise itself is perfectly clustered by class, the model will prioritize that noise over complex semantic features.

Key Components:

  • CSD Metric: This quantifies linear separability by calculating the ratio between intra-class distance (how close perturbations of the same class are) and inter-class distance (how far apart different classes are). A lower CSD means more compact, separable clusters.
  • Bi-level Optimization: TUE generates perturbations using a two-step process. It minimizes a combined loss function:
  • Contrastive Loss: Ensures the perturbation tricks unsupervised feature extractors.
  • CSD Loss: Ensures the perturbation creates a strong linear shortcut for supervised classifiers.
  • Interpolation Strategy: To handle "data-wise" transfer, the authors use linear interpolation between existing perturbations. This allows them to generate noise for new classes or larger datasets without re-running the expensive optimization process.

Datasets

The authors evaluated their method on standard computer vision benchmarks:

  • CIFAR-10 & CIFAR-100: Standard object recognition datasets.
  • SVHN (Street View House Numbers): Used to test data-wise transferability (e.g., generating noise on CIFAR-10 and applying it to SVHN).
  • SVHN-small: A downsampled version used for controlled cross-dataset experiments.

Key Insights and Ideas

  • Linear Separability as a Universal Shortcut: The "aha moment" is realizing that while different training algorithms (supervised vs. unsupervised) look for different things, they all gravitate toward features that clearly separate classes in the feature space. By making the noise linearly separable, you create a trap that almost any architecture will fall into.
  • The Failure of Supervised UEs: Traditional methods like Error-Minimizing Noise (EMN) focus only on the classification boundary. Unsupervised models, which look at the underlying structure of the data, can "see through" this noise and still learn useful features. TUE fixes this by embedding the shortcut into the feature distribution itself.
  • Noise "Portability": By using interpolation, the authors show that unlearnable noise doesn't have to be tied to a specific image; it can be treated as a "class-wise signature" that can be moved to entirely different datasets.

Key Results

The experiments show that TUE provides significantly more robust protection than previous state-of-the-art methods:

  • Training-wise Robustness: On CIFAR-10, while the baseline EMN allowed an unsupervised attacker to reach 89.79% accuracy (meaning the protection failed), TUE kept the accuracy down to 52.38% (SimCLR) and as low as 35.57% (SimSiam).
  • Supervised Protection: TUE is devastating against supervised training, reducing CIFAR-10 accuracy from 93.79% (clean) to roughly 10% (random chance).
  • Cross-Dataset Transfer: Perturbations generated on CIFAR-10 and transferred to SVHN-small were highly effective. EMN's protection degraded to 27.59% accuracy, while TUE maintained a much stronger defense, keeping accuracy around 10%.
  • Visualization: t-SNE plots clearly show TUE perturbations forming tight, distinct clusters in the input space, whereas previous methods produced overlapping, messy distributions.

Limitations and Future Work

  • Requirement of Labels: TUE currently requires class labels to calculate the CSD and generate the perturbations. This makes it a "Supervised UE" method. The authors acknowledge that developing a truly "Unsupervised UE" (protecting data without knowing the labels) remains an open challenge.
  • Computational Overhead: The bi-level optimization used to generate TUEs is more computationally intensive than simpler noise-injection methods.
  • Adaptive Attacks: While TUE is robust against standard training, the paper does not extensively explore "adversarial training" as a counter-measure by the attacker, which is a common cat-and-mouse game in this field.

Summary updated

BibTeX
@inproceedings{ren2023transferable,
  author = {Jie Ren and Han Xu and Yuxuan Wan and Xingjun Ma and Lichao Sun and Jiliang Tang},
  title = {{Transferable Unlearnable Examples}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=-htnolWDLvP},
}
Figure