Magnet: We Never Know How Text-to-Image Diffusion Models Work, Until We Learn How Vision-Language Models Function
Chenyi Zhuang, Ying Hu, Pan Gao
TL;DR
This work identifies attribute bias and padding-context entanglement in CLIP-based text encodings as key culprits behind improper attribute binding in text-to-image diffusion models. It introduces Magnet, a training-free method that uses positive and negative binding vectors, augmented by a neighbor-guided estimation strategy, to disentangle object-attribute bindings within the textual space. Through human-centric evaluations on ABC-6K and CC-500, Magnet improves synthesis quality and attribute alignment with minimal computational overhead, enabling anti-prior and unconventional concept generation. The approach is modular, compatible with optimization-based controls, and broad in applicability across CLIP-based encoders, offering a practical path to more faithful T2I synthesis. Overall, Magnet advances understanding of text_encoder influences on diffusion generation and provides a scalable, plug-and-play solution for robust attribute binding.
Abstract
Text-to-image diffusion models particularly Stable Diffusion, have revolutionized the field of computer vision. However, the synthesis quality often deteriorates when asked to generate images that faithfully represent complex prompts involving multiple attributes and objects. While previous studies suggest that blended text embeddings lead to improper attribute binding, few have explored this in depth. In this work, we critically examine the limitations of the CLIP text encoder in understanding attributes and investigate how this affects diffusion models. We discern a phenomenon of attribute bias in the text space and highlight a contextual issue in padding embeddings that entangle different concepts. We propose \textbf{Magnet}, a novel training-free approach to tackle the attribute binding problem. We introduce positive and negative binding vectors to enhance disentanglement, further with a neighbor strategy to increase accuracy. Extensive experiments show that Magnet significantly improves synthesis quality and binding accuracy with negligible computational cost, enabling the generation of unconventional and unnatural concepts.
