用反事实推理让扩散模型生成罕见概念图像更准确
Rare Concept Generation via Counterfactual Inference in Diffusion Models

- 引入反事实推断,打破模型对常见属性的固有关联
- 在RareBench上生成准确率提升12.7%,显著优于现有方法
- 适合需要精准生成稀有或异常特征图像的研究者
罕见概念生成旨在根据描述非常规属性的文本提示合成定制化图像。以往方法难以将生成图像与罕见概念对齐,导致属性渲染错误或概念组合不一致。我们观察到,这类失败源于扩散模型训练阶段的固有常见知识偏见——物体与其常见属性强关联,使生成罕见概念时难以突破这些关联。为此,本文提出基于反事实推断的扩散模型方法CI-Diff,通过阻断模型固有常见知识偏见的影响,并利用自然直接效应捕捉文本提示中罕见概念对图像生成的独立影响,实现异常属性与罕见概念的解耦。为此,我们重构了无分类器引导机制以突出非常规属性。据我们所知,这是首个将因果推断引入罕见概念生成任务的工作。在RareBench基准上的大量实验验证了CI-Diff相较于现有先进扩散模型的优越性。代码已开源:https://github.com/200204jzy/CI-Diff。
原文摘要 · Abstract (English)
Rare concept generation focuses on synthesizing customized images conditioned on text prompts that describe objects with unusual attributes. Previous works failed to align the generated images with rare concepts, resulting in incorrect attribute rendering or inconsistent composition of concepts. Such failures, as we observed, stem from the inherent common knowledge bias in the training stage of diffusion models, where objects are strongly associated with their common attributes, making it difficult to break these associations when generating rare concepts. To address such challenges, in this paper, we propose a novel Counterfactual Inference-based Diffusion approach, dubbed CI-Diff. CI-Diff blocks the interference of the model's inherent common knowledge bias and utilizes the Natural Direct Effect to capture the independent influence of the text prompt of rare concepts on image generation so that decoupling the unusual attributes from the rare concepts. To this end, we reformulate the classifier-free guidance mechanism to highlight the atypical attributes. To the best of our knowledge, we are the first to introduce causal inference into the rare concept generation task. Extensive experiments on the RareBench benchmark validate the superiority of CI-Diff over state-of-the-art diffusion models. Our code can be accessed from https://github.com/200204jzy/CI-Diff.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。