This paper, presented at ICB 2018, introduces Semi-Adversarial Networks (SANs), a novel framework designed to solve a growing tension in biometrics: how do we allow face recognition systems to work while preventing them from harvesting private "soft biometric" data like gender, age, or race?
TL;DR
The authors developed a convolutional autoencoder that subtly perturbs face images to hide gender information from automated classifiers while maintaining the image's utility for face recognition. By training the network against both an "adversarial" gender classifier and an "allied" face matcher, they achieve a form of differential privacy that generalizes to unseen datasets and commercial software.
What Problem Does This Paper Address?
Face images are incredibly information-dense. Beyond just identity, they reveal a person's age, gender, race, and even health status. While biometric systems are intended for identity verification, these "soft biometric" attributes can be extracted without consent, leading to concerns about unauthorized profiling and privacy violations.
Previous attempts at "de-identification" often involve heavy blurring or pixelation, which destroys the biometric utility of the image—making it useless for the very recognition task it was collected for. The challenge is to surgically remove specific sensitive attributes (like gender) while leaving the identity-defining features intact.
Methods
The core contribution is the Semi-Adversarial Network (SAN) architecture. Unlike a standard Generative Adversarial Network (GAN) that uses a single discriminator, the SAN uses a three-part system during training:
- Subnetwork I (The Generator): A convolutional autoencoder (CAE) that takes an input face and a "gender prototype" (an average face image) to produce a perturbed version of the input.
- Subnetwork II (The Adversary): An auxiliary CNN-based gender classifier. The CAE is trained to maximize the error of this subnetwork.
- Subnetwork III (The Ally): An auxiliary CNN-based face matcher (based on the VGG-Face architecture). The CAE is trained to ensure the match score between the original and perturbed image remains high.
The training objective function balances three terms: reconstruction loss (to keep the face looking realistic), gender classification loss (to confound the adversary), and matching loss (to satisfy the ally). A key innovation is the use of gender prototypes—average male, female, and neutral faces—which are concatenated with the feature maps to guide the perturbation process.
Datasets
The model was trained on the CelebA dataset (specifically a training split of ~162,000 images). To prove that the learned perturbations weren't just "overfitting" to one specific dataset or classifier, the authors evaluated their model on several independent benchmarks:
- CelebA-test: 40,520 images.
- MUCT: 3,754 images.
- LFW (Labeled Faces in the Wild): 12,969 images.
- AR-face: 3,286 images.
Key Insights and Ideas
- "Semi-Adversarial" Training: The "aha moment" here is the realization that you can use the gradient of a classifier to remove information. By treating the gender classifier as an adversary and the face matcher as an ally, the CAE learns to find the "identity-neutral" pixels that contribute most to gender perception and modifies them.
- Generalization is Possible: The authors didn't just fool their own internal classifiers. The perturbations were effective against independent, commercial-grade software (G-COTS and IntraFace) that the model never encountered during training.
- Identity is Resilient: The results suggest that the features used by machines to determine gender are somewhat distinct from those used to determine identity, allowing for this kind of selective privacy.
Key Results
The authors compared their SAN approach against a "face-mixing" baseline. As seen in the visual results, the SAN perturbations are relatively subtle to the human eye but highly effective against machines.
- Gender Privacy: On the LFW dataset, the error rate of a commercial gender classifier jumped from 2.8% to 18.8% after applying "opposite-gender" perturbations.
- Utility Preservation: Biometric accuracy remained remarkably stable. For the MUCT dataset, the True Match Rate (TMR) only dropped from 99.88% to 98.44%, even when the gender classifier was significantly confounded.
- Comparison: Unlike previous face-mixing methods that significantly degraded identity (dropping TMR to near zero in some cases), the SAN approach maintained high recognition performance across all datasets.
Limitations and Future Work
- Visual Artifacts: While subtle, the perturbations can sometimes introduce slight "ghosting" or lighting changes, as visible in Figure 5.
- Single Attribute Focus: This specific implementation focused on gender. The authors note that the framework could be extended to other attributes like age or race, but this was not demonstrated in the paper.
- Computational Overhead: The paper does not extensively discuss the real-time performance implications of running every image through a CAE before storage or processing.
Future work could involve exploring multi-attribute suppression or refining the autoencoder to produce even more visually seamless perturbations.
Summary updated