NeSyGeo: A Neuro-Symbolic Framework for Multimodal Geometric Reasoning Data Generation

Weiming Wu, Jin Ye, Zi-Kang Wang, Zhi Zhou, Yu-Feng Li, Lan-Zhe Guo · Submission to ICLR 2026 · Rejected

TL;DR

NeSyGeo is a neuro-symbolic data generation framework that synthesizes high-quality, multimodal geometric reasoning problems paired with verified chain-of-thought (CoT) rationales. By enforcing strict "information orthogonality"—ensuring numerical details in the diagram are omitted from the text—it forces multimodal models to genuinely interpret images rather than exploiting textual shortcuts. Training with just 4,000 NeSyGeo samples via reinforcement learning allows a 4B model to surpass an 8B model across standard geometry benchmarks.

What Problem Does This Paper Address?

Evaluating and training Multimodal Large Language Models (MLLMs) on geometric reasoning requires spatial perception, symbolic comprehension, and rigorous logical deduction. However, current geometric datasets suffer from three major issues:

  1. Information Redundancy: Text prompts often repeat the numerical values shown in the image, allowing models to bypass visual perception entirely (removing the diagram often causes negligible performance drops).
  2. Limited Diversity & Flexibility: Template-based methods rely on a small handful of fixed topologies (10–20 figures), while formal symbolic provers (like AlphaGeometry) lack metric definitions (lengths, angles, areas) needed for numerical reasoning.
  3. Hallucinations & Inconsistencies: Direct one-shot generation using LLMs frequently introduces factual or deductive errors.

Methods

NeSyGeo integrates symbolic modeling with neural search in three core stages:

[Geo-DSL Generator] 
       │ (Iterative Step-Action Sampling)
       ▼
[Symbolic Representation (37 Core Primitives)]
       │
       ├──► [Reasoner (DeepSeek-R1)] ──► Reverse BFS deduction & Question generation
       │                                       │
       ├──► [Verifier (DeepSeek-V3)] ──► Forward validation (Filters mismatches)
       │
       └──► [Informalization Engine]
                 ├── Painter (Matplotlib): Deterministic coordinate solving + visual annotations
                 └── Translator (GPT-4o): Generates text, pruning all visually rendered metrics
  • Geo-DSL: A parsimonious Domain-Specific Language structured around an entity–attributes–relations paradigm covering 37 statements across points, lines, angles, and 2D shapes with metric properties.
  • Two-Stage Deductive Generation:
  • Reasoner (DeepSeek-R1): Performs a progressive, reverse breadth-first search (BFS) over the deductive lattice, deriving intermediate conclusions step by step to build diverse questions.
  • Verifier (DeepSeek-V3): Solves the generated problem forward. Only question-answer pairs where the verifier’s independent solution matches the reasoner’s target are retained.
  • Information Orthogonality: The pipeline partitions constraints into disjoint sets ($I_v \cap I_t = \emptyset$). Numerical lengths, non-right angles, and radii are rendered only in the image, compelling MLLMs to rely on visual grounding.

Datasets

  • NeSyGeo-Caption: 70k synthetic image-caption pairs designed to improve geometric perceptual understanding.
  • NeSyGeo-CoT: 30.1k high-quality question-answer pairs with multi-step reasoning chains (64.5% contain four or more steps).
  • NeSyGeo-Test (New Benchmark): 2,668 evaluated Q&A pairs categorized by question target (Angle, Shape, Length) and stratified into Easy, Medium, and Hard tiers with strictly zero text-image redundancy.
  • Evaluated Benchmarks: GeoQA, MathVision (Test-MINI), and MathVerse (Vision-Only, Vision-Dominant, and Vision-Intensive subsets).

Key Insights and Ideas

  • Eliminating textual shortcuts is essential for visual reasoning: When text conditions fully describe the geometry, MLLMs default to pure text reasoning. Enforcing visual exclusivity on key parameters forces real cross-modal grounding.
  • Pruning with LLM guidance beats pure symbolic solvers: Exhaustive symbolic theorem proving scales combinatorially ($O(\sum \binom{N}{c_i})$) and frequently fails due to missing rules or parser errors. Using an LLM to steer state expansion, backed by an independent LLM verifier, dramatically increases problem depth without sacrificing correctness.
  • Data quality trumps raw scale: Fine-tuning on a small, curated set of 4k multi-step problems with reinforcement learning yielded stronger out-of-domain mathematical reasoning than larger, template-based datasets.

Key Results

  • Reinforcement Learning (GRPO, 4k samples, 2 epochs):
  • InternVL2.5-4B + NeSyGeo achieved 69.2% on GeoQA (+7.3%), 39.9% on MathVerse Angle (+8.4%), and outpaced the larger InternVL2.5-8B base model (66.2% on GeoQA, 36.9% on MathVerse Angle).
  • Qwen2.5-VL-3B + NeSyGeo saw a +15.8% boost on the MathVision area metric (42.1% vs. 26.3%).
  • Supervised Fine-Tuning (SFT): Adding NeSyGeo-CoT to Qwen2.5-VL-7B improved GeoQA accuracy from 69.4% to 71.8% and scaled steadily up to 77.2% as synthetic data ratio increased.
  • Data Contamination Checks: Truncated prompt evaluations confirmed that accuracy on GeoQA remained near zero when prompts were cut off, verifying gains came from enhanced deductive reasoning rather than memorization.
  • Benchmark Evaluation (NeSyGeo-Test): Propitiatory models still lead (Claude-3.5-Sonnet at 74.5%), but open-source models struggle significantly on the Hard tier (Qwen2.5-VL-32B at 41.7%, InternVL2.5-8B at 43.3%), highlighting substantial headroom for multimodal reasoning.

Limitations and Future Work

  • Reliance on LLMs for Verification: The Reasoner/Verifier pipeline currently depends on large LLMs (DeepSeek-R1/V3), which introduces inference costs and potential subtle biases compared to pure formal provers.
  • Scope Limited to Plane Geometry: The current Geo-DSL only models 2D plane geometry; it does not yet extend to 3D solid geometry, coordinate analytical geometry, or function graphs.
  • Future Directions: The authors plan to extend the DSL to analytical geometry and explore developing a fully symbolic solver operating directly within Geo-DSL space to eliminate LLM dependency during verification.

Summary updated

BibTeX
@inproceedings{wu2025nesygeo,
  author = {Weiming Wu and Jin Ye and Zi-Kang Wang and Zhi Zhou and Yu-Feng Li and Lan-Zhe Guo},
  title = {{NeSyGeo: A Neuro-Symbolic Framework for Multimodal Geometric Reasoning Data Generation}},
  booktitle = {AI4MATH @ ICML},
  year = {2025},
  url = {https://openreview.net/forum?id=t4tIV04qUp},
}
Figure