SpartQA: : A Textual Question Answering Benchmark for Spatial Reasoning

Roshanak Mirzaee, Hossein Rajaby Faghihi, Qiang Ning, Parisa Kordjmashidi
4/12/2021
cs.CLcs.AI
benchmark-dataset

Official code: HLR/SpartQA_generation (18 stars, Python, MIT, last commit 2023-05-03).

Abstract

This paper proposes a question-answering (QA) benchmark for spatial reasoning on natural language text which contains more realistic spatial phenomena not covered by prior work and is challenging for state-of-the-art language models (LM). We propose a distant supervision method to improve on this task.

Show full abstract

Specifically, we design grammar and reasoning rules to automatically generate a spatial description of visual scenes and corresponding QA pairs. Experiments show that further pretraining LMs on these automatically generated data significantly improves LMs' capability on spatial understanding, which in turn helps to better solve two external datasets, bAbI, and boolQ. We hope that this work can foster investigations into more sophisticated models for spatial reasoning over text.

View on arXivView PDF

Code Implementations(1)

MIT

Generating SpartQA dataset

180PythonMar 30, 20213 years agoMIT

Similar Papers

Cite this paper

@article{mirzaee2021spartqa,
  title  = {SpartQA: : A Textual Question Answering Benchmark for Spatial Reasoning},
  author = {Roshanak Mirzaee and Hossein Rajaby Faghihi and Qiang Ning and Parisa Kordjmashidi},
  year   = {2021},
  eprint = {2104.05832},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.05832}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2104.05832.svg)](https://codeofpaper.com/paper/2104.05832)

Discussion