计算机应用研究2025,Vol.42Issue(1) :214-221.DOI:10.19734/j.issn.1001-3695.2024.06.0208

基于语义理解增强的数学应用题机器解答方法

Machine solving method for math word problem based on semantic understanding enhancement

菅朋朋 闫鸣 王彦丽
计算机应用研究2025,Vol.42Issue(1) :214-221.DOI:10.19734/j.issn.1001-3695.2024.06.0208

基于语义理解增强的数学应用题机器解答方法

Machine solving method for math word problem based on semantic understanding enhancement

菅朋朋 1闫鸣 1王彦丽2
扫码查看

作者信息

  • 1. 华北水利水电大学信息工程学院,郑州 450046
  • 2. 河南财经政法大学,郑州 450016
  • 折叠

摘要

针对现有数学应用题机器解答方法不能自适应理解语义多变的问题文本、求解精度提升受限,提出基于语义理解增强的机器解答方法.首先,设计语义增强的预训练语言模型SeBERT,通过多粒度知识建模策略和连续语义融入策略以实现对题目的精确理解;其次,构建求解模型SeBERT-PT,其采用语言模型-池化-树的求解结构,有效改善了应用题的语义理解偏差并且提高了解题的精确度;最后,引入基于置信度的判断机制,对于不值得信任的预测直接判定求解失败,确保解答精度的同时,提升求解模型训练效率.实验结果表明,该方法在中文和英文数据集上的解题精度分别达到了 85.7%和77.9%,均优于其他基线方法,特别是在涉及复杂语义理解和逻辑推理的题目上,表现尤为突出.证明了该方法在提升数学应用题解答精度方面的有效性,也展示了其在跨语言环境下的广泛适用性.

Abstract

Since the existing machine solving methods of math word problems cannot adaptively understand the text of the problem with changing semantics,and have a limit in the improvement of solving accuracy,this paper proposed a machine sol-ving method based on semantic understanding enhancement.Firstly,this method designed a semantically enhanced pre-train-ing language model SeBERT to accurately understand the topic through a multi-granularity knowledge modeling strategy and con-tinuous semantic integration strategy.Secondly,this method constructed the solution model SeBERT-PT,which adopted the solution structure of language model-pool-tree to effectively improve the semantic understanding deviation of word problems and the accuracy of understanding problems.Finally,it introduced a confidence-based judgment mechanism to directly deter-mine the failure of solving untrustworthy predictions,ensure the accuracy of the solution,and improve the training efficiency of solving models.The experimental results show that the accuracy results on Chinese and English datasets are 85.7%and 77.9%respectively,which is superior to other baseline methods,especially on problems involving complex semantic under-standing and logical reasoning.It has proved the effectiveness of the method in improving the accuracy of solving math word problems and demonstrates its wide applicability in cross-language environments.

关键词

数学应用题求解/预训练语言模型/语义增强/池化/置信度

Key words

math word problem solution/pre-trained language model/semantic enhancement/pooling/confidence

引用本文复制引用

出版年

2025
计算机应用研究
四川省电子计算机应用研究中心

计算机应用研究

CSTPCDCSCD北大核心
影响因子:0.93
ISSN:1001-3695
段落导航相关论文