NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

The Gap of Semantic Parsing: A Survey on Automatic Math Word Problem Solvers

Dongxiang Zhang, Lei Wang, Luming Zhang, Bing Tian Dai, Heng Tao Shen

Introduction

The core challenge in solving Mathematical Word Problems (MWPs) is the semantic gap. While a human can easily translate "John has five apples and gives two to Mary" into the operation $5 - 2$, a machine must navigate the ambiguity of natural language to extract relevant quantities, identify their relationships, and map them to a structured logical form.

Historically, research in this area was fragmented. This survey addresses this by providing a clear taxonomy of solver technologies and a rigorous performance analysis across major public datasets, tracing a 60-year journey from rigid rules to neural architectures.

Evolution of Solver Technologies

The authors categorize the evolution of MWP solvers into three distinct technological stages, as shown in the timeline below:

  1. Rule-Based Matching (1960–2010): These early systems (e.g., STUDENT, WORDPRO) relied on manually crafted rules and "schemas." They were highly accurate within narrow domains but extremely brittle; if a problem didn't match a predefined pattern, the system failed.
  2. Statistic-Based & Semantic Parsing (2011–2017): This era introduced machine learning to bridge the gap. Solvers used feature engineering (extracting POS tags, dependency trees, and verb categories) to map sentences into structured logic representations.
  3. Deep Learning & Reinforcement Learning (2017–Present): Modern solvers treat MWPs as a translation task. Using Sequence-to-Sequence (Seq2Seq) models, they "translate" problem text directly into equation templates. Advanced models like MathDQN use Reinforcement Learning to navigate the search space of possible mathematical operations.
Timeline of the three major eras of MWP research.

Benchmarking and Datasets

The survey evaluates solvers across several key benchmarks, noting a shift from "toy" datasets to large-scale, real-world challenges:

  • Small-Scale (Arithmetic): AI2, IL, and CC (hundreds of problems).
  • Large-Scale (Arithmetic): Math23K (23,162 problems in Chinese) and Dolphin-S.
  • Equation Sets: ALG514 and the massive Dolphin18K (18,460 problems), harvested from online forums, which represents a much higher level of linguistic "noise."
  • Crowdsourced: AQuA, a DeepMind-released dataset containing 100,000 problems covering a broad range of difficulty levels.

Key Insights: The Power of Tree Representations

A key innovation in the semantic parsing era was the Tree-Based Method, which represents mathematical expressions as binary trees. Representing equations as trees rather than flat strings is crucial; it allows the model to handle operator priority (multiplication before addition) naturally and reduces the search space for valid equations.

Comparison between an Expression Tree and an Equation Tree for solving MWPs.

One of the most striking findings is the "Dolphin18K Reality Check": many solvers claiming 70–80% accuracy on small, clean datasets plummeted to below 25% accuracy when tested on the large, diverse Dolphin18K dataset. This highlights a significant lack of generalization in early models.

Performance and Future Frontiers

  • Statistic-based methods still hold records for accuracy on very small, specific datasets (up to 88% on AI2) because they are essentially "over-tuned" to those specific patterns.
  • Tree-based methods (like UNITDEP) are the most effective for multi-step arithmetic, achieving ~81.7% on the AllArith dataset.
  • Deep Learning models (like T-RNN) are the current state-of-the-art for large-scale, diverse datasets, achieving ~66.9% on Math23K.

Despite these gains, several "frontiers" remain: Geometry Word Problems (GWP) require multi-modal understanding of text and diagrams; Interpretability is needed to explain why a step was taken; and the Commonsense Gap remains a hurdle, as many problems require outside knowledge (e.g., knowing a "week" has 7 days).

Summary updated

BibTeX
@article{zhang2020gap,
  author = {Dongxiang Zhang and Lei Wang and Luming Zhang and Bing Tian Dai and Heng Tao Shen},
  title = {{The Gap of Semantic Parsing: A Survey on Automatic Math Word Problem Solvers}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2020},
  doi = {10.1109/tpami.2019.2914054},
}
Figure