Neuro-symbolic Training for Reasoning over Spatial Language

Tanawan Premsri, Parisa Kordjamshidi
6/19/2024
cs.CL

No official code found. Best implementation: premsrit/SPARTUNQChain (2 stars, last commit 2024-08-05).

Abstract

Spatial reasoning based on natural language expressions is essential for everyday human tasks. This reasoning ability is also crucial for machines to interact with their environment in a human-like manner. However, recent research shows that even state-of-the-art language models struggle with spatial reasoning over text, especially when facing nesting spatial expressions. This is attributed to not achieving the right level of abstraction required for generalizability. To alleviate this issue, we propose training language models with neuro-symbolic techniques that exploit the spatial logical rules as constraints, providing additional supervision to improve spatial reasoning and question answering. Training language models to adhere to spatial reasoning rules guides them in making more effective and general abstractions for transferring spatial knowledge to various domains. We evaluate our approach on existing spatial question-answering benchmarks. Our results indicate the effectiveness of our proposed technique in improving language models in complex multi-hop spatial reasoning over text.

View on arXivView PDF

Code Implementations(1)

20PythonJun 19, 20242 years ago

Similar Papers

Cite this paper

@article{premsri2024neurosymbolic,
  title  = {Neuro-symbolic Training for Reasoning over Spatial Language},
  author = {Tanawan Premsri and Parisa Kordjamshidi},
  year   = {2024},
  eprint = {2406.13828},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.13828v3}
}

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/2406.13828.svg)](https://codeofpaper.com/paper/2406.13828)

Discussion