[Paper Review] Inter-GPS: Interpretable Geometry Problem Solving with Formal Language and Symbolic Reasoning
This paper introduces Geometry3K, a large-scale, formally annotated geometry problem benchmark with 3,002 SAT-style problems, and proposes Inter-GPS, an interpretable geometry problem solver that uses formal language parsing and symbolic reasoning with theorem-based conditional rules. Inter-GPS achieves 78.3% accuracy on Geometry3K by combining a rule-based text parser, neural diagram detection, and a theorem predictor to guide efficient, step-by-step reasoning, significantly outperforming prior methods.
Geometry problem solving has attracted much attention in the NLP community recently. The task is challenging as it requires abstract problem understanding and symbolic reasoning with axiomatic knowledge. However, current datasets are either small in scale or not publicly available. Thus, we construct a new large-scale benchmark, Geometry3K, consisting of 3,002 geometry problems with dense annotation in formal language. We further propose a novel geometry solving approach with formal language and symbolic reasoning, called Interpretable Geometry Problem Solver (Inter-GPS). Inter-GPS first parses the problem text and diagram into formal language automatically via rule-based text parsing and neural object detecting, respectively. Unlike implicit learning in existing methods, Inter-GPS incorporates theorem knowledge as conditional rules and performs symbolic reasoning step by step. Also, a theorem predictor is designed to infer the theorem application sequence fed to the symbolic solver for the more efficient and reasonable searching path. Extensive experiments on the Geometry3K and GEOS datasets demonstrate that Inter-GPS achieves significant improvements over existing methods. The project with code and data is available at https://lupantech.github.io/inter-gps.
Motivation & Objective
- To address the lack of large-scale, publicly available, and densely annotated geometry problem datasets suitable for symbolic reasoning.
- To develop a geometry problem solver that provides transparent, interpretable reasoning paths rather than relying on implicit neural representations.
- To improve the efficiency and accuracy of geometry problem solving by integrating formal language parsing with symbolic theorem application.
- To enable more reliable and explainable AI systems in educational math reasoning by combining structured input parsing with rule-based symbolic inference.
- To establish a benchmark that supports future research in interpretable, symbolic reasoning for mathematical problem solving.
Proposed method
- Inter-GPS parses natural language problem texts into formal language using rule-based templates with high accuracy (97%);
- It uses a neural object detector to extract geometric primitives from diagrams and maps them to formal language descriptions;
- The system represents geometric relations and constraints as a structured set of formal statements for symbolic reasoning;
- Theorem knowledge is encoded as conditional rules that are applied step-by-step during symbolic inference to derive the solution;
- A theorem predictor is trained to predict the most likely sequence of theorem applications to guide the search and reduce computational cost;
- A hybrid search strategy combining 'Predict' and 'Low-first' ordering is used to prioritize likely reasoning paths, reducing average search steps to 7.1.
Experimental results
Research questions
- RQ1Can a large-scale, formally annotated geometry dataset improve the performance and interpretability of symbolic reasoning models in geometry problem solving?
- RQ2How effective is formal language parsing of both text and diagrams in enabling transparent, step-by-step symbolic reasoning for geometry problems?
- RQ3Can a theorem predictor improve the efficiency and accuracy of symbolic solvers by guiding the sequence of theorem applications?
- RQ4To what extent does symbolic reasoning with explicit rule application outperform end-to-end neural models in geometry problem solving?
- RQ5What are the main failure modes of interpretable symbolic solvers, and how do parsing errors or incomplete theorem sets affect performance?
Key findings
- Inter-GPS achieves 78.3% accuracy on the Geometry3K dataset, significantly outperforming prior state-of-the-art methods.
- The 'Predict+Low-first' search strategy reduces the average number of search steps to 7.1, improving efficiency while maintaining high accuracy.
- Using ground-truth formal annotations for both text and diagrams increases Inter-GPS accuracy to 78.3%, demonstrating the importance of high-quality input representations.
- The rule-based text parser achieves 97% accuracy, while the diagram parser lags at 57.5% when using predicted literals, indicating a key bottleneck in visual parsing.
- Replacing neural baselines' inputs with ground-truth formal annotations improves performance by 9.2%, showing that structured representations unlock better model performance.
- Failure cases are primarily due to inaccurate diagram parsing, ambiguous references in text, and limitations in handling complex shapes or shaded areas.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.