Hilbert-Geo: Solving Solid Geometric Problems by Neural-Symbolic Reasoning

Ruoran Xu, Haoyu Cheng, Bin Dong, Qiufeng Wang

TL;DR

While Multimodal Large Language Models (MLLMs) excel at 2D plane geometry, they struggle significantly with 3D solid geometry due to spatial reasoning deficits and calculation errors. Hilbert-Geo bridges this gap by introducing a neural-symbolic framework that parses multimodal 3D geometry problems into a formal language and solves them using a deterministic reasoning engine. This approach achieves state-of-the-art accuracy, outperforming models like GPT-5 and Gemini 2.5 Pro by massive margins.

What Problem Does This Paper Address?

State-of-the-art MLLMs have made impressive strides in visual math benchmarks, yet solid (3D) geometry remains a formidable frontier. The authors identify three core bottlenecks that cause standard MLLMs to fail:

  1. 3D Spatial Reasoning: Understanding occluded structures and spatial transformations from 2D perspective drawings stretches abstract spatial logic.
  2. Visual-Linguistic Grounding: Aligning text descriptions with 2D projections of 3D objects frequently leads to perception errors.
  3. Deductive & Calculation Errors: MLLMs are notoriously prone to arithmetic slips during complex, multi-step geometric proofs.

Existing solid geometry datasets are often small, poorly annotated, or suffer from data leakage. To address this, the paper introduces a unified formal language framework designed specifically to handle the topological and metric complexities of 3D space.

Figure 1. MLLMs struggle with problems in the field of solid geometry (middle) while showing performance in plane geometry problems (top). Our proposed Hilbert-Geo correctly solves this solid geometric problem (bottom).

Methods

The authors propose Hilbert-Geo, which operates via a two-step Parse2Reason methodology:

  1. Multimodal Formalization Parser (M2FP): Instead of asking an MLLM to solve the problem directly, the framework uses few-shot prompting to guide the model to translate the natural language text and the 2D diagram into a structured Geometric Conditional Description Language (CDL).
  2. Solid Geometry Reasoning Engine (SGRE): This is a deterministic symbolic solver. It takes the parsed CDL expressions and applies a comprehensive Solid Geometry Predicate Library (120 predicates covering 3D entities, relationships, and attributes) alongside a Theorem Bank (220 theorems). The engine constructs a node-based reasoning tree to execute relational inference and algebraic computation, entirely eliminating calculation errors.

Datasets

To train and evaluate this framework, the authors curated two new expert-annotated datasets:

  • SolidFGeo2k: 1,908 stereometric (solid geometry) problems complete with CDL formal language annotations, detailed reasoning paths, and precise answer labels.
  • PlaneFGeo3k: 3,022 plane geometry problems, included to demonstrate the framework's generality across both 2D and 3D domains.

They also evaluated their approach on MathVerse-Solid, a subset of the existing MathVerse benchmark dedicated to solid geometry.

Key Insights and Ideas

  • Decoupling Perception from Logic: The core "aha" moment is that MLLMs are highly capable translators (turning text/images into formal symbols) but unreliable logicians and calculators. By offloading the math and logic to a symbolic engine, the framework bypasses the model's cognitive blind spots.
  • Pinpointing MLLM Weaknesses: Fine-grained error analysis revealed that visual perception errors (e.g., misinterpreting which line segment corresponds to a given length due to 3D perspective distortion) and reasoning errors make up over 70% of MLLM failures in solid geometry.
Figure 2. Error distribution in SolidFGeo2k of Gemini and GPT

Key Results

  • SolidFGeo2k: Hilbert-Geo achieved a SOTA accuracy of 77.3%, dramatically outperforming the best standalone MLLM, Gemini 2.5 Pro, which scored 54.2%.
  • MathVerse-Solid: It reached 84.1% accuracy, substantially beating GPT-5's score of 62.9%.
  • PlaneFGeo3k: It achieved 80.2% accuracy, proving that the framework seamlessly generalizes back to 2D plane geometry.
  • Efficiency: The symbolic engine is highly optimized; over 80% of solvable problems were resolved in under 1.2 seconds, requiring an average of 57 reasoning steps.

Limitations and Future Work

  • Combinatorial Explosion: Because the symbolic reasoning engine solves an NP-hard search problem, exceptionally complex geometric combinations can cause the engine to time out due to exponential search space growth.
  • Upstream Dependency: The engine's success depends entirely on the accuracy of the initial MLLM parser. If the MLLM introduces "CDL distortion" (errors in the initial formal translation), the reasoning engine cannot find the correct answer.
  • Scope Gaps: The current iteration of the framework has limited capabilities in handling vector-related geometric tasks and problems that require highly sophisticated auxiliary line constructions.

Summary updated

BibTeX
@inproceedings{xu2026hilbert,
  author = {Ruoran Xu and Haoyu Cheng and Bin Dong and Qiufeng Wang},
  title = {{Hilbert-Geo: Solving Solid Geometric Problems by Neural-Symbolic Reasoning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=almSVhhZ1U},
}
Figure