NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

GeoExpert: Geometry Problem Solving Based on RoBERTa and Graph Attention Networks

Xiao Peng, Xuefeng Zhang, Hanyu Zhao, Liang-Yü ChenProceedings/Proceedings 2024

Abstract

Solving geometry problems requires the capacity of parsing multi-modal information and utilizing theorem knowledge for comprehensive reasoning. The lack of high-quality datasets and interpretable symbolic reasoning is a great challenge in automated geometry problem solving. Based on Inter-GPS, we reannotate all wrong annotations in the Geometry3K dataset to form a new dataset, Geometry3K+, with a higher quality. We further perform a data augmentation method to expand the dataset scale to 7,200. We propose GeoExpert, an automated geometry problem solving framework, which employs RoBERTa and Graph Attention Networks to recommend theorems. The experimental results demonstrate the effectiveness of Geometry3K+ and GeoExpert, and the accuracy is improved to 92.9%.

Introduction

Automated geometry problem solving is a long-standing challenge in artificial intelligence, requiring the integration of natural language processing, computer vision, and formal logical reasoning. Traditional Large Language Models (LLMs) often struggle with the precise symbolic logic and arithmetic necessary for mathematical proofs. This paper introduces GeoExpert, a framework designed to bridge the gap between multi-modal parsing and symbolic reasoning by treating mathematical theorems as interconnected nodes in a graph.

Methodology: The GeoExpert Framework

GeoExpert operates through a three-stage pipeline: parsing, theorem recommendation, and symbolic execution.

The GeoExpert architecture comprising a multi-modal parser, a GAT-based theorem recommender, and a symbolic solver.

1. Multi-modal Parsing

The framework converts problem text and diagrams into a unified formal language. It utilizes GPT-4 for text-to-predicate conversion and PGDPNet for diagram parsing. This ensures that the problem is represented in a structured format suitable for logical deduction.

2. Theorem Recommendation via GAT

The core innovation lies in the Theorem Recommender. Unlike previous models that treat theorems in isolation, GeoExpert uses Graph Attention Networks (GAT) to model the dependencies between theorems. By encoding the problem context with RoBERTa and BiLSTM and applying GAT to a theorem co-occurrence graph, the model learns the "intuition" of which theorems are likely to be useful given the current problem state.

3. Symbolic Solver

The recommended theorems are passed to an enhanced symbolic solver. This solver executes the logical steps sequentially, avoiding the "hallucinations" typical of generative models and ensuring mathematical rigor.

Data Refinement and Augmentation

To address the poor quality of existing benchmarks, the authors developed Geometry3K+, a manually reannotated version of the Geometry3K dataset. Furthermore, they introduced ADS-Geometry3K, an augmented dataset of 7,200 problems created through symbol replacement and predicate reordering, which significantly enhances the model's robustness and generalization.

Experimental Results

The effectiveness of GeoExpert was evaluated across multiple datasets and problem types (e.g., angle, length, area).

Performance comparison of GeoExpert against human experts and baseline models across various geometry problem types and datasets.

As shown in the results, GeoExpert achieved a state-of-the-art accuracy of 92.9% on the ADS-Geometry3K dataset, notably surpassing the "Human Expert" benchmark of 90.9%. Ablation studies confirmed that the combination of RoBERTa and GAT (91.4% accuracy) outperformed standard Graph Convolutional Networks (88.1%) and standalone RoBERTa models (87.6%), validating the importance of modeling theorem correlations.

Conclusion

GeoExpert demonstrates that combining high-quality data reannotation with graph-based theorem recommendation significantly advances automated geometry solving. By treating theorems as a relational network rather than a static list, the model achieves a level of reasoning that rivals human expertise, providing a scalable path for symbolic reasoning in other mathematical domains.

Summary updated

BibTeX
@inproceedings{peng2024geoexpert,
  author = {Xiao Peng and Xuefeng Zhang and Hanyu Zhao and Liang-Yü Chen},
  title = {{GeoExpert: Geometry Problem Solving Based on RoBERTa and Graph Attention Networks}},
  booktitle = {Proceedings/Proceedings},
  year = {2024},
  doi = {10.18293/seke2024-135},
}
Figure