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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Sim, Shang Hong, Lee, Clarence, Tan, Alvin, Tan, Cheston
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929588969406464
author Sim, Shang Hong
Lee, Clarence
Tan, Alvin
Tan, Cheston
author_facet Sim, Shang Hong
Lee, Clarence
Tan, Alvin
Tan, Cheston
contents 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 \textit{both} 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 \textit{visually}. 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.
format Preprint
id arxiv_https___arxiv_org_abs_2411_07664
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Evaluating the Generation of Spatial Relations in Text and Image Generative Models
Sim, Shang Hong
Lee, Clarence
Tan, Alvin
Tan, Cheston
Computer Vision and Pattern Recognition
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 \textit{both} 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 \textit{visually}. 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.
title Evaluating the Generation of Spatial Relations in Text and Image Generative Models
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2411.07664