Lune

AAAI2021Top-tier venue

HMS: A Hierarchical Solver with Dependency-Enhanced Understanding for Math Word Problem

Xin Lin, Zhenya Huang, Hongke Zhao, Enhong Chen, Qi Liu, Hao Wang, Shijin Wang

Abstract

Automatically solving math word problems is a crucial task for exploring the intelligence levels of machines in the general AI domain. It is highly challenging since it requires not only natural language understanding but also mathematical expression inference. Existing solutions usually explore sequence-to-sequence models to generate expressions, where the problems are simply encoded sequentially. However, such models are generally far from enough for understanding problems as similar to humans and lead to incorrect answers. To this end, in this paper, we propose a novel Hierarchical Math Solver (HMS) to make deep understanding and exploitation of problems. In problem understanding, imitating human reading habits, we propose a hierarchical word-clause-problem encoder. Specifically, we first split each problem into several clauses and learn problem semantics from the local clause level to the global problem level. Then, in clause understanding, we propose a dependency-based module to enhance clause semantics with the dependency structure of the problem. Next, in expression inference, we propose a novel tree-based decoder to generate the mathematical expression for the answer. In the decoder, we apply a hierarchical attention mechanism to enhance the problem semantics with context from different levels, and a pointer-generator network to guide the model to copy existing information and infer extra knowledge. Extensive experimental results on two widely used datasets demonstrate that HMS achieves not only better answers but also more reasonable inference.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

16 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Analogical Math Word Problems Solving with Enhanced Problem-Solution Association cites Graph-to-Tree Learning for Solving Math Word Problems
  • Improving Math Word Problems with Pre-trained Knowledge and Hierarchical Reasoning cites Graph-to-Tree Learning for Solving Math Word Problems
  • Learning by Applying: A General Framework for Mathematical Reasoning via Enhancing Explicit Knowledge Learning cites Graph-to-Tree Learning for Solving Math Word Problems
  • Learning by Applying: A General Framework for Mathematical Reasoning via Enhancing Explicit Knowledge Learning cites Improving Math Word Problems with Pre-trained Knowledge and Hierarchical Reasoning
  • A Survey of Deep Learning for Mathematical Reasoning cites Graph-to-Tree Learning for Solving Math Word Problems
  • Decompose, Analyze and Rethink: Solving Intricate Problems with Human-like Reasoning Cycle cites Learning by Applying: A General Framework for Mathematical Reasoning via Enhancing Explicit Knowledge Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers16

  1. Decompose, Analyze and Rethink: Solving Intricate Problems with Human-like Reasoning CycleShangzi Xue, Zhenya Huang, Jiayu Liu, Xin Lin et al.NeurIPS 2024 · 55 citations
  2. A Survey of Deep Learning for Mathematical ReasoningPan Lu, Liang Qiu, Wenhao Yu, Sean Welleck et al.ACL 2023 · 43 citations
  3. Improving Math Word Problems with Pre-trained Knowledge and Hierarchical ReasoningWeijiang Yu, Yingpeng Wen, Fudan Zheng, Nong XiaoEMNLP 2021 · 30 citations
  4. Learning by Applying: A General Framework for Mathematical Reasoning via Enhancing Explicit Knowledge LearningJiayu Liu, Zhenya Huang, ChengXiang Zhai, Qi LiuAAAI 2023 · 23 citations
  5. Analogical Math Word Problems Solving with Enhanced Problem-Solution AssociationZhenwen Liang, Jipeng Zhang, Xiangliang ZhangEMNLP 2022 · 18 citations

Builds on1

  1. Graph-to-Tree Learning for Solving Math Word ProblemsJipeng Zhang, Lei Wang, Roy Ka-Wei Lee, Yi Bin et al.ACL 2020 · 129 citations

Related papers

  1. A Knowledge-Aware Sequence-to-Tree Network for Math Word Problem SolvingQinzhuo Wu, Qi Zhang, Jinlan Fu, Xuanjing HuangEMNLP 2020 · 71 citations
  2. Graph-to-Tree Neural Networks for Learning Structured Input-Output Translation with Applications to Semantic Parsing and Math Word ProblemShucheng Li, Lingfei Wu, Shiwei Feng, Fangli Xu et al.EMNLP Findings 2020 · 71 citations
  3. An Expression Tree Decoding Strategy for Mathematical Equation GenerationWenqi Zhang, Yongliang Shen, Qingpeng Nong, Zeqi Tan et al.EMNLP 2023 · 3 citations
  4. Semantically-Aligned Universal Tree-Structured Solver for Math Word ProblemsJinghui Qin, Lihui Lin, Xiaodan Liang, Rumin Zhang et al.EMNLP 2020 · 62 citations
  5. Compositional Mathematical Encoding for Math Word ProblemsZhenwen Liang, Jipeng Zhang, Kehan Guo, Xiaodong Wu et al.ACL Findings 2023 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines