Skip to main content

Question Answering System Using LSTM and Keyword Generation

  • Conference paper
  • First Online:
Advances in Information Communication Technology and Computing

Part of the book series: Lecture Notes in Networks and Systems ((LNNS,volume 135))

Abstract

Question answering system is an area under natural language processing and information retrieval which automatically answers the questions generated by humans. This work represents an approach for building a system that generates answers for the question based on deep learning neural network which has the competence of processing the information present inside the dataset and enables the user to obtain an insight from the SQuAD dataset by inviting questions in natural language form. Key stages of this approach cover corpus pre-processing, question pre-processing, answer generation, deep neural network for answer extraction and keyword generation. The concept of keyword generation is a novel idea implemented to enable naïve user of the system to apprehend the passage. The system is competent in interpreting the question, responding to the user’s query in natural language form along with generating the keywords. The performance was measured on SQuAD dataset using EM and F1 score.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 229.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 299.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

Institutional subscriptions

References

  1. Bordes A, Usunier N, Chopra S, Weston J (2015) Large-scale simple question answering with memory networks. ArXiv preprint arXiv:1506.02075

  2. Wang L, Xiong Y, Wang Y, Qiao DL, Tang X, Van Gool L (2016) Temporal segment networks: towards good practices for deep action recognition. In: European conference on computer vision, pp 20–36

    Google Scholar 

  3. Saad MS (2019) Adaptive artificial intelligent Q&A platform. ArXiv preprint arXiv:1902.02162

  4. Chen D, Fisch A, Weston J, Bordes A (2017) Reading wikipedia to answer open- domain questions. ArXiv preprint arXiv:1704.00051

  5. Bollacker K, Evans C, Paritosh P, Sturge T, Taylor J (2008) Freebase: a collaboratively created graph database for structuring human knowledge. In: Proceedings of the 2008 ACM SIGMOD international conference on management of data, pp 1247–1250 (2008)

    Google Scholar 

  6. Berant J, Chou A, Frostig R, Liang P (2013) Semantic parsing on freebase from question-answer pairs. In: Proceedings of the 2013 conference on empirical methods in natural language processing, pp 1533–1544 (2013)

    Google Scholar 

  7. Fader A, Zettlemoyer L, Etzioni O (2014) Open question answering over curated and extracted knowledge bases. In: Proceedings of the 20th ACM SIGKDD international conference on knowledge discovery and data mining, pp 1156–1165

    Google Scholar 

  8. Caruana R (1997) Multitask learning. Machine Learning, 28(1):41–75, Springer

    Google Scholar 

  9. Collobert R, Weston J (2008) A unified architecture for natural language processing: deep neural networks with multitask learning. In: Proceedings of the 25th international conference on machine learning, pp 160–167 (2008)

    Google Scholar 

  10. Allam A, Haggag M (2012) The question answering systems: a survey. Int J, Res Rev Inf Sci (IJRRIS) 2(3)

    Google Scholar 

  11. Bhaskar P, Pakray P, Banerjee S, Banerjee S, Bandyopadhyay S, Gelbukh A (2012) Question answering system for QA4MRE CLEF 2012, CLEF (Online Working Notes/Labs/Workshop)

    Google Scholar 

  12. Tao F, Liu G (2018) (Advanced LSTM: a study about better time dependency modeling in emotion recognition. In: 2018 IEEE international conference on acoustics, speech and signal processing (ICASSP), pp 2906–2910 (2018)

    Google Scholar 

  13. Ling W, Luis T, Marujo L, Astudillo R, Amir S, Dyer C, Black A, Trancoso, I (2015) Finding function in formc Compositional character models for open vocabulary word representation. ArXiv preprint arXiv:1508.02096 (2015)

  14. Bahdanau D, Cho K, Bengio Y (2014) Neural machine translation by jointly learning to align and translate. ArXiv preprint arXiv:1409.0473

  15. Hill F, Bordes A, Chopra S, Weston J (2015) The goldilocks principle: Reading children’s books with explicit memory representations. ArXiv preprint arXiv:1511.02301

  16. Graves A, Wayne G, Danihelka I (2014) Neural turing machines. ArXiv preprint arXiv:1410.5401

  17. Rajpurkar P, Zhang J, Lopyrev K, Liang P (2016) Squad: 100,000 + questions for machine comprehension of text. ArXiv preprint arXiv:1606.05250

  18. Choi E, Hewlett D, Uszkoreit J, Polosukhin I, Lacoste A, Berant J (2017) Coarse-to-fine question answering for long documents. In: Proceedings of the 55th annual meeting of the association for computational linguistics (Volume 1: Long Papers), pp 209–220

    Google Scholar 

  19. Iyyer M, Manjunatha V, Boyd-Graber J, Daum III H (2015) Deep unordered composition rivals syntactic methods for text classification. In: Proceedings of the 53rd annual meeting of the association for computational linguistics and the 7th international joint conference on natural language processing (Volume 1: Long Papers), vol 1, pp 1681–1691

    Google Scholar 

  20. Rocktaschel T, Grefenstette E, Hermann K, Kovcisky T, Blunsom P (2015) Reasoning about entailment with neural attention. ArXiv preprint arXiv:1509.06664

  21. Cho K, Van Merrienboer B, Gulcehre C, Bahdanau D, Bougares F, Schwenk H, Bengio Y (2014) Learning phrase representations using RNN encoder-decoder for statistical machine translation. ArXiv preprint arXiv:1406.1078

  22. Chung J, Gulcehre C, Cho K, Bengio Y (2014) Empirical evaluation of gated recurrent neural networks on sequence modeling. ArXiv preprint arXiv:1412.3555

  23. Kadlec R, Schmid M, Bajgar O, Kleindienst J (2016) Text understanding with the attention sum reader network. ArXiv preprint arXiv:1603.01547

  24. Cui Y, Chen Z, Wei Z, Wang S, Liu T, Hu G (2016) Attention-over-attention neural networks for reading comprehension. ArXiv preprint arXiv:1607.04423

  25. Sukhbaatar S, Weston J, Fergus R (2015) End-to-end memory networks. Adv Neural Inf Proc Syst 2440–2448

    Google Scholar 

  26. Gulcehre C, Ahn S, Nallapati R, Zhou B, Bengio Y (2016) Pointing the unknown words. ArXiv preprint arXiv:1603.08148

  27. Yu Y, Zhang W, Hang C, Xiang B, Zhou B (2015) Empirical study on deep learning models for question answering. ArXiv preprint arXiv:1510.07526

  28. Richardson M, Burges C, Renshaw E (2013) Mctest: a challenge dataset for the open-domain machine comprehension of text. In: Proceedings of the 2013 conference on empirical methods in natural language processing, pp 193–203

    Google Scholar 

  29. Berant J, Srikumar V, Chen P, Vander Linden A, Harding B, Huang B, Clark P, Manning C (2014) Modeling biological processes for reading comprehension. In: Proceedings of the 2014 conference on empirical methods in natural language processing (EMNLP), pp. 1499–1510 (2014)

    Google Scholar 

  30. Yang Y, Yih W, Meek C (2015) Wikiqa: a challenge dataset for open-domain question answering. In: Proceedings of the 2015 conference on empirical methods in natural language processing, pp 2013–2018

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Minakshi Tomer .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Tomer, M., Kumar, M. (2021). Question Answering System Using LSTM and Keyword Generation. In: Goar, V., Kuri, M., Kumar, R., Senjyu, T. (eds) Advances in Information Communication Technology and Computing. Lecture Notes in Networks and Systems, vol 135. Springer, Singapore. https://doi.org/10.1007/978-981-15-5421-6_28

Download citation

  • DOI: https://doi.org/10.1007/978-981-15-5421-6_28

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-15-5420-9

  • Online ISBN: 978-981-15-5421-6

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics