FGeo-HyperGNet: Geometric Problem Solving Integrating FormalGeo Symbolic System and Hypergraph Neural Network

Xiaokai Zhang, Yang Li, Na Zhu, Cheng Qin, Zhenbing Zeng +1 more
2/18/2024
cs.AI

Official code: BitSecret/HyperGNet (16 stars, MIT, last commit 2025-09-23).

Abstract

Geometric problem solving has always been a long-standing challenge in the fields of mathematical reasoning and artificial intelligence. We built a neural-symbolic system, called FGeo-HyperGNet, to automatically perform human-like geometric problem solving. The symbolic component is a formal system built on FormalGeo, which can automatically perform geometric relational reasoning and algebraic calculations and organize the solution into a hypergraph with conditions as hypernodes and theorems as hyperedges. The neural component, called HyperGNet, is a hypergraph neural network based on the attention mechanism, including an encoder to encode the structural and semantic information of the hypergraph and a theorem predictor to provide guidance in solving problems. The neural component predicts theorems according to the hypergraph, and the symbolic component applies theorems and updates the hypergraph, thus forming a predict-apply cycle to ultimately achieve readable and traceable automatic solving of geometric problems. Experiments demonstrate the effectiveness of this neural-symbolic architecture. We achieved state-of-the-art results with a TPA of 93.50% and a PSSR of 88.36% on the FormalGeo7K dataset. The code is available at https://github.com/BitSecret/HyperGNet.

View on arXivView PDF

Code Implementations(1)

MIT

Geometric Problem Solving Integrating FormalGeo Symbolic System and Hypergraph Neural Network.

161PythonMar 27, 20221 years agoMIT

Similar Papers

Cite this paper

@article{zhang2024fgeohypergnet,
  title  = {FGeo-HyperGNet: Geometric Problem Solving Integrating FormalGeo Symbolic System and Hypergraph Neural Network},
  author = {Xiaokai Zhang and Yang Li and Na Zhu and Cheng Qin and Zhenbing Zeng and Tuo Leng},
  year   = {2024},
  eprint = {2402.11461},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.11461v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.11461.svg)](https://codeofpaper.com/paper/2402.11461)

Discussion