mlsanityData to 14 Oct 2026

Attention Overlap Is Responsible for The Entity Missing Problem in Text-to-image Diffusion Models!

arXiv 2410.20972 ↗First posted 28 Oct 2024cs.CVcited by 9

On the map: Diffusion models → Image generation, text-to-image and editing

Abstract (arXiv)

Text-to-image diffusion models, such as Stable Diffusion and DALL-E, are capable of generating high-quality, diverse, and realistic images from textual prompts. However, they sometimes struggle to accurately depict specific entities described in prompts, a limitation known as the entity missing problem in compositional generation. While prior studies suggested that adjusting cross-attention maps during the denoising process could alleviate this problem, they did not systematically investigate which objective functions could best address it. This study examines three potential causes of the entity-missing problem, focusing on cross-attention dynamics: (1) insufficient attention intensity for certain entities, (2) overly broad attention spread, and (3) excessive overlap between attention maps of different entities. We found that reducing overlap in attention maps between entities can effectively minimize the rate of entity missing. Specifically, we hypothesize that tokens related to specific entities compete for attention on certain image regions during the denoising process, which can lead to divided attention across tokens and prevent accurate representation of each entity. To address this issue, we introduced four loss functions, Intersection over Union (IoU), center-of-mass (CoM) distance, Kullback-Leibler (KL) divergence, and clustering compactness (CC) to regulate attention overlap during denoising steps without the need for retraining. Experimental results across a wide variety of benchmarks reveal that these proposed training-free methods significantly improve compositional accuracy, outperforming previous approaches in visual question answering (VQA), captioning scores, CLIP similarity, and human evaluations. Notably, these methods improved human evaluation scores by 9% over the best baseline, demonstrating substantial improvements in compositional alignment.

Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Placed in Image generation, text-to-image and editing, one of 14 directions in Diffusion models. Builds on 54 of its 62 references that are in the map. First posted on arXiv 28 Oct 2024.

Builds on

54 of 62 references.

Closest ancestors · 25

Same direction, newest first

  1. 2024Detection-Driven Object Count Optimization for Text-to-Image Diffusion Models21 Aug
  2. 2024Make It Count: Text-to-Image Generation with an Accurate Number of Objects14 Jun
  3. 2024Improving Compositional Attribute Binding in Text-to-Image Generative Models via Enhanced Text Embeddings12 Jun
  4. 2024CoMat: Aligning Text-to-Image Diffusion Model with Image-to-Text Concept Matching4 Apr
  5. 2024Enhancing Semantic Fidelity in Text-to-Image Synthesis: Attention Regulation in Diffusion Models11 Mar
  6. 2023Improving Compositional Text-to-image Generation with Large Vision-Language Models10 Oct
  7. 2023Predicated Diffusion: Predicate Logic-Based Attention Guidance for Text-to-Image Diffusion Models3 Oct
  8. 2023Dense Text-to-Image Generation with Attention Modulation24 Aug
  9. 2023Divide & Bind Your Attention for Improved Generative Semantic Nursing20 Jul
  10. 2023Counting Guidance for High Fidelity Text-to-Image Synthesis30 Jun
  11. 2023Linguistic Binding in Diffusion Models: Enhancing Attribute Correspondence through Attention Map Alignment15 Jun
  12. 2023Compositional Text-to-Image Synthesis with Attention Map Control of Diffusion Models23 May
13 more
  1. 2023If at First You Don't Succeed, Try, Try Again: Faithful Diffusion-based Text-to-Image Generation by Selection22 May
  2. 2023HRS-Bench: Holistic, Reliable and Scalable Benchmark for Text-to-Image Models11 Apr
  3. 2023Harnessing the Spatial-Temporal Attention of Diffusion Models for High-Fidelity Text-to-Image Synthesis7 Apr
  4. 2023LayoutDiffusion: Controllable Diffusion Model for Layout-to-image Generation30 Mar
  5. 2023Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Models31 Jan
  6. 2022Training-Free Structured Diffusion Guidance for Compositional Text-to-Image Synthesis9 Dec
  7. 2022SINE: SINgle Image Editing with Text-to-Image Diffusion Models8 Dec
  8. 2022Multi-Concept Customization of Text-to-Image Diffusion8 Dec
  9. 2022Shape-Guided Diffusion with Inside-Outside Attention1 Dec
  10. 2022Imagic: Text-Based Real Image Editing with Diffusion Models17 Oct
  11. 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generation25 Aug
  12. 2022Compositional Visual Generation with Composable Diffusion Models3 Jun
  13. 2022Hierarchical Text-Conditional Image Generation with CLIP Latents13 Apr

Other references · 29

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  3. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
  4. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  5. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  6. 2022Classifier-Free Diffusion Guidancecited by 5,847
  7. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,475
  8. 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,322
  9. 2021Zero-Shot Text-to-Image Generationcited by 4,288
  10. 2022DreamFusion: Text-to-3D using 2D Diffusioncited by 3,025
  11. 2021CLIPScore: A Reference-free Evaluation Metric for Image Captioningcited by 2,424
  12. 2022Video Diffusion Modelscited by 2,305
17 more
  1. 2022Imagen Video: High Definition Video Generation with Diffusion Modelscited by 1,778
  2. 2022Magic3D: High-Resolution Text-to-3D Content Creationcited by 1,290
  3. 2022When and why vision-language models behave like bags-of-words, and what to do about it?cited by 610
  4. 2022Winoground: Probing Vision and Language Models for Visio-Linguistic Compositionalitycited by 529
  5. 2020Reliable Fidelity and Diversity Metrics for Generative Modelscited by 434
  6. 2023TIFA: Accurate and Interpretable Text-to-Image Faithfulness Evaluation with Question Answeringcited by 428
  7. 2023LayoutGPT: Compositional Visual Planning and Generation with Large Language Modelscited by 347
  8. 2023Training-Free Layout Control with Cross-Attention Guidancecited by 313
  9. 2023Diffusion Self-Guidance for Controllable Image Generationcited by 305
  10. 2023TEXTure: Text-Guided Texturing of 3D Shapescited by 304
  11. 2022ReCo: Region-Controlled Text-to-Image Generationcited by 179
  12. 2024ReNO: Enhancing One-step Text-to-Image Models through Reward-based Noise Optimizationcited by 119
  13. 2022Benchmarking Spatial Relationships in Text-to-Image Generationcited by 97
  14. 2023DreamSync: Aligning Text-to-Image Generation with Image Understanding Feedbackcited by 58
  15. 2024Getting it Right: Improving Spatial Consistency in Text-to-Image Modelscited by 30
  16. 2024VersaT2I: Improving Text-to-Image Models with Versatile Rewardcited by 17
  17. 2023Correcting Diffusion Generation through Resamplingcited by 15

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 5; 2026: 3.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2023A-STAR: Test-time Attention Segregation and Retention for Text-to-image Synthesis
  2. 2026AI-T2I: Aggregating-and-Isolating Cross-Attention to Diffusion Models for Text-to-Image Synthesis
  3. 2024Unveiling and Mitigating Memorization in Text-to-image Diffusion Models through Cross Attention
  4. 2023CONFORM: Contrast is All You Need For High-Fidelity Text-to-Image Diffusion Models
  5. 2024Unlocking the Potential of Text-to-Image Diffusion with PAC-Bayesian Theory
  6. 2023Separate-and-Enhance: Compositional Finetuning for Text2Image Diffusion Models
  7. 2024Towards Better Text-to-Image Generation Alignment via Attention Modulation
  8. 2022What the DAAM: Interpreting Stable Diffusion Using Cross Attention