arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.05500cs.CLcs.AIcs.CVcs.LG
收藏

用于分析文本到图像模型中偏见的词级解释

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

Harvard University(哈佛大学)

Alexander Lin, Lucas Monteiro Paes, Sree Harsha Tanneru, Suraj Srinivas, Himabindu Lakkaraju

AI总结:

针对文本到图像模型存在的种族、性别相关偏见问题,提出一种基于“通过移除来解释”原则、利用掩码语言模型计算提示词各单词偏见影响得分的方法,经Stable Diffusion实验验证可识别生成图像中的社会刻板印象复刻。

摘要:

文本到图像模型接收一个句子(即提示词)并生成与该输入提示词相关的图像。这类模型已创作出获奖艺术作品、视频,甚至合成数据集。然而,文本到图像(T2I)模型可能生成基于种族和性别的少数群体代表性不足的图像。本文研究输入提示词中的哪个词导致了生成图像中的偏见。我们提出了一种计算提示词中每个单词得分的方法;这些得分代表该单词对模型输出中偏见的影响程度。我们的方法遵循“通过移除来解释”的原则,利用掩码语言模型计算影响得分。我们在Stable Diffusion上开展实验,证明我们的方法能够识别生成图像中对社会刻板印象的复刻情况。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑