Open Access iconOpen Access

ARTICLE

Solving Algebraic Problems with Geometry Diagrams Using Syntax-Semantics Diagram Understanding

Litian Huang, Xinguo Yu, Lei Niu*, Zihan Feng

Faculty of Artificial Intelligence in Education, Central China Normal University, Wuhan, 430079, China

* Corresponding Author: Lei Niu. Email: email

(This article belongs to the Special Issue: Cognitive Computing and Systems in Education and Research)

Computers, Materials & Continua 2023, 77(1), 517-539. https://doi.org/10.32604/cmc.2023.041206

Abstract

Solving Algebraic Problems with Geometry Diagrams (APGDs) poses a significant challenge in artificial intelligence due to the complex and diverse geometric relations among geometric objects. Problems typically involve both textual descriptions and geometry diagrams, requiring a joint understanding of these modalities. Although considerable progress has been made in solving math word problems, research on solving APGDs still cannot discover implicit geometry knowledge for solving APGDs, which limits their ability to effectively solve problems. In this study, a systematic and modular three-phase scheme is proposed to design an algorithm for solving APGDs that involve textual and diagrammatic information. The three-phase scheme begins with the application of the state-transformer paradigm, modeling the problem-solving process and effectively representing the intermediate states and transformations during the process. Next, a generalized APGD-solving approach is introduced to effectively extract geometric knowledge from the problem’s textual descriptions and diagrams. Finally, a specific algorithm is designed focusing on diagram understanding, which utilizes the vectorized syntax-semantics model to extract basic geometric relations from the diagram. A method for generating derived relations, which are essential for solving APGDs, is also introduced. Experiments on real-world datasets, including geometry calculation problems and shaded area problems, demonstrate that the proposed diagram understanding method significantly improves problem-solving accuracy compared to methods relying solely on simple diagram parsing.

Keywords


Cite This Article

APA Style
Huang, L., Yu, X., Niu, L., Feng, Z. (2023). Solving algebraic problems with geometry diagrams using syntax-semantics diagram understanding. Computers, Materials & Continua, 77(1), 517-539. https://doi.org/10.32604/cmc.2023.041206
Vancouver Style
Huang L, Yu X, Niu L, Feng Z. Solving algebraic problems with geometry diagrams using syntax-semantics diagram understanding. Comput Mater Contin. 2023;77(1):517-539 https://doi.org/10.32604/cmc.2023.041206
IEEE Style
L. Huang, X. Yu, L. Niu, and Z. Feng "Solving Algebraic Problems with Geometry Diagrams Using Syntax-Semantics Diagram Understanding," Comput. Mater. Contin., vol. 77, no. 1, pp. 517-539. 2023. https://doi.org/10.32604/cmc.2023.041206



cc This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 320

    View

  • 168

    Download

  • 1

    Like

Share Link