Proceedings

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

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 4733-4741.

https://doi.org/10.24963/ijcai.2025/527

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 effectively 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 correctness and 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.

  1. [Buchberger, 1988] Bruno Buchberger. Applications of gröbner bases in non-linear computational geometry. Mathematical aspects of scientific software, pages 59-87, 1988.
  2. [Chen et al., 2021] Jiaqi Chen, Jianheng Tang, Jinghui Qin, Xiaodan Liang, Lingbo Liu, Eric Xing, and Liang Lin. Geoqa: A geometric question answering benchmark to- wards multimodal numerical reasoning. In Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021, pages 513-523, 2021.
  3. [Chen et al., 2022] Jiaqi Chen, Tong Li, Jinghui Qin, Pan Lu, Liang Lin, Chongyu Chen, and Xiaodan Liang. Uni- geo: Unifying geometry logical reasoning via reformulat- ing mathematical expression. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 3313-3323. Association for Computa- tional Linguistics, 2022.
  4. [Chou et al., 1995] Shang-Ching Chou, Xiao-Shan Gao, and Jing-Zhong Zhang. Automated production of traditional proofs in solid geometry. Journal of Automated Reason- ing, 14(2):257-291, 1995.
  5. [Chou et al., 2000] Shang-Ching Chou, Xiao-Shan Gao, and Jing-Zhong Zhang. A deductive database approach to au- tomated geometry theorem proving and discovering. Jour- nal of Automated Reasoning, 25(3):219-246, 2000.
  6. [DeepSeek-AI, 2024] DeepSeek-AI. Deepseek-v3 technical report, 2024.
  7. [Devlin et al., 2019] Jacob Devlin, Ming-Wei Chang, Ken- ton Lee, and Kristina Toutanova. BERT: Pre-training of deep bidirectional transformers for language understand- ing. In Jill Burstein, Christy Doran, and Thamar Solorio, editors, Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics, pages 4171-4186, Minneapolis, Minnesota, June 2019. Association for Computational Linguistics.
  8. [Gan et al., 2019] Wenbin Gan, Xinguo Yu, Ting Zhang, and Mingshu Wang. Automatically proving plane geome- try theorems stated by text and diagram. International Journal of Pattern Recognition and Artificial Intelligence, 33(07):1940003, 2019.
  9. [Gelernter, 1959] Herbert L Gelernter. Realization of a ge- ometry theorem proving machine. In IFIP congress, pages 273-281, 1959.
  10. [Gowers et al., 2023] Timothy Gowers, Po-Shen Loh, Dan Roberts, Geoff Smith, Terence Tao, D. Sculley, Kevin Buzzard, Leo de Moura, Lester Mackey, and Peter J. Liu. Artificial intelligence mathematical olympiad prize (aimo prize), 2023.
  11. [Guo and Jian, 2022] Fucheng Guo and Pengpeng Jian. A graph convolutional network feature learning framework for interpretable geometry problem solving. In 2022 In- ternational Conference on Intelligent Education and Intel- ligent Research (IEIR), pages 59-64. IEEE, 2022.
  12. [He et al., 2024] Yiming He, Jia Zou, Xiaokai Zhang, Na Zhu, and Tuo Leng. Fgeo-tp: A language model- enhanced solver for euclidean geometry problems. Sym- metry, 16(4):421, 2024.
  13. [Lewis et al., 2020] Mike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad, Abdelrahman Mohamed, Omer Levy, Veselin Stoyanov, and Luke Zettlemoyer. BART: Denoising sequence-to-sequence pre-training for natural language generation, translation, and comprehension. In
  14. Dan Jurafsky, Joyce Chai, Natalie Schluter, and Joel Tetreault, editors, Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 7871-7880, Online, July 2020. Association for Compu- tational Linguistics.
  15. [Li et al., 2020] Bohan Li, Hao Zhou, Junxian He, Mingx- uan Wang, Yiming Yang, and Lei Li. On the sentence embeddings from pre-trained language models. In Pro- ceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 9119- 9130, 2020.
  16. [Littman et al., 2022] Michael L Littman, Ifeoma Ajunwa, Guy Berger, Craig Boutilier, Morgan Currie, Finale Doshi- Velez, Gillian Hadfield, Michael C Horowitz, Charles Is- bell, Hiroaki Kitano, et al. Gathering strength, gathering storms: The one hundred year study on artificial intel- ligence (ai100) 2021 study panel report. arXiv preprint arXiv:2210.15767, 2022.
  17. [Lu et al., 2021] Pan Lu, Ran Gong, Shibiao Jiang, Liang Qiu, Siyuan Huang, Xiaodan Liang, and Song-chun Zhu. Inter-gps: Interpretable geometry problem solving with formal language and symbolic reasoning. In Proceedings of the 59th Annual Meeting of the Association for Compu- tational Linguistics and the 11th International Joint Con- ference on Natural Language Processing (Volume 1: Long Papers), pages 6774-6786, 2021.
  18. [Nevins, 1975] Arthur J Nevins. Plane geometry theorem proving using forward chaining. Artificial Intelligence, 6(1):1-23, 1975.
  19. [Ning et al., 2023] Maizhen Ning, Qiu-Feng Wang, Kaizhu Huang, and Xiaowei Huang. A symbolic characters aware model for solving geometry problems. In Proceedings of the 31st ACM International Conference on Multimedia, page 7767-7775. Association for Computing Machinery, 2023.
  20. [Peng et al., 2023] Shuai Peng, Di Fu, Yijun Liang, Liangcai Gao, and Zhi Tang. Geodrl: A self-learning framework for geometry problem solving using reinforcement learn- ing in deductive reasoning. In Findings of the Association for Computational Linguistics: ACL 2023, pages 13468- 13480, 2023.
  21. [Raffel et al., 2020] Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J Liu. Exploring the lim- its of transfer learning with a unified text-to-text trans- former. Journal of machine learning research, 21(140):1- 67, 2020.
  22. [Sachan and Xing, 2017] Mrinmaya Sachan and Eric Xing. Learning to solve geometry problems from natural lan- guage demonstrations in textbooks. In Proceedings of the 6th Joint Conference on Lexical and Computational Se- mantics ( SEM 2017), pages 251-261, 2017.
  23. [Seo et al., 2015] Minjoon Seo, Hannaneh Hajishirzi, Ali Farhadi, Oren Etzioni, and Clint Malcolm. Solving ge- ometry problems: Combining text and diagram interpre- tation. In Proceedings of the 2015 conference on empiri- cal methods in natural language processing, pages 1466- 1476, 2015.
  24. [Trinh et al., 2024] Trieu H Trinh, Yuhuai Wu, Quoc V Le, He He, and Thang Luong. Solving olympiad geometry without human demonstrations. Nature, 625(7995):476- 482, 2024.
  25. [Tsai et al., 2021] Shih-hung Tsai, Chao-Chun Liang, Hsin- Min Wang, and Keh-Yih Su. Sequence to general tree: Knowledge-guided geometry word problem solving. In Proceedings of the 59th Annual Meeting of the Associa- tion for Computational Linguistics and the 11th Interna- tional Joint Conference on Natural Language Processing (Volume 2: Short Papers), pages 964-972, 2021.
  26. [Vaswani et al., 2017] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. Advances in neural information processing systems, 30, 2017.
  27. [Wu et al., 2024] Wenjun Wu, Lingling Zhang, Jun Liu, Xi Tang, Yaxian Wang, Shaowei Wang, and Qianying Wang. E-gps: Explainable geometry problem solving via top-down solver and bottom-up generator. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pat- tern Recognition (CVPR), pages 13828-13837, June 2024.
  28. [Wu, 1978] W-T Wu. On the decision problem and the mech- anization of theorem proving in elementary geometry. Sci- entia Sinica, 21:157-179, 1978.
  29. [Xiao and Zhang, 2023] Ziyang Xiao and Dongxiang Zhang. A deep reinforcement learning agent for geometry on- line tutoring. Knowledge and Information Systems, 65(4):1611-1625, 2023.
  30. [Xiao et al., 2024] Tong Xiao, Jiayu Liu, Zhenya Huang, Jinze Wu, Jing Sha, Shijin Wang, and Enhong Chen. Learning to solve geometry problems via simulating hu- man dual-reasoning process. In Kate Larson, editor, Pro- ceedings of the Thirty-Third International Joint Confer- ence on Artificial Intelligence, IJCAI-24, pages 6559- 6568. International Joint Conferences on Artificial Intel- ligence Organization, 8 2024. Main Track. IJCAI
  31. [Yan et al., 2021] Y Yan, R Li, S Wang, F Zhang, W Wu, and W ConSERT Xu. A contrastive framework for self-supervised sentence representation transfer. In Pro- ceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing, vol- ume 1, 2021.
  32. [Ying et al., 2021] Chengxuan Ying, Tianle Cai, Shengjie Luo, Shuxin Zheng, Guolin Ke, Di He, Yanming Shen, and Tie-Yan Liu. Do transformers really perform badly for graph representation? Advances in Neural Information Processing Systems, 34:28877-28888, 2021.
  33. [Zhang et al., 1995] Jing-Zhong Zhang, Shang-Ching Chou, and Xiao-Shan Gao. Automated production of traditional proofs for theorems in euclidean geometry i. the hilbert intersection point theorems. Annals of Mathematics and Artificial Intelligence, 13(1-2):109-137, 1995.
  34. [Zhang et al., 2023a] Ming-Liang Zhang, Zhong-Zhi Li, Fei Yin, and Cheng-Lin Liu. Lans: A layout-aware neu- ral solver for plane geometry problem. arXiv preprint arXiv:2311.16476, 2023.
  35. [Zhang et al., 2023b] Ming-Liang Zhang, Fei yin, and Cheng-Lin Liu. A multi-modal neural geometric solver with textual clauses parsed from diagram. In Proceedings of the Thirty-Second International Joint Conference on Ar- tificial Intelligence, IJCAI-23, pages 3374-3382. Interna- tional Joint Conferences on Artificial Intelligence Organi- zation, 2023. IJCAI
  36. [Zhang et al., 2024a] Xiaokai Zhang, Na Zhu, Yiming He, Jia Zou, Qike Huang, Xiaoxiao Jin, Yanjun Guo, Chenyang Mao, Zhe Zhu, Dengfeng Yue, Fangzhen Zhu, Yang Li, Yifan Wang, Yiwen Huang, Runan Wang, Cheng Qin, Zhenbing Zeng, Shaorong Xie, Xiangfeng Luo, and Tuo Leng. Formalgeo: An extensible formalized frame- work for olympiad geometric problem solving, 2024.
  37. [Zhang et al., 2024b] Xiaokai Zhang, Na Zhu, Yiming He, Jia Zou, Cheng Qin, Yang Li, and Tuo Leng. Fgeo-sss: A search-based symbolic solver for human-like automated geometric reasoning. Symmetry, 16(4), 2024.
  38. [Zhang et al., 2024c] Xiaokai Zhang, Na Zhu, Cheng Qin, LI Yang, Zhenbing Zeng, and Tuo Leng. Formal repre- sentation and solution of plane geometric problems. In The 4th Workshop on Mathematical Reasoning and AI at NeurIPS'24, 2024.
  39. [Zhang et al., 2024d] Zeren Zhang, Jo-Ku Cheng, Jingyang Deng, Lu Tian, Jinwen Ma, Ziran Qin, Xiaokai Zhang, Na Zhu, and Tuo Leng. Diagram formalization enhanced multi-modal geometry problem solver, 2024.
  40. [Zhu et al., 2025] Na Zhu, Xiaokai Zhang, Qike Huang, Fangzhen Zhu, Zhenbing Zeng, and Tuo Leng. Fgeo- parser: Autoformalization and solution of plane geometric problems. Symmetry, 17(1), 2025.
  41. [Zou et al., 2024] Jia Zou, Xiaokai Zhang, Yiming He, Na Zhu, and Tuo Leng. Fgeo-drl: Deductive reasoning for geometric problems through deep reinforcement learning. Symmetry, 16(4), 2024.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards