Solving arithmetic word problems by scoring equations with recursive neural networksOpen Website

2021 (modified: 05 Nov 2021)Expert Syst. Appl. 2021Readers: Everyone
Abstract: Highlights • We introduce an algorithm to solve arithmetic word problems. • We propose a tree-based neural model to encode arithmetic expressions. • Tree-based approach outperforms current state-of-the-art by 3%. • Our approach outperforms current state-of-the-art by 15% on complex problems. • Tree-LSTM outperforms linearly-structured LSTM on complex problems. Abstract Solving arithmetic word problems is a cornerstone task in assessing language understanding and reasoning capabilities in NLP systems. Recent works use automatic extraction and ranking of candidate solution equations providing the answer to arithmetic word problems. In this work, we explore novel approaches to score such candidate solution equations using tree-structured recursive neural network (Tree-RNN) configurations. The advantage of this Tree-RNN approach over using more established sequential representations, is that it can naturally capture the structure of the equations. Our proposed method consists of transforming the mathematical expression of the equation into an expression tree. Further, we encode this tree into a Tree-RNN by using different Tree-LSTM architectures. Experimental results show that our proposed method (i) improves overall performance with more than 3% accuracy points compared to previous state-of-the-art, and with over 15% points on a subset of problems that require more complex reasoning, and (ii) outperforms sequential LSTMs by 4% accuracy points on such more complex problems.
0 Replies

Loading