Generate & Rank: A Multi-task Framework for Math Word Problems

By Jianhao Shen, Yichun Yin, Lin Li, Lifeng Shang, Xin Jiang, Ming Zhang, Qun Liu. 2021

159 citations recorded by the source corpus.

Math word problem (MWP) is a challenging and critical task in natural language processing. Many recent studies formalize MWP as a generation task and have adopted sequence-to-sequence models to transform problem descriptions to mathematical expressions. However, mathematical expressions are prone to minor mistakes while the generation objective does not explicitly handle such mistakes. To address this limitation, we devise a new ranking task for MWP and propose Generate&Rank, a multi-task framework based on a generative pre-trained language model. By joint training with generation and ranking, the model learns from its own mistakes and is able to distinguish between correct and incorrect expressions. Meanwhile, we perform tree-based disturbance specially designed for MWP and an online update to boost the ranker. We demonstrate the effectiveness of our proposed method on the benchmark and the results show that our method consistently outperforms baselines in all datasets. Particularly, in the classical Math23k, our method is 7% (78.4% $\rightarrow$ 85.4%) higher than the state-of-the-art.

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. Sergey Levine
  2. Quoc V. Le
  3. Mohit Bansal
  4. Percy Liang
  5. Luke S. Zettlemoyer
  6. Jianfeng Gao
  7. Graham Neubig
  8. Caiming Xiong

In Computational Theory and Mathematics

  1. Pieter Abbeel
  2. Sergey Levine
  3. Lukasz Kaiser
  4. Dale Schuurmans
  5. John Schulman
  6. Quoc V. Le
  7. Jan Leike
  8. Vineet Kosaraju

In Natural Language Processing

  1. Jianfeng Gao
  2. Mohit Bansal
  3. Quoc V. Le
  4. Richard Socher
  5. Luke S. Zettlemoyer
  6. Graham Neubig
  7. Caiming Xiong
  8. Mirella Lapata

Citations in the corpus