Skip to main content
QUICK REVIEW

[Paper Review] Unit Dependency Graph and its Application to Arithmetic Word Problem Solving

Subhro Roy, Dan Roth|arXiv (Cornell University)|Dec 3, 2016
Natural Language Processing TechniquesComputer Science10 references17 citations
TL;DR

This paper introduces Unit Dependency Graphs (UDGs), a structured representation of unit relationships in arithmetic word problems, to improve quantitative reasoning in math word problem solvers. By modeling unit compatibility, rate relationships, and solution constraints through a decomposed inference framework, UDGs reduce solver error by over 10% and enhance robustness to lexical and template variation, outperforming all prior systems.

ABSTRACT

Math word problems provide a natural abstraction to a range of natural language understanding problems that involve reasoning about quantities, such as interpreting election results, news about casualties, and the financial section of a newspaper. Units associated with the quantities often provide information that is essential to support this reasoning. This paper proposes a principled way to capture and reason about units and shows how it can benefit an arithmetic word problem solver. This paper presents the concept of Unit Dependency Graphs (UDGs), which provides a compact representation of the dependencies between units of numbers mentioned in a given problem. Inducing the UDG alleviates the brittleness of the unit extraction system and allows for a natural way to leverage domain knowledge about unit compatibility, for word problem solving. We introduce a decomposed model for inducing UDGs with minimal additional annotations, and use it to augment the expressions used in the arithmetic word problem solver of (Roy and Roth 2015) via a constrained inference framework. We show that introduction of UDGs reduces the error of the solver by over 10 %, surpassing all existing systems for solving arithmetic word problems. In addition, it also makes the system more robust to adaptation to new vocabulary and equation forms .

Motivation & Objective

  • To address the brittleness of unit extraction in arithmetic word problem solving by modeling unit relationships systematically.
  • To improve arithmetic word problem solvers by incorporating domain knowledge about unit compatibility and rate relationships.
  • To reduce reliance on lexical and template overlap by leveraging global unit dependencies for better generalization.
  • To develop a minimal-annotation method for inducing UDGs using solution answers and sparse rate annotations.
  • To enhance solver robustness and accuracy through constrained inference over unit dependencies.

Proposed method

  • Proposes Unit Dependency Graphs (UDGs) as a directed, labeled graph with vertices for quantities and the question, and edges for unit relationships such as Same Unit, Num Unit, and Den Unit.
  • Uses a decomposed model to predict UDGs with minimal additional annotations, leveraging solution answers and a few rate annotations to infer full UDG structure.
  • Introduces a constrained inference framework that integrates UDG predictions with expression generation, enforcing unit consistency in solution expressions.
  • Applies a structured prediction approach with conditional random fields (CRF) to jointly predict vertex labels (e.g., Rate) and edge types (e.g., Same Unit, Den Unit).
  • Employs a loss function with learnable hyperparameters (λ_vertex and λ_edge) to balance vertex and edge prediction accuracy during training.
  • Utilizes a weakly supervised learning strategy where full UDG annotations are inferred from solution expressions and rate labels, minimizing human-annotated data needs.

Experimental results

Research questions

  • RQ1How can unit relationships in arithmetic word problems be modeled to improve reasoning accuracy?
  • RQ2Can a graph-based representation of unit dependencies enhance the robustness of arithmetic word problem solvers to lexical and template variations?
  • RQ3To what extent can UDGs reduce errors caused by inconsistent unit handling in existing solvers?
  • RQ4Can UDGs be induced with minimal human annotations by leveraging solution expressions and sparse rate annotations?
  • RQ5How does incorporating unit dependency information affect the generalization of word problem solvers to new vocabulary and equation forms?

Key findings

  • The proposed UnitDep system, which uses UDGs, reduces error by over 10% compared to the prior state-of-the-art LCA++ system on arithmetic word problem benchmarks.
  • The introduction of UDGs improves robustness to reduced lexical overlap by 5% and reduced template overlap by 5%, demonstrating enhanced generalization.
  • Setting both λ_vertex and λ_edge to zero (equivalent to LCA++) results in lower performance, confirming that both vertex and edge information in UDGs are essential for gains.
  • The system correctly identifies and excludes irrelevant quantities in 10% of cases where LCA++ fails, due to unit consistency checks.
  • Major error sources in UnitDep are extraneous quantity detection (50%) and lack of math understanding (23%), indicating room for further improvement in entity and concept modeling.
  • UnitDep achieves 1% and 4% absolute improvements over LCA++ on the Illinois and Commoncore datasets, respectively, confirming consistent gains across diverse benchmarks.

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.