Text-to-image generative models are becoming increasingly popular and accessible to the general public. As these models see large-scale deployments, it is necessary to deeply investigate their safety and fairness to not disseminate and perpetuate any kind of biases. However, existing works focus on detecting closed sets of biases defined a priori, limiting the studies to well-known concepts. In this paper, we tackle the challenge of open-set bias detection in text-to-image generative models presenting OpenBias, a new pipeline that identifies and quantifies the severity of biases agnostically, without access to any precompiled set. OpenBias has three stages. In the first phase, we leverage a Large Language Model (LLM) to propose biases given a set of captions. Secondly, the target generative model produces images using the same set of captions. Lastly, a Vision Question Answering model recognizes the presence and extent of the previously proposed biases. We study the behavior of Stable Diffusion 1.5, 2, and XL emphasizing new biases, never investigated before. Via quantitative experiments, we demonstrate that OpenBias agrees with current closed-set bias detection methods and human judgement.
翻译:文本到图像生成模型正变得日益普及,并为普通公众所使用。随着这些模型的大规模部署,必须深入调查其安全性与公平性,以防止传播和延续任何形式的偏见。然而,现有工作主要关注预定义封闭集偏见的检测,将研究局限于已知概念。本文提出了OpenBias,一种新的流程,旨在解决文本到图像生成模型中的开放集偏见检测挑战,该流程能够以不可知的方式识别并量化偏见的严重程度,而无需依赖任何预编译的集合。OpenBias包含三个阶段:第一阶段,我们利用大型语言模型(LLM)基于一组描述文本提出潜在偏见;第二阶段,目标生成模型使用相同的描述文本生成图像;最后,视觉问答模型识别先前提出偏见的存在及其程度。我们研究了Stable Diffusion 1.5、2和XL的行为,重点揭示了此前未被调查的新偏见。通过定量实验,我们证明OpenBias与当前封闭集偏见检测方法以及人类判断结果一致。