July 16, 2026
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.
<ccs2012> <concept> <concept_id>10010147.10010178.10010224.10010225</concept_id> <concept_desc>Computing methodologies Computer vision tasks</concept_desc> <concept_significance>500</concept_significance> </concept> </ccs2012>
Recent advancements in text-to-image (T2I) diffusion models have achieved unprecedented success in generating highly realistic and diverse images [1]–[6]. With the rapid development of artificial intelligence [7]–[12], users increasingly push the boundary by exploring rare or highly imaginative prompts [13]–[17]. Rare concept generation refers to the synthesis of customized images based on text prompts that describe objects with unusual attributes [18].
With the continuous iteration of architectures and strategies [19]–[21], from the early Stable Diffusion 1.5 [22] to SDXL [23], and further to the latest SD 3.0 [24], the image-text alignment capability of such pre-trained models in common text scenarios has been increasingly enhanced. However, when faced with rare concepts such as “a toad cheerleading” in Fig. [fig:teaser], the model struggles to accurately represent their unusual attributes. The reason lies in the fact that such models are all trained on massive conventional datasets[18], where rare concepts appear with extremely low frequency, leading the model to gradually form a significant Common Knowledge Bias \(K\) during training. In simple terms, the model strongly binds specific concepts to common attributes, making it difficult to overcome its inherent biases and express unusual attributes. As shown in Fig. 1 (a), when generating images corresponding to “A yawning orange” and “A shrimp made of steel”, the model outputs still lean toward common concepts, and the unusual attributes in the text prompts fail to be effectively expressed.
To accurately render unusual attributes, recent works attempt to leverage large language models (LLMs) to assist image generation for improving the semantic alignment of text prompts. These methods [25]–[29] decompose input text prompts into different sub-prompts via LLMs and extract corresponding bounding boxes. On this basis, RPG [30] further provides detailed descriptions for each sub-prompt through a recaption mechanism, which is to submit each sub-prompt to the LLM and conduct a detailed description without altering the core meaning of the sub-prompt, and divides image generation regions to assign matched sub-prompts, decomposing complex combinatorial generation tasks into parallel local generation tasks. Finally, RPG [30] ensures the semantic consistency between the generated images and the target texts through closed-loop editing. Nevertheless, RPG [30] still has significant limitations: 1) Some rare concepts, even after being rewritten by LLMs, can hardly be transformed into common concepts that the model can generate perfectly. As shown in Fig. 1 (b), for the rare concept “a sunflower with legs running”, even with elaborate rewritten descriptions provided by LLMs, the diffusion model still struggles to break the strong semantic binding between “plant” and “static”, and fails to effectively decouple the unusual attribute of “running”. 2) RPG [30] struggles prompts involving overlapping entities and complex spatial relations. For example, for “A thorny building overshadowing a bearded snowman”, conflicts between LLM spatial planning and internal diffusion attention prevent accurate spatial and morphological rendering.
Different from RPG [30], R2F [18] leverages the rich semantic knowledge of large language models (LLMs) to first identify unusual attributes (e.g., "bearded") from rare concepts like "a bearded apple", and matches them with semantically consistent common concepts such as "a bearded person". Subsequently, it designs a progressive guidance strategy from "rare concepts to common concepts" in the diffusion sampling stage for image generation. Nevertheless, this method still suffers from an obvious weakness. The common concepts introduced by LLMs often contain a large amount of redundant semantic information irrelevant to the target unusual attributes (such as human characteristics), which is highly likely to cause additional interference with the generation process during the denoising stage. As shown in Fig. 1 (c), when given prompts such as "A horned pelican" and "A bearded apple", although the generated results can reflect the unusual attributes, the shapes of the objects are significantly distorted. To sum up, both RPG [30] and R2F [18] attempt to assist diffusion models in rare concept generation by introducing external semantic knowledge from large language models to restructure and decompose input text prompts, which not only ignores the potential of rare concept generation inherent in pre-trained models, but also fails to fundamentally decouple unusual attributes from rare concepts.
Based on the above, we propose a novel training-free approach, namely the Counterfactual Inference-based Diffusion approach (CI-Diff). To the best of our knowledge, we are the first to introduce causal inference into the rare concept generation task. Specifically, we first construct a real causal graph of text-to-image generation via causal inference, and clarify how the internal Common Knowledge Bias (\(K\)) interferes with the generation process. Then, by constructing counterfactual scenarios, we observe the Natural Direct Effect (NDE) of text prompts on image generation, which can the eliminate the interference of Common Knowledge Bias and captures the independent impact of text on image generation, thus improving the text-image alignment accuracy. Finally, we achieve the decoupling of unusual attributes from rare concepts by comparing the NDEs of rare concepts and common concepts.Technically, we parameterize the Natural Direct Effect based on Classifier-Free Guidance (CFG) [31], thereby mapping the causal effect of unusual attributes to the noise space for practical implementation. In addition, we propose the Temporal Morphological Fidelity Anchoring Strategy (TMFA), which injects the background-removed edge images within specific time steps during the denoising process to ensure the shape consistency of the object.
In summary, our major contributions are summarized below:
We propose CI-Diff, a rare concept generation approach based on counterfactual inference, which introduces causal inference into text-to-image generation for the first time. By constructing causal graphs and counterfactual scenarios to mine the Natural Direct Effect, our method blocks the interference of the internal Common Knowledge Bias and accurately extracts the independent impact of text prompts on image generation.
We design a decoupling scheme by comparing the Natural Direct Effects between common and rare concepts. With Classifier-Free Guidance, we map the causal effects of unusual attributes to the noise space, achieving effective decoupling and enhanced expression of unusual attributes in a training-free manner.
We present the Temporal Morphological Fidelity Anchoring Strategy, which injects background-removed edge images within specific time steps during diffusion denoising. This strategy strengthens the representation of unusual attributes while effectively maintaining the shape consistency of the objects throughout the generation process.
The extensive experimental results validate the advantages of our CI-Diff against other models for rare concept generation.
In this section, we technically explain our pipeline shown in Fig. 2 in more details. Sec. 2.1 introduces the preliminaries regarding diffusion models and causal inference. Secs. 2.2 and 2.3 elaborate on how to decouple unusual attributes via counterfactual inference and the corresponding implementation within the diffusion process. We finally propose a novel Temporal Morphological Fidelity Anchoring (TMFA) strategy to ensure the consistency of the object shape during generation in Sec. 2.4.
Given a text prompt \(p\) that contains rare concepts, the goal of rare concept generation is to generate the corresponding image \(I_{\text{gen}} \in \mathbb{R}^{3 \times H \times W}\), such that the generated content accurately presents unusual attributes and maintains high visual consistency with the text prompt. To achieve the alignment between complex text prompt and generated images, state-of-the-art methods [32]–[36] predominantly build upon pre-trained text-to-image latent diffusion models, primarily utilizing Stable Diffusion (SD) [22] as their foundation. Within this architecture, a Variational Auto-Encoder (VAE) [37] encodes the pixel-space image \(I \in \mathbb{R}^{3 \times H \times W}\) into a latent representation \(z \in \mathbb{R}^{4 \times \frac{H}{8} \times \frac{W}{8}}\), significantly reducing computational complexity without compromising visual quality. The model then performs the forward diffusion process, denoising process and Classifier-Free Guidance sampling process in the latent space:
Forward Diffusion Process. Consisting of \(T\) timesteps, the forward process in Stable Diffusion builds upon the standard Denoising Diffusion Probabilistic Model (DDPM) [38]. Specifically, it progressively injects Gaussian noise \(\epsilon \sim \mathcal{N}(0, I)\) to corrupt a clean input \(z_0\) into a noisy state \(z_T\). Thus, at any given timestep \(t \in [0, T]\), the intermediate state \(z_t\) is formulated as: \[z_t(z_0, \epsilon) = \sqrt{\bar{\alpha}_t} z_0 + \sqrt{1 - \bar{\alpha}_t} \epsilon, \label{eq:diffusion95forward}\tag{1}\] where \(\bar{\alpha}_t\) denotes the corresponding noise level.
Reverse Denoising Process. In the reverse phase, Stable Diffusion learns to predict the injected noise within the noisy sample, guided by the condition \(c\), iteratively denoising it across \(T\) timesteps. Starting from pure noise \(z_T\) drawn from a standard Gaussian distribution, the optimization objective for the UNet-based [39] denoising model \(\epsilon_\theta\) at timestep \(t\) is defined as: \[\mathcal{L}_{\text{LDM}} = \mathbb{E}_{z_0, c, t \sim \mathcal{U}(0, T), \epsilon \sim \mathcal{N}(0, \mathbf{I})} \left\| \epsilon_\theta(z_t, t, \tau_\theta(c)) - \epsilon \right\|_2^2, \label{eq:ldm95loss}\tag{2}\] where \(\tau_\theta(\cdot)\) is the CLIP [40] encoder, and \(\left\| \cdot \right\|_2\) denotes the \(\ell_2\) norm.
Classifier-Free Guidance. In the inference sampling process, Stable Diffusion adopts Classifier-Free Guidance (CFG) [31] to improve the semantic alignment between generated images and the given text prompt. Starting from the noisy sample \(z_T\), the model performs both the prediction based on the condition \(c\) and the unconditional prediction based on empty conditioned \(\emptyset\) at each timestep \(t\), and computes the final noise prediction \(\epsilon_\theta\) as below: \[\hat{\epsilon}_\theta(z_t, t, c) = \omega \epsilon_\theta(z_t, t, c) + (1 - \omega) \epsilon_\theta(z_t, t, \emptyset), \label{eq:cfg95guidance}\tag{3}\] where \(\omega\) denotes the guidance scale. After T timesteps, the denoised latent representation \(z_0'\) is reconstructed into pixel space via the decoder \(\mathcal{D}\) to generate the final result \(I_{\text{gen}}\).
Causal inference [41]–[45] refers to a mathematical framework that characterizes causal structures using a causal graph and evaluates causal effects between variables in complex systems through counterfactual intervention. For a causal graph consisting of three variables \(P\), \(K\), and \(I\), if the variable \(P\) has a direct effect on the variable \(I\), we say that \(P\) is the child of \(I\), i.e., \(P \rightarrow I\). If \(P\) has an indirect effect on \(I\) via the variable \(K\) , we say that \(K\) acts as a mediator between \(P\) and \(I\), i.e., \(P \rightarrow K \rightarrow I\). With counterfactual notation, the aforementioned causal graph can be transformed into the following formulas: \[I_{p,k} = I(P=p, K=k).\]
In the factual scenario, the mediator takes the value \(k = K_p = K(P = p)\). In the corresponding counterfactual scenario, different values are assigned to \(P\) when separately calculating \(K\) and \(I\). For instance, \(I_{p^\ast,K_{p}}\) denotes a state where \(P\) is intervened to be \(p^\ast\), yet \(K\) retains the value it would have naturally taken had \(P\) been \(p\), i.e., \(I_{p^\ast,K_{p}} = I(P=p^\ast, K=K(P=p))\).
Causal Effect [46], [47] refers to the comparison of potential outcomes for the same individual under distinct treatment regimes. Let \(P=p\) denote the “treatment condition” and \(P=p^\ast\) denote the “no-treatment condition.” The total effect (TE) of treatment \(P=p\) on variable \(I\) evaluates the discrepancy between these two hypothetical scenarios, which is formulated as: \[\text{TE} = I_{p, K_p} - I_{p^\ast, K_{p^\ast}}. \label{eq:total95effect}\tag{4}\]
The total effect can be decomposed into the natural direct effect (NDE) and the total indirect effect (TIE). NDE denotes the effect of \(P\) on \(I\) with the mediator \(K\) blocked, and expresses the increase in \(I\) with \(P\) changing from \(p^\ast\) to \(p\), while \(K\) is set to the value it would have obtained at \(P=p^\ast\), meaning that the response of \(K\) to the treatment \(P=p\) is disabled: \[\text{NDE} = I_{p, K_{p^\ast}} - I_{p^\ast, K_{p^\ast}}. \label{eq:nde}\tag{5}\]
TIE is the difference between TE and NDE, denoted as: \[\text{TIE} = TE - NDE = I_{p,K_p} - I_{p,K_{p^\ast}}. \label{eq:tie}\tag{6}\]
The ideal rare concept generation task aims to generate a corresponding image \(I\) based on a rare text prompt \(P\), i.e., \(P \rightarrow I\). However, as discussed in Sec. 1, pre-trained models are susceptible to interference from common knowledge bias \(K\), which forms a \(P \rightarrow K \rightarrow I\) path, leading to the suppression of unusual attributes. To address this, we propose a counterfactual approach, which estimates the causal effect of text prompts on images by blocking the mediating effect of \(K\).
The counterfactual scenario is defined as follows: the text prompt \(P\) is set to rare text prompt \(p_{rare}\) (e.g., “a hairy octopus”), while \(K\) is set to the value it would attain when the text prompt is \(p^*\) (where \(p^*\) denotes the no treatment condition, i.e., no text prompt is provided). Since the response of the mediator \(K\) to the input is blocked, the model is compelled to rely solely on the text prompt for image generation. Fig. 3 illustrates the comparison between conventional generation and counterfactual generation. By comparing the counterfactual outcome with the “no treatment” baseline, we can derive the Natural Direct Effect (\(NDE\)) of \(p_{rare}\) on the image \(I\): \[\text{NDE}_{\text{rare}} = I_{p_{\text{rare}}, K_{p_{\text{rare}}^*}} - I_{p_{\text{rare}}^*, K_{p_{\text{rare}}^*}}. \label{eq:nde95rare}\tag{7}\]
Since the effect of \(P\) on \(K\) is blocked, \(NDE\) explicitly captures the direct influence of the text prompt on the generation. Furthermore, if the input text is replaced with a common text prompt \(p_{common}\) (e.g., “an octopus”) by stripping away the unusual modifiers, its Natural Direct Effect on image \(I\) is expressed as: \[\text{NDE}_{\text{common}} = I_{p_{\text{common}}, K_{p_{\text{common}}^*}} - I_{p_{\text{common}}^*, K_{p_{\text{common}}^*}}. \label{eq:nde95normal}\tag{8}\] By directly subtracting \(NDE_{common}\) from \(NDE_{rare}\), we can effectively decouple the direct effect of the unusual attribute (e.g., “hairy”) on the generated image: \[\text{NDE}_{\text{pure\_rare}} = \text{NDE}_{\text{rare}} - \text{NDE}_{\text{common}}. \label{eq:nde95pure95rare}\tag{9}\]
Intuition 1: We derive the direct effects of both rare and common concepts on the image and subsequently calculate the difference between them as formulated in Eq. (9 ). As illustrated in Fig. 3, the results generated by Eq. (9 ) demonstrate that such a counterfactual intervention can effectively decouple the unusual attributes. For example, in the attention visualization shown in Fig. 3 (b), the attention maps derived from the text “hairy” are significantly concentrated on the object’s surface, leading to the successful generation of a “hairy octopus”.
We perform inference by enhancing the Natural Direct Effect (\(NDE\)) of unusual attributes, which is fundamentally distinct from previous methods such as R2F [18] and RPG [30].
As detailed in Sec. 2.2, the core idea of \(NDE\) is to extract the direct influence of text prompts on image generation by comparing the differences in outputs under the “with text prompt” and “without text prompt (null prompt)” conditions. Benefiting from the random condition dropout strategy employed by diffusion models during the pre-training stage, a single model can simultaneously model both conditional and unconditional noise predictions. During the inference stage, the Classifier-Free Guidance (CFG) mechanism is typically utilized to perform linear extrapolation on the difference between conditional and unconditional noise predictions, thereby improving image-text alignment, as shown in Eq. (3 ). Based on this, we rewrite Eqs. (7 ) and (8 ) into the CFG format: \[\text{NDE}_{\text{rare}} = s \cdot \epsilon_\theta(x_t, t, p_{\text{rare}}) + (1 - s) \epsilon_\theta(x_t, t, \emptyset). \label{eq:nde95noise95rare}\tag{10}\] \[\text{NDE}_{\text{common}} = s \cdot \epsilon_\theta(x_t, t, p_{\text{common}}) + (1 - s) \epsilon_\theta(x_t, t, \emptyset). \label{eq:nde95noise95normal}\tag{11}\]
By substituting the above two equations into Eq. (9 ), we can further derive the noise expression for the unusual attributes: \[\text{NDE}_{\text{pure\_rare}} = s \cdot \left( \epsilon_\theta(x_t, t, p_{\text{rare}}) - \epsilon_\theta(x_t, t, p_{\text{common}}) \right). \label{eq:nde95noise95pure}\tag{12}\]
In the actual generation process, relying solely on Eq. (12 ) for image generation may lead to the loss of the overall image structure, as this term is primarily used to capture the semantic information of unusual attributes. To address this issue, we superimpose the “counterfactual accentuation term” extracted by NDE as a refined compensation onto the standard Classifier-Free Guidance (CFG). The final predicted value \(\tilde{\epsilon}_\theta\) of the denoising network is formulated as follows: \[\begin{align} \tilde{\epsilon}_\theta(x_t, t, c) &= \underbrace{s_{\text{cfg}} \cdot \epsilon_\theta(x_t, t, p_{\text{rare}}) + (1 - s_{\text{cfg}}) \cdot \epsilon_\theta(x_t, t, \emptyset)}_{\text{Standard CFG (Base Generation)}} \\ &\quad + \underbrace{s_{\text{rare}} \cdot \left( \epsilon_\theta(x_t, t, p_{\text{rare}}) - \epsilon_\theta(x_t, t, p_{\text{common}}) \right)}_{\text{Counterfactual Accentuation (NDE)}} \end{align}, \label{eq:final95guidance}\tag{13}\] where \(s_{\text{cfg}}\) is the base guidance scale used to maintain text consistency and image quality, and \(s_{\text{rare}}\) denotes the injection strength of unusual attributes, used to amplify the feature expression of unusual attributes.
Intuition 2: Specifically, Eq. (13 ) consists of two components, striking a balance between maintaining the structural stability of the image and highlighting unusual attributes:
\(s_{\text{cfg}} \cdot \epsilon_\theta(x_t, t, p_{\text{rare}}) + (1 - s_{\text{cfg}}) \cdot \epsilon_\theta(x_t, t, \emptyset)\): Utilizes the standard CFG mechanism to ensure that the generated image possesses the features of the rare concept while ensuring the quality of image generation and consistency with the base semantics.
\(s_{\text{rare}} \cdot (\epsilon_\theta(x_t, t, p_{\text{rare}}) - \epsilon_\theta(x_t, t, p_{\text{common}}))\): The counterfactual accentuation term. By comparing the Natural Direct Effect of rare text prompts and common text prompts, it accurately captures and amplifies the intervention capability of unusual attributes on the generation process.
To verify this strategy, Fig. 4 illustrates the evolution of attention maps for unusual attribute tokens. As shown in Fig. 4 (a), when the model processes common text prompts (e.g., “A brownish octopus”), its attention stably focuses on the main object with high activation. Conversely, Fig. 4 (b) shows that when the model processes rare text prompts, the attention diffuses and its intensity decays sharply in the middle and late stages of denoising, ultimately leading to generation failure. In contrast, as depicted in Fig. 4 (c), when the model applies our counterfactual accentuation term, the attention for unusual attributes precisely converges onto the object and remains highly activated, thereby ensuring the successful generation of the rare concept.
| Models | Single Object | Multi Objects | Extend Objects | |||||||||||||||||
| Property | Shape | Texture | Action | Complex | Concat | Relation | Complex | Style | Scene | |||||||||||
| C | H | C | H | C | H | C | H | C | H | C | H | C | H | C | H | C | H | C | H | |
| SDXL | 30.15 | 25.64 | 31.43 | 24.62 | 32.40 | 26.84 | 31.34 | 25.56 | 33.21 | 28.44 | 31.86 | 24.64 | 33.13 | 26.53 | 36.39 | 29.63 | 33.96 | 26.71 | 35.07 | 28.24 |
| Our+SDXL | 30.43 | 26.67 | 31.60 | 26.20 | 32.41 | 27.95 | 31.53 | 27.02 | 33.60 | 29.56 | 32.32 | 25.31 | 33.69 | 26.72 | 36.61 | 30.67 | 34.60 | 28.10 | 35.75 | 28.98 |
| RealVisXL | 32.14 | 28.58 | 33.06 | 26.90 | 33.73 | 29.29 | 33.49 | 27.96 | 34.60 | 30.60 | 33.23 | 28.74 | 34.85 | 28.94 | 36.93 | 32.28 | 34.13 | 29.29 | 36.35 | 29.41 |
| Our+RealVisXL | 32.21 | 29.81 | 33.23 | 28.79 | 34.16 | 31.03 | 33.55 | 29.79 | 34.66 | 32.57 | 33.54 | 29.74 | 34.92 | 30.85 | 37.10 | 32.63 | 34.94 | 29.79 | 36.43 | 31.40 |
| SD1.5 | 29.89 | 25.44 | 30.39 | 23.75 | 30.37 | 25.00 | 29.80 | 23.87 | 31.57 | 24.72 | 29.57 | 22.92 | 31.68 | 24.07 | 33.86 | 23.20 | 33.32 | 23.12 | 32.68 | 25.45 |
| Flux | 30.60 | 30.02 | 31.36 | 27.73 | 31.92 | 30.30 | 31.69 | 29.35 | 34.18 | 31.53 | 32.53 | 30.34 | 33.79 | 29.83 | 35.57 | 32.40 | 34.72 | 30.60 | 35.52 | 31.31 |
| PixArt-\(\alpha\) | 29.27 | 29.66 | 31.19 | 28.03 | 32.66 | 30.57 | 30.93 | 29.39 | 33.45 | 31.94 | 30.89 | 28.46 | 33.04 | 30.29 | 35.29 | 31.97 | 34.88 | 31.05 | 34.56 | 31.91 |
| SynGen | 31.14 | 25.08 | 31.38 | 23.07 | 29.32 | 24.31 | 29.94 | 23.24 | 32.88 | 25.68 | 29.73 | 22.79 | 31.25 | 22.42 | 31.87 | 22.19 | 32.67 | 24.27 | 33.13 | 26.92 |
| RPG | 29.98 | 26.89 | 30.33 | 24.85 | 32.04 | 27.29 | 29.90 | 26.68 | 32.84 | 29.85 | 30.31 | 25.37 | 32.50 | 26.97 | 34.18 | 29.57 | 34.06 | 27.28 | 34.84 | 29.45 |
| SD3.0 | 30.63 | 29.42 | 33.44 | 28.18 | 31.70 | 29.43 | 32.46 | 29.01 | 33.08 | 31.26 | 32.42 | 30.07 | 34.11 | 31.12 | 35.76 | 33.13 | 33.84 | 30.24 | 34.88 | 31.36 |
| R2F+SD3.0 | 30.84 | 29.22 | 32.15 | 28.08 | 33.17 | 30.01 | 31.62 | 29.11 | 33.02 | 30.28 | 33.08 | 28.97 | 33.52 | 28.74 | 34.79 | 31.37 | 34.06 | 29.58 | 35.28 | 31.38 |
| SD3.5 | 31.86 | 29.26 | 32.94 | 28.40 | 33.18 | 29.91 | 32.73 | 29.87 | 34.11 | 31.71 | 33.46 | 30.15 | 34.67 | 30.95 | 36.97 | 33.62 | 33.93 | 30.17 | 35.04 | 31.36 |
| Our+SD3.5 | 32.64 | 30.17 | 33.61 | 29.56 | 34.40 | 31.65 | 34.05 | 30.51 | 34.76 | 32.69 | 34.44 | 31.09 | 35.43 | 31.75 | 37.77 | 34.17 | 35.53 | 31.17 | 36.46 | 31.98 |
| Models | Single Object | Multi Objects | Extend | |||||||||||||||||
| Property | Shape | Texture | Action | Complex | Concat | Relation | Complex | Style | Scene | |||||||||||
| L | U | L | U | L | U | L | U | L | U | L | U | L | U | L | U | L | U | L | U | |
| SDXL | 66.5 | 72.5 | 69.5 | 80.0 | 75.0 | 73.5 | 56.5 | 63.5 | 79.0 | 71.0 | 59.5 | 72.0 | 46.0 | 69.5 | 68.0 | 69.0 | 93.0 | 79.0 | 64.0 | 68.0 |
| Our+SDXL | 82.0 | 76.0 | 70.5 | 86.0 | 84.5 | 79.5 | 72.5 | 70.0 | 80.0 | 74.5 | 60.0 | 75.0 | 52.5 | 72.5 | 68.5 | 75.5 | 95.5 | 82.5 | 65.0 | 76.0 |
| RealVisXL | 78.0 | 73.0 | 83.0 | 71.5 | 75.0 | 76.0 | 68.5 | 63.0 | 78.5 | 69.5 | 57.0 | 71.0 | 55.0 | 69.0 | 69.5 | 74.5 | 92.5 | 73.5 | 64.5 | 72.0 |
| Our+RealVisXL | 85.0 | 81.0 | 85.0 | 87.0 | 81.0 | 84.5 | 75.5 | 70.5 | 85.0 | 80.5 | 58.0 | 76.5 | 59.5 | 75.0 | 73.0 | 78.0 | 94.0 | 80.0 | 71.0 | 76.0 |
| SD1.5 | 58.5 | 45.5 | 58.5 | 46.5 | 49.0 | 48.5 | 44.0 | 37.5 | 52.0 | 49.0 | 37.5 | 36.0 | 35.5 | 40.5 | 33.5 | 36.5 | 80.5 | 67.5 | 46.0 | 65.5 |
| Flux | 78.5 | 79.0 | 81.0 | 81.1 | 63.0 | 68.5 | 75.0 | 69.0 | 85.5 | 77.0 | 76.5 | 77.5 | 75.5 | 72.5 | 82.5 | 79.0 | 94.5 | 80.0 | 68.0 | 77.5 |
| PixArt-\(\alpha\) | 69.0 | 78.0 | 77.5 | 75.5 | 80.5 | 73.5 | 83.0 | 66.5 | 80.5 | 73.5 | 53.0 | 71.0 | 51.0 | 69.5 | 68.0 | 74.0 | 95.0 | 73.5 | 65.5 | 73.0 |
| SynGen | 76.5 | 78.0 | 72.0 | 78.5 | 51.0 | 50.0 | 53.0 | 61.0 | 75.0 | 74.5 | 46.5 | 72.5 | 39.0 | 63.0 | 46.5 | 62.5 | 84.0 | 77.5 | 62.0 | 69.5 |
| RPG | 62.0 | 67.5 | 59.5 | 50.0 | 73.5 | 55.0 | 51.0 | 62.0 | 74.0 | 58.0 | 52.0 | 51.5 | 44.0 | 42.5 | 61.5 | 40.5 | 91.0 | 69.5 | 64.5 | 63.0 |
| SD3.0 | 70.0 | 77.5 | 87.5 | 73.0 | 62.0 | 78.0 | 71.0 | 67.0 | 80.0 | 77.0 | 68.0 | 79.5 | 72.0 | 73.5 | 78.0 | 75.0 | 92.5 | 77.5 | 61.5 | 72.0 |
| R2F+SD3.0 | 78.0 | 79.0 | 79.5 | 75.0 | 76.5 | 82.0 | 70.5 | 72.5 | 84.0 | 81.0 | 68.5 | 84.5 | 63.0 | 77.0 | 80.5 | 78.0 | 92.5 | 80.0 | 61.0 | 75.0 |
| SD3.5 | 80.0 | 81.0 | 78.5 | 71.0 | 77.0 | 73.5 | 76.5 | 72.0 | 84.0 | 81.0 | 77.0 | 88.0 | 74.0 | 79.5 | 86.0 | 79.0 | 91.5 | 80.5 | 64.5 | 74.0 |
| Our+SD3.5 | 93.0 | 91.5 | 89.5 | 92.0 | 90.5 | 91.0 | 91.0 | 93.0 | 91.5 | 91.0 | 87.0 | 95.5 | 76.5 | 85.0 | 88.0 | 88.5 | 96.0 | 97.5 | 74.5 | 87.5 |
As discussed in Sec. 2.3, the counterfactual guidance mechanism effectively alleviates the weakening of unusual attributes. However, during the actual denoising process, a large \(s_{\text{rare}}\) is often required to thoroughly enhance unusual attributes. Such high-intensity feature injection to activate these attributes easily breaks the shape of the target object, leading to severe shape distortions. To resolve this contradiction—enhancing unusual attributes while effectively maintaining the shape consistency of the object—this paper proposes the Temporal Morphological Fidelity Anchoring (TMFA) strategy.
The core idea of this strategy is to introduce a prior reference image to provide precise contour constraints for the generation process. To avoid background details and inherent texture interference caused by directly injecting raw RGB images [48], this paper extracts an edge map from a background-removed reference image as the conditional input. Furthermore, to prevent contour constraints from interfering with early global semantic layout initialization and late micro-texture generation [14], we strictly implement the edge condition injection within a specific timestep interval \([\tau_1 T, \tau_2 T]\). The mathematical expression is: \[C_{\text{img}}(t) = \begin{cases} \text{Edge}(\text{RemoveBG}(I_{\text{ref}})), & \text{if } t \in [\tau_1 T, \tau_2 T] \\ 0, & \text{otherwise} \end{cases}, \label{eq:tmfa95condition}\tag{14}\] where \(I_{\text{ref}}\) denotes the prior reference image. \(\text{RemoveBG}(\cdot)\) utilizes a salient object detection (SOD) model [49] to accurately separate the complex background, and \(\text{Edge}(\cdot)\) applies the Canny algorithm [50] to extract the structural contours of the entity. Through this precise temporal intervention mechanism, the TMFA strategy effectively anchors the structure of the object during the core denoising stage, while unleashing the generation freedom at both the early and late timesteps. This ensures that unusual attributes achieve sufficient visual expression without causing shape distortions.
We evaluate CI-Diff on datasets covering both single-object and multi-object rare concept generation. We adopt RareBench [18], the latest benchmark for rare concept alignment, comprising five single-concept categories (property, shape, texture, action, and complex) and three multi-concept combinatorial categories (concat, relation, and complex), with 40 text prompts per category. To further validate the generalization and superiority of our method across broader tasks, we additionally extend our evaluation to two test cases: style and scene. For evaluation metrics, we use CLIP-T [40] and HPSv2 [51] for text-image alignment, along with LLM scores and User Study to assess the generation quality of unusual attributes. All experiments are implemented in PyTorch on an NVIDIA A40 GPU. CI-Diff is plug-and-play and compatible with all mainstream diffusion models; we use SD3.5 [24] by default, 30 steps, and official hyper-parameters for fair comparison. Unless otherwise specified, the rare guidance scale is set to \(s_{\text{cfg}} = 5\) and the image intervention window for TMFA is set to \([\tau_1, \tau_2] = [0.1, 0.9]\). (Due to page limitations, more discussions about the implementation details are provided in Sec. 5 of the Appendix.)
Quantitative Comparison. To validate the superiority of CI-Diff, we perform a thorough comparison against state-of-the-art diffusion models for rare concept generation. We consider two groups of representative methods. The first group includes SD1.5 [22], SDXL-1.0 [23] (along with its fine-tuned version RealVisXL_V5), PixArt-\(\alpha\) [52], FLUX-schnell, and SD3.0 [24] (along with its fine-tuned version SD3.5). These models are pre-trained on massive conventional datasets, which leads to a strong common knowledge bias within the models. The second group consists of SynGen [53], RPG [30], and R2F [18], which primarily enhance unusual attributes of objects by controlling external guidance, but often introduce other problems during the generation process.The quantitative results summarized in Table. 1 and Table. 2 highlight our findings: CI-Diff outperforms its competitors across CLIP-T, HPSv2, LLM scores, and User Study metrics, achieving superior performance. Notably, the high LLM-based evaluation scores directly verify the outstanding advantage of our method in decoupling and enhancing the unusual attributes of objects. It is noteworthy that when CI-Diff is combined with SDXL-1.0 (along with its fine-tuned version RealVisXL_V5) or SD3.5, all metrics show significant improvements. This demonstrates that the core contribution of CI-Diff lies in unleashing and activating the model’s potential to generate unusual attributes, rather than solely relying on the parameter scale of the underlying base models. Furthermore, in two extended general task categories, namely Style and Scene, the proposed method consistently surpasses all comparative methods. This sufficiently validates the strong generalization capability of CI-Diff, enabling it to effectively adapt to many downstream tasks in the broader text-to-image generation domain.
Qualitative Comparison. To shed further more light on the observations, Fig. 5 showcases the visualization results of all compared methods on the RareBench dataset. It is evident that our proposed CI-Diff achieves superior performance in both the expression of unusual attributes and the shape consistency of the objects with the text prompts. Analysis reveals that images generated by foundation models pre-trained on massive conventional datasets, such as SDXL and FLUX-schnell, generally struggle to effectively manifest the unusual attributes of objects. This result validates our intuition in Sec. 1: models pre-trained on massive conventional datasets are deeply influenced by a strong common knowledge bias, which suppresses the expression of unusual attributes. Although R2F [18] attempts to guide the generation using common concepts, it also introduces a substantial amount of redundant information unrelated to unusual attributes, leading to shape distortions in the generated objects (e.g., the deformed monkfish in the property category and the distorted bicycle in complex). In contrast, CI-Diff successfully and naturally activates the synthesis of unusual attributes (e.g., a "smiling rose" in the action category) while perfectly maintaining the shape consistency of the generated objects. (Due to page limitations, see more high-resolution compared results in Fig. 14 and Sec. 6 of the Appendix .)
Discussion on Different Modules of CI-Diff. To validate the effectiveness of various modules in our CI-Diff, we perform an ablation study on the RareBench dataset with several variants: Case A: the pre-trained base model SD3.5; Case B: removing Eq. (13 ) and adopting Eq. (3 ) to calculate the predicted noise \(\epsilon_\theta\); Case C: removing the TMFA module from CI-Diff; Case D: the full CI-Diff method. As illustrated in Fig. 6 (a), our full CI-Diff model significantly outperforms Case A in terms of the LLM score, confirming that our CI-Diff can successfully decouple unusual attributes from text prompts and enhance them without compromising the original shape of the object.
Selection of \(\boldsymbol{p_{\text{common}}}\). This paper designs three types of common text prompts to compare with rare text prompts, aiming to explore which common text prompt can best achieve the decoupling of unusual attributes: 1) empty text; 2) irrelevant text (e.g., when the rare text prompt is “a hairy frog”, the common text prompt is set to “a car”); 3) subject-aligned common text (e.g., “a frog”). As shown in Fig. 6 (b), all three types of common text prompts improve the performance compared with the baseline model SD3.5. Nevertheless, the third type of text prompt achieves the best overall LLM scores. This demonstrates that by contrasting rare concepts with their corresponding subject-level common concepts, the model can successfully decouple unusual attributes, which further validates the effectiveness of Eq. (12 ).
Effects of \(s_{\text{rare}}\). To evaluate the impact of the rare guidance coefficient \(s_{\text{rare}}\), we vary its value from 0 to 9 and measured the LLM scores for each setting. As illustrated in Fig. 6 (c), the model achieved the optimal average performance across all categories at \(s_{\text{rare}} = 5\). To explore the underlying reasons for this phenomenon, we visualized the attention maps in Fig. 7 for analysis. The results show that at \(s_{\text{rare}} = 5\), the model can steadily and accurately focus on the correct regions corresponding to unusual attributes such as “hairy” and “marble”. Nevertheless, an excessively large \(s_{\text{rare}}\) causes the over-expression of unusual attributes, thereby suppressing the shape of objects. For instance, the morphological of the octopus becomes extremely blurry when \(s_{\text{rare}} = 9\). In addition, for text prompts of the “Shape” category, \(s_{\text{rare}} = 1\) achieves the best performance. This is attributed to the fact that the Temporal Morphological Fidelity Anchoring strategy (TMFA) can effectively constrain and maintain the shape consistency of objects. (Due to page limitations, more experimental analyses can be found in Sec. 7 of the Appendix.)
In this paper, we target the common knowledge bias issue in rare concept generation for diffusion models. Technically, we propose the counterfactual inference-based diffusion approach CI-Diff, which first introduces causal inference into the text-to-image rare concept generation task. By constructing causal graphs and counterfactual scenarios, we extract the natural direct effect to decouple unusual attributes from rare concepts, and reformulate the classifier-free guidance mechanism to map the causal effect of unusual attributes into the noise space for enhancement. Meanwhile, the Temporal Morphological Fidelity Anchoring strategy is devised to inject edge priors at specific timesteps, ensuring the shape consistency of generated objects while strengthening unusual attribute expression. Extensive experiments on the RareBench benchmark demonstrate the superiority of our training-free plug-and-play CI-Diff over state-of-the-art methods.
Acknowledgments This research is supported by Institute of Advanced Medicine and Frontier Technology (2023IHM01080), and sponsored by CCF-NetEase ThunderFire Innovation Research Funding (NO. CCF-Netease 202513); The computation is completed on the HPC Platform of Hefei University of Technology.
Due to page limitation of the mainbody, as indicated by our submission, the appendix offers further technical analysis, implementation details, and more qualitative results, which are summarized below:
Detailed implementation and experimental settings. including the CI-Diff algorithm (Algorithm [alg:cidiff]), the construction of extended evaluation categories, LLM-based scoring criteria, and the user study setup, as mentioned in Sec. 3.1 of the mainbody. (Sec. 5).
Additional qualitative analysis for rare concept generation, including more generation results of CI-Diff on the RareBench dataset and further comparisons with state-of-the-art (SOTA) methods, as mentioned in Sec. 3.2 of the mainbody . (Sec. 6).
Additional Ablation Study, including the exploration of the injection timestep interval \([\tau_1 T, \tau_2 T]\) in the TMFA strategy and the quantitative evaluation of inference efficiency (latency and memory usage), as mentioned in Sec. 3.3 of the mainbody. (Sec. 7).
Additional Discussions, including the clarification of the construction rule for \(p_{common}\) and the analysis of inherent limitations of our proposed method. (Sec. 8).
\(p_{\text{rare}}\): rare text prompt; \(p_{\text{common}}\): common text prompt; \(I_{\text{ref}}\): subject reference image; \(s_{\text{cfg}}\): CFG guidance scale; \(s_{\text{rare}}\): rare guidance scale; \(S\): random seed; \(DM\): Stable Diffusion model; \(\tau_1, \tau_2\): injection interval. \(I_{\text{gen}}\): generated image aligned with the rare text prompt.
Sample standard Gaussian noise \(z_T \sim \mathcal{N}(0, 1)\) using random seed \(S\); \(I_{\text{ref}}^* \leftarrow \text{Edge}(\text{RemoveBG}(I_{\text{ref}}))\); // Extract morphological structure
\(C_i \leftarrow I_{\text{ref}}^*\); // Inject edge constraints \(C_i \leftarrow \text{None}\);
\(\epsilon_{\text{rare}}, \epsilon_{\text{normal}}, \epsilon_{\emptyset} \leftarrow\) Predict noises via \(DM(z_t, t, p_{\text{rare}}, C_i)\) and \(DM(z_t, t, p_{\text{common}}, C_i)\);
\(\hat{\epsilon}_{\text{CFG}} \leftarrow s_{\text{cfg}} \cdot \epsilon_{\text{rare}} + (1 - s_{\text{cfg}}) \cdot \epsilon_{\emptyset}\); // Standard CFG \(\hat{\epsilon}_{\text{NDE}} \leftarrow s_{\text{rare}} \cdot (\epsilon_{\text{rare}} - \epsilon_{\text{normal}})\); // Counterfactual Accentuation \(\tilde{\epsilon}_\theta \leftarrow \hat{\epsilon}_{\text{CFG}} + \hat{\epsilon}_{\text{NDE}}\); \(z_{t-1} \leftarrow \text{SamplerStep}(z_t, \tilde{\epsilon}_\theta, t)\); // Update latent
Return \(I_{\text{gen}} \leftarrow \text{Decoder}(z_0)\);
Construction of Extended Evaluation Categories. To verify the generalization capability of CI-Diff, we leverage the multimodal large language model Qwen2.5-VL-7B-Instruct to construct two novel categories, Style and Scene, by mimicking the rare concept of the RareBench [18] benchmark. Each category consists of 40 text prompts, maintaining a sample scale consistent with the original RareBench categories. The specific instructions provided to the model are as follows:
You are my assistant responsible for imitating the style of the RareBench rare concept generation dataset to construct 40 high-quality and diverse text prompts for text-to-image generation tasks, focusing on rare/uncommon styles and scenes. Please provide specific text descriptions according to the following requirements:
Style text prompts: Each text prompt focuses on a rare, niche, and distinctive artistic, painting, rendering, or visual expression style, avoiding common popular styles. Examples: A playful fox cub in pixel art game style; An elephant in wooden sculpture.
Scene text prompts: Each text prompt describes a rare, unconventional, and challenging scene with details of space, atmosphere, and object relationships, avoiding ordinary daily scenes. Examples: A penguin waddling in the desert; A bee building a nest in a space capsule.
The qualitative generation results of CI-Diff on these two extended categories are illustrated in Fig. 8 and Fig. 9. As depicted in Fig. 8, CI-Diff excels in rendering diverse niche artistic styles with high precision, such as a house in sticker style or A scarecrow in a minimal origami style. For the Scene category, as shown in Fig. 9, our method successfully synthesizes high-quality images even when the subjects and environments are highly unconventional or conflicting (e.g., A penguin waddling in the desert or A mole digging holes in the high-altitude clouds). These results further substantiate the arguments presented in Sec. 3.2, demonstrating that CI-Diff is not only effective for rare concept generation but also is versatile for various downstream tasks within the broader text-to-image generation landscape.
LLM Scoring. Many existing evaluation metrics fail to accurately assess the specific unusual attributes embedded within rare concepts. For instance, standard metrics such as CLIP-T and HPSv2 primarily focus on overall text-image alignment but lack the capability to evaluate unusual attributes explicitly. To address this, we leverage the advanced multimodal model Qwen2.5-VL-7B-Instruct as an automated evaluator, focusing on two critical dimensions: the presentation degree of unusual attributes and the structural integrity of the main subject. Given the generated image and the corresponding rare text prompt, the model is required to assign a score from 1 to 5 according to the criteria defined below. These scores are ultimately linearly mapped to a 0–100 scale. The evaluation prompt is provided as follows:
You are my assistant to evaluate the correspondence of an image to a given text prompt. Focus on the objects in the image and their attributes (such as color, shape, texture), spatial layout, and action relationships. Evaluate how well the image aligns with the text prompt based on the following scale:
5: The image perfectly matches the content of the text prompt, with no discrepancies.
4: The image portrays most of the actions, events, and relationships, but with minor discrepancies.
3: The image depicts some elements from the text prompt, but ignores key parts or details.
2: The image does not depict any actions or events that match the text.
1: The image fails entirely to convey the scope of the text prompt.
User Study. To further evaluate the representation of unusual attributes, we conducted a comprehensive user study. We randomly selected 5 texts from each of the eight original categories in RareBench (Property, Shape, Texture, Action, Single-object Complex, Concat, Relation, and Multi-object Complex) and our two extended categories (Style and Scene), resulting in a total of 50 evaluation samples. Ten independent volunteers were invited to participate in the study. Each participant was tasked with scoring the generated images on a scale of 1 to 5 based on two key criteria: 1) Does the image accurately present the unusual attributes described in the prompt? 2) Is the main subject’s structure clear and free from unreasonable morphological distortions? Finally, to ensure a standardized comparison, these 1–5 ratings were linearly mapped to a 0–100 scale.
Extended Qualitative Analysis on the SD3.5 Backbone. We provide additional qualitative generation results of the proposed CI-Diff method using the SD3.5 backbone in Fig. 10. These visualizations, spanning various categories in the RareBench dataset, further underscore the robust performance and superior expressive capability of our method in accurately manifesting unusual attributes within rare concept generation tasks.
Qualitative Comparison on the SDXL Backbone. For a fair comparative analysis, we unify the backbone model to SDXL for all competing methods. The qualitative results of vanilla SDXL [23], RPG-SDXL [18], R2F-SDXL [30], and our CI-Diff (based on SDXL) are illustrated in Fig. 11. As shown in the figure, CI-Diff achieves superior generation performance among all compared approaches. Specifically, our method accurately renders unusual attributes; for instance, in the case of “a hairless sheep,” only CI-Diff successfully synthesizes the image as described. Furthermore, our approach effectively preserves the structural integrity and morphological consistency of the subjects. In contrast, for prompts such as “a wooly banana” and “a zebra-striped duck,” the images generated by SDXL, RPG, and R2F suffer from significant shape distortions, failing to maintain the essential structure of the main subjects.
Inference Efficiency Analysis. To further validate the efficiency advantages of our CI-Diff method, we conduct an additional ablation study focusing on inference performance. All methods in this evaluation are built upon the SDXL backbone to ensure fairness. We assess two critical metrics for practical deployment: average inference time per image and peak video memory (VRAM) consumption. As presented in Table. 3, our CI-Diff achieves an excellent trade-off between generation quality and computational efficiency. Compared to the resource-heavy RPG+SDXL and R2F+SDXL, our method drastically reduces both time cost and memory usage. Compared to the vanilla SDXL, although CI-Diff introduces additional computational overhead, it successfully enables the generation of rare concepts, thereby proving its high practicality for real-world applications.
| Method | Time (s) | VRAM (GB) | Method | Time (s) | VRAM (GB) |
|---|---|---|---|---|---|
| SDXL | 6.38 | 10.49 | RPG + SDXL | 32.62 | 35.14 |
| R2F + SDXL | 38.03 | 44.77 | CI-Diff + SDXL | 12.94 | 19.69 |
0pt 0pt
| Metric: LLM-Score \(\uparrow\) | Property | Concat | Scen | Metric: LLM-Score \(\uparrow\) | Property | Concat | Scen |
|---|---|---|---|---|---|---|---|
| SD 3.5 (Base) | 80.0 | 77.0 | 64.5 | High CFG Scale (\(s_{cfg}\)=10) | 84.5 | 74.5 | 63.5 |
| Negative Prompt (\(P_{common}\)) | 79.5 | 66.5 | 64.0 | Attention Boosting | 85.5 | 82.5 | 69.5 |
| CI-Diff | 93.0 | 87.0 | 74.5 | - | - | - | - |
0pt 0pt
| Method | Img | Seg | Seg+Gray | Seg+Noise | Seg+Edge |
|---|---|---|---|---|---|
| property | 91.0 | 91.0 | 93.0 | 92.5 | 93.0 |
| shape | 80.5 | 83.0 | 80.5 | 83.0 | 89.5 |
| texture | 88.5 | 89.0 | 89.0 | 89.5 | 90.5 |
| action | 89.0 | 90.5 | 89.0 | 89.5 | 91.0 |
| Interval | (0, 0) | (0, 1) | (0.1, 0.9) | (0.2, 0.8) | (0.3, 0.7) | (0.4, 0.6) |
|---|---|---|---|---|---|---|
| property | 89.5 | 91.0 | 93.9 | 90.5 | 89.5 | 89 |
| shape | 85.0 | 86.5 | 89.5 | 76.5 | 72.5 | 72.5 |
| texture | 87.0 | 90.0 | 90.5 | 86.5 | 86.5 | 87.5 |
| action | 89.5 | 90.5 | 91.0 | 90.0 | 90.5 | 90.0 |
Different Guidance Strategies. To verify the superiority of our counterfactual guidance scheme, we compare five distinct generation guidance strategies: (1) SD3.5 baseline; (2) taking the subject-aligned common prompt \(p_{common}\) as negative prompt; (3) increasing the classifier-free guidance (CFG) scale; (4) amplifying the cross-attention weights corresponding to atypical attributes within rare prompts; (5) our full CI-Diff method. Table. 4 presents the quantitative comparison results among the three alternative guidance strategies and CI-Diff. As can be observed from the table, simply utilizing negative prompts to distinguish common and rare concepts or merely raising the CFG guidance scale cannot effectively decouple and enhance unusual attributes, and their generation performance is obviously inferior to CI-Diff. These results sufficiently demonstrate that our counterfactual-inference-based guidance strategy achieves superior performance on rare concept generation tasks.
Importance of TMFA. This section mainly investigates the impact of injecting different types of image features in the TMFA module on the final generated images. We compare the following injection forms: original RGB images, background-removed RGB images, background-removed grayscale images, noise maps, and edge maps. The results of the “Shape” category in Table. 5 demonstrate that injecting background-removed edge maps achieves significantly better performance than other types of images. This confirms that during the image generation process, edge maps can not only effectively constrain the object shape but also do not interfere with the expression of unusual attributes, which is fully consistent with our theoretical analysis in Sec. 2.4.
Ablation Study on TMFA Time-step Intervals. We conduct a comprehensive qualitative and quantitative assessment of the injection time-step interval \([\tau_1 T, \tau_2 T]\) within the TMFA strategy. Six distinct interval configurations are investigated: \([\tau_1, \tau_2] \in\) . As indicated by the quantitative results in Table 6, the LLM-based composite score peaks within the \([0.1, 0.9]\) interval. Visualizations in Fig. 12 further demonstrate that imposing edge constraints throughout the entire denoising process (i.e., \([0, 1]\)) compromises the overall generation quality. Conversely, excessively narrowing the interval (e.g., from \([0.2, 0.8]\) to \([0.4, 0.6]\)) results in an insufficient effective duration for morphological anchoring, thereby failing to maintain structural stability.
The clarification on the construction of \(P_{\text{common}}\). As stated in Sec. 2.2, rare text prompts generally consist of uncommon combinations of adjective attributes and noun subjects. Accordingly, we can extract the noun subjects to construct the common prompt \(P_{\text{common}}\). For instance, given the prompt “A hairy frog is sitting on top of a spotted lizard”, \(P_{\text{common}}\) is “A frog and a lizard”. This strategy is simple and highly flexible.
Discussion on limitations. As stated in Sec. 1, CI-Diff enhances the representation of rare attributes by disentangling them from rare text prompts, thereby enabling generalization to arbitrary sentence structures, as illustrated in Fig. 13 (a). However, CI-Diff struggles to generate satisfactory images for abstract concepts, e.g., “feeling” and “aura” in Fig. 13 (b), since CI-Diff primarily focuses on rare text prompts whose rarity arises from uncommon combinations of common adjective attributes and noun subjects.