NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Training with the Invisibles: Obfuscating Images to Share Safely for Learning Visual Recognition Models

Taehoon Kim, Dongmin Kang, Kari Pulli, Jonghyun ChoiarXiv 2019 · DOI

TL;DR

This paper introduces a novel method to "obfuscate" images, making them unrecognizable to humans while preserving enough information for machines to train visual recognition models. This allows for safer sharing of sensitive visual data, enabling better model performance without compromising privacy.

What Problem Does This Paper Address?

Modern computer vision models thrive on vast amounts of labeled data. However, collecting and sharing this data is often hindered by privacy concerns, as images can contain personal or sensitive information. Existing de-identification techniques like blurring or masking often degrade the data to the point where it's no longer useful for training machine learning models. This creates a dilemma: either sacrifice data privacy or limit model performance due to insufficient training data. The authors aim to bridge this gap by developing a method that makes images visually ambiguous to humans but still learnable by machines.

Methods

The core of the proposed solution is a "recognition-aware obfuscator" trained using a Generative Adversarial Network (GAN) framework. The obfuscator, denoted as $O(\cdot)$, takes an original image $X$ and transforms it into an obfuscated image $X'$. The training objective has two main components:

  1. GAN Loss: This component encourages the obfuscated images to be indistinguishable from a "target obfuscated type," making them appear unnatural and confusing to humans. A discriminator $D(\cdot)$ is used to distinguish between real (target) and generated (obfuscated) images.
  2. Task-Dependent Recognition Loss: This crucial component ensures that the obfuscated images retain enough information for a specific visual recognition task (e.g., classification, landmark detection). A surrogate network $F^0(\cdot)$ trained on the original data is used to guide the obfuscator, ensuring that the obfuscated images can still be used to train a model for that task.

The authors also propose a lightweight version of the obfuscator, $OP(\cdot)$, for efficient inference, learned through knowledge distillation.

Datasets

The method was evaluated on a variety of datasets across three challenging visual recognition tasks:

  • Image Classification:
    • CIFAR10
    • SVHN
    • Pascal VOC 2012
  • Attribute Classification:
    • CelebA-8 (a subset of CelebA focusing on 8 challenging attributes)
  • Facial Landmark Detection:
    • MTFL

Key Insights and Ideas

  • Reversing Adversarial Attacks: The approach cleverly inverts the idea of adversarial attacks. Instead of creating imperceptible perturbations that fool a model, they create perceptible perturbations that fool humans but not the model during training.
  • Recognition-Awareness is Key: Simply blurring or pixelating images is insufficient. The obfuscation must be guided by the specific recognition task to retain necessary features, a concept they term "recognition-aware obfuscation."
  • Balancing Privacy and Utility: The core challenge is finding the sweet spot between making images unidentifiable to humans and preserving their utility for machine learning. The dual-loss objective (GAN + recognition loss) directly addresses this.
  • Transferability of Obfuscated Data: Unlike adversarial examples generated by methods like FGSM, the obfuscated data generated by their method is shown to be learnable by new models, even with different architectures, which is crucial for data sharing.
  • Compact Obfuscators for Deployment: The introduction of $OP(\cdot)$ addresses the practical challenge of deploying a large obfuscation model for inference, making the approach more scalable.

Key Results

  • High Accuracy Preservation: Models trained with obfuscated data achieved performance comparable to models trained with original, non-obfuscated data. The performance drop was typically within 1% (up to 0.48% for attribute classification).
  • Effective Human Obfuscation: Qualitative examples show that the obfuscated images are indeed difficult for humans to recognize. Quantitative metrics like PSNR were low (e.g., 4.45 dB for CelebA-8), indicating significant noise/perturbation.
  • Human Perception Study: A human perceptual study confirmed that humans performed poorly when trying to classify obfuscated images, with accuracy close to chance.
  • Outperforming Baselines: The proposed method significantly outperformed traditional non-recognition-aware obfuscation methods (blur, noise, pixelation) across all tested tasks.
  • Efficient Inference: The compact obfuscator $OP(\cdot)$ allowed for comparable accuracy to the full obfuscator $O(\cdot)$ with significantly fewer parameters.
  • Robustness to Data Mix: Training with even a small percentage (5-10%) of non-obfuscated data alongside obfuscated data allowed models to achieve performance comparable to training with 100% non-obfuscated data.

Limitations and Future Work

  • Computational Cost: Training the obfuscator $O(\cdot)$ can be computationally intensive due to the GAN component.
  • Generalization to New Tasks: While the method is designed to be task-aware, its performance on entirely novel or very different tasks might require re-training the obfuscator.
  • Future Work: The authors suggest combining different obfuscation targets (blur, pixelation, noise) to provide more versatility. They also aim to explore further improvements in the efficiency and generalization of their approach.

Summary updated

BibTeX
@misc{kim2019training,
  author = {Taehoon Kim and Dongmin Kang and Kari Pulli and Jonghyun Choi},
  title = {{Training with the Invisibles: Obfuscating Images to Share Safely for Learning Visual Recognition Models}},
  year = {2019},
  eprint = {1901.00098},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1901.00098},
}
Figure