Solving Arithmetic Word Problems by Synergizing Large Language Model and Scene-Aware Syntax–Semantics Method

Author:

Peng Rao1ORCID,Huang Litian1ORCID,Yu Xinguo12ORCID

Affiliation:

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

2. Central China Normal University Wollongong Joint Institute, Central China Normal University, Wuhan 430079, China

Abstract

Developing Arithmetic Word Problem (AWP) -solving algorithms has recently become one of the hottest research areas because it can simultaneously advance general artificial intelligence and the application of AI technology in education. This paper presents a novel algorithm for solving AWPs by synergizing Large Language Models (LLMs) with the Scene-Aware Syntax–Semantics (S2) method. The innovation of this algorithm lies in leveraging the LLM to divide problems into multiple scenes, thereby enhancing the relation-flow approach in the processes of relation extraction and reasoning. Our algorithm consists of three components: scene decomposer, relation extractor, and symbolic solver. In the scene decomposer, we propose the Chain-Of-Scene (COS) method. It dynamically constructs prompts for the LLM using a retrieval-augmented strategy, thus enabling the chain-formed generation of scenes from the input problem. In the relation extractor, we introduce the Scene-Aware S2 method, which utilizes syntax–semantics models to match the text within each scene and convert it into relations. This allows for the efficient and accurate extraction of explicit and implicit relations. Finally, a symbolic solver is employed to reason through the set of relations to derive the solution. Experimental results on six authoritative datasets demonstrate that the proposed algorithm achieves an average solving accuracy of 90.4%, outperforming the State-Of-The-Art (SOTA) algorithm by 1.1%. The case study further illustrates that it outputs more reliable solutions than baseline algorithms. These findings have significant implications for promoting smart education and developing personalized intelligent tutoring systems.

Funder

National Natural Science Foundation of China

China Postdoctoral Science Foundation

Publisher

MDPI AG

Reference39 articles.

1. The Gap of Semantic Parsing: A Survey on Automatic Math Word Problem Solvers;Zhang;IEEE Trans. Pattern Anal. Mach. Intell.,2020

2. Bobrow, D.G. (1964). Natural Language Input for a Computer Problem Solving System, Massachusetts Institute of Technology.

3. Understanding and solving word arithmetic problems;Kintsch;Psychol. Rev.,1985

4. Achiam, J., Adler, S., Agarwal, S., Ahmad, L., Akkaya, I., Aleman, F.L., Almeida, D., Altenschmidt, J., Altman, S., and Anadkat, S. (2023). GPT-4 Technical Report. arXiv.

5. Language models are few-shot learners;Brown;Adv. Neural Inf. Process. Syst.,2020

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3