Word-Level Explanations for Analyzing Bias in Text-to-Image Models

Alexander Lin, Lucas Monteiro Paes, Sree Harsha Tanneru, Suraj Srinivas, Himabindu Lakkaraju
6/3/2023
cs.CLcs.AIcs.CV

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

Text-to-image models take a sentence (i.e., prompt) and generate images associated with this input prompt. These models have created award wining-art, videos, and even synthetic datasets. However, text-to-image (T2I) models can generate images that underrepresent minorities based on race and sex. This paper investigates which word in the input prompt is responsible for bias in generated images. We introduce a method for computing scores for each word in the prompt; these scores represent its influence on biases in the model's output. Our method follows the principle of \emph{explaining by removing}, leveraging masked language models to calculate the influence scores. We perform experiments on Stable Diffusion to demonstrate that our method identifies the replication of societal stereotypes in generated images.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lin2023wordlevel,
  title  = {Word-Level Explanations for Analyzing Bias in Text-to-Image Models},
  author = {Alexander Lin and Lucas Monteiro Paes and Sree Harsha Tanneru and Suraj Srinivas and Himabindu Lakkaraju},
  year   = {2023},
  eprint = {2306.05500},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.05500v1}
}

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

Discussion