arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.08274cs.CLcs.AI
收藏

用由细到粗的抽象和推理处理数学应用题

Tackling Math Word Problems with Fine-to-Coarse Abstracting and Reasoning

Fudan University(复旦大学);Mila(米拉人工智能研究所);DIRO, Université de Montréal(蒙特利尔大学计算机科学与运筹学系);CIFAR(加拿大高等研究院)

Ailisi Li, Xueyao Jiang, Bang Liu, Jiaqing Liang, Yanghua Xiao

摘要:

数学应用题是一项重要的任务,它要求学生具备对数学文本的理解和推理能力。现有的方法大多将其形式化为一个生成任务,采用Seq2Seq或Seq2Tree模型将输入的数学问题用自然语言编码为全局表示,并生成输出的数学表达式。这样的方法只能学习浅层次的语法,无法捕捉输入中的细粒度变化。本文提出了一种从细到粗的数学应用题建模方法,既能捕捉到局部的细粒度信息,又能捕捉到全局的逻辑结构,而不是从全局特征中生成一个完整的方程序列或表达式树,而是迭代地组合低层操作数来预测高层操作数,对问题进行抽象,并自下而上对求解操作数进行推理.我们的模型自然对局部变化更敏感,可以更好地推广到看不见的问题类型。Math23k和SVAMP数据集上的广泛评估证明了我们方法的准确性和鲁棒性。

英文摘要:

Math Word Problems (MWP) is an important task that requires the ability of understanding and reasoning over mathematical text. Existing approaches mostly formalize it as a generation task by adopting Seq2Seq or Seq2Tree models to encode an input math problem in natural language as a global representation and generate the output mathematical expression. Such approaches only learn shallow heuristics and fail to capture fine-grained variations in inputs. In this paper, we propose to model a math word problem in a fine-to-coarse manner to capture both the local fine-grained information and the global logical structure of it. Instead of generating a complete equation sequence or expression tree from the global features, we iteratively combine low-level operands to predict a higher-level operator, abstracting the problem and reasoning about the solving operators from bottom to up. Our model is naturally more sensitive to local variations and can better generalize to unseen problem types. Extensive evaluations on Math23k and SVAMP datasets demonstrate the accuracy and robustness of our method.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑