mlsanityData to 7 Oct 2026

Harnessing the Spatial-Temporal Attention of Diffusion Models for High-Fidelity Text-to-Image Synthesis

arXiv 2304.03869 ↗First posted 7 Apr 2023cs.CVcited by 51

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

Abstract (arXiv)

Diffusion-based models have achieved state-of-the-art performance on text-to-image synthesis tasks. However, one critical limitation of these models is the low fidelity of generated images with respect to the text description, such as missing objects, mismatched attributes, and mislocated objects. One key reason for such inconsistencies is the inaccurate cross-attention to text in both the spatial dimension, which controls at what pixel region an object should appear, and the temporal dimension, which controls how different levels of details are added through the denoising steps. In this paper, we propose a new text-to-image algorithm that adds explicit control over spatial-temporal cross-attention in diffusion models. We first utilize a layout predictor to predict the pixel regions for objects mentioned in the text. We then impose spatial attention control by combining the attention over the entire text description and that over the local description of the particular object in the corresponding pixel region of that object. The temporal attention control is further added by allowing the combination weights to change at each denoising step, and the combination weights are optimized to ensure high fidelity between the image and the text. Experiments show that our method generates images with higher fidelity compared to diffusion-model-based baselines without fine-tuning the diffusion model. Our code is publicly available at https://github.com/UCSB-NLP-Chang/Diffusion-SpaceTime-Attn.

Key facts. Cited by 51 papers in the map (data through 7 Oct 2026). Placed in Image generation, text-to-image and editing, one of 14 directions in Diffusion models. Builds on 50 of its 60 references that are in the map. First posted on arXiv 7 Apr 2023.

Builds on

50 of 60 references.

Closest ancestors · 13

Same direction, newest first

  1. 2023Region-Aware Diffusion for Zero-shot Text-driven Image Editing23 Feb
  2. 2023Adding Conditional Control to Text-to-Image Diffusion Models10 Feb
  3. 2023GLIGEN: Open-Set Grounded Text-to-Image Generation17 Jan
  4. 2022Uncovering the Disentanglement Capability in Text-to-Image Diffusion Models16 Dec
  5. 2022Training-Free Structured Diffusion Guidance for Compositional Text-to-Image Synthesis9 Dec
  6. 2022Shape-Guided Diffusion with Inside-Outside Attention1 Dec
  7. 2022High-Fidelity Guided Image Synthesis with Latent Diffusion Models30 Nov
  8. 2022DiffEdit: Diffusion-based semantic image editing with mask guidance20 Oct
  9. 2022Compositional Visual Generation with Composable Diffusion Models3 Jun
  10. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding23 May
  11. 2022Hierarchical Text-Conditional Image Generation with CLIP Latents13 Apr
  12. 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models20 Dec
1 more
  1. 2021Palette: Image-to-Image Diffusion Models10 Nov

Other references · 37

  1. 2017Attention Is All You Needcited by 59,932
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  4. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  5. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  6. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  7. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  8. 2020Denoising Diffusion Implicit Modelscited by 9,655
  9. 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 8,964
  10. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
  11. 2020End-to-End Object Detection with Transformerscited by 7,384
  12. 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
25 more
  1. 2021Zero-Shot Text-to-Image Generationcited by 4,276
  2. 2022Elucidating the Design Space of Diffusion-Based Generative Modelscited by 2,994
  3. 2017Progressive Growing of GANs for Improved Quality, Stability, and Variationcited by 2,967
  4. 2018Large Scale GAN Training for High Fidelity Natural Image Synthesiscited by 2,609
  5. 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,409
  6. 2022Video Diffusion Modelscited by 2,280
  7. 2022Imagen Video: High Definition Video Generation with Diffusion Modelscited by 1,765
  8. 2021LAION-400M: Open Dataset of CLIP-Filtered 400 Million Image-Text Pairscited by 1,544
  9. 2021Image Super-Resolution via Iterative Refinementcited by 1,506
  10. 2015Microsoft COCO Captions: Data Collection and Evaluation Servercited by 1,447
  11. 2022RePaint: Inpainting using Denoising Diffusion Probabilistic Modelscited by 1,419
  12. 2019Generating Diverse High-Fidelity Images with VQ-VAE-2cited by 1,376
  13. 2020DiffWave: A Versatile Diffusion Model for Audio Synthesiscited by 1,339
  14. 2021Cascaded Diffusion Models for High Fidelity Image Generationcited by 1,155
  15. 2022Diffusion-LM Improves Controllable Text Generationcited by 1,006
  16. 2022Pseudo Numerical Methods for Diffusion Models on Manifoldscited by 695
  17. 2022Winoground: Probing Vision and Language Models for Visio-Linguistic Compositionalitycited by 523
  18. 2022GeoDiff: a Geometric Diffusion Model for Molecular Conformation Generationcited by 511
  19. 2022Visual Spatial Reasoningcited by 288
  20. 2022SmartBrush: Text and Shape Guided Object Inpainting with Diffusion Modelcited by 276
  21. 2023Video Probabilistic Diffusion Models in Projected Latent Spacecited by 171
  22. 2022A very preliminary analysis of DALL-E 2cited by 82
  23. 2022Frido: Feature Pyramid Diffusion for Complex Scene Image Synthesiscited by 75
  24. 2022Modeling Image Composition for Complex Scene Generationcited by 43
  25. 2022SceneComposer: Any-Level Semantic Image Synthesiscited by 43

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 16; 2024: 22; 2025: 10; 2026: 3.

51 papers.

Sort:

By area:

  1. 2023LayoutGPT: Compositional Visual Planning and Generation with Large Language Modelscited by 337
  2. 2023T2I-CompBench++: An Enhanced and Comprehensive Benchmark for Compositional Text-to-image Generationcited by 253
  3. 2023Subject-Diffusion:Open Domain Personalized Text-to-Image Generation without Test-time Fine-tuningcited by 191
  4. 2024T2V-CompBench: A Comprehensive Benchmark for Compositional Text-to-video Generationcited by 177
  5. 2023SparseCtrl: Adding Sparse Controls to Text-to-Video Diffusion Modelscited by 172
  6. 2023Linguistic Binding in Diffusion Models: Enhancing Attribute Correspondence through Attention Map Alignmentcited by 169
  7. 2023Grounded Text-to-Image Synthesis with Attention Refocusingcited by 163
  8. 2024Improving Text-to-Image Consistency via Automatic Prompt Optimizationcited by 88
  9. 2023Compositional Text-to-Image Synthesis with Attention Map Control of Diffusion Modelscited by 82
  10. 2024Controllable Generation with Text-to-Image Diffusion Models: A Surveycited by 82
  11. 2024Large-scale Reinforcement Learning for Diffusion Modelscited by 78
  12. 2023CONFORM: Contrast is All You Need For High-Fidelity Text-to-Image Diffusion Modelscited by 54
38 more
  1. 2024Boosting Consistency in Story Visualization with Rich-Contextual Conditional Diffusion Modelscited by 54
  2. 2023If at First You Don't Succeed, Try, Try Again: Faithful Diffusion-based Text-to-Image Generation by Selectioncited by 40
  3. 2023A Picture is Worth a Thousand Words: Principled Recaptioning Improves Image Generationcited by 40
  4. 2024PALP: Prompt Aligned Personalization of Text-to-Image Modelscited by 35
  5. 2024Token Merging for Training-Free Semantic Binding in Text-to-Image Synthesiscited by 35
  6. 2025FastCache: Fast Caching for Diffusion Transformer Through Learnable Linear Approximationcited by 23
  7. 2023MaskDiffusion: Boosting Text-to-Image Consistency with Conditional Maskcited by 17
  8. 2023Reason out Your Layout: Evoking the Layout Master from Large Language Models for Text-to-Image Synthesiscited by 16
  9. 2023Correcting Diffusion Generation through Resamplingcited by 15
  10. 2023Discffusion: Discriminative Diffusion Models as Few-shot Vision and Language Learnerscited by 14
  11. 2023PICTURE: PhotorealistIC virtual Try-on from UnconstRained dEsignscited by 14
  12. 2024Compositional Video Generation as Flow Equalizationcited by 12
  13. 2024CompGS: Unleashing 2D Compositionality for Compositional Text-to-3D via Dynamically Optimizing 3D Gaussianscited by 10
  14. 2025Spatial Transport Optimization by Repositioning Attention Map for Training-Free Text-to-Image Synthesiscited by 10
  15. 2024Concept Replacer: Replacing Sensitive Concepts in Diffusion Models via Precision Localizationcited by 9
  16. 2024HyperSDFusion: Bridging Hierarchical Structures in Language and Geometry for Enhanced 3D Text2Shape Generationcited by 8
  17. 2024XReal: Realistic Anatomy and Pathology-Aware X-ray Generation via Controllable Diffusion Modelcited by 8
  18. 2024Information Theoretic Text-to-Image Alignmentcited by 8
  19. 2024Attention Overlap Is Responsible for The Entity Missing Problem in Text-to-image Diffusion Models!cited by 8
  20. 2023Progressive Text-to-Image Diffusion with Soft Latent Directioncited by 6
  21. 2024Isolated Diffusion: Optimizing Multi-Concept Text-to-Image Generation Training-Freely with Isolated Diffusion Guidancecited by 6
  22. 2024Obtaining Favorable Layouts for Multiple Object Generationcited by 4
  23. 2024Mixed-View Panorama Synthesis using Geospatially Guided Diffusioncited by 4
  24. 2025CompAlign: Improving Compositional Text-to-Image Generation with a Complex Benchmark and Fine-Grained Feedbackcited by 4
  25. 2024Optimizing Resource Consumption in Diffusion Models through Hallucination Early Detectioncited by 3
  26. 2024Leapfrog Latent Consistency Model (LLCM) for Medical Images Generationcited by 3
  27. 2025Data-Driven Loss Functions for Inference-Time Optimization in Text-to-Imagecited by 3
  28. 2024AlignIT: Enhancing Prompt Alignment in Customization of Text-to-Image Modelscited by 2
  29. 2025Hierarchical and Step-Layer-Wise Tuning of Attention Specialty for Multi-Instance Synthesis in Diffusion Transformerscited by 2
  30. 2024DivCon: Divide and Conquer for Complex Numerical and Spatial Reasoning in Text-to-Image Generationcited by 1
  31. 2025DiffVQA: Video Quality Assessment Using Diffusion Feature Extractorcited by 1
  32. 2025Learning by Analogy: A Causal Framework for Composition Generalizationcited by 1
  33. 2024ABHINAW: A method for Automatic Evaluation of Typography within AI-Generated Imagescited by 0
  34. 2025ToLo: A Two-Stage, Training-Free Layout-To-Image Generation Framework For High-Overlap Layoutscited by 0
  35. 2025AP-CAP: Advancing High-Quality Data Synthesis for Animal Pose Estimation via a Controllable Image Generation Pipelinecited by 0
  36. 2025Improving Compositional Generation with Diffusion Models Using Lift Scorescited by 0
  37. 2026Hallucination Early Detection in Diffusion Modelscited by 0
  38. 2026Hidden-Shot: Towards One-Shot Task Generalization for Low-Level Vision Generalist Modelscited by 0

50 most cited of 51 All 51 (JSON)

Similar, not cited

Close in wording, no citation either way

  1. 2024Enhancing Semantic Fidelity in Text-to-Image Synthesis: Attention Regulation in Diffusion Models
  2. 2023Masked-Attention Diffusion Guidance for Spatially Controlling Text-to-Image Generation
  3. 2023Training-free Diffusion Model Adaptation for Variable-Sized Text-to-Image Synthesis
  4. 2024Enhancing Image Layout Control with Loss-Guided Diffusion Models
  5. 2024CoCoNO: Attention Contrast-and-Complete for Initial Noise Optimization in Text-to-Image Synthesis
  6. 2024Training-Free Layout-to-Image Generation with Marginal Attention Constraints
  7. 2025Precise Parameter Localization for Textual Generation in Diffusion Models
  8. 2023A-STAR: Test-time Attention Segregation and Retention for Text-to-image Synthesis