Litcius/Paper detail

A Bottom-Up DAG Structure Extraction Model for Math Word Problems

Yixuan Cao, Feng Hong, Hongwei Li, Ping Luo

2021Proceedings of the AAAI Conference on Artificial Intelligence45 citationsDOIOpen Access PDF

Abstract

Research on automatically solving mathematical word problems (MWP) has a long history. Most recent works adopt 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 is extracted in a bottom-up fashion by aggregating quantities and sub-expressions layer by layer iteratively. The advantages of our approach approach are three-fold: it is intrinsically suitable to solve multivariate problems, it always outputs valid structure, and its computation satisfies commutative law for +, x and =. Experimental results on Math23K and DRAW1K 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.

Topics & Concepts

Directed acyclic graphSequence (biology)Word (group theory)Computer scienceSet (abstract data type)ComputationAlgorithmRoot (linguistics)GraphLayer (electronics)MathematicsTheoretical computer scienceChemistryBiologyGeneticsProgramming languageLinguisticsGeometryPhilosophyOrganic chemistryNatural Language Processing TechniquesTopic ModelingSoftware Engineering Research
A Bottom-Up DAG Structure Extraction Model for Math Word Problems | Litcius