Abstract
We introduce a novel approach for concept blending in pretrained text-to-image diffusion models, aiming to generate images at the intersection of multiple text prompts. At each time step during diffusion denoising, our algorithm forecasts predictions w.r.t. the generated image and makes informed text conditioning decisions. Central to our method is the unique analogy between diffusion models, which are rooted in non-equilibrium thermodynamics, and the Black-Scholes model for financial option pricing. By drawing parallels between key variables in both domains, we derive a robust algorithm for concept blending that capitalizes on the Markovian dynamics of the Black-Scholes framework. Our text-based concept blending algorithm is data-efficient, meaning it does not need additional training. Furthermore, it operates without human intervention or hyperparameter tuning. We highlight the benefits of our approach by comparing it qualitatively and quantitatively to other text-based concept blending techniques across various scenarios.
Introduction
In the rapidly evolving field of generative AI, "concept blending" (or prompt mixing) remains a significant challenge. The goal is to create a single image that synthesizes distinct ideas—for example, merging a "parrot" with a "pizza." While state-of-the-art diffusion models are powerful, they often struggle with this task. Simple methods like linear interpolation of text embeddings often fail due to the non-linear nature of the latent space, while techniques like alternating prompts or step-wise switching typically require tedious manual hyperparameter tuning to avoid artifacts or the total omission of one concept.
Methodology: The Black-Scholes Analogy
The core innovation of this research is the Black-Scholes Analogy. The authors identified that both diffusion models (grounded in non-equilibrium thermodynamics) and the Black-Scholes model (used to price financial options) share a common mathematical foundation in Stochastic Differential Equations (SDEs).
By mapping financial variables to the diffusion process, the researchers created a dynamic decision-making framework:
- Spot Price ($S$): The current CLIP score, measuring how well the evolving image aligns with a specific text prompt.
- Strike Price ($K$): The target alignment score the model aims to reach by the end of the process.
- Time to Expiration ($t$): The number of remaining denoising steps.
- Volatility ($\sigma$): The variance inherent in the diffusion scheduler at that specific step.
The Algorithm: At every denoising step, the model "forecasts" the final image's alignment. It calculates a Black-Scholes score for each input prompt. The prompt with the lowest score—the one currently "underperforming" or requiring the most optimization effort—is selected to condition the next step of the denoising process. This reactive prioritization ensures a balanced composite without manual intervention.
Experimental Results
The method was evaluated using a Stable Diffusion 2.1 backbone across four scenarios: single objects, multiple objects, objects against complex backgrounds, and global styles.
As illustrated in Figure 2, the Black-Scholes approach consistently outperforms baselines. Quantitatively, it achieved the highest CLIP-combined score (0.3469) and the best FID/KID scores (0.01531), indicating superior text alignment and image realism. Unlike vanilla Stable Diffusion, which might ignore one prompt entirely, the Black-Scholes method preserves fine-grained features from both concepts.
Case Study: Actions and Backgrounds
Blending objects while maintaining a specific scene context is particularly difficult. Figure 6 shows a detailed comparison for Prompt Set 3, where a corgi and a penguin are blended within a Times Square setting.
Conclusion and Future Work
This work demonstrates that financially inspired techniques can significantly enhance text-to-image concept blending. The method is zero-shot, requiring no retraining or fine-tuning. While currently constrained by Gaussian noise assumptions and the computational cost of per-step CLIP scoring, it paves the way for more automated and robust generative AI workflows. Future research will focus on scaling this approach to more complex scenes and non-Gaussian diffusion processes.
Summary updated