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

InvDiff:用于扩散模型偏差缓解的不变性引导

InvDiff: Invariant Guidance for Bias Mitigation in Diffusion Models

Hefei University of Technology(合肥工业大学);Peking University(北京大学);Microsoft Research Asia(微软亚洲研究院);Nanjing University(南京大学)

Min Hou, Yueying Wu, Chang Xu, Yu-Hao Huang, Chenxi Bai, Le Wu, Jiang Bian

AI总结:

针对预训练扩散模型易继承数据偏差且难获取偏差标注的问题,提出InvDiff框架,通过轻量模块学习不变语义引导采样去偏差,无需改动原模型且有理论保证,实验验证其降偏差同时保生成质量。

摘要:

作为最成功的生成模型之一,扩散模型在合成高质量图像方面已展现出卓越的效能。这类模型以无监督方式学习底层高维数据分布。尽管取得了成功,扩散模型高度依赖数据驱动,容易继承真实世界数据中存在的不平衡与偏差。部分研究尝试通过为已知偏差设计文本提示词,或利用偏差标签构建无偏差数据来解决这些问题。虽然这些方法已取得改进效果,但真实场景中往往存在各类未知偏差,且获取偏差标签的难度极大。本文强调了在不依赖辅助偏差标注的前提下,缓解预训练扩散模型偏差的必要性。为解决这一问题,我们提出了InvDiff框架,旨在学习用于扩散引导的不变语义信息。具体而言,我们提出识别训练数据中的潜在偏差,并设计一种全新的去偏差训练目标。随后,我们采用一个轻量级可训练模块,自动保留不变语义信息,同时利用该信息引导扩散模型的采样过程向无偏差结果靠拢。值得注意的是,我们仅需学习轻量级可训练模块中的少量参数,无需改动预训练扩散模型。此外,我们提供了理论保证,证明InvDiff的实现等价于降低泛化误差上界。在三个公开基准上的大量实验结果表明,InvDiff在保持图像生成质量的同时,有效降低了偏差。我们的代码可在https://github.com/Hundredl/InvDiff获取。

英文摘要:

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.

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

↑