Balancing the Picture: Debiasing Vision-Language Datasets with Synthetic Contrast Sets

Brandon Smith, Miguel Farinha, Siobhan Mackenzie Hall, Hannah Rose Kirk, Aleksandar Shtedritski +1 more
5/24/2023
cs.CV

No official code found. Best implementation: oxai/debias-gensynth (12 stars, MIT, last commit 2023-05-25).

Abstract

Vision-language models are growing in popularity and public visibility to generate, edit, and caption images at scale; but their outputs can perpetuate and amplify societal biases learned during pre-training on uncurated image-text pairs from the internet. Although debiasing methods have been proposed, we argue that these measurements of model bias lack validity due to dataset bias. We demonstrate there are spurious correlations in COCO Captions, the most commonly used dataset for evaluating bias, between background context and the gender of people in-situ. This is problematic because commonly-used bias metrics (such as Bias@K) rely on per-gender base rates. To address this issue, we propose a novel dataset debiasing pipeline to augment the COCO dataset with synthetic, gender-balanced contrast sets, where only the gender of the subject is edited and the background is fixed. However, existing image editing methods have limitations and sometimes produce low-quality images; so, we introduce a method to automatically filter the generated images based on their similarity to real images. Using our balanced synthetic contrast sets, we benchmark bias in multiple CLIP-based models, demonstrating how metrics are skewed by imbalance in the original COCO images. Our results indicate that the proposed approach improves the validity of the evaluation, ultimately contributing to more realistic understanding of bias in vision-language models.

View on arXivView PDF

Code Implementations(1)

MIT

Balancing the Picture: Debiasing Vision-Language Datasets with Synthetic Contrast Sets

121PythonMay 17, 20233 years agoMIT
biascomputer-visionfairnessvision-language

Similar Papers

Cite this paper

@article{smith2023balancing,
  title  = {Balancing the Picture: Debiasing Vision-Language Datasets with Synthetic Contrast Sets},
  author = {Brandon Smith and Miguel Farinha and Siobhan Mackenzie Hall and Hannah Rose Kirk and Aleksandar Shtedritski and Max Bain},
  year   = {2023},
  eprint = {2305.15407},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.15407v1}
}

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

Discussion