Leveraging the Syntactic Structure of the Text Prompt to Enhance Object-Attribute Binding in Image Generation
Current diffusion models can generate photorealistic images from text prompts but often struggle to correctly associate the attributes mentioned in the text with the appropriate objects in the image. To address this issue, we propose focused cross-attention (FCA), which controls visual attention maps using syntactic constraints from the input sentence. Additionally, the syntactic structure of the prompt aids in disentangling the multimodal CLIP embeddings commonly used in text-to-image (T2I) generation. The resulting DisCLIP embeddings and FCA can be easily integrated into state-of-the-art diffusion models without requiring additional training. We demonstrate significant improvements in T2I generation, particularly in the accurate binding of attributes to objects, across multiple datasets.
Authors
- Rémi Robert
- Tinne Tuytelaars (ORCID: https://orcid.org/0000-0003-3307-9723)
- Marie‐Francine Moens (ORCID: https://orcid.org/0000-0002-3732-9323)
- Maria Mihaela Truşcǎ (ORCID: https://orcid.org/0000-0002-9204-0389)
- Jonathan Thomm (ORCID: https://orcid.org/0009-0009-6631-8613)
- Wolf Nuyts (ORCID: https://orcid.org/0000-0001-7254-4371)
- Thomas Hofmann (ORCID: https://orcid.org/0000-0001-7798-9572)
Institutions
- ETH Zurich (CH)
- KU Leuven (BE)
Publication Details
- Published
- 2024-10-26
- DOI
- https://doi.org/10.1145/3688866.3689118
- Primary Topic
- Generative Adversarial Networks and Image Synthesis
- Type
- article
- Field-Weighted Citation Impact
- 0.00