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

PopAlign:面向公平文本到图像生成的群体级对齐方法

PopAlign: Population-Level Alignment for Fair Text-to-Image Generation

University of California, Los Angeles(加州大学洛杉矶分校)

Shufan Li, Harkanwar Singh, Aditya Grover

AI总结:

PopAlign提出群体级偏好优化方法,通过随机下界实现可扩展训练,在保持生成质量的同时显著减轻文本到图像模型的群体偏差。

摘要:

文本到图像(T2I)模型通过在大规模数据集上进行广泛训练,实现了高保真生成。然而,这些模型可能会无意中学习到训练数据中不期望的偏差,例如在性别或种族中性的提示词中过度呈现特定身份。现有的对齐方法,如基于人类反馈的强化学习(RLHF)和直接偏好优化(DPO),无法有效解决这一问题,因为它们基于由单个样本组成的成对偏好进行优化,而上述偏差只能在群体层面加以度量。例如,对于提示词“医生”,单个样本可以是男性或女性,但如果一个模型即使在重复采样时也主要生成男性医生,则反映了性别偏差。为了解决这一局限性,我们提出了PopAlign,一种用于群体级偏好优化的新方法,而标准优化会倾向于选择整组样本而非其他样本。我们进一步推导出一个随机下界,该下界直接针对来自偏好群体的单个样本相对于其他群体样本进行优化,以实现可扩展训练。通过人类评估以及标准图像质量和偏差指标,我们表明PopAlign显著减轻了预训练T2I模型的偏差,同时基本保持了生成质量。代码可在 https://github.com/jacklishufan/PopAlignSDXL 获取。

英文摘要:

Text-to-image (T2I) models achieve high-fidelity generation through extensive training on large datasets. However, these models may unintentionally pick up undesirable biases of their training data, such as over-representation of particular identities in gender or ethnicity neutral prompts. Existing alignment methods such as Reinforcement Learning from Human Feedback (RLHF) and Direct Preference Optimization (DPO) fail to address this problem effectively because they operate on pairwise preferences consisting of individual samples, while the aforementioned biases can only be measured at a population level. For example, a single sample for the prompt "doctor" could be male or female, but a model generating predominantly male doctors even with repeated sampling reflects a gender bias. To address this limitation, we introduce PopAlign, a novel approach for population-level preference optimization, while standard optimization would prefer entire sets of samples over others. We further derive a stochastic lower bound that directly optimizes for individual samples from preferred populations over others for scalable training. Using human evaluation and standard image quality and bias metrics, we show that PopAlign significantly mitigates the bias of pretrained T2I models while largely preserving the generation quality. Code is available at https://github.com/jacklishufan/PopAlignSDXL.

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

↑