DOS: Directional Object Separation in Text Embeddings for Multi-Object Image Generation
Dongnam Byun, Jungwon Park, Jungmin Ko, Changin Choi, Wonjong Rhee
TL;DR
This work tackles the failure of text-to-image models to faithfully render prompts containing multiple objects, caused by inter-object relationships. It introduces DOS, a lightweight method that computes directional separation vectors from pairwise object embeddings and injects them into three CLIP text embedding types (semantic token, EOT, and pooled) to promote object separation without modifying the generation process. By weighting separations with adaptive strengths derived from shape/texture and background cues, DOS significantly improves success rates and reduces object mixing across four benchmark scenarios, while maintaining fast inference comparable to baseline models. Human evaluations and cross-model validation corroborate the robustness and practical impact of the approach, including compatibility with SDXL and SD3.5 and potential synergy with latent-modification methods like Attend-and-Excite.
Abstract
Recent progress in text-to-image (T2I) generative models has led to significant improvements in generating high-quality images aligned with text prompts. However, these models still struggle with prompts involving multiple objects, often resulting in object neglect or object mixing. Through extensive studies, we identify four problematic scenarios, Similar Shapes, Similar Textures, Dissimilar Background Biases, and Many Objects, where inter-object relationships frequently lead to such failures. Motivated by two key observations about CLIP embeddings, we propose DOS (Directional Object Separation), a method that modifies three types of CLIP text embeddings before passing them into text-to-image models. Experimental results show that DOS consistently improves the success rate of multi-object image generation and reduces object mixing. In human evaluations, DOS significantly outperforms four competing methods, receiving 26.24%-43.04% more votes across four benchmarks. These results highlight DOS as a practical and effective solution for improving multi-object image generation.
