Euclid’s Gift: Enhancing Spatial Perception and Reasoning in Vision-Language Models via Geometric Surrogate Tasks

Shijie Lian, Changti Wu, Laurence Tianruo Yang, Hang Yuan, Bin Yu, Lei Zhang, Kai Chen

TL;DR

By treating Euclidean geometry as a "surrogate task," researchers have unlocked a novel way to boost the spatial intelligence of Vision-Language Models (VLMs). Fine-tuning models on a new 30K dataset of geometry problems using reinforcement learning yields substantial, zero-shot improvements across multiple downstream spatial reasoning benchmarks without any task-specific training.

What Problem Does This Paper Address?

Despite their impressive capabilities in mathematical reasoning and language understanding, state-of-the-art VLMs still struggle with basic spatial intelligence. They frequently fail at tasks that human children solve with ease, such as judging object orientation, estimating sizes, or identifying relative positions (e.g., "what is to the left of X?").

Previous attempts to fix this have relied on training models on narrow, task-specific spatial datasets. While this improves performance on those specific tasks, it often leads to over-specialization and poor generalization to out-of-domain scenarios. This paper addresses the challenge of cultivating a fundamental, broadly transferable spatial prior in VLMs.

Methods

The authors propose using Euclidean geometry problem-solving as a surrogate task to force models to internalize universal spatial regularities like parallelism, perspective, congruence, and similarity.

Instead of standard Supervised Fine-Tuning (SFT), the authors employ Group Relative Policy Optimization (GRPO), a reinforcement learning framework, to fine-tune seven model variants across three model families (Qwen2.5VL, Qwen3VL, and RoboBrain2.0), ranging from 3B to 72B parameters.

To make reinforcement learning viable for geometry, they designed a rule-based, task-dependent reward function:

  • For mathematical expressions: They use the MathVerify tool to check for exact symbolic equivalence (ensuring that algebraically identical answers like $2\pi r$ and $(2r)\pi$ are rewarded equally).
  • For numeric answers: To prevent reward hacking, they implement a strict $\pm1\%$ tolerance band around the ground truth, filtering out imprecise or irrelevant generations.

Datasets

The paper introduces Euclid30K, a curated dataset containing 29,695 geometry problems. It blends existing open-source datasets (Geometry3K, MMK12, SolidGeo, WeMath2) with roughly 4,500 newly collected middle- and high-school textbook and competition exercises.

Notably, the authors intentionally expanded the dataset with 3,996 solid (3D) geometry problems to expose models to crucial 3D concepts like perspective invariance, polyhedral structures, and spatial rotation.

Figure 2. The examples of the newly collected questions in Eu- clid30K. More examples can be found in the appendix.

For evaluation, the models were tested entirely zero-shot on four distinct spatial reasoning benchmarks:

  • VSI-Bench (Visual-Spatial Intelligence)
  • Super-CLEVR (Object relations and attributes)
  • Omni3D-Bench (3D object recognition and spatial properties)
  • MindCube (Spatial mental modeling)

Key Insights and Ideas

  • Geometry as a Domain-Adaptation Bridge: From a theoretical standpoint, formal geometry compresses a massive array of spatial regularities into theorem-like constraints. Training on geometry minimizes the distribution discrepancy between the training data and general real-world spatial tasks.
  • The Synergy of Implicit and Explicit Knowledge: The geometry-centric training was particularly effective for models like RoboBrain2.0, which already possessed implicit spatial concepts from prior training. The explicit geometric reasoning of Euclid30K acted as a catalyst, formalizing and consolidating those vague intuitions into robust, first-principles logic.
  • Transferability Over Data Volume: Learning structured geometric principles provides more transferable spatial knowledge than simply feeding the model more standard spatial data.

Key Results

Fine-tuning on Euclid30K delivered consistent, training-free performance boosts across all evaluated model sizes and architectures:

  • VSI-Bench: The mean accuracy across all model variants rose from 36.6% to 41.8% (+5.2% average gain). The RoboBrain2.0-7B variant achieved a massive leap, jumping from 43.0% to 49.6%.
  • MindCube: The models achieved an average accuracy gain of 6.7 percentage points. Notably, Qwen2.5VL-Euclid-3B scored 38.9%, outperforming existing spatial models trained on much larger datasets (such as Spatial-MLLM, which scored 32.1% despite being trained on 120K spatial samples).
Figure 1. Performance gains on VSIBench after model training on Euclid30K, for more complete data please refer to Tab. 2.

To prove that these gains were driven by geometric knowledge rather than just the RL algorithm or extra data, the authors ran an ablation study. They trained the same models on an equal-sized subset of Clevr-CoGenT (a standard spatial dataset). The geometry-trained models significantly outperformed the spatial-trained models, confirming that geometric principles are uniquely transferable.

Limitations and Future Work

The primary limitation of the current Euclid30K dataset is the absence of step-by-step process annotations. Because it only contains final answers, it is less optimized for Supervised Fine-Tuning (SFT) methods that rely on explicit chain-of-thought reasoning traces.

Additionally, the authors noted that the benefits are model-dependent: if a baseline model completely lacks rudimentary spatial concepts, it struggles to discover these geometric principles from scratch, resulting in more gradual improvements. Future work will likely focus on generating high-quality intermediate reasoning paths for geometric problems to further enhance SFT pipelines.

Summary updated

BibTeX
@inproceedings{lian2026euclids,
  author = {Shijie Lian and Changti Wu and Laurence Tianruo Yang and Hang Yuan and Bin Yu and Lei Zhang and Kai Chen},
  title = {{Euclid’s Gift: Enhancing Spatial Perception and Reasoning in Vision-Language Models via Geometric Surrogate Tasks}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=PW5eT3uLqs},
}
Figure