Mapping to Declarative Knowledge for Word Problem Solving

Subhro Roy, Dan Roth


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. 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, supporting 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.
Anthology ID:
Q18-1012
Volume:
Transactions of the Association for Computational Linguistics, Volume 6
Month:
Year:
2018
Address:
Cambridge, MA
Editors:
Lillian Lee, Mark Johnson, Kristina Toutanova, Brian Roark
Venue:
TACL
SIG:
Publisher:
MIT Press
Note:
Pages:
159–172
Language:
URL:
https://aclanthology.org/Q18-1012
DOI:
10.1162/tacl_a_00012
Bibkey:
Cite (ACL):
Subhro Roy and Dan Roth. 2018. Mapping to Declarative Knowledge for Word Problem Solving. Transactions of the Association for Computational Linguistics, 6:159–172.
Cite (Informal):
Mapping to Declarative Knowledge for Word Problem Solving (Roy & Roth, TACL 2018)
Copy Citation:
PDF:
https://aclanthology.org/Q18-1012.pdf
Video:
 https://aclanthology.org/Q18-1012.mp4
Code
 CogComp/arithmetic