Blending concepts with text-to-image diffusion models

Lorenzo Olearo, Giorgio Longari, Alessandro Raganato, Rafael Peñaloza, Simone Melzi

TL;DR

This paper investigates how text-to-image diffusion models can be "hacked" to blend two distinct concepts—like a "lion-cat" or a "turtle-broccoli"—into a single, coherent visual entity without any additional training or fine-tuning. By comparing four different zero-shot blending strategies, the researchers demonstrate that while models like Stable Diffusion possess remarkable creative potential, the success of a blend is highly sensitive to the specific blending technique, prompt ordering, and the random noise seed.

What Problem Does This Paper Address?

Human creativity often involves "conceptual blending"—the ability to take two unrelated ideas (like a "horse" and a "horn") and synthesize them into a new, coherent concept (a "unicorn"). While modern AI models are excellent at generating high-fidelity images of single concepts, they often struggle to merge two distinct ideas into one object. Usually, they either generate the two objects side-by-side or ignore one prompt entirely.

Existing solutions often rely on heavy prompt engineering (describing the hybrid in detail) or fine-tuning the model on specific datasets. This paper asks: Can we achieve conceptual blending purely through architectural interventions during the inference process? The goal is to find a "zero-shot" way to navigate the model's internal latent space to find the "in-between" of two concepts.

Methods

The authors evaluate four distinct strategies for intervening in the Stable Diffusion (v1.4) pipeline:

  1. TEXTUAL (Latent Interpolation): This method takes the text embeddings of two prompts and creates a weighted average (linear interpolation) before feeding it into the model. It is the only "symmetric" method, meaning the order of the prompts doesn't change the result.
  2. SWITCH (Temporal Switching): The model begins the denoising process using prompt A and, at a specific timestep $m$, abruptly switches to prompt B. The idea is that early steps define the global shape, while later steps fill in the fine details.
  3. ALTERNATE (Temporal Alternation): The model alternates between prompt A and prompt B at every timestep (or every $m$ steps). This "weaves" the features of both concepts together throughout the entire generation process.
  4. UNET (Spatial Conditioning): This method exploits the U-Net architecture. Prompt A is fed into the encoder and bottleneck layers (responsible for structure), while prompt B is fed into the decoder layers (responsible for surface details and style).

Datasets

The researchers didn't use a standard training dataset; instead, they created a diverse evaluation benchmark consisting of 22 concept pairs across five categories:

  • Same Class: Closely related objects (e.g., owl-tiger, avocado-pineapple).
  • Different Class: Visually distinct objects (e.g., turtle-broccoli, rocket-carrot).
  • Compound Words: Concepts that form a new word (e.g., butter-fly, tea-pot).
  • Concept and Style: Merging a subject with a famous painting style (e.g., A portrait of a man + Starry Night).
  • Architecture: Blending iconic landmarks (e.g., Leaning Tower of Pisa + Big Ben).

The results were validated through a user study involving 100 participants who ranked the generated images based on how well they captured a "coherent hybrid."

Key Insights and Ideas

  • The Asymmetry of Blending: Except for the TEXTUAL method, prompt order matters immensely. In SWITCH and UNET, the first prompt usually dictates the "base" structure, while the second acts as a "modifier." Reversing them can result in a completely different image (e.g., an eagle with peacock feathers vs. a peacock with an eagle's beak).
  • The "Cartoonification" Trap: If the SWITCH method changes prompts too late in the process, the model struggles to reconcile the new prompt with the existing structure, often resulting in a loss of high-frequency detail and a "flat," cartoon-like appearance.
  • Embedding Space Limitations: The TEXTUAL method (interpolation) was the least preferred by users. This suggests that the CLIP embedding space used by Stable Diffusion isn't strictly linear; the "midpoint" between two concepts in vector space doesn't always map to a visual "midpoint."
  • Emergent Associations: In one striking example, blending "bull" and "pit" using the UNET method produced an image resembling a Pitbull dog, even though the prompts referred to the animal and a hole in the ground. This reveals the deep, sometimes unintended, semantic associations buried within the model's training data.

Key Results

  • Top Performers: ALTERNATE and SWITCH were the most preferred methods overall, statistically tied for first place. They were particularly effective at merging visually distant concepts.
  • Category Winners: TEXTUAL performed best in the "Same Class" category, where concepts were already semantically close. UNET was highly effective for "Concept and Style" transfers, successfully separating structure from artistic texture.
  • Statistical Significance: The user study showed a clear hierarchy: ALTERNATE & SWITCH > UNET > TEXTUAL.

Limitations and Future Work

  • Seed Sensitivity: The success of a blend is highly dependent on the random noise seed. A method might produce a perfect hybrid with one seed and a complete failure with another.
  • Model Version: The study used Stable Diffusion v1.4. The authors note that newer, more powerful models like SDXL might handle these interventions differently or more robustly.
  • Prompt Complexity: The study focused on single-word or very short prompts. How these methods scale to complex, multi-sentence descriptions remains an open question.
  • Future Directions: The authors suggest exploring "multi-step" blending (merging more than two concepts) and incorporating symbolic constraints to ensure specific features (like "wings" or "wheels") are preserved in the blend.

Summary updated

BibTeX
@article{olearo2026blending,
  author = {Lorenzo Olearo and Giorgio Longari and Alessandro Raganato and Rafael Peñaloza and Simone Melzi},
  title = {{Blending concepts with text-to-image diffusion models}},
  journal = {Discov. Artif. Intell.},
  year = {2026},
  doi = {10.1007/s44163-026-01134-1},
}
Figure