Skip to main content

Bidirectional Long Short-Term Memory-Based Spatio-Temporal in Community Question Answering

  • Chapter
  • First Online:
Deep Learning-Based Approaches for Sentiment Analysis

Part of the book series: Algorithms for Intelligent Systems ((AIS))

Abstract

Community-based question answering (CQA) is an online-based crowdsourcing service that enables users to share and exchange information in the field of natural language processing. A major challenge of CQA service is to determine the high-quality answer with respect to the given question. The existing methods perform semantic matches between a single pair of a question and its relevant answer. In this paper, a Spatio-Temporal bidirectional Long Short-Term Memory (ST-BiLSTM) method is proposed to predict the semantic representation between the question–answer and answer–answer. ST-BiLSTM has two LSTM network instead of one LSTM network (i.e., forward and backward LSTM). The forward LSTM controls the spatial relationship and backward LSTM for examining the temporal interactions for accurate answer prediction. Hence, it captures both the past and future context by using two networks for accurate answer prediction based on the user query. Initially, preprocessing is carried out by name-entity recognition (NER), dependency parsing, tokenization, part of speech (POS) tagging, lemmatization, stemming, syntactic parsing, and stop word removal techniques to filter out the useless information. Then, a par2vec is applied to transform the distributed representation of question and answer into a fixed vector representation. Next, ST-BiLSTM cell learns the semantic relationship between question–answer and answer–answer to determine the relevant answer set for the given user question. The experiment performed on SemEval 2016 and Baidu Zhidao datasets shows that our proposed method outperforms than other state-of-the-art approaches.

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 139.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 179.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 179.99
Price excludes VAT (USA)
  • Durable hardcover 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. Wang, X., Huang, C., Yao, L., Benatallah, B., Dong, M.: A survey on expert recommendation in community question answering. Journal of Computer Science and Technology 33(4), 625–653 (2018)

    Article  Google Scholar 

  2. Zhao, Z., Zhang, L., He, X., Ng, W.: Expert finding for question answering via graph regularized matrix completion. IEEE Transactions on Knowledge and Data Engineering 27(4), 993–1004 (2015)

    Article  Google Scholar 

  3. Lal, S., D. Correa, and A. Sureka. 2014. Migrated question prediction on StackExchange. In 2014 21st Asia-Pacific Software Engineering Conference, Jeju, pp. 35–38

    Google Scholar 

  4. Sahu, T.P., Nagwani, N.K., Verma, S.: Selecting best answer: an empirical analysis on community question answering sites. IEEE Access 4, 4797–4808 (2016)

    Article  Google Scholar 

  5. Toba, H., Ming, Z.Y., Adriani, M., Chua, T.S.: Discovering high quality answers in community question answering archives using a hierarchy of classifiers. Information Sciences 10(261), 101–115 (2014)

    Article  MathSciNet  Google Scholar 

  6. Palanisamy, R., Foshay, N.: Impact of user’s internal flexibility and participation on usage and information systems flexibility. Global Journal of Flexible Systems Management 14(4), 195–209 (2013)

    Article  Google Scholar 

  7. Yao, Y., Tong, H., Xie, T., Akoglu, L., Xu, F., Lu, J.: Detecting high-quality posts in community question answering sites. Information Sciences 302, 70–82 (2015)

    Article  Google Scholar 

  8. Beloborodov, A., P. Braslavski, and M. Driker. 2014. Towards automatic evaluation of health-related CQA data. In International Conference of the Cross-Language Evaluation Forum for European Languages 2014 Sept 15, pp. 7–18. Cham: Springer

    Google Scholar 

  9. Liu, F., Antieau, L.D., Yu, H.: Toward automated consumer question answering: automatically separating consumer questions from professional questions in the healthcare domain. Journal of Biomedical Informatics 44(6), 1032–1038 (2011)

    Article  Google Scholar 

  10. Fensel, D.: Ontology-based knowledge management. Computer 35(11), 56–59 (2002)

    Article  Google Scholar 

  11. Roy, P.K., Ahmad, Z., Singh, J.P., Alryalat, M.A., Rana, N.P., Dwivedi, Y.K.: Finding and ranking high-quality answers in community question answering sites. Global Journal of Flexible Systems Management 19(1), 53–68 (2018)

    Article  Google Scholar 

  12. Agichtein, E., C. Castillo, D. Donato, A. Gionis, G. Mishne. (2008). Finding high-quality content in social media. In Proceedings of the 2008 International Conference on Web Search and Data Mining, ACM, pp 183–194

    Google Scholar 

  13. Molino, P., Aiello, L.M., Lops, P.: Social question answering: textual, user, and network features for best answer prediction. ACM Transactions on Information Systems (TOIS) 35(1), 4 (2016)

    Article  Google Scholar 

  14. Yang, X., M. Wang, W. Wang, M. Khabsa, and A. Awadallah. (2018). Adversarial Training for Community Question Answer Selection Based on Multi-scale Matching. arXiv preprint arXiv:1804.08058

  15. Liu, J., Shen, H., Yu, L.: Question quality analysis and prediction in community question answering services with coupled mutual reinforcement. IEEE Transactions on Services Computing 10(2), 286–301 (2017)

    Article  Google Scholar 

  16. Zhou, X., B. Hu, Q. Chen, B. Tang, and X. Wang. Answer Sequence Learning with Neural Networks for Answer Selection in Community Question Answering. arXiv preprint arXiv:1506.06490.201

  17. Shen, Y., Y. Deng, M. Yang, Y. Li, N. Du, W. Fan, K. Lei. 2018. Knowledge-aware attentive neural network for ranking question answer pairs. In The 41st International ACM SIGIR Conference on Research & Development in Information Retrieval ACM, 901–904

    Google Scholar 

  18. Hou, Y., C. Tan, X. Wang, Y. Zhang, J. Xu, Q. Chen. 2015. HITSZ-ICRC: exploiting classification approach for answer selection in community question answering. In Proceedings of the 9th International Workshop on Semantic Evaluation (SemEval 2015), pp. 196–202

    Google Scholar 

  19. Dong, H., J. Wang, H. Lin, B. Xu, Z. Yang. 2015. Predicting best answerers for new questions: an approach leveraging distributed representations of words in community question answering. In 2015 Ninth International Conference on Frontier of Computer Science and Technology (FCST) IEEE, pp. 13–18

    Google Scholar 

  20. Xia, W., Zhu, W., Liao, B., Chen, M., Cai, L.N., Huang, L.: Novel architecture for long short-term memory used in question classification. Neurocomputing 299, 20–31 (2018)

    Article  Google Scholar 

  21. Jurgovsky, J., Granitzer, M., Ziegler, K., Calabretto, S., Portier, P.E., He-Guelton, L., Caelen, O.: Sequence classification for credit-card fraud detection. Expert Systems with Applications 100, 234–245 (2018)

    Article  Google Scholar 

  22. Ouyang, X., K. Gu and P. Zhou. 2018. Spatial pyramid pooling mechanism in 3D convolutional network for sentence-level classification. IEEE/ACM Transactions on Audio, Speech, and Language Processing

    Google Scholar 

  23. Lee, G., Jeong, J., Seo, S., Kim, C., Kang, P.: Sentiment classification with word localization based on weakly supervised learning with a convolutional neural network. Knowledge-Based Systems 152, 70–82 (2018)

    Article  Google Scholar 

  24. Elalfy, D., Gad, W., Ismail, R.: A hybrid model to predict best answers in question answering communities. Egyptian Informatics Journal 19(1), 21–31 (2018)

    Article  Google Scholar 

  25. Hu, Z., Zhang, Z., Yang, H., Chen, Q., Zuo, D.: A deep learning approach for predicting the quality of online health expert question-answering services. Journal of Biomedical Informatics 71, 241–253 (2017)

    Article  Google Scholar 

  26. Zhou, X., B. Hu, Q. Chen and X. Wang. 2018. Recurrent convolutional neural network for answer selection in community question answering. Neurocomputing 274, 8–18

    Article  Google Scholar 

  27. Hu, Z., Z. Zhang, H. Yang, Q. Chen, R. Zhu, and D. Zuo. Predicting the quality of online health expert question-answering services with temporal features in a deep learning framework. Neurocomputing 275, 2769–2782

    Article  Google Scholar 

  28. Fang, H., F. Wu, Z. Zhao, X. Duan, Y. Zhuang and M. Ester. 2016. Community-based question answering via heterogeneous social network learning. In Thirtieth AAAI Conference on Artificial Intelligence

    Google Scholar 

  29. Xiang, Y., Chen, Q., Wang, X., Qin, Y.: Answer selection in community question answering via attentive neural networks. IEEE Signal Processing Letters 24(4), 505–509 (2017)

    Article  Google Scholar 

  30. Liu, Z., Jansen, B.J.: Identifying and predicting the desire to help in social question and answering. Information Processing & Management 53(2), 490–504 (2017)

    Article  Google Scholar 

  31. Freihat, A.A., G. Bella, H. Mubarak, F. Giunchiglia. 2018. A single-model approach for Arabic segmentation, POS tagging, and named entity recognition. In 2018 2nd International Conference on IEEE Natural Language and Speech Processing (ICNLSP), pp. 1–8 (2018)

    Google Scholar 

  32. Le, Q., and T. Mikolov. 2014. Distributed representations of sentences and documents. In International Conference on Machine Learning, pp. 1188–1196

    Google Scholar 

  33. Weston, J., S. Chopra, and A. Bordes. 2014. Memory networks. CoRR, vol.abs/1410.3916

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Prateek Agrawal .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Singapore Pte Ltd.

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Limbasiya, N., Agrawal, P. (2020). Bidirectional Long Short-Term Memory-Based Spatio-Temporal in Community Question Answering. In: Agarwal, B., Nayak, R., Mittal, N., Patnaik, S. (eds) Deep Learning-Based Approaches for Sentiment Analysis. Algorithms for Intelligent Systems. Springer, Singapore. https://doi.org/10.1007/978-981-15-1216-2_11

Download citation

  • DOI: https://doi.org/10.1007/978-981-15-1216-2_11

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-15-1215-5

  • Online ISBN: 978-981-15-1216-2

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics