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

Ting-Rui Chiang, Yun-Nung Chen
11/2/2018
cs.CL

Official code: MiuLab/E2EMathSolver (46 stars, Python, last commit 2019-04-11).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

Implementation of NAACL 2019 paper "Semantically-Aligned Equation Generation for Solving and Reasoning Math Word Problem"

466PythonMar 29, 20197 years ago
math23k

Similar Papers

Cite this paper

@article{chiang2018semanticallyaligned,
  title  = {Semantically-Aligned Equation Generation for Solving and Reasoning Math Word Problems},
  author = {Ting-Rui Chiang and Yun-Nung Chen},
  year   = {2018},
  eprint = {1811.00720},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1811.00720}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1811.00720.svg)](https://codeofpaper.com/paper/1811.00720)

Discussion