Skip to main content

Identification of Relevant Quantities in Arithmetic Word Problems Using Siamese Neural Network

  • Conference paper
  • First Online:
  • 565 Accesses

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 1412))

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

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   189.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   249.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Notes

  1. 1.

    https://sites.google.com/view/datasets-for-relevant-quantity/home.

References

  1. 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

    Google Scholar 

  2. 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

    Google Scholar 

  3. Mukherjee A, Garain U (2008) A review of methods for automatic understanding of natural language mathematical problems. Artif Intell Rev 29(2):93–122

    Article  Google Scholar 

  4. 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

  5. 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

    Google Scholar 

  6. Feigenbaum EA, Feldman J (1963) Computers and thought, vol 7. McGraw-Hill Inc, New York, USA

    MATH  Google Scholar 

  7. Daniel GB (1964) Natural language input for a computer problem solving system. Phd thesis, Massachusetts Institute of Technology, Cambridge, MA, USA, Sept 1964

    Google Scholar 

  8. Charles RF (1985) Understanding and solving arithmetic word problems: a computer simulation. Behav Res Methods Inst Comput 17(5):565–571 (1985)

    Google Scholar 

  9. Dellarosa D (1986) A computer simulation of children’s arithmetic word-problem solving. Behav Res Methods Inst Comput 18(2):147–154

    Article  Google Scholar 

  10. Bakman Y (2007) Robust understanding of word problems with extraneous information, Jan 2007. arXiv:0701393

  11. 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

    Google Scholar 

  12. 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

    Google Scholar 

  13. 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

    Google Scholar 

  14. 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)

    Google Scholar 

  15. 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

    Google Scholar 

  16. Roy S, Vieira T, Roth D (2015) Reasoning about quantities in natural language. Trans Assoc Comput Linguist 3:1–13 January

    Article  Google Scholar 

  17. 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

    Google Scholar 

  18. 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

    Google Scholar 

  19. 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

    Google Scholar 

  20. 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

    Google Scholar 

  21. 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

    Google Scholar 

  22. 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)

    Google Scholar 

  23. 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

    Google Scholar 

  24. 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

    Google Scholar 

  25. 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

    Google Scholar 

  26. 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

    Google Scholar 

  27. 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

    Google Scholar 

  28. 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

    Google Scholar 

  29. 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

    Google Scholar 

  30. 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

    Google Scholar 

  31. 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

    Google Scholar 

  32. 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)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Sourav Mandal .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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

Publish with us

Policies and ethics