Abstract
Presence of irrelevant sentences containing irrelevant quantities in Math Word Problems (MWPs) throws an immense challenge in formulating the final equation(s). Failure in identification of the relevant quantities with respect to the question asked in an MWP reduces the overall system performance. This paper demonstrates a novel deep learning-based approach using Siamese neural network to classify the relevant and irrelevant sentences towards identification of the relevant quantities in arithmetic MWPs. The proposed relevance classifier produced an accuracy of 91.0% on a dataset variant (RQDV) prepared from a Combined dataset of two standard datasets consisting of arithmetic word problems. Our relevance classifier may benefit any existing arithmetic MWP solvers in improving their system performance, and we test this by performing a case study on a prototype system in which the integration of our relevance classifier improved the accuracy of the MWP solver from 68.0 to 81.0% on the Combined dataset.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsReferences
Diane JL (2016) Natural language processing for enhancing teaching and learning. In: Proceedings of the thirtieth AAAI conference on artificial intelligence, Phoenix, Arizona, USA, 12–17 Feb 2016, pp 4170–4176
Bromley J, Guyon I, LeCun Y, Säckinger E, Shah R (1993) Signature verification using a siamese time delay neural network. In: 7th NIPS conference on advances in neural information processing systems, Denver, Colorado, USA, vol 6, pp 737–744
Mukherjee A, Garain U (2008) A review of methods for automatic understanding of natural language mathematical problems. Artif Intell Rev 29(2):93–122
Dongxiang Z, Lei W, Nuo X, Bing TD, Heng TS (2018) The gap of semantic parsing: a survey on automatic math word problem solvers. arXiv:abs/1808.07290
Sourav M, Sudip KN (2017) Solving arithmetic mathematical word problems: a review and recent advancements. In: Information technology and applied mathematics (ICITAM 2017), Haldia, WB, India, 30 Oct–1 Nov 2017, pp 95–114
Feigenbaum EA, Feldman J (1963) Computers and thought, vol 7. McGraw-Hill Inc, New York, USA
Daniel GB (1964) Natural language input for a computer problem solving system. Phd thesis, Massachusetts Institute of Technology, Cambridge, MA, USA, Sept 1964
Charles RF (1985) Understanding and solving arithmetic word problems: a computer simulation. Behav Res Methods Inst Comput 17(5):565–571 (1985)
Dellarosa D (1986) A computer simulation of children’s arithmetic word-problem solving. Behav Res Methods Inst Comput 18(2):147–154
Bakman Y (2007) Robust understanding of word problems with extraneous information, Jan 2007. arXiv:0701393
Cetintas S, Si L, Xin YP, Zhang D, Park JY, Tzur R (2010) A joint probabilistic classification model of relevant and irrelevant sentences in mathematical word problems. JEDM-J Educ Data Min 2(1):83–101
Kushman N, Zettlemoyer L, Barzilay R, Artzi Y (2014) Learning to automatically solve algebra word problems. In: Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics (ACL 2014), Baltimore, MD, USA, 22–27 June 2014, pp 271–281
Hosseini MJ, Hajishirzi H, Etzioni O, Kushman N (2014) Learning to solve arithmetic word problems with verb categorization. In: Proceedings of the 2014 conference on empirical methods in natural language processing (EMNLP 2014), a meeting of SIGDAT, a special interest group of the ACL, Doha, Qatar, 25–29 Oct 2014, pp 523–533
Koncel-Kedziorski R, Hajishirzi H, Sabharwal A, Etzioni O, Ang SD (2015) Parsing algebraic word problems into equations. Trans Assoc Comput Linguist 3:585–597 (2015)
Roy S, Roth D (2015) Solving general arithmetic word problems. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing (EMNLP 2015), Lisbon, Portugal, 17–21 Sept 2015, pp. 1743–1752
Roy S, Vieira T, Roth D (2015) Reasoning about quantities in natural language. Trans Assoc Comput Linguist 3:1–13 January
Subhro Roy and Dan Roth. Unit dependency graph and its application to arithmetic word problem solving. In Proceedings of the Thirty-First AAAI Conference on Artificial Intelligence, pages 3082–3088, San Francisco, California, USA, February 4-9, 2017
Shi S, Wang Y, Lin C-Y, Liu X, Rui Y (2015) Automatically solving number word problems by semantic parsing and reasoning. In: Proceedings of the 2015 conference on empirical methods in natural language processing (EMNLP 2015), Lisbon, Portugal, 17–21 Sept 2015
C-C Liang, Hsu K-Y, Huang C-T, Li C-M, Miao S-Y, Su K-Y (2016) A tag-based English Math word problem solver with understanding, reasoning and explanation. In: Proceedings of the demonstrations session, the 2016 conference of the North American chapter of the association for computational linguistics: human language technologies (NAACL HLT 2016), San Diego, CA, USA, 12–17 June 2016, pp 67–71
Liang C-C, Tsai S-H, Chang T-Y, Lin Y-C, Su K-Y (2016) A meaning-based English Math word problem solver with understanding, reasoning and explanation. In: Proceedings of the conference system demonstrations, 26th international conference on computational linguistics (COLING 2016), Osaka, Japan, 11–16 Dec 2016, pp 151–155
Mitra A, Baral C (2016) Learning to use formulas to solve simple arithmetic problems. In: Proceedings of the 54th annual meeting of the association for computational linguistics (ACL 2016), Berlin, Germany, 7–12 Aug 2016, pp 2144–2153
Mandal S, Naskar SK (2019) Solving arithmetic word problems by object oriented modeling and query-based information processing. Int J Artif Intell Tools 28(4):1940002:1–1940002:23 (2019)
Huang D, Shi S, Lin C-Y, Yin J, Ma W-Y (2016) How well do computers solve math word problems? large-scale dataset construction and evaluation. In: Proceedings of the 54th annual meeting of the association for computational linguistics, (ACL 2016), Berlin, Germany, 7–12 Aug 7-12 2016, pp 887–896
Wang Y, Liu X, Shi S (2017) Deep neural solver for math word problems. In: Proceedings of the 2017 conference on empirical methods in natural language processing (EMNLP 2017), Copenhagen, Denmark, 9–11 Sep 2017, pp 845–854
Huang D, Liu J, Lin C-Y, Yin J (2018) Neural math word problem solver with reinforcement learning. In: Proceedings of the 27th international conference on computational linguistics, COLING 2018, Santa Fe, New Mexico, USA, 20–26 Aug 2018
Huang D, Yao J-G, Lin C-Y, Zhou Q, Yin J (2018) Using intermediate representations to solve math word problems. In: Proceedings of the 56th annual meeting of the association for computational linguistics (ACL 2018), Melbourne, Australia, 15–20 July 2018, pp 419–428
Wang L, Wang Y, Cai D, Zhang D, Liu X (2018) Translating math word problem to expression tree. In: Proceedings of the 2018 conference on empirical methods in natural language processing, Brussels, Belgium, 31 Oct–4 Nov 2018, pp 1064–1069
Wang L, Zhang D, Gao L, Song J, Guo L, Shen HT (2018) Mathdqn: solving arithmetic word problems via deep reinforcement learning. In: Proceedings of the thirty-second AAAI conference on artificial intelligence, (AAAI-18), New Orleans, Louisiana, USA, 2–7 Feb 2018, pp 5545–5552
Mandal S, Ahmed Sekh A, Naskar SK (2020) Solving arithmetic word problems: a deep learning based approach. J Intell Fuzzy Syst 39(2):2521–2531
Koncel-Kedziorski R, Roy S, Amini A, Kushman N, Hajishirzi H (2016) MAWPS: a math word problem repository. In: Proceedings of The 2016 conference of the North American chapter of the association for computational linguistics: human language technologies (NAACL HLT 2016), San Diego, California, USA, 12–17 June 2016, pp 1152–1157
Mikolov T, Chen K, Corrado G, Dean J (2013) Efficient estimation of word representations in vector space. In: Bengio Y, LeCun Y (eds) 1st International conference on learning representations, ICLR 2013. Arizona, USA, May, Scottsdale, pp 2–4
Greff K, Srivastava RK, Koutník J, Steunebrink BR, Schmidhuber J (2017) LSTM: a search space odyssey. IEEE Trans Neural Netw Learn Syst 28(10):2222–2232 (2017)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Mandal, S., Sekh, A.A., Naskar, S.K. (2022). Identification of Relevant Quantities in Arithmetic Word Problems Using Siamese Neural Network. In: Giri, D., Raymond Choo, KK., Ponnusamy, S., Meng, W., Akleylek, S., Prasad Maity, S. (eds) Proceedings of the Seventh International Conference on Mathematics and Computing . Advances in Intelligent Systems and Computing, vol 1412. Springer, Singapore. https://doi.org/10.1007/978-981-16-6890-6_31
Download citation
DOI: https://doi.org/10.1007/978-981-16-6890-6_31
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-16-6889-0
Online ISBN: 978-981-16-6890-6
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)