Introduction
Text-to-image (T2I) models like Stable Diffusion frequently struggle with multi-object prompts, often resulting in "concept dominance" or "feature bleeding." For instance, a request for "a cat and a dog" might yield a hybrid creature or omit one subject entirely. Multi-Concept T2I-Zero addresses these failures by surgically modifying text embeddings without requiring retraining or expensive inference-time guidance.
The Core Problem: Encoding Bottlenecks
The authors identify two main issues within the text encoder (CLIP) that lead to generation failures:
- Concept Dominance: High-norm embeddings cause the model to prioritize certain words, neglecting others based on their mathematical weight.
- Non-localized Contribution: Semantic features often leak into "null" or padding tokens, scattering object information across the embedding space rather than concentrating it on the relevant token. This leads to blurry or missing objects in the final image.
Methodology
T2I-Zero employs a two-pronged, training-free approach to modify text embeddings before they enter the diffusion process:
- Correction by Similarities: This algorithm identifies tokens semantically similar to the target concept and "re-collects" drifted features back into the main concept token using cosine similarity and windowing functions to localize influence.
- Cross-Token Non-Maximum Suppression (NMS): Borrowed from computer vision detection, NMS suppresses weaker signals in overlapping attention maps. This forces the model to assign distinct spatial regions to different objects, preventing the creation of hybrid "monsters."
Results and Discussion
Comparison of T2I-Zero against baseline models across various multi-concept tasks, including object disentanglement and image editing. Source, p. 1
The method achieves superior disentanglement at zero extra computational cost. As shown in the qualitative comparisons, T2I-Zero successfully separates distinct entities (e.g., a teddy bear and a gray wolf) where standard Stable Diffusion produces hybrids. Furthermore, it enhances image editing and personalization, maintaining subject identity better than specialized methods like Custom Diffusion or Prompt2Prompt.
Conclusion and Future Work
By recognizing that generation failures often stem from the text encoder rather than the image generator, T2I-Zero provides a high-leverage, low-cost solution for complex multi-concept generation. While highly effective for 2-3 concepts, future work will focus on automating token selection and handling more complex spatial relationships involving five or more distinct objects.
Summary updated