Analysing Gender Bias in Text-to-Image Models using Object Detection

Harvey Mannering
7/16/2023
20 citations
cs.CV

Official code: harveymannering/Text-to-Image-Bias (0 stars, Jupyter Notebook, last commit 2023-07-07).

Abstract

This work presents a novel strategy to measure bias in text-to-image models. Using paired prompts that specify gender and vaguely reference an object (e.g. "a man/woman holding an item") we can examine whether certain objects are associated with a certain gender.

Show full abstract

In analysing results from Stable Diffusion, we observed that male prompts generated objects such as ties, knives, trucks, baseball bats, and bicycles more frequently. On the other hand, female prompts were more likely to generate objects such as handbags, umbrellas, bowls, bottles, and cups. We hope that the method outlined here will be a useful tool for examining bias in text-to-image models.

View on arXivView PDF

Code Implementations(1)

00Jupyter Notebook, PythonMar 24, 20233 years ago

Similar Papers

Cite this paper

@article{mannering2023analysing,
  title  = {Analysing Gender Bias in Text-to-Image Models using Object Detection},
  author = {Harvey Mannering},
  year   = {2023},
  eprint = {2307.08025},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.08025v1}
}

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

Discussion