Evaluating the Fairness of Discriminative Foundation Models in Computer Vision

Junaid Ali, Matthaeus Kleindessner, Florian Wenzel, Kailash Budhathoki, Volkan Cevher +1 more
10/18/2023
cs.CVcs.CYcs.LG

Official code: joniali/evaluating-fairness-discriminative-fms (0 stars, last commit 2025-03-13).

Abstract

We propose a novel taxonomy for bias evaluation of discriminative foundation models, such as Contrastive Language-Pretraining (CLIP), that are used for labeling tasks. We then systematically evaluate existing methods for mitigating bias in these models with respect to our taxonomy. Specifically, we evaluate OpenAI's CLIP and OpenCLIP models for key applications, such as zero-shot classification, image retrieval and image captioning. We categorize desired behaviors based around three axes: (i) if the task concerns humans; (ii) how subjective the task is (i.e., how likely it is that people from a diverse range of backgrounds would agree on a labeling); and (iii) the intended purpose of the task and if fairness is better served by impartiality (i.e., making decisions independent of the protected attributes) or representation (i.e., making decisions to maximize diversity). Finally, we provide quantitative fairness evaluations for both binary-valued and multi-valued protected attributes over ten diverse datasets. We find that fair PCA, a post-processing method for fair representations, works very well for debiasing in most of the aforementioned tasks while incurring only minor loss of performance. However, different debiasing approaches vary in their effectiveness depending on the task. Hence, one should choose the debiasing approach depending on the specific use case.

View on arXivView PDF

Code Implementations(1)

Accompanying code to our AIES '23 paper "Evaluating the Fairness of Discriminative Foundation Models in Computer Vision"

00Python, Jupyter NotebookMar 13, 20251 years ago

Similar Papers

Cite this paper

@article{ali2023evaluating,
  title  = {Evaluating the Fairness of Discriminative Foundation Models in Computer Vision},
  author = {Junaid Ali and Matthaeus Kleindessner and Florian Wenzel and Kailash Budhathoki and Volkan Cevher and Chris Russell},
  year   = {2023},
  eprint = {2310.11867},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.11867v1}
}

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

Discussion