# InsideBias: Measuring Bias in Deep Networks and Application to Face Gender Biometrics

arXiv: https://arxiv.org/abs/2004.06592 · HTML: https://mlsanity.com/paper/2004.06592/

## Key facts

- Cited by 31 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 14 Apr 2020.

## Built on by (most cited first, 30 of 31)

- [A Comprehensive Study on Face Recognition Biases Beyond Demographics](https://mlsanity.com/paper/2103.01592/) (2021)
- [Multimodal Composite Association Score: Measuring Gender Bias in Generative Multimodal Models](https://mlsanity.com/paper/2304.13855/) (2023)
- [Anatomizing Bias in Facial Analysis](https://mlsanity.com/paper/2112.06522/) (2021)
- [Balancing Biases and Preserving Privacy on Balanced Faces in the Wild](https://mlsanity.com/paper/2103.09118/) (2021)
- [Is My Data in Your AI? Membership Inference Test (MINT) applied to Face Biometrics](https://mlsanity.com/paper/2402.09225/) (2024)
- [Addressing Bias in LLMs: Strategies and Application to Fair AI-based Recruitment](https://mlsanity.com/paper/2506.11880/) (2025)
- [IFBiD: Inference-Free Bias Detection](https://mlsanity.com/paper/2109.04374/) (2021)
- [Measuring Bias in AI Models: An Statistical Approach Introducing N-Sigma](https://mlsanity.com/paper/2304.13680/) (2023)
- [Synthetic Data for the Mitigation of Demographic Biases in Face Recognition](https://mlsanity.com/paper/2402.01472/) (2024)
- [Unlearning with Fisher Masking](https://mlsanity.com/paper/2310.05331/) (2023)
- [Towards Explaining Demographic Bias through the Eyes of Face Recognition Models](https://mlsanity.com/paper/2208.13400/) (2022)
- [Learning Visual Explanations for DCNN-Based Image Classifiers Using an Attention Mechanism](https://mlsanity.com/paper/2209.11189/) (2022)
- [Is My Vision-Language Data in Your AI? Membership Inference Test (MINT) Demo 2](https://mlsanity.com/paper/2606.14748/) (2026)
- [Explaining Bias in Deep Face Recognition via Image Characteristics](https://mlsanity.com/paper/2208.11099/) (2022)
- [SDFD: Building a Versatile Synthetic Face Image Dataset with Diverse Attributes](https://mlsanity.com/paper/2404.17255/) (2024)
- [Improving Fairness in Speaker Recognition](https://mlsanity.com/paper/2104.14067/) (2021)
- [Can the accuracy bias by facial hairstyle be reduced through balancing the training data?](https://mlsanity.com/paper/2405.20062/) (2024)
- [Biased Attention: Do Vision Transformers Amplify Gender Bias More than Convolutional Neural Networks?](https://mlsanity.com/paper/2309.08760/) (2023)
- [A survey of Identification and mitigation of Machine Learning algorithmic biases in Image Analysis](https://mlsanity.com/paper/2210.04491/) (2022)
- [Variation of Gender Biases in Visual Recognition Models Before and After Finetuning](https://mlsanity.com/paper/2303.07615/) (2023)
- [The Impact of Balancing Real and Synthetic Data on Accuracy and Fairness in Face Recognition](https://mlsanity.com/paper/2409.02867/) (2024)
- [Generated Bias: Auditing Internal Bias Dynamics of Text-To-Image Generative Models](https://mlsanity.com/paper/2410.07884/) (2024)
- [Unraveling Machine Behavior by Multi-Level Bias Analysis and Detection: Methodology and Application to Computer Vision](https://mlsanity.com/paper/2607.07236/) (2026)
- [There is an elephant in the room: Towards a critique on the use of fairness in biometrics](https://mlsanity.com/paper/2112.11193/) (2021)
- [Comprehensive Equity Index (CEI): Definition and Application to Bias Evaluation in Biometrics](https://mlsanity.com/paper/2409.01928/) (2024)
- [Balancing Tails when Comparing Distributions: Comprehensive Equity Index (CEI) with Application to Bias Evaluation in Operational Face Biometrics](https://mlsanity.com/paper/2506.10564/) (2025)
- [Race Bias Analysis of Bona Fide Errors in face anti-spoofing](https://mlsanity.com/paper/2210.05366/) (2022)
- [(Un)fair Exposure in Deep Face Rankings at a Distance](https://mlsanity.com/paper/2308.11732/) (2023)
- [SELM: Siamese Extreme Learning Machine with Application to Face Biometrics](https://mlsanity.com/paper/2108.03140/) (2021)
- [Designing and Generating Diverse, Equitable Face Image Datasets for Face Verification Tasks](https://mlsanity.com/paper/2511.17393/) (2025)

## Abstract (arXiv)

This work explores the biases in learning processes based on deep neural network architectures. We analyze how bias affects deep learning processes through a toy example using the MNIST database and a case study in gender detection from face images. We employ two gender detection models based on popular deep neural networks. We present a comprehensive analysis of bias effects when using an unbalanced training dataset on the features learned by the models. We show how bias impacts in the activations of gender detection models based on face images. We finally propose InsideBias, a novel method to detect biased models. InsideBias is based on how the models represent the information instead of how they perform, which is the normal practice in other existing methods for bias detection. Our strategy with InsideBias allows to detect biased models with very few samples (only 15 images in our case study). Our experiments include 72K face images from 24K identities and 3 ethnic groups.
