An adversarial learning algorithm for mitigating gender bias in face recognition

Prithviraj Dhar, Joshua Gleason, Hossein Souri, Carlos Domingo Castillo, Rama ChellappaarXiv 2020

Abstract

State-of-the-art deep networks implicitly encode gender information while being trained for face recognition. Gender is often viewed as an important attribute with respect to identifying faces. However, the implicit encoding of gender information in face descriptors has two major issues: (a.) It makes the descriptors susceptible to privacy leakage, i.e. a malicious agent can be trained to predict the face gender from such descriptors. (b.) It appears to contribute to gender bias in face recognition, i.e. we find a significant difference in the recognition accuracy of DCNNs on male and female faces. Therefore, we present a novel 'Adversarial Gender De-biasing algorithm (AGENDA)' to reduce the gender information present in face descriptors obtained from previously trained face recognition networks. We show that AGENDA significantly reduces gender predictability of face descriptors. Consequently, we are also able to reduce gender bias in face verification while maintaining reasonable recognition performance.

Introduction

Modern face recognition systems rely on Deep Convolutional Neural Networks (DCNNs) to generate high-dimensional numerical descriptors, or "fingerprints," of human faces. While these systems achieve remarkable accuracy, they often implicitly learn to encode sensitive attributes like gender, even when not explicitly trained to do so. This phenomenon leads to two critical challenges: privacy leakage and performance bias.

Privacy leakage occurs when numerical descriptors, intended only for identity verification, can be exploited by malicious actors to infer a person's gender without consent. Performance bias manifests as a significant "accuracy gap," where recognition systems consistently perform better on male faces than on female faces. While traditional solutions involve balancing training datasets, this paper proposes a post-hoc approach: the Adversarial Gender De-biasing algorithm (AGENDA), which modifies descriptors from existing, pre-trained models to make them gender-neutral.

The AGENDA Framework

The core of the proposed method is an adversarial learning framework designed to strip gender information from face descriptors while preserving identity-related features. The architecture consists of three primary components:

  1. The Generator ($M$): This model transforms an original face descriptor into a lower-dimensional, de-biased version ($f_{out}$).
  2. The Classifier ($C$): This component ensures the utility of the new descriptor by attempting to identify the person, forcing the Generator to retain identity cues.
  3. The Ensemble of Discriminators ($E$): This "adversary" comprises multiple models attempting to predict gender from the de-biased descriptor.
The detailed architecture of the AGENDA framework, illustrating the interaction between the Generator (M), Classifier (C), and the Ensemble of Discriminators (E).

A key innovation in AGENDA is the use of an ensemble of discriminators. The Generator is penalized based on the performance of the strongest discriminator in the group. This "for all" ($\forall$) approach ensures that the resulting descriptor is robust against any potential gender classifier, rather than just finding a specific "blind spot" in a single model.

Experimental Setup and Results

The researchers evaluated AGENDA using descriptors from two state-of-the-art models: Arcface and Crystalface. The framework was trained on large-scale datasets, including MS-Celeb-1M and UMDFaces, and evaluated on the IJB-C benchmark.

Bias Reduction

The primary goal was to close the performance gap between male-male and female-female verification pairs. As shown in the ROC curves, AGENDA successfully reduced this disparity. For the Crystalface model at a strict False Positive Rate of $10^{-5}$, the gender bias was reduced to near zero.

ROC curves for Arcface (a) and Crystalface (b) comparing original descriptors with those processed by AGENDA. The red lines show how AGENDA reduces the performance gap between male (solid) and female (dashed) pairs.

Privacy and Utility

Beyond bias reduction, AGENDA significantly enhanced privacy. Gender classification accuracy on Arcface descriptors dropped from 76.01% to 64.01%. While removing gender information—a feature often "entangled" with identity—leads to a slight decrease in overall verification accuracy, the trade-off results in a much fairer and more private representation. AGENDA also consistently outperformed linear baselines like CorrPCA, demonstrating the necessity of a non-linear adversarial approach.

Conclusion

The AGENDA framework provides a robust method for mitigating gender bias and protecting privacy in face recognition systems without requiring the retraining of original models. By addressing the entanglement of identity and gender through an adversarial ensemble, the method achieves a more equitable performance across genders. Future work may extend this framework to other sensitive attributes, such as race or age, to further enhance the fairness of biometric systems.

Summary updated

BibTeX
@misc{dhar2020adversarial,
  author = {Prithviraj Dhar and Joshua Gleason and Hossein Souri and Carlos Domingo Castillo and Rama Chellappa},
  title = {{An adversarial learning algorithm for mitigating gender bias in face recognition}},
  year = {2020},
  eprint = {2006.07845},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.07845},
}
Figure