Rethinking Bias Mitigation: Fairer Architectures Make for Fairer Face Recognition

Samuel Dooley, Rhea Sanjay Sukthanker, John P. Dickerson, Colin White, Frank Hutter, Micah Goldblum

TL;DR

Conventional wisdom blames biased data for unfair face recognition, but this paper reveals that neural network architectures themselves carry inherent biases. By pioneering a joint Neural Architecture Search (NAS) and hyperparameter optimization (HPO) approach for fairness, the authors discovered a suite of models that significantly outperform standard architectures in both accuracy and equity across multiple datasets.

What Problem Does This Paper Address?

Face recognition (FR) systems are increasingly used in safety-critical and socially consequential domains, from law enforcement to hiring. However, these systems frequently exhibit significant performance disparities across socio-demographic groups, particularly regarding race and gender.

Until now, the machine learning community has largely treated bias as a data problem. Mitigation strategies typically fall into three buckets: pre-processing (balancing training data), in-processing (adding fairness penalties to loss functions), or post-processing (adjusting model outputs). Despite these efforts, bias persists in high-stakes FR tasks. The authors of this paper ask a fundamental, overlooked question: Is bias baked into the very topology of the neural networks we use?

Methods

The researchers tackled this problem in two phases:

  1. Large-Scale Analysis: They conducted an exhaustive evaluation of 29 diverse architectures (ranging from ResNets to Vision Transformers) across 355 training runs. They varied hyperparameters like optimizers, learning rates, and specialized FR "heads" (e.g., ArcFace, MagFace). This allowed them to map the "Error-Rank Disparity" Pareto front for existing models.
  2. Fairness-Aware NAS + HPO: Discovering that architecture choice heavily influences fairness, they designed a searchable space based on Dual Path Networks (DPN). They used SMAC3, a multi-fidelity Bayesian optimization tool, to jointly search for the best architecture blocks and hyperparameters (optimizer type, learning rate, and loss head).
Figure 1: Overview of our methodology.

The search was multi-objective, aiming to minimize both representation error and rank disparity—a metric measuring the difference in average ranking of correct matches between demographic groups.

Datasets

The models were primarily trained and evaluated on gender-balanced subsets of:

  • CelebA: Over 200,000 celebrity images with gender labels.
  • VGGFace2: A massive dataset with 3.1 million images and over 9,000 identities.

To test generalizability, they transferred their discovered models to six other benchmarks: LFW, CFP_FF, CFP_FP, AgeDB, CALFW, and CPLFW. They also tested transferability to other sensitive attributes using the RFW (Race) dataset.

Key Insights and Ideas

  • Inductive Bias is a Fairness Factor: The study found that even randomly initialized models exhibit demographic bias in the same way trained models do. This suggests that the way a network is structured (its inductive bias) inherently favors certain features over others.
  • The Accuracy-Fairness Trade-off is Not Fixed: Standard architectures designed for high accuracy are often a "losing strategy" for fairness. The NAS approach found models that occupy a better Pareto front, meaning they achieve higher accuracy and lower bias than hand-crafted models.
  • Fairness Generalizes: Perhaps the most surprising finding is that architectures optimized for gender fairness also showed improved fairness when tested on race and age, even though those attributes weren't part of the initial search.
  • Information Bottlenecks: Through linear probing, the authors found that fairer architectures make it significantly harder to "guess" a person's gender from the internal feature representations. They effectively act as a structural filter for sensitive information.

Key Results

The NAS-discovered models (labeled SMAC_XXX) consistently Pareto-dominated state-of-the-art baselines.

  • Superior Accuracy: On CelebA, the best novel architecture achieved an error rate of ~3.1%, significantly lower than the standard ArcFace baseline (~4.35%).
  • Massive Bias Reduction: When combining their NAS models with traditional mitigation (like label flipping), they achieved a rank disparity of 0.03 on CelebA—a 98.9% improvement over the best non-NAS models.
  • Pareto Dominance: As shown in the validation plots, the SMAC models (purple dots) consistently sit in the bottom-left corner, representing the best possible trade-off between error and bias.
Figure 3: Pareto front of the models discovered by SMAC and the rank-1 models from timm for the (a) validation and (b) test sets on CelebA. Each point corresponds to the mean and standard error of an architecture after training for 3 seeds. The SMAC models Pareto-dominate the top performing timm models (Error < 0.1).

Limitations and Future Work

While a major step forward, the authors acknowledge several hurdles:

  • Dataset Constraints: The study relied on datasets scraped from the web without explicit consent, a common but ethicality-challenged practice in FR research.
  • Mathematical vs. Societal Fairness: Reducing statistical bias in an algorithm is not the same as ensuring a system is "just" when deployed in the real world.
  • Techno-solutionism: The authors warn against the trap of thinking a "fairer" algorithm justifies the proliferation of surveillance technologies that may still cause societal harm.

Future work includes incorporating expert human priors into the NAS process and exploring how these architectural findings translate to other domains beyond face recognition.

Summary updated

BibTeX
@inproceedings{dooley2023rethinking,
  author = {Samuel Dooley and Rhea Sanjay Sukthanker and John P. Dickerson and Colin White and Frank Hutter and Micah Goldblum},
  title = {{Rethinking Bias Mitigation: Fairer Architectures Make for Fairer Face Recognition}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=1vzF4zWQ1E},
}
Figure