Existing MWP solvers employ sequence or binary tree to present the solution expression and decode it from given problem description. However, such structures fail to handle the variants that can be derived via mathematical manipulation, e.g., $(a_1+a_2) * a_3$ and $a_1 * a_3+a_2 * a_3$ can both be possible valid solutions for a same problem but formulated as different expression sequences or trees. The multiple solution variants depicting different possible solving procedures for the same input problem would raise two issues: 1) making it hard for the model to learn the mapping function between the input and output spaces effectively, and 2) wrongly indicating \textit{wrong} when evaluating a valid expression variant. To address these issues, we introduce a unified tree structure to present a solution expression, where the elements are permutable and identical for all the expression variants. We propose a novel non-autoregressive solver, named \textit{MWP-NAS}, to parse the problem and deduce the solution expression based on the unified tree. For evaluating the possible expression variants, we design a path-based metric to evaluate the partial accuracy of expressions of a unified tree. The results from extensive experiments conducted on Math23K and MAWPS demonstrate the effectiveness of our proposed MWP-NAS. The codes and checkpoints are available at: \url{https://github.com/mengqunhan/MWP-NAS}.
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(电子科技大学)
Practice Makes a Solver Perfect: Data Augmentation for Math Word Problem Solvers
Data Sciences and Analytics Center, Kohli Center on Intelligent Systems(科利智能系统中心数据科学与分析中心);International Institute of Information Technology, Hyderabad(海得拉巴国际信息技术学院)
MWPToolkit: An Open-Source Framework for Deep Learning-Based Math Word Problem Solvers
Xihua University(西华大学);Singapore Management University(新加坡管理大学);East China Normal University(华东师范大学);Tencent AI Lab(腾讯人工智能实验室);Zhejiang University(浙江大学)