Template-Based Math Word Problem Solvers with Recursive Neural Networks

By Lei Wang, Dongxiang Zhang, Jipeng Zhang, Xing Xu, Lianli Gao, Bing Tian Dai, Heng Tao Shen. 2019

168 citations recorded by the source corpus.

The design of automatic solvers to arithmetic math word problems has attracted considerable attention in recent years and a large number of datasets and methods have been published. Among them, Math23K is the largest data corpus that is very helpful to evaluate the generality and robustness of a proposed solution. The best performer in Math23K is a seq2seq model based on LSTM to generate the math expression. However, the model suffers from performance degradation in large space of target expressions. In this paper, we propose a template-based solution based on recursive neural network for math expression construction. More specifically, we first apply a seq2seq model to predict a tree-structure template, with inferred numbers as leaf nodes and unknown operators as inner nodes. Then, we design a recursive neural network to encode the quantity with Bi-LSTM and self attention, and infer the unknown operator nodes in a bottom-up manner. The experimental results clearly establish the superiority of our new framework as we improve the accuracy by a wide margin in two of the largest datasets, i.e., from 58.1% to 66.9% in Math23K and from 62.8% to 66.8% in MAWPS.

Subfields: Artificial Intelligence, Computational Theory and Mathematics, Natural Language Processing

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Xiangliang Zhang
  2. Zhenwen Liang
  3. Jipeng Zhang
  4. Nakul Verma
  5. Yibin Shen
  6. Cheqing Jin
  7. Lei Wang
  8. Xiaodan Liang

In Computational Theory and Mathematics

  1. Jipeng Zhang
  2. Zhenwen Liang
  3. Xiangliang Zhang
  4. Lei Wang
  5. Yibin Shen
  6. Cheqing Jin
  7. Yan Wang
  8. Wei Dang Lu

In Natural Language Processing

  1. Xiangliang Zhang
  2. Zhenwen Liang
  3. Jipeng Zhang
  4. Iddo Drori
  5. Nakul Verma
  6. Yibin Shen
  7. Cheqing Jin
  8. Lei Wang

Citations in the corpus