Versatile Transferable Unlearnable Example Generator

Zhihao Li, Jiale Cai, Gezheng Xu, Hao Zheng, Qiuyue Li, Fan Zhou, Shichun Yang, Charles Ling, Boyu WangNeurIPS 2025

TL;DR

The Versatile Transferable Generator (VTG) is a novel framework for creating "unlearnable examples"—images modified with imperceptible noise that prevents AI models from training on them. Unlike previous methods that fail when an attacker uses different datasets or model architectures, VTG remains highly effective across diverse resolutions, tasks, and domains, providing a robust tool for personal data privacy.

What Problem Does This Paper Address?

As deep learning models become more data-hungry, unauthorized scraping of personal data from the internet has become a major privacy concern. Unlearnable Examples (UEs) were proposed as a defense: by adding subtle, invisible perturbations to your photos, you can "poison" a dataset. A model trained on this poisoned data learns to associate the invisible noise with the label (e.g., "dog") rather than learning the actual features of a dog. Consequently, the model fails completely when tested on clean, real-world images.

Comparison of UE methods across five transferability scenarios.

However, as shown in the table above, existing UE methods have a "brittleness" problem. They are often tightly coupled to the specific dataset or model architecture used to create them. If an attacker trains on a different dataset (Cross-Task), uses images of a different resolution (Cross-Space), or uses a different model type (Cross-Architecture), the protective effect of the noise often vanishes. This paper introduces a comprehensive evaluation framework for these transfer scenarios and proposes a method to make UEs truly "versatile."

Methods

The authors propose the Versatile Transferable Generator (VTG), which uses an encoder-decoder architecture to produce perturbations.

Overview of the Versatile Transferable Generator (VTG) framework.

Two key innovations drive its robustness:

  1. Adversarial Domain Augmentation (ADA): During training, the generator doesn't just look at standard images. It competes against a "domain composer" that synthesizes "worst-case" out-of-distribution samples using Wasserstein distance to maximize divergence from the source data. This forces the generator to create perturbations that are effective even on data it has never seen before.
  2. Perturbation-Label Coupling (PLC): This is the "secret sauce" for distribution agnosticism. Using a contrastive learning paradigm (similar to CLIP), VTG aligns the embeddings of the generated perturbations directly with text-based label embeddings. By forcing the noise itself to "represent" the label in the latent space, the generator relies less on the underlying image's pixels and more on a universal shortcut that works across different domains.

The system is optimized using an alternating min-min framework, where the surrogate model tries to learn from the data while the generator tries to create the most effective "shortcuts" to fool it.

Datasets

The study employs an extensive array of datasets to test transferability:

  • Standard Benchmarks: CIFAR-10, CIFAR-100, and SVHN.
  • Domain Shift Benchmarks: PACS (containing Art, Cartoon, Photo, and Sketch styles) to test Cross-Domain transfer.
  • Digital/Resolution Benchmarks: MNIST, MNIST-M, and SYN to test Cross-Space transfer.
  • Large-Scale & Fine-Grained: A subset of ImageNet (ImageNet*), as well as Flowers, Cars, and Food datasets.

Key Insights and Ideas

  • The Five-Scenario Framework: The authors formalize how we should measure UE success: Intra-Domain, Cross-Domain, Cross-Task, Cross-Space, and Cross-Architecture. This sets a much higher bar for "protection" than previous literature.
  • Decoupling from Semantics: By using PLC to align noise with labels, the authors realized that UEs don't need to be "image-aware" in the traditional sense. If the noise is a strong enough signal for the label, the model will ignore the image features entirely.
  • Efficiency Matters: Because VTG is a generator, it can protect images in a single forward pass (0.4 ms/img), making it significantly faster and more practical for real-world deployment than iterative optimization-based methods.

Key Results

VTG consistently outperformed state-of-the-art methods across all challenging scenarios:

  • Unlearnability: On CIFAR-10, VTG reduced model test accuracy to 9.54% (essentially random guessing), while competitors often stayed above 10-40% in transfer settings.
  • Cross-Space Success: In the "low-to-high" resolution transfer (moving from 32x32 CIFAR images to 224x224 PACS images), VTG maintained a test accuracy of ~11%, whereas previous methods like 14A or GUE saw accuracy jump back up to 40-60%, failing to protect the data.
  • Defense Resilience: VTG is remarkably robust against common "purification" defenses. Even when the attacker used Adversarial Training (AT), VTG kept the test accuracy at 9.79%, while other methods collapsed, allowing the model to reach over 80% accuracy.

Limitations and Future Work

While VTG is highly efficient at inference time, the authors acknowledge that it incurs a computational overhead during the initial training of the generator compared to simple noise-injection methods. Additionally, while the perturbations are "imperceptible" by standard metrics (L∞ bound of 8/255), they are generated at test time, meaning a user must run the VTG model on their images before uploading them.

Future work could explore making these generators even more lightweight for mobile devices or extending the "unlearnable" concept to other modalities like video or audio.

Summary updated

BibTeX
@inproceedings{li2025versatile,
  author = {Zhihao Li and Jiale Cai and Gezheng Xu and Hao Zheng and Qiuyue Li and Fan Zhou and Shichun Yang and Charles Ling and Boyu Wang},
  title = {{Versatile Transferable Unlearnable Example Generator}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=pe8Dr5jtjV},
}
Figure