mlsanityData to 14 Oct 2026

Unlocking Spatial Comprehension in Text-to-Image Diffusion Models

arXiv 2311.17937 ↗First posted 28 Nov 2023cs.CVcited by 3

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

Abstract (arXiv)

We propose CompFuser, an image generation pipeline that enhances spatial comprehension and attribute assignment in text-to-image generative models. Our pipeline enables the interpretation of instructions defining spatial relationships between objects in a scene, such as `An image of a gray cat on the left of an orange dog', and generate corresponding images. This is especially important in order to provide more control to the user. CompFuser overcomes the limitation of existing text-to-image diffusion models by decoding the generation of multiple objects into iterative steps: first generating a single object and then editing the image by placing additional objects in their designated positions. To create training data for spatial comprehension and attribute assignment we introduce a synthetic data generation process, that leverages a frozen large language model and a frozen layout-based diffusion model for object placement. We compare our approach to strong baselines and show that our model outperforms state-of-the-art image generation models in spatial comprehension and attribute assignment, despite being 3x to 5x smaller in parameters.

Key facts. Cited by 3 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 33 of its 37 references that are in the map. First posted on arXiv 28 Nov 2023.

Builds on

33 of 37 references.

Closest ancestors · 13

Same direction, newest first

  1. 2023Controllable Text-to-Image Generation with GPT-429 May
  2. 2023LLM-grounded Diffusion: Enhancing Prompt Understanding of Text-to-Image Diffusion Models with Large Language Models23 May
  3. 2023An Edit Friendly DDPM Noise Space: Inversion and Manipulations12 Apr
  4. 2023GLIGEN: Open-Set Grounded Text-to-Image Generation17 Jan
  5. 2022InstructPix2Pix: Learning to Follow Image Editing Instructions17 Nov
  6. 2022Null-text Inversion for Editing Real Images using Guided Diffusion Models17 Nov
  7. 2022DiffEdit: Diffusion-based semantic image editing with mask guidance20 Oct
  8. 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generation25 Aug
  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. 2021Blended Diffusion for Text-driven Editing of Natural Images29 Nov

Other references · 20

  1. 2017Attention Is All You Needcited by 60,361
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  5. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
  6. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  7. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  8. 2020Denoising Diffusion Implicit Modelscited by 9,781
  9. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,255
  10. 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,058
  11. 2022Scalable Diffusion Models with Transformerscited by 6,054
  12. 2022Classifier-Free Diffusion Guidancecited by 5,847
8 more
  1. 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,356
  2. 2019Generative Modeling by Estimating Gradients of the Data Distributioncited by 4,101
  3. 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,431
  4. 2021Image Super-Resolution via Iterative Refinementcited by 1,511
  5. 2021Cascaded Diffusion Models for High Fidelity Image Generationcited by 1,163
  6. 2016TensorFlow: Large-Scale Machine Learning on Heterogeneous Distributed Systemscited by 664
  7. 2022CogView2: Faster and Better Text-to-Image Generation via Hierarchical Transformerscited by 307
  8. 2022Benchmarking Spatial Relationships in Text-to-Image Generationcited by 97

Built on by

Cited by year

Citing papers per year: 2025: 3.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025A Two-Stage System for Layout-Controlled Image Generation using Large Language Models and Diffusion Models
  2. 2022SpaText: Spatio-Textual Representation for Controllable Image Generation
  3. 2024Obtaining Favorable Layouts for Multiple Object Generation
  4. 2023LLM Blueprint: Enabling Text-to-Image Generation with Complex and Detailed Prompts
  5. 2024Box It to Bind It: Unified Layout Control and Attribute Binding in T2I Diffusion Models
  6. 2026Spatial Chain-of-Thought: Bridging Understanding and Generation Models for Spatial Reasoning Generation
  7. 2026Enhancing Spatial Understanding in Image Generation via Reward Modeling
  8. 2024Layout-to-Image Generation with Localized Descriptions using ControlNet with Cross-Attention Control