Invertible Image Dataset Protection

Kejiang Chen, Xianhan Zeng, Qichao Ying, Sheng Li, Zhenxing Qian, Xinpeng Zhang

TL;DR

Researchers have developed RAEG (Reversible Adversarial Example Generation), a system that transforms valuable image datasets into "non-trainable" versions to prevent data theft. By using Invertible Neural Networks (INNs), the data owner can protect images so they fool AI models even after being processed (like JPEG compression), while authorized users can perfectly revert the images to their original state for legitimate use.

What Problem Does This Paper Address?

In the era of big data, high-quality labeled datasets are expensive "digital property." Companies face two major risks: malicious employees stealing datasets to train "pirated" models for competitors, and unauthorized AI models scraping private images online for analysis.

While Adversarial Examples (AEs)—images tweaked to fool AI—can prevent unauthorized analysis, they are usually a "one-way street." Once an image is turned into an AE, the original data is often lost or heavily distorted, making it useless for the legal owner too. Previous attempts at Reversible Adversarial Examples (RAE) were fragile; if an attacker simply ran the protected image through a JPEG compressor or a blur filter (common "adversarial defenses"), the protection would break, allowing the attacker to train a model on a near-original version of the data.

Methods

The authors propose a framework built on a U-shaped Invertible Neural Network (INN).

  1. The Generator (G): Unlike standard networks, INNs are mathematically designed to be bijective. The "forward" pass takes an original image and transforms it into a protected, adversarial version ($I_{prt}$). Because the network is invertible, the "backward" pass can reconstruct the original image from the protected one with almost zero loss.
  2. Robustness via the "Attack Layer": To ensure the protection survives "data scrubbing" by thieves, the authors insert a differentiable "Attack Layer" during training. This layer simulates common image processing defenses like JPEG compression, Gaussian blurring, scaling, and noise. The model is forced to ensure the image remains adversarial even after these transformations.
  3. Ensemble Training: To make the protection generalize, the generator is trained to fool an ensemble of four different popular architectures (VGG16, ResNet-50, ResNet-101, and DenseNet-121) simultaneously.
  4. Loss Functions: The system balances four goals:
  5. Reconstruction Loss: Ensures the recovered image matches the original.
  6. Adversarial Loss (GAN): Keeps the protected image looking visually "normal" to humans.
  7. Classification Loss: Maximizes the error rate for unauthorized models while ensuring the recovered image is correctly classified by authorized ones.

Datasets

The authors evaluated RAEG on three standard computer vision benchmarks:

  • CelebA-100: A subset of the CelebFaces Attributes Dataset.
  • Caltech-101: A classic dataset for object recognition.
  • Mini-ImageNet: A complex dataset often used for few-shot learning and benchmarking.

All images were resized to 256 × 256 pixels for the experiments.

Key Insights and Ideas

  • Stability of INNs: The authors argue that INNs provide a more stable invertible distribution mapping than traditional Encoder-Decoder architectures, which often struggle to perfectly reconstruct fine details.
  • The "Cat and Mouse" of Defense: Most adversarial research focuses on how to break defenses. This paper flips the script, using those very defenses (like JPEG compression) as a training constraint to make the protection more resilient.
  • Dataset-Level Protection: The goal isn't just to fool one classifier once; it's to make the entire dataset "poisoned" for training. If a thief tries to train a new model on the protected data, the resulting model's accuracy is significantly degraded (e.g., dropping from ~95% to ~10% in some cases).

Key Results

  • Superior Robustness: In tests against JPEG compression (Quality Factor 50), RAEG maintained a much lower classification accuracy for attackers (around 17-18%) compared to previous methods like RAE-IGSM, which saw accuracy jump back up to 80-90% (meaning the protection failed).
  • High Recovery Quality: Authorized users could recover images with a PSNR of approximately 40dB and an SSIM (Structural Similarity Index) greater than 0.97. Visually, the recovered images are virtually indistinguishable from the originals.
  • Thwarting Piracy: When an attacker tried to train a ResNet-50 model from scratch using the protected dataset, the model's performance was abysmal (e.g., 24% accuracy on CelebA-100), whereas the legal user, after reverting the data, achieved 80% accuracy.

Limitations and Future Work

  • Computational Cost: Training the invertible framework is intensive; the authors noted it took about a week on an NVIDIA RTX 3090.
  • Fixed Resolution: The current implementation is tied to a specific resolution (256x256), which might not be practical for all industrial applications.
  • Hyperparameter Sensitivity: The balance between visual quality ($I_{prt}$), robustness, and recovery quality depends on fine-tuning several hyper-parameters ($\alpha, \beta, \gamma, \delta$), which may vary between different types of image data.
  • Future Directions: The authors suggest exploring more complex "attack layers" to defend against even more sophisticated image restoration techniques that attackers might employ.

Summary updated

BibTeX
@inproceedings{chen2022invertible,
  author = {Kejiang Chen and Xianhan Zeng and Qichao Ying and Sheng Li and Zhenxing Qian and Xinpeng Zhang},
  title = {{Invertible Image Dataset Protection}},
  booktitle = {ICME},
  year = {2022},
  doi = {10.1109/icme52920.2022.9859698},
}
Figure