Financial Models in Generative Art: Black-Scholes-Inspired Concept Blending in Text-to-Image Diffusion

Divya Kothandaraman, Ming C. Lin, Dinesh Manocha · DOI

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.

Figure 2: Qualitative comparison of concept blending methods across four distinct prompt sets, demonstrating the superior balance and realism of the Black-Scholes approach.

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.

Figure 6: Detailed row comparison for the "Times Square" prompt set, showing how different algorithms handle the transition between a corgi and a penguin.

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

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, including linear interpolation, alternating prompts, step-wise prompt switching, and CLIP-guided prompt selection across various scenarios such as single object per text prompt, multiple objects per text prompt and objects against backgrounds. Our work shows that financially inspired techniques can enhance text-to-image concept blending in generative AI, paving the way for broader innovation. Code is available at https://github.com/divyakraman/BlackScholesDiffusion2024.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
concept blendingBlack ScholesCLIP-combined0.3469backbone=CLIP
Source quote
L267: Black Scholes │ {\bf 0.3469} │ {\bf 0.3112} │ {\bf 0.3912} │ {\bf 0.01531} │ {\bf 100} │ {\bf 14} │ {\bf 0.00389} │ {\bf 7.7}
concept blendingAlt. Samp.CLIP-combined0.3445backbone=CLIP
Source quote
L264: Alt. Samp.~\cite{kothandaraman2023aerial} │ 0.3445 │ 0.3098 │ 0.3894 │ 0.01786 │ 100 │ 14 │ 0.00389 │ 7.7
concept blendingBlack ScholesBLIP ⊙ DINO0.3912Table-level result with no scenario-specific breakdown reported; pretrained Stable Diff…
Source quote
L267: Black Scholes │ {\bf 0.3469} │ {\bf 0.3112} │ {\bf 0.3912} │ {\bf 0.01531} │ {\bf 100} │ {\bf 14} │ {\bf 0.00389} │ {\bf 7.7}
concept blendingAlt. Samp.BLIP ⊙ DINO0.3894Table-level result with no scenario-specific breakdown reported; pretrained Stable Diff…
Source quote
L264: Alt. Samp.~\cite{kothandaraman2023aerial} │ 0.3445 │ 0.3098 │ 0.3894 │ 0.01786 │ 100 │ 14 │ 0.00389 │ 7.7
concept blendingBlack ScholesKID (↓)0.01531Table-level result with no scenario-specific breakdown reported; pretrained Stable Diff…
Source quote
L267: Black Scholes │ {\bf 0.3469} │ {\bf 0.3112} │ {\bf 0.3912} │ {\bf 0.01531} │ {\bf 100} │ {\bf 14} │ {\bf 0.00389} │ {\bf 7.7}
concept blendingCLIP Min.KID (↓)0.00866backbone=CLIP
Source quote
L265: CLIP Min. │ 0.3195 │ 0.2955 │ 0.3107 │ 0.00866 │ 100 │ 14 │ 0.00389 │ 7.7
BibTeX
@misc{kothandaraman2024financial,
  author = {Divya Kothandaraman and Ming C. Lin and Dinesh Manocha},
  title = {{Financial Models in Generative Art: Black-Scholes-Inspired Concept Blending in Text-to-Image Diffusion}},
  year = {2024},
  eprint = {2405.13685},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.13685},
}
Figure