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

通过解决方案多样化推广数学应用题解决方案

Generalizing Math Word Problem Solvers via Solution Diversification

University of Notre Dame(圣母大学);Hong Kong University of Science and Technology(香港科技大学);Singapore Management University(新加坡管理大学);Tencent AI Lab(腾讯AI实验室);University of Electronic Science and Technology of China(电子科技大学)

Zhenwen Liang, Jipeng Zhang, Lei Wang, Yan Wang, Jie Shao, Xiangliang Zhang

摘要:

当前的数学应用题(MWP)求解器通常是由(one-problem; one-solution)对训练的Seq 2Seq模型,每个模型由问题描述和显示推理流程的解决方案组成,以获得正确答案。然而,一个MWP问题自然具有多个解方程。使用(一个问题;一个解决方案)对的MWP求解器的训练排除了其他正确的解决方案,从而限制了MWP求解器的泛化能力。解决这个问题的一个可行的方法是对一个给定的问题增加多个解决方案。然而,很难通过人工努力收集多样化和准确的增强解决方案。在本文中,我们设计了一个新的训练框架的MWP求解器,通过引入解决方案缓冲区和解决方案缓存。缓冲器包括由MWP求解器生成的解决方案以促进训练数据多样性。参加培训的缓冲溶液质量控制专员。我们的框架灵活地适用于所有Seq 2Seq MWP求解器的全,半弱和弱监督训练的广泛设置。我们在基准数据集Math 23 k和一个名为Weak 12 k的新数据集上进行了广泛的实验,并表明我们的框架通过生成正确和多样化的解决方案来提高不同设置下各种MWP求解器的性能。

英文摘要:

Current math word problem (MWP) solvers are usually Seq2Seq models trained by the (one-problem; one-solution) pairs, each of which is made of a problem description and a solution showing reasoning flow to get the correct answer. However, one MWP problem naturally has multiple solution equations. The training of an MWP solver with (one-problem; one-solution) pairs excludes other correct solutions, and thus limits the generalizability of the MWP solver. One feasible solution to this limitation is to augment multiple solutions to a given problem. However, it is difficult to collect diverse and accurate augment solutions through human efforts. In this paper, we design a new training framework for an MWP solver by introducing a solution buffer and a solution discriminator. The buffer includes solutions generated by an MWP solver to encourage the training data diversity. The discriminator controls the quality of buffered solutions to participate in training. Our framework is flexibly applicable to a wide setting of fully, semi-weakly and weakly supervised training for all Seq2Seq MWP solvers. We conduct extensive experiments on a benchmark dataset Math23k and a new dataset named Weak12k, and show that our framework improves the performance of various MWP solvers under different settings by generating correct and diverse solutions.

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

↑