mlsanityData to 7 Oct 2026

Grounding Spatial Relations in Text-Only Language Models

arXiv 2403.13666 ↗First posted 20 Mar 2024cs.CLcited by 1

Not on the map. Why?

Abstract (arXiv)

This paper shows that text-only Language Models (LM) can learn to ground spatial relations like "left of" or "below" if they are provided with explicit location information of objects and they are properly trained to leverage those locations. We perform experiments on a verbalized version of the Visual Spatial Reasoning (VSR) dataset, where images are coupled with textual statements which contain real or fake spatial relations between two objects of the image. We verbalize the images using an off-the-shelf object detector, adding location tokens to every object label to represent their bounding boxes in textual form. Given the small size of VSR, we do not observe any improvement when using locations, but pretraining the LM over a synthetic dataset automatically derived by us improves results significantly when using location tokens. We thus show that locations allow LMs to ground spatial relations, with our text-only LMs outperforming Vision-and-Language Models and setting the new state-of-the-art for the VSR dataset. Our analysis show that our text-only LMs can generalize beyond the relations seen in the synthetic dataset to some extent, learning also more useful information than that encoded in the spatial rules we used to create the synthetic dataset itself.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 24 of its 29 references that are in the map. First posted on arXiv 20 Mar 2024.

Builds on

24 of 29 references.

References · 24

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  4. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  6. 2019LXMERT: Learning Cross-Modality Encoder Representations from Transformerscited by 1,548
  7. 2016CLEVR: A Diagnostic Dataset for Compositional Language and Elementary Visual Reasoningcited by 1,445
  8. 2019VisualBERT: A Simple and Performant Baseline for Vision and Languagecited by 1,291
  9. 2021ViLT: Vision-and-Language Transformer Without Convolution or Region Supervisioncited by 1,224
  10. 2022Socratic Models: Composing Zero-Shot Multimodal Reasoning with Languagecited by 513
  11. 2018Image Generation from Scene Graphscited by 324
  12. 2021An Empirical Study of GPT-3 for Few-Shot Knowledge-Based VQAcited by 298
12 more
  1. 2022Visual Spatial Reasoningcited by 288
  2. 2022DePlot: One-shot visual language reasoning by plot-to-table translationcited by 157
  3. 2022Language Models with Image Descriptors are Strong Few-Shot Video-Language Learnerscited by 117
  4. 2020Vokenization: Improving Language Understanding with Contextualized, Visual-Grounded Supervisioncited by 93
  5. 2021SpartQA: : A Textual Question Answering Benchmark for Spatial Reasoningcited by 75
  6. 2022Things not Written in Text: Exploring Spatial Commonsense from Visual Signalscited by 41
  7. 2022Transfer Learning with Synthetic Corpora for Spatial Role Labeling and Reasoningcited by 32
  8. 2019How Large Are Lions? Inducing Distributions over Quantitative Attributescited by 26
  9. 2016Are Elephants Bigger than Butterflies? Reasoning about Sizes of Objectscited by 22
  10. 2017Acquiring Common Sense Spatial Knowledge through Implicit Spatial Templatescited by 10
  11. 2018Discovering space - Grounding spatial topology and metric regularity in a naive agent's sensorimotor experiencecited by 3
  12. 2021Inferring spatial relations from textual descriptions of imagescited by 1

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2023Towards Grounded Visual Spatial Reasoning in Multi-Modal Vision Language Models
  2. 2025SpaRE: Enhancing Spatial Reasoning in Vision-Language Models with Synthetic Data
  3. 2024GSR-BENCH: A Benchmark for Grounded Spatial Reasoning Evaluation via Multimodal LLMs
  4. 2026Grounding Isn't Knowing: Do VLMs Need Object Localization for Spatial Reasoning?
  5. 2023What's "up" with vision-language models? Investigating their struggle with spatial reasoning
  6. 2025Mind the Gap: Benchmarking Spatial Reasoning in Vision-Language Models
  7. 2026Can LLMs See Without Pixels? Benchmarking Spatial Intelligence from Textual Descriptions
  8. 2024Getting it Right: Improving Spatial Consistency in Text-to-Image Models