Large vision-language models (LVLMs) remain unreliable on spatial reasoning problems that require composing grounded relations across multiple objects. Yet, scaling reasoning supervision is challenging since human-annotated visual datasets often rely on fixed relational annotations and coarse object localization, making it difficult to obtain precise intermediate reasoning states across diverse spatial configurations and complexities. We introduce FARON (Fully Automated Reasoning Over spatial relatioNs), a framework that executes spatial queries to provide both execution-grounded reasoning supervision and verifiable outcome rewards. Rather than relying on existing annotated data, FARON constructs synthetic 2D and 3D scenes with explicit geometries, enabling configurable object arrangements, spatial relations, and multi-step compositions. Deterministic query execution yields intermediate sets and final answers, providing precise supervision without manual relation annotation. Our pipeline converts intermediate states into natural-language reasoning traces for supervised fine-tuning (SFT), while the execution-derived answers provide verifiable rewards for reinforcement learning with verifiable rewards (RLVR). Controlled experiments show that trace-based SFT improves multi-step spatial reasoning over final-answer supervision and that subsequent group relative policy optimization (GRPO) provides further gains. The resulting models also demonstrate transfer across external spatial reasoning benchmarks and multiple LVLM backbones without benchmark-specific fine-tuning. These results show the potential of using spatial query execution as a unified, flexible source of reasoning supervision and verifiable outcome rewards for multimodal spatial reasoning.
Figures & tables
Figure 1: Overview of the FARON pipeline, from synthetic scene generation and spatial query execution to reasoning-trace supervision and verifiable reward training.
Model Variant
Overall
1-step
5-step
Base
12.97
18.80
5.83
FARON -Answer
59.94
80.63
44.74
FARON -Reason
67.53
78.60
55.08
Table 1: Accuracy (%) on held-out FARON scenes for the base model, answer-only SFT, and trace-supervised SFT.
Model Variant
Overall
1-step
5-step
FARON -Reason
67.53
78.60
55.08
FARON -Mask
65.65
78.47
52.30
FARON -Shuffle
64.38
78.03
50.62
FARON -Corrupt
61.97
76.63
40.42
Table 2: Accuracy (%) on held-out FARON scenes under controlled reasoning-trace modifications.
Model Variant
Overall
1-step
5-step
FARON -Reason
67.53
78.60
55.08
FARON -Reason+GRPO
70.46
78.63
59.14
Table 3: Accuracy (%) on held-out FARON scenes before and after GRPO using execution-derived outcome rewards.
Model Variant
2D Spatial Reasoning
3D Spatial Reasoning
SpatialEval
FRIEDA
CV-Bench
BLINK 1 1 1 The overall BLINK score is computed by macro-averaging the Spatial Relation and Depth subset scores.
MultiHopSpatial
Qwen2.5-VL-3B-based models
Base
56.76
16.40
71.24
78.01
33.87
SpatialLadder
52.20
15.80
75.87
77.12
28.18
SpatialThinker
56.33
16.80
73.42
78.97
34.58
SenseNova-SI-1.1
57.98
18.80
76.65
83.09
33.64
Table 4: Overall scores on external spatial reasoning benchmarks. FARON -Reason+GRPO is evaluated without benchmark-specific fine-tuning. Bold and underlined values indicate the highest and second-highest scores within each backbone group and benchmark. Green indicates statistically significant improvement ( p<0.05 ) over the strongest competing model, while purple indicates a lower but statistically insignificant score ( p≥0.05 ) relative to the strongest competing model. We assess statistical significance using 10,000 paired bootstrap resamples.
Appendix figures & tables15 assets
Supplementary material from the paper’s appendix.
Appendix
Relation
Spatial predicate or condition
2D topological relations
within
ST_Within (gA,gB) and d(gA,∂gB)≥g .
contains
ST_Contains (gA,gB) and d(gB,∂gA)≥g .
covers
ST_Covers (gA,gB) .
disjoint
ST_Disjoint (gA,gB) and d(gA,gB)≥g .
partly overlapping
Polygon–polygon ST_Overlaps (gA,gB) , area(gA∩gB)≥6 , and area(gA∖gB)≥6 .
Appendix
Table 5: Spatial predicates for 2D map-like scenes. Topological relations are evaluated directly on exact object geometries, while directional relations compare coordinate extrema derived from those geometries.
Relation
Spatial predicate or condition
3D projected-layout relations
right of
xA−≥xB++mx , using extrema of the projected visible boundary polygons.
left of
xA+≤xB−−mx , using extrema of the projected visible boundary polygons.
above
Vertical separation exceeding my , with horizontal support overlap, depth alignment, and boundary-band checks derived from projected visible polygon geometries.
below
Symmetric to above , with A below B under the corresponding projected geometric and depth constraints.
3D depth relations
Appendix
Table 6: Projected-layout, depth, occlusion, and comparative-distance predicates for 3D rendered scenes. Spatial relations are computed using projected visible boundary polygons and camera-frame depth. Directional comparisons use extrema derived from the projected boundaries, with margins of 0.5% of image width or height. Front/behind relations require a depth separation exceeding 2% of the larger compared depth. All relations are evaluated after the visibility filters in Appendix A.3 .
Relation
Canonical reasoning template
2D topological relations
within
The {subject} is within the {reference}.
contains
The {subject} contains the {reference}.
covers
The {subject} covers the {reference}.
disjoint
The {subject} is disjoint from the {reference}.
partly overlapping
The {subject} partly overlaps the {reference}.
Appendix
Table 7: Canonical natural-language reasoning templates for the supported spatial relations. Each template verbalizes a spatial predicate using object references and intermediate results obtained from spatial query execution. These templates are used to construct execution-grounded reasoning traces before linguistic paraphrasing.
Level
Criterion
Threshold
Object
Visible image area
≥0.25%
Object
Unoccluded projected silhouette
≥50%
Relation
Left / right separation
>0.005W
Relation
Above / below separation
>0.005H
Relation
Front / behind depth separation
>δAB
Appendix
Table 8: Filtering criteria for 3D scene generation. W and H denote image width and height. Directional margins are measured between coordinate extrema derived from projected visible boundary polygons. The depth margin is δAB=0.02max(zA,zB) , where zA and zB denote the compared camera-frame depths, increasing with distance from the camera. All eight object corners must have positive depth. Object-level filtering precedes relation-level filtering.
Hyperparameter
Question
Reasoning Trace
Model
Qwen3-32B
Qwen3-32B
Temperature
0.8
0.5
Top-p
0.95
0.95
Max sequence length
1,024
4,096
Variants
3
3
Appendix
Table 9: Generation settings for question and reasoning-trace paraphrasing.
Table 10: Training hyperparameters for the two-stage pipeline, with Qwen2.5-VL-3B as the reference configuration. GRPO is initialized from the trace-supervised SFT checkpoint. Both stages use AdamW with LoRA applied to language-model linear layers while freezing the vision encoder. Each training run uses one GPU. Qwen2.5-VL-7B and InternVL3-2B use an SFT per-device batch size of 1 with 8 gradient-accumulation steps, preserving the effective batch size of 8. Qwen2.5-VL-7B GRPO uses 602,112 maximum image pixels. GRPO samples six completions per prompt in each of two epochs. Other settings follow library defaults.
Figure 4: Example 2D map-like scene created by FARON containing labeled points, lines, and polygons with varying geometric configurations.
Figure 5: Example 3D rendered scene created by FARON containing colored geometric objects with viewpoint-dependent spatial arrangements and partial occlusion.
Figure 6: Comparison of bounding boxes and exact object boundaries in a 2D scene. Bounding boxes can introduce false spatial relationships by covering regions outside the actual object geometries.
Figure 7: Comparison of bounding boxes and projected visible boundaries in a 3D rendered scene. Projected boundaries preserve object silhouettes for more precise evaluation of image-plane spatial relations.
Figure 8: Sample synthetic topological scene
Figure 9: Visualized execution plan for the spatial query. The plan shows how the database retrieves P2, scans candidate polygons and points, applies spatial containment predicates, sorts the resulting points, and removes duplicates.
Model Variant
SpatialEval
FRIEDA
Map
Grid
Maze
Real
Overall
Topology
Distance
Direction
Overall
Qwen2.5-VL-3B-based models
Base
65.60
71.27
33.13
57.04
56.76
11.02
20.00
38.55
16.40
SpatialLadder
50.40
69.13
27.80
61.48
52.20
11.56
20.00
32.53
15.80
SpatialThinker
64.07
71.33
32.87
57.04
56.33
12.37
17.78
36.14
16.80
SenseNova-SI-1.1
68.07
72.80
31.07
60.00
57.98
13.71
17.78
42.17
18.80
Appendix
Table 11: Detailed results on SpatialEval and FRIEDA. SpatialEval scores are reported across Map, Grid, Maze, and Real subsets, while FRIEDA scores are reported across Topology, Distance, and Direction categories. All values indicate accuracy (%).
Model Variant
CV-Bench
BLINK
2D
3D
Overall
Spatial
Depth
Overall
Count
Relation
Depth
Distance
Qwen2.5-VL-3B-based models
Base
66.24
77.38
74.83
69.17
71.24
81.82
74.19
78.01
SpatialLadder
67.13
85.23
80.67
73.83
75.87
77.62
76.61
77.12
SpatialThinker
68.40
78.31
77.67
71.67
73.42
79.72
78.23
78.97
Appendix
Table 12: Detailed results on CV-Bench and BLINK. CV-Bench includes 2D counting and relation tasks and 3D depth and distance tasks. BLINK includes spatial relation and depth subsets. All values indicate accuracy (%).
Model Variant
1-Hop
2-Hop
3-Hop
Ego
Exo
Overall
Ego
Exo
Overall
Ego
Exo
Overall
Qwen2.5-VL-3B-based models
Base
22.80
54.40
38.60
19.20
50.67
34.93
16.53
39.60
28.07
SpatialLadder
22.27
36.00
29.13
21.87
38.80
30.33
22.13
28.00
25.07
SpatialThinker
24.13
56.53
40.33
20.53
51.73
36.13
15.60
38.93
27.27
SenseNova-SI-1.1
27.87
55.60
41.73
17.33
46.80
32.07
17.60
36.67
27.13
Appendix
Table 13: Detailed results on MultiHopSpatial across reasoning depths and viewpoints. Ego and Exo denote egocentric and exocentric questions, respectively. The MultiHopSpatial-specialized checkpoint uses benchmark-specific training and is included for reference only. All values indicate accuracy (%).
Multimodal large language models (MLLMs) have achieved remarkable progress in vision-language tasks, but continue to struggle with spatial reasoning. Existing spatial MLLMs rely on large-scale datasets, explicit 3D inputs, architecture-specific modifications, or sparse Reinforcement Learning (RL) methods that provide insufficient guidance for spatially-grounded reasoning. We introduce SpatialThinker. To our knowledge, it is the first MLLM unifying Scene Graph Generation (SGG) and visual reasoning in a single pass via online RL. The model simulates human-like spatial perception by constructing a mental scene graph of task-relevant objects and relations, and reasoning toward an answer via dense spatial rewards. Our contributions are threefold: (1) SGG-grounded reasoning: integrating SGG directly within the reasoning chain rather than as a disjoint preprocessing step; (2) STVQA-7K: a high-quality spatial VQA training dataset via a scalable synthesis pipeline; and (3) a dense spatial reward design that enforces structured grounding during RL and generalizes to improve broad visual perception. SpatialThinker-7B achieves 3.6× larger gains over SFT and 1.7× better in- and out-of-distribution generalization than sparse RL. Trained on only 7K samples, SpatialThinker-7B matches GPT-5 and outperforms GPT-4o, while SpatialThinker-30B surpasses both GPT-5 and Claude 4 Sonnet on average across 14 spatial and real-world benchmarks, demonstrating that structured spatial grounding with reward-aligned reasoning enables robust spatial understanding with limited data.
Hunar Batra, Haoqin Tu, Hardy Chen +3
University of Oxford · University of California, Santa Cruz
Large Vision-Language Models (LVLMs) have made remarkable progress across visual perception tasks, yet spatial reasoning remains a persistent weakness, especially for questions that require reasoning over visual space. Recent spatial-reasoning methods incorporate generated grounding, where models predict bounding boxes, masks, or other localization outputs for task-relevant objects as part of their reasoning trace. However, these approaches typically optimize final-answer correctness alone, allowing correct answers to be rewarded even when the model does not reason from confidently localized task-relevant objects. We introduce SpatialCORE (Spatially COnfident REasoning), a post-training framework that turns the model's own confidence in generated grounding into a learning signal for spatial reasoning. Its central idea is to reinforce grounding that is both accurate and confident, encouraging the model to reason from confidently localized task-relevant objects. SpatialCORE realizes this through a self-regulating spatial reward that weights each predicted bounding box's matching quality by its coordinate-token confidence. An answer gate further ties grounding optimization to final-answer correctness. SpatialCORE achieves state-of-the-art results among open-source and specialized spatial reasoning models across diverse benchmarks, and transfers effectively in zero-shot settings to unseen data distributions. The source code is available at https://github.com/rafiibnsultan/SpatialCORE.
Rafi Ibn Sultan, Xiangyu Zhou, Md. Sajid Alam Chowdhury +4
Department of Computer Science, Wayne State University · Department of Radiation Oncology, Henry Ford Health · Department of Electrical and Computer Engineering, The Ohio State University +1
Current Large Reasoning Models (LRMs) exhibit remarkable general capabilities but significantly underperform in spatial reasoning tasks. Existing approaches treat this gap as a knowledge deficit, relying on supervised fine-tuning (SFT) to ingest labeled spatial data from external vision sources or synthetic engines. In contrast, we argue that for many tasks, spatial reasoning capabilities are already present in pre-trained LRMs but require alignment through logical coherence under geometric 2D and 3D constraints. In this work, we propose a self-supervised reinforcement learning (RL) framework that targets the internal reasoning process without requiring ground-truth annotations. By formalizing the notion of consistency verifiers -- reward functions that check for geometric and semantic consistency under transformations -- we demonstrate that models can improve their spatial reasoning abilities. We use both image transformations, like flipping, and textual transformations, like swapping the order of objects in the question, and propose a new optimal transport-based RL strategy, OT-GRPO, which is a minimal-matching variant of group relative policy optimization tailored to pairwise verifiers. We show that this label-free consistency training approaches the accuracy of models trained with ground-truth supervision and achieves similar generalization across diverse tasks and data domains.
Theo Uscidda, Marta Tintore Gazulla, Maks Ovsjanikov +2
CREST, ENSAE, Institut Polytechnique de Paris · Google Zurich · Google DeepMind