IFBiD: Inference-Free Bias Detection

Ignacio Serna, Daniel DeAlcala, Aythami Morales, Julian Fierrez, Javier Ortega-Garcia
9/9/2021
cs.CV

Official code: BiDAlab/IFBiD (0 stars, Python, last commit 2022-03-14).

Abstract

This paper is the first to explore an automatic way to detect bias in deep convolutional neural networks by simply looking at their weights. Furthermore, it is also a step towards understanding neural networks and how they work.

Show full abstract

We show that it is indeed possible to know if a model is biased or not simply by looking at its weights, without the model inference for an specific input. We analyze how bias is encoded in the weights of deep networks through a toy example using the Colored MNIST database and we also provide a realistic case study in gender detection from face images using state-of-the-art methods and experimental resources. To do so, we generated two databases with 36K and 48K biased models each. In the MNIST models we were able to detect whether they presented a strong or low bias with more than 99% accuracy, and we were also able to classify between four levels of bias with more than 70% accuracy. For the face models, we achieved 90% accuracy in distinguishing between models biased towards Asian, Black, or Caucasian ethnicity.

View on arXivView PDF

Code Implementations(1)

BiDAlab/IFBiDOfficial100%
00PythonDec 17, 20214 years ago

Similar Papers

Cite this paper

@article{serna2021ifbid,
  title  = {IFBiD: Inference-Free Bias Detection},
  author = {Ignacio Serna and Daniel DeAlcala and Aythami Morales and Julian Fierrez and Javier Ortega-Garcia},
  year   = {2021},
  eprint = {2109.04374},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.04374}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2109.04374.svg)](https://codeofpaper.com/paper/2109.04374)

Discussion