Skip to main content
QUICK REVIEW

[Paper Review] Characterizing Bias in Classifiers using Generative Models

Daniel McDuff, Shuang Ma|arXiv (Cornell University)|May 30, 2019
Generative Adversarial Networks and Image SynthesisComputer Science41 references18 citations
TL;DR

This paper proposes a simulation-based method using a progressive conditional GAN and Bayesian optimization to systematically interrogate facial classifiers for racial and gender bias. It efficiently identifies failure modes in commercial APIs by generating diverse, realistic face images, revealing significantly higher error rates for African and South Asian individuals—especially in face detection and gender classification—demonstrating the method's effectiveness in uncovering hidden biases with far fewer samples than random sampling.

ABSTRACT

Models that are learned from real-world data are often biased because the data used to train them is biased. This can propagate systemic human biases that exist and ultimately lead to inequitable treatment of people, especially minorities. To characterize bias in learned classifiers, existing approaches rely on human oracles labeling real-world examples to identify the "blind spots" of the classifiers; these are ultimately limited due to the human labor required and the finite nature of existing image examples. We propose a simulation-based approach for interrogating classifiers using generative adversarial models in a systematic manner. We incorporate a progressive conditional generative model for synthesizing photo-realistic facial images and Bayesian Optimization for an efficient interrogation of independent facial image classification systems. We show how this approach can be used to efficiently characterize racial and gender biases in commercial systems.

Motivation & Objective

  • To address the lack of practical tools for identifying and characterizing bias in trained classifiers, especially in commercial facial recognition systems.
  • To overcome the limitations of human-annotated data and random sampling by enabling systematic, efficient exploration of classifier failure modes.
  • To develop a scalable, simulation-based approach that generates diverse, photo-realistic facial images conditioned on race and gender to probe classifier performance.
  • To demonstrate that generative models can efficiently reveal systemic biases in commercial APIs that are otherwise difficult to detect due to low global error rates.
  • To provide a framework for rigorous benchmarking of facial classifiers using synthetic data that reflects demographic diversity.

Proposed method

  • A progressive conditional generative adversarial network (GAN) is trained to synthesize high-fidelity, diverse facial images conditioned on race and gender, ensuring balanced representation across demographic groups.
  • The GAN is validated through human evaluation, showing high agreement between conditional labels and perceived attributes, with consistent image quality across all race and gender categories.
  • A composite loss function combines classification loss (from the target classifier) and diversity loss to guide Bayesian optimization in exploring the latent space.
  • Bayesian optimization is used to balance exploration (searching uncharted regions of the latent space) and exploitation (focusing on high-error regions) to maximize failure detection efficiency.
  • The method uses a Gaussian Process to model the loss function over latent parameters, enabling efficient, adaptive sampling of the face image space.
  • The approach is applied to commercial APIs for face detection and gender classification, with performance evaluated across demographic groups defined by race and gender.

Experimental results

Research questions

  • RQ1Can a conditional generative model produce photo-realistic facial images that are reliably conditioned on race and gender with consistent quality across groups?
  • RQ2How efficiently can Bayesian optimization identify failure modes in facial classifiers compared to random sampling?
  • RQ3What is the extent of racial and gender bias in commercial facial classification APIs when probed with diverse synthetic data?
  • RQ4How do error rates vary across different demographic groups, particularly in relation to skin tone and gendered facial features?
  • RQ5To what extent does the balance between exploration and exploitation in the optimization process affect the detection of classifier failures?

Key findings

  • The conditional GAN successfully generated high-quality, diverse facial images with strong alignment between conditional labels and human perception, confirming reliable conditioning on race and gender.
  • The Bayesian optimization approach detected nearly 50% more failure cases than random sampling with significantly fewer queries, demonstrating superior efficiency in identifying biases.
  • The IBM face detection API exhibited an error rate more than four times higher for African faces compared to White and Northeast Asian faces, indicating strong skin-tone-related bias.
  • Gender detection errors were highest for African faces and also notably high for Northeast Asian faces, suggesting that factors beyond skin tone—such as facial hair or makeup—may contribute to misclassification.
  • An optimal balance between exploration and exploitation (α = 0.6) maximized failure detection, confirming the importance of both searching new regions and focusing on high-error areas.
  • The method revealed that biases in commercial systems are not only present but systematically concentrated in underrepresented demographic groups, especially those with darker skin tones.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.