Skip to main content
QUICK REVIEW

[Paper Review] MathQA: Towards Interpretable Math Word Problem Solving with Operation-Based Formalisms

Aida Amini, Saadia Gabriel|arXiv (Cornell University)|May 30, 2019
Topic ModelingComputer Science22 references119 citations
TL;DR

Introduces MathQA, a large-scale dataset with fully specified operation programs for math word problems and a neural sequence-to-program model that uses domain-aware categorization to map problems to executable operation sequences. The approach improves over baselines on MathQA and AQuA but falls short of human performance.

ABSTRACT

We introduce a large-scale dataset of math word problems and an interpretable neural math problem solver that learns to map problems to operation programs. Due to annotation challenges, current datasets in this domain have been either relatively small in scale or did not offer precise operational annotations over diverse problem types. We introduce a new representation language to model precise operation programs corresponding to each math problem that aim to improve both the performance and the interpretability of the learned models. Using this representation language, our new dataset, MathQA, significantly enhances the AQuA dataset with fully-specified operational programs. We additionally introduce a neural sequence-to-program model enhanced with automatic problem categorization. Our experiments show improvements over competitive baselines in our MathQA as well as the AQuA dataset. The results are still significantly lower than human performance indicating that the dataset poses new challenges for future research. Our dataset is available at: https://math-qa.github.io/math-QA/

Motivation & Objective

  • Provide a large-scale, densely annotated dataset of math word problems with precise operation programs.
  • Propose a new operation-based representation language for solving math word problems to enhance interpretability and performance.
  • Develop a neural sequence-to-program model with domain categorization to map problems to operation programs.

Proposed method

  • Define a formal operation-program representation language with 58 operations and arguments to model problem-solving steps.
  • Crowd-source annotation of problems with aligned operation programs using a dynamic annotation platform.
  • Treat problem-to-program mapping as neural machine translation and train an encoder-decoder model to generate operation programs from problem text.
  • Extend the model with domain-aware categorization to condition decoding on problem domain.
  • Execute decoded operation programs sequentially to obtain solutions and align with multiple-choice options via beam search.
  • Evaluate on MathQA and AQuA datasets, comparing to baselines and prior state-of-the-art.

Experimental results

Research questions

  • RQ1Can an operation-based formalism improve interpretability and performance for math word problem solving?
  • RQ2Does incorporating domain-aware categorization into a sequence-to-program model improve solving accuracy on diverse math problem domains?
  • RQ3How does the proposed MathQA dataset and representation affect neural solver performance compared to existing datasets like AQuA?

Key findings

  • The Seq2prog model with categorization outperforms the base Seq2prog model on both MathQA and AQuA test sets.
  • MathQA and AQuA test accuracies for Seq2prog are 51.9 and 33.0 respectively; Seq2prog + cat achieve 54.2 and 37.9 respectively.
  • The model performance on MathQA remains below human performance, indicating the dataset presents new challenges for future research.
  • Crowd-sourced operation programs enable precise, interpretable reasoning steps aligned with problem context.
  • The category-aware model yields a modest but consistent accuracy gain, with human annotators showing 84% agreement with model categorization in a subset.

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.