无需标注偏见即可让扩散模型生成更公平图像。
InvDiff: Invariant Guidance for Bias Mitigation in Diffusion Models
- 通过轻量模块学习数据中的不变语义信息以指导生成
- 在三个基准上显著降低偏见,保持图像质量
- 适合希望改进预训练模型公平性的研究者使用
作为最成功的生成模型之一,扩散模型在合成高质量图像方面表现出色,但其高度依赖数据,容易继承现实数据中的不平衡与偏见。现有方法依赖已知偏见提示或偏见标签构建无偏数据,但在真实场景中偏见常未知且标签难获取。本文提出无需辅助偏见标注的去偏框架InvDiff,通过识别训练数据中的潜在偏见并设计新型去偏训练目标,引入轻量可训练模块自动保留不变语义信息,并用于引导扩散模型采样过程以实现无偏结果。该模块仅需学习少量参数,不修改预训练模型。理论证明其等价于降低泛化误差上界。在三个公开基准上的实验表明,InvDiff能有效减少偏见,同时保持生成质量。代码已开源。
原文摘要 · Abstract (English)
As one of the most successful generative models, diffusion models have demonstrated remarkable efficacy in synthesizing high-quality images. These models learn the underlying high-dimensional data distribution in an unsupervised manner. Despite their success, diffusion models are highly data-driven and prone to inheriting the imbalances and biases present in real-world data. Some studies have attempted to address these issues by designing text prompts for known biases or using bias labels to construct unbiased data. While these methods have shown improved results, real-world scenarios often contain various unknown biases, and obtaining bias labels is particularly challenging. In this paper, we emphasize the necessity of mitigating bias in pre-trained diffusion models without relying on auxiliary bias annotations. To tackle this problem, we propose a framework, InvDiff, which aims to learn invariant semantic information for diffusion guidance. Specifically, we propose identifying underlying biases in the training data and designing a novel debiasing training objective. Then, we employ a lightweight trainable module that automatically preserves invariant semantic information and uses it to guide the diffusion model's sampling process toward unbiased outcomes simultaneously. Notably, we only need to learn a small number of parameters in the lightweight learnable module without altering the pre-trained diffusion model. Furthermore, we provide a theoretical guarantee that the implementation of InvDiff is equivalent to reducing the error upper bound of generalization. Extensive experimental results on three publicly available benchmarks demonstrate that InvDiff effectively reduces biases while maintaining the quality of image generation. Our code is available at https://github.com/Hundredl/InvDiff.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。