Mapping to Declarative Knowledge for Word Problem Solving

Subhro Roy, Dan Roth
12/26/2017
cs.CL

Official code: CogComp/arithmetic (47 stars, Java, MIT, last commit 2024-10-03).

Abstract

Math word problems form a natural abstraction to a range of quantitative reasoning problems, such as understanding financial news, sports results, and casualties of war. Solving such problems requires the understanding of several mathematical concepts such as dimensional analysis, subset relationships, etc.

Show full abstract

In this paper, we develop declarative rules which govern the translation of natural language description of these concepts to math expressions. We then present a framework for incorporating such declarative knowledge into word problem solving. Our method learns to map arithmetic word problem text to math expressions, by learning to select the relevant declarative knowledge for each operation of the solution expression. This provides a way to handle multiple concepts in the same problem while, at the same time, support interpretability of the answer expression. Our method models the mapping to declarative knowledge as a latent variable, thus removing the need for expensive annotations. Experimental evaluation suggests that our domain knowledge based solver outperforms all other systems, and that it generalizes better in the realistic case where the training data it is exposed to is biased in a different way than the test data.

View on arXivView PDF

Code Implementations(1)

CogComp/arithmeticOfficial100%
MIT

Arithmetic word problem solver

4712Java, ShellNov 15, 20162 years agoMIT

Similar Papers

Cite this paper

@article{roy2017mapping,
  title  = {Mapping to Declarative Knowledge for Word Problem Solving},
  author = {Subhro Roy and Dan Roth},
  year   = {2017},
  eprint = {1712.09391},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1712.09391}
}

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/1712.09391.svg)](https://codeofpaper.com/paper/1712.09391)

Discussion