A Bottom-Up DAG Structure Extraction Model for Math Word Problems
Yixuan Cao, Feng Hong, Hongwei Li, Ping Luo
Abstract
Research on automatically solving mathematical word problems (MWP) has a long history. Most recent works adopt the Seq2Seq approach to predict the result equations as a sequence of quantities and operators. Although result equations can be written as a sequence, it is essentially a structure. More precisely, it is a Direct Acyclic Graph (DAG) whose leaf nodes are the quantities, and internal and root nodes are arithmetic or comparison operators. In this paper, we propose a novel Seq2DAG approach to extract the equation set directly as a DAG structure. It extracts the structure in a bottom-up fashion by aggregating quantities and sub-expressions layer by layer iteratively. The advantages of our approach are threefold: it is intrinsically suitable to solve multivariate problems, it always outputs valid structure, and its computation satisfies commutative law for +, × and =. Experimental results on DRAW1K and Math23K datasets demonstrate that our model outperforms state-of-the-art deep learning methods. We also conduct detailed analysis on the results to show the strengths and limitations of our approach.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext bea91034-ebfe-43c8-8296-e8df005855faCited by top-tier papers8
- A Survey of Deep Learning for Mathematical ReasoningPan Lu, Liang Qiu, Wenhao Yu, Sean Welleck et al.ACL 2023 · 43 citations
- Learning by Applying: A General Framework for Mathematical Reasoning via Enhancing Explicit Knowledge LearningJiayu Liu, Zhenya Huang, ChengXiang Zhai, Qi LiuAAAI 2023 · 23 citations
- Generalizing Math Word Problem Solvers via Solution DiversificationZhenwen Liang, Jipeng Zhang, Lei Wang, Yan Wang et al.AAAI 2023 · 10 citations
- Non-Autoregressive Math Word Problem Solver with Unified Tree StructureYi Bin, Mengqun Han, Wenhao Shi, Lei Wang et al.EMNLP 2023 · 7 citations
- Interpretable Math Word Problem Solution Generation via Step-by-step PlanningMengxue Zhang, Zichao Wang, Zhichao Yang, Weiqi Feng et al.ACL 2023 · 5 citations
Builds on1
Related papers
- A Generation-based Deductive Method for Math Word ProblemsYuxuan Hu, Jing Zhang, Haoyang Li, Cuiping Li et al.EMNLP 2023
- Learning to Reason Deductively: Math Word Problem Solving as Complex Relation ExtractionZhanming Jie, Jierui Li, Wei LuACL 2022
- A Knowledge-Aware Sequence-to-Tree Network for Math Word Problem SolvingQinzhuo Wu, Qi Zhang, Jinlan Fu, Xuanjing HuangEMNLP 2020 · 71 citations
- Math Word Problem Generation with Mathematical Consistency and Problem Context ConstraintsZichao Wang, Andrew S. Lan, Richard G. BaraniukEMNLP 2021 · 35 citations
- GraphMR: Graph Neural Network for Mathematical ReasoningWeijie Feng, Binbin Liu, Dongpeng Xu, Qilong Zheng et al.EMNLP 2021 · 2 citations
