Semantically-Aligned Equation Generation for Solving and Reasoning Math Word Problems

Ting-Rui Chiang, Yun-Nung Chen


Abstract
Solving math word problems is a challenging task that requires accurate natural language understanding to bridge natural language texts and math expressions. Motivated by the intuition about how human generates the equations given the problem texts, this paper presents a neural approach to automatically solve math word problems by operating symbols according to their semantic meanings in texts. This paper views the process of generating equation as a bridge between the semantic world and the symbolic world, where the proposed neural math solver is based on an encoder-decoder framework. In the proposed model, the encoder is designed to understand the semantics of problems, and the decoder focuses on tracking semantic meanings of the generated symbols and then deciding which symbol to generate next. The preliminary experiments are conducted in a dataset Math23K, and our model significantly outperforms both the state-of-the-art single model and the best non-retrieval-based model over about 10% accuracy, demonstrating the effectiveness of bridging the symbolic and semantic worlds from math word problems.
Anthology ID:
N19-1272
Volume:
Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers)
Month:
June
Year:
2019
Address:
Minneapolis, Minnesota
Editors:
Jill Burstein, Christy Doran, Thamar Solorio
Venue:
NAACL
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
2656–2668
Language:
URL:
https://aclanthology.org/N19-1272
DOI:
10.18653/v1/N19-1272
Bibkey:
Cite (ACL):
Ting-Rui Chiang and Yun-Nung Chen. 2019. Semantically-Aligned Equation Generation for Solving and Reasoning Math Word Problems. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 2656–2668, Minneapolis, Minnesota. Association for Computational Linguistics.
Cite (Informal):
Semantically-Aligned Equation Generation for Solving and Reasoning Math Word Problems (Chiang & Chen, NAACL 2019)
Copy Citation:
PDF:
https://aclanthology.org/N19-1272.pdf
Presentation:
 N19-1272.Presentation.pdf
Video:
 https://vimeo.com/361688938
Code
 MiuLab/E2EMathSolver
Data
Math23K