Papers › Graph-to-Tree Learning for Solving Math Word Problems

Graph-to-Tree Learning for Solving Math Word Problems

1 Jul 2020ACL 2020 6archive 2025-07-28

Jipeng Zhang, Lei Wang, Roy Ka-Wei Lee, Yi Bin, Yan Wang, Jie Shao, Ee-Peng Lim

While the recent tree-based neural models have demonstrated promising results in generating solution expression for the math word problem (MWP), most of these models do not capture the relationships and order information among the quantities well. This results in poor quantity representations and incorrect solution expressions. In this paper, we propose Graph2Tree, a novel deep learning architecture that combines the merits of the graph-based encoder and tree-based decoder to generate better solution expressions. Included in our Graph2Tree framework are two graphs, namely the Quantity Cell Graph and Quantity Comparison Graph, which are designed to address limitations of existing methods by effectively representing the relationships and order information among the quantities in MWPs. We conduct extensive experiments on two available datasets. Our experiment results show that Graph2Tree outperforms the state-of-the-art baselines on two benchmark datasets significantly. We also discuss case studies and empirically examine Graph2Tree{'}s effectiveness in translating the MWP text into solution expressions.

PaperPDFCode

Code

2003pro/Graph2Tree officialpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Tasks

DecoderMathMath Word Problem Solving

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Math Word Problem Solving MAWPS Graph2Tree Accuracy (%) 83.7 #15 of 25 Archive leaderboard report
Math Word Problem Solving Math23K Graph2Tree Accuracy (5-fold) 75.5 #11 of 19 Archive leaderboard report
Math Word Problem Solving Math23K Graph2Tree Accuracy (training-test) 77.4 #11 of 19 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Introduced by this paper: Graph2Tree

Graph2Tree

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections