Perceptual Indistinguishability-Net (PI-Net): Facial Image Obfuscation With Manipulable Semantics

Jia-Wei Chen, Li-Ju Chen, Chia-Mu Yu, Chun-Shien Lu

Abstract

Facial image anonymization often faces a trade-off between formal privacy guarantees and the utility of the resulting images. Traditional Differential Privacy (DP) methods frequently result in low-quality, pixelated outputs, while generative face-swapping techniques lack rigorous privacy proofs. We present Perceptual Indistinguishability-Net (PI-Net), a framework that bridges this gap by injecting noise into a GAN’s latent space rather than the pixel domain. PI-Net achieves "Perceptual Indistinguishability," obfuscating individual identities while preserving and allowing for the manipulation of key semantic attributes like age, gender, and expression. Our results demonstrate superior image realism (FID ~60) and high utility for downstream tasks compared to existing DP baselines.

Introduction

The proliferation of facial datasets in machine learning research has raised significant privacy concerns, leading to the removal of major public datasets like MS-Celeb-1M due to identity leakage risks. Current anonymization strategies generally fall into two categories: syntactic anonymization and Differential Privacy (DP). Syntactic methods, such as GAN-based inpainting, produce realistic images but are vulnerable to re-identification by machine learning models. Conversely, DP provides formal mathematical guarantees but typically degrades image quality to the point of being unusable for computer vision tasks like detection or emotion recognition.

PI-Net addresses this by introducing Perceptual Indistinguishability (PI), a variant of metric privacy. Instead of defining adjacency through pixel-level differences, PI defines it based on distance within a high-level semantic latent space. This approach allows for the protection of identity—a high-level feature—while maintaining the structural and semantic integrity of the face.

Methods

The PI-Net architecture leverages the structured latent space of pre-trained GANs to decouple identity from semantic attributes. The process involves several primary stages:

  1. GAN Inversion: An input image is mapped to a latent code $x$ within a pre-trained GAN (e.g., StyleGAN).
  2. Encoding Network ($f$): This network transforms the latent code into a specialized space $\mathcal{Y}$, where images sharing user-defined attributes (e.g., "smiling," "young") are clustered together.
  3. Noise Injection ($H$): To satisfy the privacy guarantee, multivariate Laplace noise is added to the code in the $\mathcal{Y}$ space. Because the space is organized by attributes, the noise is sufficient to shift the identity while keeping the code within the same attribute cluster.
  4. Decoding and Generation: The noisy code is mapped back to the GAN’s latent space via a post-processing network $h$ and processed by a generator $G$ to produce the final obfuscated image.
The PI-Net architecture overview, illustrating the pipeline from GAN inversion to noise injection in the latent space and final image generation.

The network is optimized using a combination of Triplet Loss for attribute clustering and Cross-Entropy Loss to maintain classification accuracy of the target attributes.

Key Results

The framework was evaluated using the CelebA dataset and synthetic images generated by StyleGAN. PI-Net demonstrates a significant advancement in both privacy and utility:

  • Visual Quality: PI-Net achieved a Fréchet Inception Distance (FID) of approximately 60, vastly outperforming PixDP (FID ~440) and SVD-Priv (FID ~250-330). This indicates a much higher level of realism in the generated images.
  • Utility Preservation: Unlike pixel-based obfuscation, PI-Net maintains a face detection rate of nearly 100% using standard HOG descriptors, making it suitable for computer vision pipelines.
  • Attribute Accuracy: At a privacy budget of $\epsilon=1.0$, PI-Net preserved semantic attributes with over 90% accuracy in multi-attribute settings, significantly higher than baseline DP methods.
Qualitative comparison of facial obfuscation methods. PI-Net preserves high visual quality and semantic attributes compared to traditional DP-based pixelation (PixDP) and SVD-based methods (SVD-Priv).

These results confirm that PI-Net provides a rigorous $\epsilon$-Perceptual Indistinguishability guarantee, ensuring that an adversary cannot reliably infer the original identity while the data remains highly useful for research.

Conclusion

PI-Net successfully untangles identity from semantics by operating in the latent domain. While challenges remain regarding attribute entanglement (e.g., correlations between makeup and gender) and occasional mapping errors during the decoding stage, the framework sets a new standard for privacy-preserving image synthesis. Future work will explore extending this methodology to more complex datasets and video streams.

Summary updated

BibTeX
@inproceedings{chen2021perceptual,
  author = {Jia-Wei Chen and Li-Ju Chen and Chia-Mu Yu and Chun-Shien Lu},
  title = {{Perceptual Indistinguishability-Net (PI-Net): Facial Image Obfuscation With Manipulable Semantics}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  doi = {10.1109/cvpr46437.2021.00641},
}
Figure