mlsanityData to 14 Oct 2026

Evaluating the Generation of Spatial Relations in Text and Image Generative Models

arXiv 2411.07664 ↗First posted 12 Nov 2024cs.CVcited by 6

Not on the map. Why?

Abstract (arXiv)

Understanding spatial relations is a crucial cognitive ability for both humans and AI. While current research has predominantly focused on the benchmarking of text-to-image (T2I) models, we propose a more comprehensive evaluation that includes textitboth T2I and Large Language Models (LLMs). As spatial relations are naturally understood in a visuo-spatial manner, we develop an approach to convert LLM outputs into an image, thereby allowing us to evaluate both T2I models and LLMs textitvisually. We examined the spatial relation understanding of 8 prominent generative models (3 T2I models and 5 LLMs) on a set of 10 common prepositions, as well as assess the feasibility of automatic evaluation methods. Surprisingly, we found that T2I models only achieve subpar performance despite their impressive general image-generation abilities. Even more surprisingly, our results show that LLMs are significantly more accurate than T2I models in generating spatial relations, despite being primarily trained on textual data. We examined reasons for model failures and highlight gaps that can be filled to enable more spatially faithful generations.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 30 of its 47 references that are in the map. First posted on arXiv 12 Nov 2024.

Builds on

30 of 47 references.

References · 30

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2023GPT-4 Technical Reportcited by 18,396
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  5. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  6. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  7. 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,585
  8. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,355
  9. 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,356
  10. 2021CLIPScore: A Reference-free Evaluation Metric for Image Captioningcited by 2,424
  11. 2024Mixtral of Expertscited by 1,823
  12. 2023GenEval: An Object-Focused Framework for Evaluating Text-to-Image Alignmentcited by 972
18 more
  1. 2023Visual ChatGPT: Talking, Drawing and Editing with Visual Foundation Modelscited by 668
  2. 2022Compositional Visual Generation with Composable Diffusion Modelscited by 624
  3. 2024Evaluating Text-to-Visual Generation with Image-to-Text Generationcited by 474
  4. 2023LayoutGPT: Compositional Visual Planning and Generation with Large Language Modelscited by 347
  5. 2022Simple Open-Vocabulary Object Detection with Vision Transformerscited by 305
  6. 2023Generating Images with Multimodal Language Modelscited by 260
  7. 2023T2I-CompBench++: An Enhanced and Comprehensive Benchmark for Compositional Text-to-image Generationcited by 260
  8. 2023What's "up" with vision-language models? Investigating their struggle with spatial reasoningcited by 254
  9. 2023LLM-grounded Diffusion: Enhancing Prompt Understanding of Text-to-Image Diffusion Models with Large Language Modelscited by 243
  10. 2022DALL-Eval: Probing the Reasoning Skills and Social Biases of Text-to-Image Generation Modelscited by 230
  11. 2023Holistic Evaluation of Text-To-Image Modelscited by 160
  12. 2018Inferring Semantic Layout for Hierarchical Text-to-Image Synthesiscited by 101
  13. 2023Compositional 3D Scene Generation using Locally Conditioned Diffusioncited by 101
  14. 2022Benchmarking Spatial Relationships in Text-to-Image Generationcited by 97
  15. 2023LLMScore: Unveiling the Power of Large Language Models in Text-to-Image Synthesis Evaluationcited by 87
  16. 2023Evaluating Spatial Understanding of Large Language Modelscited by 66
  17. 2022Testing Relational Understanding in Text-Guided Image Generationcited by 59
  18. 2021The Preposition Projectcited by 3

Built on by

Cited by year

Citing papers per year: 2025: 6.

6 papers.