Skip to main content
QUICK REVIEW

[Paper Review] Identifying Bias in AI using Simulation

Daniel McDuff, R.S. Cheng|arXiv (Cornell University)|Sep 30, 2018
Machine Learning and Data ClassificationComputer Science22 references21 citations
TL;DR

This paper proposes using high-fidelity computer simulations combined with Bayesian optimization to systematically identify demographic biases in pre-trained face detection APIs. By generating synthetic facial data across diverse attributes like skin type, age, and lighting, the method efficiently locates failure cases—demonstrating a 44% improvement in detection efficiency over random sampling and revealing significant performance drops on darker skin tones and older faces.

ABSTRACT

Machine learned models exhibit bias, often because the datasets used to train them are biased. This presents a serious problem for the deployment of such technology, as the resulting models might perform poorly on populations that are minorities within the training set and ultimately present higher risks to them. We propose to use high-fidelity computer simulations to interrogate and diagnose biases within ML classifiers. We present a framework that leverages Bayesian parameter search to efficiently characterize the high dimensional feature space and more quickly identify weakness in performance. We apply our approach to an example domain, face detection, and show that it can be used to help identify demographic biases in commercial face application programming interfaces (APIs).

Motivation & Objective

  • To diagnose demographic biases in commercial face detection APIs that arise from imbalanced or unrepresentative training data.
  • To develop a scalable method for probing model performance across high-dimensional feature spaces of facial attributes.
  • To reduce the number of required simulations for identifying failure cases through intelligent sampling strategies.
  • To demonstrate that synthetic data generation enables systematic, repeatable, and efficient bias interrogation in real-world AI systems.

Proposed method

  • The authors create a high-fidelity simulation framework to generate synthetic facial images with controlled variation across demographic and environmental parameters.
  • They use a Bayesian optimization (BO) strategy to intelligently sample the high-dimensional parameter space, prioritizing regions likely to yield failure cases.
  • The simulation controls key variables including skin type (Fitzpatrick scale), age (wrinkle level), lighting, pose, and facial expressions.
  • Face detection APIs (Microsoft, Face++, Google, IBM) are evaluated on the synthetic dataset to measure detection accuracy across demographic groups.
  • Performance is assessed via true positive and false negative rates, with statistical comparison across different sampling strategies.
  • The method enables efficient failure case discovery by focusing on high-impact parameter combinations rather than random or grid-based sampling.

Experimental results

Research questions

  • RQ1How can we systematically probe the performance of face detection APIs across diverse demographic and environmental attributes?
  • RQ2To what extent do commercial face detection APIs exhibit bias in detecting individuals with darker skin tones and older appearances?
  • RQ3Can Bayesian optimization significantly reduce the number of simulations required to identify failure cases compared to random sampling?
  • RQ4How does the performance of different APIs vary across skin type and age, and what factors contribute to their failure patterns?

Key findings

  • The face detection APIs showed significantly higher false negative rates on faces with darker skin types (Fitzpatrick V–VI) and older appearances, indicating demographic bias.
  • After 800 simulations, Bayesian optimization identified 724 failure cases, a 44% improvement over the 503 failures found using random sampling.
  • The IBM API demonstrated the least bias, likely due to post-publication model improvements following prior bias disclosures.
  • The efficiency gain from Bayesian optimization was most pronounced for the least biased model (IBM), suggesting greater scalability for hard-to-detect failure cases.
  • The simulation framework successfully revealed consistent failure patterns across all tested APIs, confirming biases observed in prior real-world datasets.
  • The study demonstrates that synthetic data generation enables repeatable, scalable, and targeted bias diagnosis in AI systems.

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.