Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

From Symbolic to Geometric: Enabling Spatial Reasoning in Large Language Models

About

Recent large language models (LLMs) often appear to exhibit spatial reasoning ability; however, this capability is largely \emph{symbolic}, arising from pattern matching over spatial language rather than true \emph{geometric} reasoning over space. Because LLMs operate on discrete tokens, they lack native support for continuous spatial representations, explicit geometric computation, and structured spatial operators. To address this limitation, we introduce the \emph{Spatial Language Model (SLM)}, the first multimodal LLM that treats location information as a first-class modality and enables geometric spatial reasoning within the model's inference process. SLM directly operates on learned spatial representations rather than textual descriptions of spatial relations. To support effective training, we construct a \emph{Spatial Instruction Dataset} that aligns spatial representations, atomic geometric operations, and natural language instructions. We further propose a new benchmark named \emph{SpatialEval}, which is designed to evaluate spatial reasoning across attributes, distance, topology, and relative-position tasks. Extensive experiments show that SLM significantly outperforms existing LLM-based approaches that rely on symbolic reasoning via prompt engineering or textual abstraction, demonstrating the benefits of integrating geometric spatial representations for robust spatial reasoning. Our instruction dataset, evaluation benchmark, model training codes, and models' checkpoints can be found at: \hyperlink{https://github.com/chuchen2017/SLM}{https://github.com/chuchen2017/SLM}.

Chen Chu, Bita Azarijoo, Li Xiong, Khurram Shafique, Cyrus Shahabi• 2026

Related benchmarks

TaskDatasetResultRank
Distance EstimationSpatialEval Beijing
PT-PL Distance784.9
12
Distance EstimationSpatialEval Los Angeles
PT-PL Distance882.9
12
Distance EstimationSpatialEval US Boundaries
PG-PG Distance0.82
12
Nearest Neighbor QuerySpatialEval Beijing
PT-PL NN Accuracy80.5
12
Nearest Neighbor QuerySpatialEval Los Angeles
PT-PL NN Accuracy83.6
12
Topological ClassificationSpatialEval US Boundaries
PG-PG Topological Accuracy87.2
12
Polygon Area EstimationSpatialEval US Boundaries 1.0 (test)
MAE0.082
10
Polyline Length EstimationSpatialEval Beijing 1.0 (test)
MAE231
10
Polygon Area EstimationSpatialEval Los Angeles 1.0 (test)
MAE1.18e+3
10
Polyline Length EstimationSpatialEval Los Angeles 1.0 (test)
MAE203.8
10
Showing 10 of 12 rows

Other info

Follow for update