Lune

NeurIPS2023Top-tier venue

Linguistic Binding in Diffusion Models: Enhancing Attribute Correspondence through Attention Map Alignment

Royi Rassin, Eran Hirsch, Daniel Glickman, Shauli Ravfogel, Yoav Goldberg, Gal Chechik

Abstract

Text-conditioned image generation models often generate incorrect associations between entities and their visual attributes. This reflects an impaired mapping between linguistic binding of entities and modifiers in the prompt and visual binding of the corresponding elements in the generated image. As one notable example, a query like"a pink sunflower and a yellow flamingo"may incorrectly produce an image of a yellow sunflower and a pink flamingo. To remedy this issue, we propose SynGen, an approach which first syntactically analyses the prompt to identify entities and their modifiers, and then uses a novel loss function that encourages the cross-attention maps to agree with the linguistic binding reflected by the syntax. Specifically, we encourage large overlap between attention maps of entities and their modifiers, and small overlap with other entities and modifier words. The loss is optimized during inference, without retraining or fine-tuning the model. Human evaluation on three datasets, including one new and challenging set, demonstrate significant improvements of SynGen compared with current state of the art methods. This work highlights how making use of sentence structure during inference can efficiently and substantially improve the faithfulness of text-to-image generation.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

75 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Adding Conditional Control to Text-to-Image Diffusion Models cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Adding Conditional Control to Text-to-Image Diffusion Models cites Learning Transferable Visual Models From Natural Language Supervision
  • Adding Conditional Control to Text-to-Image Diffusion Models cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
  • Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Models cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Models cites Learning Transferable Visual Models From Natural Language Supervision
  • Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Models cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
  • Mastering Text-to-Image Diffusion: Recaptioning, Planning, and Generating with Multimodal LLMs cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Mastering Text-to-Image Diffusion: Recaptioning, Planning, and Generating with Multimodal LLMs cites Adding Conditional Control to Text-to-Image Diffusion Models
  • Mastering Text-to-Image Diffusion: Recaptioning, Planning, and Generating with Multimodal LLMs cites Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Models
  • Mastering Text-to-Image Diffusion: Recaptioning, Planning, and Generating with Multimodal LLMs cites Learning Transferable Visual Models From Natural Language Supervision
  • Mastering Text-to-Image Diffusion: Recaptioning, Planning, and Generating with Multimodal LLMs cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
  • CoMat: Aligning Text-to-Image Diffusion Model with Image-to-Text Concept Matching cites High-Resolution Image Synthesis with Latent Diffusion Models
  • CoMat: Aligning Text-to-Image Diffusion Model with Image-to-Text Concept Matching cites Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Models
  • CoMat: Aligning Text-to-Image Diffusion Model with Image-to-Text Concept Matching cites Mastering Text-to-Image Diffusion: Recaptioning, Planning, and Generating with Multimodal LLMs
  • CoMat: Aligning Text-to-Image Diffusion Model with Image-to-Text Concept Matching cites Learning Transferable Visual Models From Natural Language Supervision
  • CoMat: Aligning Text-to-Image Diffusion Model with Image-to-Text Concept Matching cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
  • Cross-Image Attention for Zero-Shot Appearance Transfer cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Cross-Image Attention for Zero-Shot Appearance Transfer cites Adding Conditional Control to Text-to-Image Diffusion Models
  • Cross-Image Attention for Zero-Shot Appearance Transfer cites Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Models
  • Cross-Image Attention for Zero-Shot Appearance Transfer cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
  • Generating Images of Rare Concepts Using Pre-trained Diffusion Models cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Generating Images of Rare Concepts Using Pre-trained Diffusion Models cites Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Models
  • Generating Images of Rare Concepts Using Pre-trained Diffusion Models cites Learning Transferable Visual Models From Natural Language Supervision
  • Generating Images of Rare Concepts Using Pre-trained Diffusion Models cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
  • Subject-Diffusion: Open Domain Personalized Text-to-Image Generation without Test-time Fine-tuning cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Subject-Diffusion: Open Domain Personalized Text-to-Image Generation without Test-time Fine-tuning cites Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Models
  • Subject-Diffusion: Open Domain Personalized Text-to-Image Generation without Test-time Fine-tuning cites Learning Transferable Visual Models From Natural Language Supervision
  • Subject-Diffusion: Open Domain Personalized Text-to-Image Generation without Test-time Fine-tuning cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
  • Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Learning Transferable Visual Models From Natural Language Supervision
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers75

  1. Mastering Text-to-Image Diffusion: Recaptioning, Planning, and Generating with Multimodal LLMsLing Yang, Zhaochen Yu, Chenlin Meng, Minkai Xu et al.ICML 2024 · 231 citations
  2. Generating Images of Rare Concepts Using Pre-trained Diffusion ModelsDvir Samuel, Rami Ben-Ari, Simon Raviv, Nir Darshan et al.AAAI 2024 · 82 citations
  3. CoMat: Aligning Text-to-Image Diffusion Model with Image-to-Text Concept MatchingDongzhi Jiang, Guanglu Song, Xiaoshi Wu, Renrui Zhang et al.NeurIPS 2024 · 75 citations
  4. Cross-Image Attention for Zero-Shot Appearance TransferYuval Alaluf, Daniel Garibi, Or Patashnik, Hadar Averbuch-Elor et al.SIGGRAPH 2024 · 72 citations
  5. Subject-Diffusion: Open Domain Personalized Text-to-Image Generation without Test-time Fine-tuningJian Ma, Junhao Liang, Chen Chen, Haonan LuSIGGRAPH 2024 · 71 citations

Builds on12

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
  3. Photorealistic Text-to-Image Diffusion Models with Deep Language UnderstandingChitwan Saharia, William Chan, Saurabh Saxena, Lala Li et al.NeurIPS 2022 · 8,965 citations
  4. Adding Conditional Control to Text-to-Image Diffusion ModelsLvmin Zhang, Anyi Rao, Maneesh AgrawalaICCV 2023 · 6,759 citations
  5. Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion ModelsHila Chefer, Yuval Alaluf, Yael Vinker, Lior Wolf et al.SIGGRAPH 2023 · 438 citations

Related papers

  1. R-Bind: Unified Enhancement of Attribute and Relation Binding in Text-to-Image Diffusion ModelsHuixuan Zhang, Xiaojun WanEMNLP 2025
  2. Training-Free Structured Diffusion Guidance for Compositional Text-to-Image SynthesisWeixi Feng, Xuehai He, Tsu-Jui Fu, Varun Jampani et al.ICLR 2023 · 70 citations
  3. Text Embedding is Not All You Need: Attention Control for Text-to-Image Semantic Alignment with Text Self-Attention MapsJeeyung Kim, Erfan Esmaeili, Qiang QiuCVPR 2025
  4. Training-Free Consistent Text-to-Image GenerationYoad Tewel, Omri Kaduri, Rinon Gal, Yoni Kasten et al.SIGGRAPH 2024 · 57 citations
  5. Text-Image Conditioned 3D GenerationJiazhong Cen, Jiemin Fang, Sikuang Li, Guanjun Wu et al.CVPR 2026 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines