How Does Gender Balance In Training Data Affect Face Recognition Accuracy?

Vítor Albiero, Kai Zhang, Kevin W. Bowyer

Abstract

Face recognition systems consistently exhibit lower accuracy for women than for men, a disparity frequently attributed to the male-dominated nature of standard training datasets. This study systematically investigates this assumption by training 42 models across various gender ratios. The findings reveal that a perfectly balanced training set does not equate to balanced accuracy. Counterintuitively, the gender gap is minimized when training with a male-skewed distribution, challenging the prevailing belief that data balancing alone is the solution to demographic bias.

Introduction

Deep learning has revolutionized face recognition, yet demographic bias remains a persistent challenge. Accuracy is consistently lower for female subjects compared to male subjects. The prevailing hypothesis suggests this "gender gap" stems from female under-representation in standard training datasets, which typically skew approximately 60% male. This research rigorously tests whether balancing training data eliminates the gender gap and how varying male-to-female ratios affect group-specific accuracy.

Conceptual relationship between data balance and accuracy.

Methodology

The researchers employed a standard ResNet-50 architecture trained from scratch using three distinct loss functions: standard Softmax, Combined Margin loss (ArcFace), and Triplet loss. To isolate the effect of gender balance, they created seven subsets from two large training datasets (VGGFace2 and MS1MV2):

  1. Full: The original imbalanced dataset.
  2. Balanced: Downsampled to equal male/female counts.
  3. 100% Female (F100)
  4. 25% Male / 75% Female (M25F75)
  5. 50% Male / 50% Female (M50F50)
  6. 75% Male / 25% Female (M75F25)
  7. 100% Male (M100)
Construction of training subsets with varying gender ratios while controlling for total subjects and images.

Subsets 3 through 7 were carefully constrained to maintain the same total number of subjects and images, ensuring the gender ratio was the primary variable. Evaluation was conducted on three test sets: MORPH (controlled), IJB-B (in-the-wild), and a newly curated Notre Dame dataset (high-quality controlled).

Key Results and Insights

The experiments yielded several counterintuitive findings that complicate the standard narrative of data representation:

  • Input Balance ≠ Output Balance: In 22 out of 24 experimental comparisons using 50/50 balanced training data, male accuracy still exceeded female accuracy. Simply providing equal data does not result in equal performance.
  • Minimizing the Gap: Surprisingly, the smallest difference between male and female accuracy occurred when training on a dataset that was 75% male and 25% female (when using the best-performing Combined Margin loss).
  • Accuracy Trade-offs: Optimizing for the smallest gender gap did not result in the highest overall accuracy. Female accuracy was generally maximized with 100% female training data, while male accuracy peaked with 100% male data.
  • Loss Function Performance: Combined Margin loss (ArcFace) achieved the highest overall accuracies (often >99% on controlled sets) but showed extreme sensitivity to noise in "in-the-wild" datasets like IJB-B, where it failed significantly when trained on the noisier VGGFace2 dataset.

Conclusion

The study demonstrates that simply balancing training data is insufficient to close the gender gap in face recognition. The persistence of higher male accuracy even with balanced data suggests that other factors—potentially related to image quality, facial features, or optimization dynamics—play a significant role. These results suggest that achieving fairness in AI requires more than just representative datasets; it requires a deeper understanding of how different demographic features interact with model architectures and loss functions.

Summary updated

BibTeX
@inproceedings{albiero2020how,
  author = {Vítor Albiero and Kai Zhang and Kevin W. Bowyer},
  title = {{How Does Gender Balance In Training Data Affect Face Recognition Accuracy?}},
  booktitle = {IJCB},
  year = {2020},
  doi = {10.1109/ijcb48548.2020.9304924},
}
Figure