Semi-adversarial Networks: Convolutional Autoencoders for Imparting Privacy to Face Images

Vahid Mirjalili, Sebastian Raschka, Anoop M. Namboodiri, Arun Ross

Introduction

In the era of ubiquitous biometric systems, submitting a face image for identity verification often exposes more information than intended. Modern AI can automatically extract sensitive soft-biometric attributes—such as age, gender, race, or health status—without explicit user consent, leading to significant privacy concerns regarding profiling and data misuse.

Traditional privacy-preserving methods like "de-identification" (e.g., blurring or masking) typically destroy the biometric utility of the image, rendering it useless for face recognition. This paper, presented at ICB 2018 by researchers from Michigan State University and IIIT Hyderabad, introduces Semi-Adversarial Networks (SANs). This novel approach aims to achieve differential privacy by suppressing specific sensitive attributes, like gender, while retaining the image's utility for biometric matching.

Methodology

The proposed SAN framework utilizes a convolutional autoencoder (CAE) to apply subtle, targeted perturbations to face images. These perturbations are designed to be "adversarial" to gender classifiers but "cooperative" with face matchers.

System Architecture

The training phase involves three primary components:

  1. The Generator (Subnetwork I): A CAE that receives an input face image $X$ and a "gender prototype" $P$ to produce a perturbed image $X'$.
  2. The Auxiliary Gender Predictor (Subnetwork II): A CNN trained to predict the gender of the perturbed image.
  3. The Auxiliary Face Matcher (Subnetwork III): A pre-trained VGG-Face model that ensures the perturbed image remains close to the original subject in the feature space.
The Semi-Adversarial Network (SAN) architecture consisting of the Generator (Subnetwork I), Auxiliary Gender Predictor (Subnetwork II), and Auxiliary Face Matcher (Subnetwork III).

Semi-Adversarial Training

Unlike standard Generative Adversarial Networks (GANs) where a generator competes against a single discriminator, the SAN generator balances three distinct loss terms: realistic appearance, gender confounding, and identity preservation.

A key innovation is the use of Gender Prototypes—average faces representing specific gender categories. By concatenating the input image with an "opposite-gender" or "neutral" prototype during encoding, the network learns to subtly modify facial features toward the desired privacy goal.

Examples of Female, Neutral, and Male gender prototypes used to guide the autoencoder's perturbations.

Experimental Evaluation

To evaluate the generalizability of the SAN model, the authors used a diverse set of datasets including CelebA for primary training, and MUCT, LFW, and AR-face as independent "unseen" datasets. The perturbed images were tested against both internal classifiers and "black-box" commercial systems, such as IntraFace and G-COTS, to ensure the perturbations targeted fundamental facial features rather than specific model quirks.

Results and Discussion

The results demonstrate a successful trade-off between privacy and utility. On the MUCT dataset, the error rate of the IntraFace gender classifier increased significantly from 8.0% to 39.2% after perturbation. Similarly, errors in the commercial G-COTS system rose from 5.1% to 25.4%.

Crucially, biometric utility remained stable. For the MUCT dataset, the True Match Rate (at a 1% False Match Rate) only saw a minor decrease from 99.88% to 98.44%. Visually, the perturbed images remain highly realistic, avoiding the obvious distortions seen in earlier de-identification methods. These findings suggest that the facial features used for identity are sufficiently distinct from those used for gender classification, allowing one to be modified without compromising the other.

Conclusion

Semi-Adversarial Networks provide a promising path toward privacy-preserving biometrics. While the current work focuses on gender, the same logic could be extended to protect other attributes like age or race. Future research will aim to further reduce the visibility of perturbations—currently appearing as slight "ghosting"—and explore the impact of more diverse gender prototypes to better represent the global population.

Summary updated

BibTeX
@inproceedings{mirjalili2018semi,
  author = {Vahid Mirjalili and Sebastian Raschka and Anoop M. Namboodiri and Arun Ross},
  title = {{Semi-adversarial Networks: Convolutional Autoencoders for Imparting Privacy to Face Images}},
  booktitle = {Icb},
  year = {2018},
  doi = {10.1109/icb2018.2018.00023},
}
Figure