Abstract
Customized text-to-image generation has seen significant progress in synthesizing single subjects. However, scaling these methods to multiple user-defined concepts remains a challenge due to identity mixing, quality degradation, and exponential computational costs. We present LATEXBLEND, a novel framework that performs multi-concept blending in a specialized Latent Textual space. By representing concepts as compact latent features and integrating them late in the textual pipeline, LATEXBLEND achieves linear scalability and high-fidelity generation of complex scenes with multiple subjects.
Introduction
Customized text-to-image generation—the ability to teach a model a specific subject from a few reference photos—is highly effective for single objects but notoriously difficult for multi-subject scenes. When attempting to blend multiple custom subjects, models often suffer from denoising deviation, where the customized model drifts away from the natural image structures learned during pre-training. This leads to "identity mixing" (where subjects' features bleed into one another), concept omission, or rigid, memorized layouts that fail to handle complex interactions.
Furthermore, existing methods often require joint training of all concepts together, leading to computational bloat that scales exponentially as more subjects are added. LATEXBLEND addresses these issues by rethinking how and where concepts are integrated into the diffusion process.
Methods: Latent Textual Blending
The core innovation of LATEXBLEND is moving the integration of concepts to the Latent Textual space, positioned after the text encoder but before the heavy cross-attention layers.
Compact Concept Representation ($h_c$)
Instead of fine-tuning the entire model, LATEXBLEND represents each concept as a compact set of latent textual features. During training, a "base flow" (frozen) is used alongside a "learnable branch" to force all unique subject information into these specific features. This ensures that the model's prior knowledge of scene structure remains intact.
Blending and Guidance
At inference time, these compact representations are "plugged into" a standard prompt. Because this happens late in the textual pipeline, concepts do not interfere with each other's early processing, preserving coherent layouts. To further prevent identity bleeding, the authors introduce a Blending Guidance mechanism. This uses two terms: one to ensure a concept stays bound to its semantic class (e.g., ensuring a specific dog actually looks like a dog) and another to minimize spatial overlap between different custom subjects.
Key Insights
- The "Sweet Spot" for Blending: The Latent Textual space is deep enough to capture the essence of a custom subject but shallow enough that blending multiple subjects doesn't cause the massive computational overhead seen in model-merging approaches.
- Preserving the Prior: By blending late, LATEXBLEND allows the pre-trained model to utilize its original knowledge of scene composition, significantly reducing the "stiff" look common in other customized generation methods.
- Linear Scalability: LATEXBLEND treats concepts as modular building blocks. Each concept is trained once and stored in a "Concept Bank," allowing them to be combined instantly at inference time without further training.
Key Results
LATEXBLEND demonstrates superior performance across both quantitative and qualitative metrics:
- Efficiency: Fine-tuning costs increase linearly with the number of concepts, whereas competitive baselines often show exponential growth.
- Quantitative Superiority: In benchmarks for "Concept Alignment" and "Textual Alignment," LATEXBLEND substantially outperformed baselines such as Mix-of-Show, OMG, and MuDI.
- Complex Scene Generation: The model excels at generating scenes with five or more distinct customized concepts—a task that typically causes other models to collapse.
Conclusion and Future Work
LATEXBLEND represents a significant step forward in multi-concept customization. While highly effective, the authors note that the model can still struggle with extremely lengthy prompts describing intricate spatial relationships. Future work may involve exploring more sophisticated guidance techniques or integrating LATEXBLEND with larger base models like SDXL to further push the boundaries of high-fidelity, multi-subject synthesis.
Summary updated