Synthetic Data for the Mitigation of Demographic Biases in Face Recognition

Pietro Melzi, Christian Rathgeb, Ruben Tolosana, Ruben Vera-Rodriguez, Aythami Morales, Dominik Lawatsch, Florian Domin, Maxim SchaubertarXiv 2024

TL;DR

Researchers have demonstrated that synthetic data can effectively "patch" demographic biases in face recognition (FR) systems. By fine-tuning biased models with datasets generated by GANDiffFace—a framework combining GANs and Diffusion models—they significantly improved fairness metrics across different races and genders without needing to collect sensitive real-world personal data.

What Problem Does This Paper Address?

Face recognition technology is everywhere, from unlocking phones to border control. However, these systems often suffer from demographic bias, performing significantly worse on certain groups (typically non-White populations) than others.

The root cause is usually imbalanced training data; popular datasets like CASIA-WebFace are overwhelmingly composed of Caucasian subjects. Fixing this with real-world data is a nightmare: it’s difficult to source balanced datasets, and privacy regulations like the EU-GDPR make collecting and storing large-scale biometric data increasingly risky and legally complex. The authors ask: Can we use "fake" but realistic faces to teach models to be fair?

Methods

The authors propose a three-step pipeline to mitigate bias:

  1. Bias Identification: They evaluate off-the-shelf FR models (ArcFace and CosFace) on real-world datasets to find performance gaps. They found both models were particularly biased against Asian populations.
  2. Synthetic Data Generation: They use GANDiffFace to create new training sets. This novel framework uses a GAN-based module to ensure human realism and controllable demographics (the "identity"), followed by a Diffusion-based module to generate realistic intra-class variations—different poses, lighting, and occlusions like masks or glasses for the same synthetic person.
  3. Fine-Tuning: They take the biased models and fine-tune them using two synthetic strategies:
  4. Demographic-specific: A dataset consisting only of the group the model struggled with (e.g., Syn-Asian).
  5. Demographic-mixed: A balanced dataset representing multiple groups (Asian, Black, and White).
Figure 1. Overview of the proposed approach: Face Recognition (FR) systems with low demographic fairness are fine-tuned with demographic-specific or demographic-mixed datasets synthesized with GANDiffFace [22]. Real-world datasets representing differ- ent demographic groups (e.g., d1 = African, d2 = Asian, d3 = Cau- casian) are used to assess whether fairness increases in the fine- tuned FR systems.

Datasets

  • Pre-training: The original models were trained on CASIA-WebFace (mostly Caucasian).
  • Evaluation (Real-world): To test for bias, they used DiveFace (balanced by gender and three ethnic groups) and Racial Faces in-the-Wild (RFW).
  • Fine-tuning (Synthetic): Generated via GANDiffFace, including Syn-Asian (200 identities) and Syn-Mixed (300 identities).
Figure 2. Identities (one for each row) and intra-class varia- tions generated with GANDiffFace [22] for different demographic groups.

Key Insights and Ideas

  • The Hybrid Advantage: The study highlights why GANDiffFace works. While GANs are great at creating a "base" face, they often lack the variety needed for robust FR training. By adding a Diffusion step, the researchers could generate the "messiness" of real life (shadows, angles, accessories) that helps a model actually learn to recognize a person, not just a static image.
  • Model-Specific Solutions: There is no "silver bullet" synthetic dataset. For ArcFace, the balanced Syn-Mixed dataset worked best, halving the unfairness score. However, for CosFace, the targeted Syn-Asian dataset was more effective. This suggests that the best way to mitigate bias depends heavily on the underlying architecture of the AI being fixed.
  • Privacy-First Fairness: Perhaps the most important insight is that we don't need to compromise privacy to achieve equity. Synthetic data allows researchers to "fill the gaps" in demographic representation without the ethical baggage of scraping real people's faces from the web.

Key Results

The researchers used several fairness metrics, most notably GARBE (Gini Aggregation Rate for Biometric Equitability), where 0 is perfectly fair and 1 is unfair.

  • ArcFace Improvements: Fine-tuning with the Syn-Mixed dataset reduced the GARBE score on the DiveFace dataset from 0.35 down to 0.18—a near 50% improvement in fairness.
  • FMR Reduction: For ArcFace, the False Match Rate (FMR) for Asian subjects was initially twice as high as the overall average. Fine-tuning brought these rates down to levels comparable with other demographic groups.
  • Performance Stability: Crucially, fine-tuning with synthetic data did not significantly degrade the models' overall recognition accuracy; it primarily "leveled the playing field."
Detailed results showing the reduction in FMR for Asian groups (AS/AM/AW) after fine-tuning.

Limitations and Future Work

While promising, the study notes a few hurdles:

  • The Synthetic-Real Gap: While GANDiffFace is advanced, there is still a slight performance difference compared to models trained on massive real-world datasets.
  • Demographic Granularity: The study focused on a few broad ethnic categories. Future work needs to address a wider spectrum of ethnicities, ages, and intersectional identities.
  • Scaling: The fine-tuning used relatively small synthetic sets (200-300 identities). The authors suggest exploring whether much larger synthetic datasets could replace real-world training data entirely, rather than just being used for fine-tuning.

Summary updated

BibTeX
@misc{melzi2024synthetic,
  author = {Pietro Melzi and Christian Rathgeb and Ruben Tolosana and Ruben Vera-Rodriguez and Aythami Morales and Dominik Lawatsch and Florian Domin and Maxim Schaubert},
  title = {{Synthetic Data for the Mitigation of Demographic Biases in Face Recognition}},
  year = {2024},
  eprint = {2402.01472},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.01472},
}
Figure