Here is a concise, engaging summary of the paper:
TL;DR
Euclid-Omni introduces an open, unified neuro-symbolic framework for plane geometry that bridges the gap between theorem proving and numerical calculation across both formal code and natural language/diagrams. Powered by a new symbolic engine named Euclidea and an automated synthetic data engine, it achieves near-Olympiad theorem-proving performance and state-of-the-art vision-language calculation results using orders of magnitude less training data and compute than systems like AlphaGeometry.
What Problem Does This Paper Address?
Automated geometry reasoning has largely fractured into two silos:
- Olympiad-level theorem provers (like DeepMind's AlphaGeometry), which rely on massive proprietary compute (e.g., 500 million proofs generated over 100K CPUs) and unreleased synthetic datasets. These systems are narrowly specialized for formal angle-chasing/proving and lack algebraic solvers for metric calculations, human-readable explanations, or multimodal inputs (diagrams and natural text).
- Pedagogical/calculation solvers, which handle school-level numerical problems with diagrams but rely on small, poorly stratified datasets and fail entirely on complex, competition-level proofs.
The authors address this divide by presenting an accessible, end-to-end framework capable of generating synthetic problems, rendering diagrams, executing human-readable deductions, and training vision-language models (VLMs) and LLMs for both numerical problem solving and auxiliary construction discovery.
Methods
Euclid-Omni centers around two primary components:
- Euclidea (The Symbolic Engine):
- Unified Formalization: Combines metric conditions (lengths, angles) with diagrammatic topological relations (e.g.,
Between,SameSide), avoiding the ambiguities of "full-angle" formalisms. - Deductive Database + Algebraic System: Inference rules are stored and queried using an in-memory SQLite database to avoid combinatorial rule explosions. Complementing this, a SymPy-based algebraic engine solves systems of linear angle equations, linear length equations, and log-linear length-ratio equations via Gaussian elimination, using message-passing to resolve non-linear constraints.
- Human-Readable Proof Tracing: Traces dependencies by framing equation selection as an $L_0/L_1$ sparsity optimization problem via SCIP, producing compact, step-by-step proofs.
- Euclid-Omni Synthetic Pipeline:
- Synthesizes ruler-and-compass constructions from scratch (categorized as independent, deterministic, non-deterministic, and diagrammatic).
- Automatically renders corresponding visual diagrams via Matplotlib.
- Employs template mapping followed by LLM refinement (e.g., Gemini 2.5 Flash) to generate natural-language problems, distractors for multiple-choice formats, and step-by-step solutions.
- Identifies minimal necessary auxiliary constructions by tracking newly deduced relations after adding geometric primitives.
Datasets
- Pre-existing Benchmarks Evaluated:
- Proving: JGEX-AG-231 (231 textbook/Olympiad theorems) and IMO-AG-30 (30 IMO geometry problems from 2000–2022).
- Calculation: Geometry3K, GeoQA, MathVista (testmini plane-geometry subset), and MathVerse (vision-intensive subset).
- Synthetic Training Sets Generated:
- 20K Multimodal Calculation Set: 10K Euclid-Omni generated diagram/text pairs + 10K Geo170K samples used to fine-tune Qwen2.5-VL-7B.
- 100K Formal Construction Set: 100K synthetic Olympiad-style target goals and auxiliary constructions used to fine-tune Qwen2.5-Math-7B.
Key Insights and Ideas
- Diagrammatic relations fix full-angle pitfalls: Prior formal systems like AlphaGeometry rely on full-angle formalisms where an angle and its supplement are indistinguishable ($\sin$ values are equal), which breaks down completely for numerical calculation. Explicitly extracting topological relations (
SameSide,Between) from the diagram enables standard $0^\circ\text{–}180^\circ$ human definitions without verbose case-by-case proofs. - Massive data efficiency: AlphaGeometry required 100M synthetic proofs to solve 25 IMO problems. By combining Euclidea's richer rule set with targeted auxiliary search, Euclid-Omni solves 22 IMO problems using only 100K samples—a $1000\times$ reduction in data requirements (and surpasses AlphaGeometry trained on 20M samples, which solved 21).
- Sparse tracing yields cleaner proofs: Casting proof step selection as an optimization problem results in proofs that are roughly twice as compact as PyEuclid and far more readable than full-angle systems.
Key Results
- Standalone Symbolic Solver (Euclidea):
- Solved 595/601 (99.0%) on Geometry3K (beating PyEuclid's 567 and Inter-GPS's 426).
- Solved 207/231 on JGEX-AG-231 and 16/30 on IMO-AG-30 standalone—beating all prior symbolic engines and directly solving 2 IMO problems that every prior solver failed on without auxiliary hints.
- Multimodal Calculation (Qwen2.5-VL-7B + Euclid-Omni data):
- Achieved state-of-the-art across 3 of 4 benchmarks with just 20K fine-tuning samples: 61.0% on Geometry3K, 74.7% on MathVista, and 51.0% on MathVerse (surpassing models trained on 100K–800K samples).
- Olympiad Proving (Qwen2.5-Math-7B + Euclidea):
- Solved 223/231 on JGEX-AG-231 and 22/30 on IMO-AG-30 using beam search, outperforming prompting on GPT-4o / Gemini 2.5 Flash (17/30).
Limitations and Future Work
- Proof Style at IMO Scale: Proofs for Olympiad problems can still be long compared to human solutions. Incorporating high-level theorems (e.g., Menelaus, Desargues) or projective/inversive geometry is needed.
- Formal Verification in Interactive Provers: Euclidea is Python-based. Grounding its logic in proof assistants like Lean 4 would allow it to serve as a formally verified automated tactic.
- Sampling Distribution: Constructions are currently sampled uniformly rather than mirroring the human structural distribution of Olympiad problems.
- Reinforcement Learning: Moving beyond supervised fine-tuning to RL using Euclidea as an automated reward signal is an acknowledged next step.
Summary updated