Discover the Unknown Biased Attribute of an Image Classifier

Zhiheng Li, Chenliang Xu
4/29/2021
cs.CV

Official code: zhihengli-UR/discover_unknown_biases (21 stars, Python, last commit 2021-10-11).

Abstract

Recent works find that AI algorithms learn biases from data. Therefore, it is urgent and vital to identify biases in AI algorithms.

Show full abstract

However, the previous bias identification pipeline overly relies on human experts to conjecture potential biases (e.g., gender), which may neglect other underlying biases not realized by humans. To help human experts better find the AI algorithms' biases, we study a new problem in this work -- for a classifier that predicts a target attribute of the input image, discover its unknown biased attribute. To solve this challenging problem, we use a hyperplane in the generative model's latent space to represent an image attribute; thus, the original problem is transformed to optimizing the hyperplane's normal vector and offset. We propose a novel total-variation loss within this framework as the objective function and a new orthogonalization penalty as a constraint. The latter prevents trivial solutions in which the discovered biased attribute is identical with the target or one of the known-biased attributes. Extensive experiments on both disentanglement datasets and real-world datasets show that our method can discover biased attributes and achieve better disentanglement w.r.t. target attributes. Furthermore, the qualitative results show that our method can discover unnoticeable biased attributes for various object and scene classifiers, proving our method's generalizability for detecting biased attributes in diverse domains of images. The code is available at https://git.io/J3kMh.

View on arXivView PDF

Code Implementations(1)

Official code of "Discover the Unknown Biased Attribute of an Image Classifier" (ICCV 2021)

212Python, ShellApr 28, 20215 years ago
ai-fairnessbias-detectiondisentanglementresponsible-aistylegan+1 more

Similar Papers

Cite this paper

@article{li2021discover,
  title  = {Discover the Unknown Biased Attribute of an Image Classifier},
  author = {Zhiheng Li and Chenliang Xu},
  year   = {2021},
  eprint = {2104.14556},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.14556}
}

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/2104.14556.svg)](https://codeofpaper.com/paper/2104.14556)

Discussion