Improving Math Word Problems with Pre-trained Knowledge and Hierarchical Reasoning
Weijiang Yu, Yingpeng Wen, Fudan Zheng, Nong Xiao
Abstract
The recent algorithms for math word problems (MWP) neglect to use outside knowledge not present in the problems. Most of them only capture the word-level relationship and ignore to build hierarchical reasoning like the human being for mining the contextual structure between words and sentences. In this paper, we propose a Reasoning with Pre-trained Knowledge and Hierarchical Structure (RPKHS) network, which contains a pre-trained knowledge encoder and a hierarchical reasoning encoder. Firstly, our pretrained knowledge encoder aims at reasoning the MWP by using outside knowledge from the pre-trained transformer-based models. Secondly, the hierarchical reasoning encoder is presented for seamlessly integrating the wordlevel and sentence-level reasoning to bridge the entity and context domain on MWP. Extensive experiments show that our RPKHS significantly outperforms state-of-the-art approaches on two large-scale commonly-used datasets, and boosts performance from 77.4% to 83.9% on Math23K, from 75.5 to 82.2% on Math23K with 5-fold cross-validation and from 83.7% to 89.8% on MAWPS. More extensive ablations are shown to demonstrate the effectiveness and interpretability of our proposed method.
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.
Cited by top-tier papers5
- Learning by Applying: A General Framework for Mathematical Reasoning via Enhancing Explicit Knowledge LearningJiayu Liu, Zhenya Huang, ChengXiang Zhai, Qi LiuAAAI 2023 · 23 citations
- Structure-Unified M-Tree Coding Solver for Math Word ProblemBin Wang, Jiangzhou Ju, Yang Fan, Xinyu Dai et al.EMNLP 2022 · 13 citations
- Generalizing Math Word Problem Solvers via Solution DiversificationZhenwen Liang, Jipeng Zhang, Lei Wang, Yan Wang et al.AAAI 2023 · 10 citations
- An Expression Tree Decoding Strategy for Mathematical Equation GenerationWenqi Zhang, Yongliang Shen, Qingpeng Nong, Zeqi Tan et al.EMNLP 2023 · 3 citations
- ATHENA: Mathematical Reasoning with Thought ExpansionJB. Kim, Hazel Kim, Joonghyuk Hahn, Yo-Sub HanEMNLP 2023 · 2 citations
Builds on4
- Graph-to-Tree Learning for Solving Math Word ProblemsJipeng Zhang, Lei Wang, Roy Ka-Wei Lee, Yi Bin et al.ACL 2020 · 129 citations
- HMS: A Hierarchical Solver with Dependency-Enhanced Understanding for Math Word ProblemXin Lin, Zhenya Huang, Hongke Zhao, Enhong Chen et al.AAAI 2021 · 70 citations
- Learning by Fixing: Solving Math Word Problems with Weak SupervisionYining Hong, Qing Li, Daniel Ciao, Siyuan Huang et al.AAAI 2021 · 64 citations
- Point to the Expression: Solving Algebraic Word Problems using the Expression-Pointer Transformer ModelBugeun Kim, Kyung Seo Ki, Donggeon Lee, Gahgene GweonEMNLP 2020 · 29 citations
Related papers
- A Knowledge-Aware Sequence-to-Tree Network for Math Word Problem SolvingQinzhuo Wu, Qi Zhang, Jinlan Fu, Xuanjing HuangEMNLP 2020 · 71 citations
- Analogical Math Word Problems Solving with Enhanced Problem-Solution AssociationZhenwen Liang, Jipeng Zhang, Xiangliang ZhangEMNLP 2022 · 18 citations
- Dynamic Prompt Learning via Policy Gradient for Semi-structured Mathematical ReasoningPan Lu, Liang Qiu, Kai-Wei Chang, Ying Nian Wu et al.ICLR 2023 · 41 citations
- RECKONING: Reasoning through Dynamic Knowledge EncodingZeming Chen, Gail Weiss, Eric Mitchell, Asli Celikyilmaz et al.NeurIPS 2023 · 21 citations
- Scalable Multi-Hop Relational Reasoning for Knowledge-Aware Question AnsweringYanlin Feng, Xinyue Chen, Bill Yuchen Lin, Peifeng Wang et al.EMNLP 2020 · 207 citations
