Invertible Image Dataset Protection

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

Abstract

This paper introduces RAEG (Reversible Adversarial Example Generation), a novel framework designed to protect high-value image datasets from unauthorized use. By leveraging U-shaped Invertible Neural Networks (INNs), RAEG transforms original images into adversarial versions that are non-trainable and non-classifiable for unauthorized parties, even when subjected to common image processing defenses. Crucially, the process is perfectly reversible, allowing legitimate owners to recover the original data with high fidelity (PSNR ~40dB). Experimental results across CelebA, Caltech-101, and Mini-ImageNet demonstrate that RAEG significantly degrades attacker model performance while maintaining utility for authorized users.

Introduction

In the modern AI landscape, high-quality labeled datasets represent significant "digital property." Companies invest heavily in data curation, yet face constant risks from malicious insiders stealing datasets to train competing models or unauthorized scrapers harvesting private images. While Adversarial Examples (AEs) have long been used to fool AI models, they typically result in permanent data distortion, rendering the protected images useless for the original owner. Previous attempts at Reversible Adversarial Examples (RAE) were often fragile, failing to maintain protection when attackers applied standard image processing techniques like JPEG compression or blurring.

The RAEG Framework

The proposed RAEG system utilizes a U-shaped Invertible Neural Network (INN) to bridge the gap between data protection and data utility. Unlike standard neural networks, INNs are mathematically bijective, meaning the transformation from an original image to a protected version is perfectly reversible.

The protected image appears visually normal to humans but is rendered non-trainable and non-classifiable for unauthorized AI models.

Core Components

  1. Bijective Mapping: The generator (G) performs a forward pass to create a protected image ($I_{prt}$). Because the network is invertible, the backward pass reconstructs the original image from the protected one with near-zero loss.
  2. Robustness via Attack Layers: To ensure protection survives "data scrubbing," a differentiable "Attack Layer" is integrated during training. This layer simulates common defenses such as JPEG compression, Gaussian blurring, and noise, forcing the model to generate adversarial perturbations that remain effective even after processing.
  3. Ensemble Training: The system is trained to fool an ensemble of popular architectures, including VGG16, ResNet-50, ResNet-101, and DenseNet-121, ensuring the protection generalizes across different potential attacker models.

Robustness and Recovery

A critical advantage of RAEG is the stability of the INN architecture. Traditional Encoder-Decoder models often struggle to reconstruct fine details, whereas INNs provide a more stable invertible distribution mapping. This allows the legal owner to maintain the full value of their dataset while denying that value to attackers.

Authorized users can perfectly reverse the protection to recover a trainable, classifiable image indistinguishable from the original.

Authorized users can recover images with a Peak Signal-to-Noise Ratio (PSNR) of approximately 40dB and a Structural Similarity Index (SSIM) exceeding 0.97. Visually, these recovered images are virtually indistinguishable from the originals, ensuring that legitimate training and analysis remain unaffected.

Experimental Evaluation

The authors evaluated RAEG on three benchmarks: CelebA-100, Caltech-101, and Mini-ImageNet. Key findings include:

  • Resilience to Compression: Against JPEG compression (Quality Factor 50), RAEG maintained an attacker classification accuracy of only 17-18%. In contrast, previous methods like RAE-IGSM saw accuracy jump to 80-90%, indicating a total failure of protection.
  • Thwarting Model Piracy: When an attacker attempted to train a ResNet-50 model from scratch using the protected CelebA-100 dataset, the resulting model achieved only 24% accuracy. The legal user, after reverting the data, achieved 80% accuracy.

Conclusion and Future Work

RAEG represents a significant step forward in dataset-level protection, turning common adversarial defenses into training constraints to build more resilient protection. While the current implementation is computationally intensive and tied to specific resolutions (256x256), it provides a robust template for securing digital assets. Future research will focus on defending against more sophisticated image restoration techniques and optimizing the framework for higher-resolution industrial applications.

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