Overview
The paper introduces PGPSNet-v2, a neural-symbolic framework designed to solve plane geometry problems by fusing diagram-parsed "textual clauses" with problem text. By combining a self-limited neural decoder with a multi-level symbolic theorem verifier, the model achieves state-of-the-art performance while significantly reducing the "hallucinations" common in pure neural solvers.
The Challenge of Geometry Problem Solving
Geometry Problem Solving (GPS) is a classic AI challenge because it sits at the intersection of computer vision, natural language understanding, and formal logic. To solve a geometry problem, an agent must understand multimodal input (aligning visual diagrams with text), perform multi-hop reasoning (applying theorems in sequence), and ensure logical consistency.
Existing symbolic solvers are logically rigorous but brittle and slow. Conversely, neural solvers are flexible and fast but struggle with the "black-box" nature of deep learning, often failing to align modalities correctly or producing nonsensical solution steps.
Methods: The PGPSNet-v2 Pipeline
The authors propose a three-stage "Fuse, Reason, and Verify" pipeline to bridge the gap between neural flexibility and symbolic rigor.
Modal Fusion via Textual Clauses
Instead of relying solely on raw pixels, the authors parse diagrams into structural clauses (e.g., "line A B C") and semantic clauses (e.g., "AB = 3√2"). They use a Structural-Semantic Pre-training strategy—essentially a Masked Language Modeling (MLM) task—to help the model learn the relationships between these clauses and the problem text before tackling the actual math.
Self-limited Reasoning
The model uses a GRU-based decoder to generate a "solution program"—a sequence of theorem applications rather than just a final number. This decoder is "self-limited," meaning it constrains its output vocabulary to the specific variables and constants present in the current problem, reducing the search space and errors.
Multi-level Theorem Verification
This is the "symbolic" safeguard. The verifier checks generated solution candidates at three hierarchical levels:
- Form: Does the step match the theorem's required structure?
- Calculability: Can the equation actually be solved for the target variable?
- Semantic: Do the values satisfy geometric axioms (e.g., the triangle inequality or positive side lengths)?
Datasets
The research utilizes two primary datasets:
- PGPS9K (New): A large-scale dataset created by the authors containing 9,021 plane geometry problems across 30 types. It includes fine-grained annotations for textual clauses, solution programs, and knowledge tuples.
- Geometry3K: A standard benchmark used to evaluate the model's generalization and compare it against previous state-of-the-art solvers.
Key Insights and Results
One of the most effective ideas is treating the diagram as a set of "clauses." By converting visual relationships into text-like structures, the model can leverage powerful NLP architectures to fuse modalities more effectively. Ablation studies reveal that structural-semantic pre-training is a "game-changer," providing a massive ~30% boost in accuracy.
On the Geometry3K dataset, PGPSNet-v2-L achieved a 72.8% completion rate, outperforming the best symbolic solver (Inter-GPS at 69.0%) and previous neural solvers (Geoformer at 36.8%). On the new PGPS9K dataset, the model reached 69.4% accuracy. The multi-level verifier provided a consistent performance boost, proving particularly effective at catching "hallucinated" steps.
Limitations and Future Work
While the clauses help, the model still uses a standard CNN (ResNet-18) for raw visual features, which can lead to information loss in complex diagrams. Currently, the solver cannot "draw" new auxiliary lines, a technique often required for high-level geometry. Future work could involve automatically inducing rules from textbooks or large-scale data to reduce the dependency on manual rule bases and fine-grained annotations.
Summary updated