VSC: Visual Search Compositional Text-to-Image Diffusion Model
Do Huu Dat, Nam Hyeonu, Po-Yuan Mao, Tae-Hyun Oh
TL;DR
This work tackles the challenge of accurately binding multiple attribute-object pairs in text-to-image diffusion by decomposing prompts into per-pair subprompts, generating reference images for each pair, and constructing visual prototypes that augment text conditioning through a trainable MLP. A segmentation-guided local attention loss aligns cross-attention maps with object regions, addressing misalignment that plagues prior methods. Evaluations on the T2I-CompBench benchmark show state-of-the-art performance across color, texture, and shape attributes, with strong human judgments of image quality, and evidence of data-scale and transferability benefits. The approach remains tuning-free for the diffusion backbone, scales effectively with prompt complexity, and offers practical improvements for compositional image synthesis in real-world applications.
Abstract
Text-to-image diffusion models have shown impressive capabilities in generating realistic visuals from natural-language prompts, yet they often struggle with accurately binding attributes to corresponding objects, especially in prompts containing multiple attribute-object pairs. This challenge primarily arises from the limitations of commonly used text encoders, such as CLIP, which can fail to encode complex linguistic relationships and modifiers effectively. Existing approaches have attempted to mitigate these issues through attention map control during inference and the use of layout information or fine-tuning during training, yet they face performance drops with increased prompt complexity. In this work, we introduce a novel compositional generation method that leverages pairwise image embeddings to improve attribute-object binding. Our approach decomposes complex prompts into sub-prompts, generates corresponding images, and computes visual prototypes that fuse with text embeddings to enhance representation. By applying segmentation-based localization training, we address cross-attention misalignment, achieving improved accuracy in binding multiple attributes to objects. Our approaches outperform existing compositional text-to-image diffusion models on the benchmark T2I CompBench, achieving better image quality, evaluated by humans, and emerging robustness under scaling number of binding pairs in the prompt.
