Solving Geometry Problems: A Text–Formula–Image Multimodal Parsing and Fusion Model
Open Access
Abstract
Solving geometry problems is a critical challenge in education, for it demands the integration of textual semantic descriptions, mathematical formula logic and spatial graphical information, as well as rigorous geometric theorem application and stepwise logical deduction. These are core capabilities that underpin the realization of personalized intelligent tutoring and efficient educational resource allocation. Traditional geometry problem solving methods often suffer from deficiencies in accuracy and the fusion of text, formula and image features. Hence, this paper proposes a method of solving geometry problems based on a text–formula–image (TFI) multimodal parsing and fusion model. The TFI parser employs a self-attention multilayer Transformer to enhance the extraction of logical relations among geometric text expressions. Meanwhile, it parses formulas into tree structures to overcome the loss of formula structural features, which utilizes symbolic embedding and tree-structured encoding to preserve hierarchical logical information and yields unified formula representations via a multi-granularity fusion module. The TFI parser also leverages a Feature Pyramid Network (FPN) for the accurate detection of geometric and non-geometric instances, resolves the issues of blurred segmentation for slender geometric elements and the inaccurate localization of small-sized symbols through mask averaging and RoIAlign, and generates high-dimensional image features using DenseNet-121. The TFI multimodal fusion model integrates a contrastive learning mechanism and constructs fused feature representations by stacking self-attention and cross-attention layers. This design effectively narrows the semantic gap between text, formula, and image features, addressing the inadequacy of traditional fusion approaches in deep cross-modal feature alignment. An attention-augmented Gated Recurrent Unit (GRU) network processes the fused TFI features to produce target operation trees and geometry solutions, ensuring interpretable and precise reasoning performance. The proposed method is evaluated on the PGDP5K and GeoEval datasets, and it achieves an average accuracy of 59.63% in geometry problem solving, which validates its effectiveness. This paradigm offers a viable technical approach for uniformly modeling complex educational tasks, including geometry problem solving and timetable scheduling.Keywords
Funding Information
- National Natural Science Foundation of China (62207010)
- National Natural Science Foundation of China (62107014)
- General project of Natural Science Foundation of Henan Province (262300421801)
- Soft Science Project of Henan Province (262400410529)
- Science and Technology Innovation Teams in Universities of Henan Province (23A520002)
This publication has 44 references indexed in Scilit:
- A Multi-Modal Attention Fusion Framework for Road Connectivity Enhancement in Remote Sensing ImageryMathematics, 2025
- A generation model of math word problem solution via kernel mean dynamic aggregation and dual-decoder synergy fusionInformation Fusion, 2025
- Interpretable Geometry Problem Solving Using Improved RetinaNet and Graph Convolutional NetworkElectronics, 2023
- Discovery and recognition of formula concepts using machine learningScientometrics, 2023
- Improving Handwritten Mathematical Expression Recognition via Similar Symbol DistinguishingIEEE Transactions on Multimedia, 2023
- Traffic Sign Detection Method Based on Improved SSDInformation, 2020
- Discourse in Multimedia: A Case Study in Extracting Geometry Knowledge from TextbooksComputational Linguistics, 2020
- An End-to-End Algorithm for Solving Circuit ProblemsInternational Journal of Pattern Recognition and Artificial Intelligence, 2019
- A Framework for Solving Explicit Arithmetic Word Problems and Proving Plane Geometry TheoremsInternational Journal of Pattern Recognition and Artificial Intelligence, 2019
- Gated recurrent unit based recurrent neural network for remaining useful life prediction of nonlinear deterioration processReliability Engineering & System Safety, 2019