Semantic Deep Hiding for Robust Unlearnable Examples

Ruohan Meng, Chenyu Yi, Yi Yu, Siyuan Yang, Bingquan Shen, Alex C. Kot

TL;DR

Researchers have developed a new method called Deep Hiding (DH) to create "unlearnable examples"—images that look normal to humans but prevent AI models from learning their features. By using Invertible Neural Networks to hide high-level semantic images (like shapes) rather than simple pixel noise, this approach remains effective even after the data is compressed, filtered, or subjected to adversarial training.

What Problem Does This Paper Address?

In the age of massive data scraping, "unlearnable examples" (UEs) have emerged as a way for users to protect their privacy. By adding tiny, invisible perturbations to an image, you can effectively "poison" it so that a Deep Neural Network (DNN) trained on it fails to generalize to real-world data.

However, existing UE methods have a major weakness: fragility. Most rely on low-level pixel noise or textures. Standard data preprocessing—like JPEG compression, converting to grayscale, or "adversarial training"—can easily strip away these perturbations, leaving the original data exposed and "learnable" again. The authors aim to create a more resilient version of these examples that can survive 18 different common countermeasures.

Methods

The authors propose a framework called Semantic Deep Hiding (DH), which shifts the "poison" from low-level noise to high-level semantic features. Their approach consists of three main pillars:

  1. Deep Hiding via Invertible Neural Networks (INN): Instead of just adding noise, they use an INN (specifically based on the HiNet architecture) to invisibly embed a completely different "hidden" semantic image into the clean image. Because INNs are mathematically invertible, they can integrate these features deeply into the image's frequency sub-bands.
  2. Latent Feature Concentration (LFC): To make the protection stronger, the authors want the DNN to find a "shortcut." The LFC module regularizes the perturbations so that images within the same class have very similar hidden features. This encourages the model to ignore the actual image content and overfit to the hidden "poison" instead.
  3. Semantic Images Generation (SIG): Using generative tools like Stable Diffusion and ControlNet, the authors create consistent hidden semantic images (e.g., a specific edge-map or shape) for each class. This ensures the "poison" is a coherent, high-level concept that the model finds easier to learn than the complex natural features of the original image.

Datasets

The researchers evaluated their method on three standard computer vision benchmarks:

  • CIFAR-10: 60,000 small images across 10 classes.
  • CIFAR-100: 60,000 images across 100 classes.
  • ImageNet Subset: A 100-class subset of the massive ImageNet dataset, providing higher-resolution challenges.

Key Insights and Ideas

  • Exploiting the "Principle of Least Effort": DNNs are notoriously "lazy"—they will always take the easiest path to minimize loss. By hiding a simple, consistent semantic shape across all images of a certain class, the authors create a "shortcut" that is much easier for the model to learn than the actual object in the photo.
  • Semantic vs. Pixel Noise: High-level features (like the shape of a desk hidden inside a photo of a snake) are much harder to remove with simple filters than random pixel noise. If you blur an image, the "desk" shape remains, whereas fine-grained noise disappears.
  • The Power of Invertibility: Using INNs allows the hidden information to be spread across the image in a way that is visually imperceptible (high PSNR) but mathematically dense, making it harder for "purification" algorithms to clean the data.

Key Results

The proposed DH method was tested against 18 different countermeasures, including JPEG compression, Mixup, Cutout, and Adversarial Training (AT).

  • Superior Protection: On CIFAR-10, models trained on DH-protected data achieved only 33.01% average test accuracy across all countermeasures, significantly lower (and thus better for privacy) than the 39.20% achieved by the previous best method.
  • ImageNet Performance: The gap was even wider on ImageNet, where DH held the model to 11.39% accuracy, while other methods allowed the model to reach over 22%.
  • Invisibility: Despite the heavy "poisoning," the images remained visually indistinguishable from the originals, maintaining a high Peak Signal-to-Noise Ratio (PSNR) of ~36.25 dB.

Limitations and Future Work

  • Specific Countermeasure Weakness: While robust against most things, the authors noted that DH is slightly less resilient to Adversarial Training (AT) and JPEG compression compared to specific niche methods like OPS or EntF, though it still outperforms them on average across all 18 tests.
  • Exposure Risk: In the "class-wise" setting, if an attacker realizes the same image is hidden in every "cat" photo, they might be able to reverse-engineer the protection. The authors suggest a "sample-wise" setting to mitigate this, though it slightly reduces the protection's strength.
  • Future Direction: The authors suggest exploring how these semantic hiding techniques could be applied to other modalities, such as video or audio data protection.

Summary updated

BibTeX
@article{meng2024semantic,
  author = {Ruohan Meng and Chenyu Yi and Yi Yu and Siyuan Yang and Bingquan Shen and Alex C. Kot},
  title = {{Semantic Deep Hiding for Robust Unlearnable Examples}},
  journal = {IEEE Trans. Inf. Forensics Secur.},
  year = {2024},
  url = {https://openreview.net/forum?id=Oq2zBt8i7s},
}

Loading related content...

Figure