Rare Concept Generation via Counterfactual Inference in Diffusion Models

Zhengyuan Jiang, Haipeng Liu, Meng Wang, Yang Wang
7/16/2026
cs.CV

Official code: 200204jzy/CI-Diff (2 stars, last commit 2026-07-20).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

[ACM Multimedia 2026] Rare Concept Generation via Counterfactual Inference in Diffusion Models

20PythonJul 15, 20263 months ago

Similar Papers

Cite this paper

@article{jiang2026rare,
  title  = {Rare Concept Generation via Counterfactual Inference in Diffusion Models},
  author = {Zhengyuan Jiang and Haipeng Liu and Meng Wang and Yang Wang},
  year   = {2026},
  eprint = {2607.14765},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.14765v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.14765.svg)](https://codeofpaper.com/paper/2607.14765)

Discussion