arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.08724cs.LG
收藏

通过自动化提示搜索暴露文本到图像模型中的隐藏偏见

Exposing Hidden Biases in Text-to-Image Models via Automated Prompt Search

University of Edinburgh(爱丁堡大学)

Manos Plitsis, Giorgos Bouritsas, Vassilis Katsouros, Yannis Panagakis

AI总结:

本文提出Bias-Guided Prompt Search框架,通过自动生成提示最大化图像偏见,揭示文本到图像模型中的隐藏偏见,提升公平性评估。

摘要:

文本到图像(TTI)扩散模型已实现出色的视觉质量,但被反复显示在敏感属性如性别、种族和年龄上存在社会偏见。为缓解这些偏见,现有方法常依赖人工构建或由大型语言模型生成的提示数据集。除了编纂成本外,这还可能忽视那些触发偏见生成的未预见、不明显的提示,即使模型已进行去偏处理。本文引入Bias-Guided Prompt Search(BGPS),一个自动产生旨在最大化结果图像偏见的提示框架。BGPS包含两个组件:(1)一个指导生成中性属性提示的LLM,(2)对TTI内部表示起作用的属性分类器,引导LLM的解码过程向提示空间中放大目标图像属性的区域。我们在Stable Diffusion 1.5和最先进的去偏模型上进行了广泛实验,发现了一系列微妙且此前未记录的偏见,严重损害公平性指标。关键的是,发现的提示是可解释的,即可以由普通用户输入,定量提高困惑度度量相比于一个突出的硬提示优化对手。我们的发现揭示了TTI的脆弱性,同时BGPS扩展了偏见搜索空间,可以作为新的偏见缓解评估工具。

英文摘要:

Text-to-image (TTI) diffusion models have achieved remarkable visual quality, yet they have been repeatedly shown to exhibit social biases across sensitive attributes such as gender, race and age. To mitigate these biases, existing approaches frequently depend on curated prompt datasets - either manually constructed or generated with large language models (LLMs) - as part of their training and/or evaluation procedures. Beside the curation cost, this also risks overlooking unanticipated, less obvious prompts that trigger biased generation, even in models that have undergone debiasing. In this work, we introduce Bias-Guided Prompt Search (BGPS), a framework that automatically generates prompts that aim to maximize the presence of biases in the resulting images. BGPS comprises two components: (1) an LLM instructed to produce attribute-neutral prompts and (2) attribute classifiers acting on the TTI's internal representations that steer the decoding process of the LLM toward regions of the prompt space that amplify the image attributes of interest. We conduct extensive experiments on Stable Diffusion 1.5 and a state-of-the-art debiased model and discover an array of subtle and previously undocumented biases that severely deteriorate fairness metrics. Crucially, the discovered prompts are interpretable, i.e they may be entered by a typical user, quantitatively improving the perplexity metric compared to a prominent hard prompt optimization counterpart. Our findings uncover TTI vulnerabilities, while BGPS expands the bias search space and can act as a new evaluation tool for bias mitigation.

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

↑