Skip to main content
QUICK REVIEW

[Paper Review] Mapping to Declarative Knowledge for Word Problem Solving

Subhro Roy, Dan Roth|arXiv (Cornell University)|Dec 26, 2017
Topic ModelingComputer Science28 references6 citations
TL;DR

This paper proposes a knowledge-augmented framework for solving arithmetic word problems by modeling the mapping to declarative mathematical rules as a latent variable, enabling interpretable, concept-aware solution generation without expensive intermediate annotations. The method outperforms existing systems and generalizes better on biased training data by learning robust abstractions through declarative rules for concepts like dimensional analysis and subset relationships.

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, 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.

Motivation & Objective

  • To develop a method for solving arithmetic word problems that integrates declarative mathematical knowledge for improved interpretability and robustness.
  • To address the challenge of conceptually biased training data by learning abstractions that generalize across different linguistic patterns.
  • To reduce reliance on expensive annotations for intermediate reasoning steps by modeling rule selection as a latent variable.
  • To create a new, less biased dataset of 1,492 arithmetic word problems to support evaluation and training.
  • To enable handling of multiple mathematical concepts—such as dimensional analysis, subset relationships, and unit compatibility—within a single problem.

Proposed method

  • The model treats the selection of declarative rules for each operation as a latent variable, eliminating the need for annotated intermediate reasoning steps.
  • It learns to map natural language descriptions to math expressions by first predicting the relevant mathematical concept (e.g., dimensional analysis) and then selecting the appropriate declarative rule.
  • The framework incorporates domain-specific declarative rules for concepts like hyponymy (subset relationships), unit compatibility, and rate components.
  • A beam search decoder with a beam size of 1,000 is used to explore solution candidates, with performance stable even at smaller beam sizes (e.g., 100).
  • Coreference and number unit detection are modeled via latent alignments, reducing dependency on explicit annotations.
  • The system uses a probabilistic model to combine coreference resolution, hyponymy detection, and unit-based filtering to improve accuracy.

Experimental results

Research questions

  • RQ1Can a knowledge-augmented approach outperform end-to-end learning models in solving arithmetic word problems, especially under data bias?
  • RQ2To what extent can latent variable modeling of declarative rule selection improve interpretability without requiring annotated reasoning steps?
  • RQ3How well does the model generalize to conceptually similar problems when the training data is biased differently than the test data?
  • RQ4Can a rule-based system for detecting extraneous numbers and parsing rate components improve performance over purely data-driven models?
  • RQ5What is the impact of incorporating declarative rules for mathematical concepts like dimensional analysis and subset relationships on solution accuracy?

Key findings

  • The proposed method, named 'Knowledge', outperforms all existing systems on standard benchmarks, demonstrating superior accuracy in solving arithmetic word problems.
  • The model generalizes significantly better than prior systems when tested on data with different linguistic biases than the training data.
  • The method achieves robust performance even with a beam size of 100, indicating that high beam search complexity is not necessary for strong results.
  • 26% of errors are due to extraneous number detection, highlighting a key limitation in identifying irrelevant numerical values not tied to units.
  • Another 26% of errors stem from parsing rate components (e.g., 'earns $46 per home'), indicating challenges in normalizing rate expressions.
  • Coreference errors account for 22% of failures, showing that linking pronouns or noun phrases (e.g., 'team member' to 'people') remains a challenge.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.