Skip to main content

Analyzing Deep Neural Network Algorithms for Recognition of Emotions Using Textual Data

  • Conference paper
  • First Online:
Key Digital Trends Shaping the Future of Information and Management Science (ISMS 2022)

Abstract

Evaluation of emotion and recognition from textual data is a new and important study in the Natural Language Processing (NLP) field that could provide useful information for various applications. Nowadays people prefer sharing their thoughts, feelings, views, emotions, perceptions, etc. on social media in the form of short articles, e-commerce reviews, posts, and comments. It's important to analyze these textual facts in order to comprehend the nature of people’s thoughts or emotions prevailing on social media. Analyzing emotions from textual data is most challenging for researchers due to text data diversity, and restricted word length. This research article experimented popular deep learning algorithms (LSTM, BiLSTM, GRU, BiGRU) for emotion prediction from textual data extracted from social media. Authors found that performance of experimented models is better than traditional machine learning techniques. Authors adopted Ekman's six primary emotions. The performance of these algorithms is measured on accuracy, recall, precision, and F1-score parameters. The results demonstrate that BiGRU outperforms the other approaches in terms of emotion prediction.

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 149.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 199.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. Batbaatar, E., Li, M., Ryu, K.H.: Semantic-emotion neural network for emotion recognition from text. IEEE Access 7, 111866–111878 (2019)

    Article  Google Scholar 

  2. Valstar, M.F., Jiang, B., Mehu, M., Pantic, M., Scherer, K.: The first facial expression recognition and analysis challenge. In: Proceedings of IEEE International Conference on Automatic and Face Gesture Recognition Workshops (FG), pp. 921–926 (2011)

    Google Scholar 

  3. Karg, M., Samadani, A.-A., Gorbet, R., Kuhnlenz, K., Hoey, J., Kulic, D.: Body movements for affective expression: a survey of automatic recognition and generation. IEEE Trans. Affective Comput. 4(4), 341–359 (2013)

    Article  Google Scholar 

  4. Chowdhary, K.: Natural language processing. In: Fundamentals of Artificial Intelligence, pp. 603–649 (2020)

    Google Scholar 

  5. Shaaban, Y., Korashy, H., Medhat, W.: Emotion detection using deep learning. In: 16th International Conference on Computer Engineering and Systems (ICCES), pp. 1–10. IEEE (2021)

    Google Scholar 

  6. Mahto, D., Yadav, S.C.: Hierarchical Bi-LSTM based emotion analysis of textual data. Bull. Polish Acad. Sci. 70(3) (2022)

    Google Scholar 

  7. Angel Deborah, S., Mirnalinee, T.T., Rajendram, S.M.: Emotion analysis on text using multiple kernel Gaussian. Neural Process. Lett. 53(2), 1187–1203 (2021)

    Article  Google Scholar 

  8. Mahto, D., Yadav, S.C., Lalotra, G.S.: Sentiment prediction of textual data using hybrid ConvBidirectional-LSTM model. Mob. Inf. Syst. 2022 (2022)

    Google Scholar 

  9. Sailunaz, K., Alhajj, R.: Emotion and sentiment analysis from Twitter text. J. Comput. Sci. 36, 101003 (2019)

    Google Scholar 

  10. Nasir, A.F.A., et al.: Text-based emotion prediction system using machine learning approach. In: IOP Conferences Series: Materials Science and Engineering, vol. 769, no. 1. IOP Publishing (2020)

    Google Scholar 

  11. Park, S.-H., Bae, B.-C., Cheong, Y.-G.: Emotion recognition from text stories using an emotion embedding model. In: IEEE International Conference on Big Data and Smart Computing (BigComp). IEEE (2020)

    Google Scholar 

  12. Zhang, X., et al.: Emotion detection in online social networks: a multilabel learning approach. IEEE Internet Things J. 7(9), 8133–8143 (2020)

    Article  Google Scholar 

  13. Babulal, K.S., Nayak, B.K.: Suicidal analysis on social networks using machine learning. In: The Internet of Medical Things (IoMT) and Telemedicine Frameworks and Applications, pp. 230–247. IGI Global (2023)

    Google Scholar 

  14. Babulal, K.S., Das, A.K.: Deep learning-based object detection: an investigation. In: Singh, P.K., Wierzchoń, S.T., Chhabra, J.K., Tanwar, S. (eds.) Futuristic Trends in Networks and Computing Technologies, pp. 697–711. Springer, Singapore (2022). https://doi.org/10.1007/978-981-19-5037-7_50

    Chapter  Google Scholar 

  15. Seal, D., Roy, U.K., Basak, R.: Sentence-level emotion detection from text based on semantic rules. In: Tuba, M., Akashe, S., Joshi, A. (eds.) Information and Communication Technology for Sustainable Development. AISC, vol. 933, pp. 423–430. Springer, Singapore (2020). https://doi.org/10.1007/978-981-13-7166-0_42

    Chapter  Google Scholar 

  16. Xu, G., Meng, Y., Qiu, X., Yu, Z., Wu, X.: Sentiment analysis of comment texts based on BiLSTM. IEEE Access 7, 51522–51532 (2019)

    Article  Google Scholar 

  17. Dey, R., Salem, F.M.: Gate-variants of gated recurrent unit (GRU) neural networks. In: IEEE 60th International Midwest Symposium on Circuits and Systems (MWSCAS), pp. 1597–1600. IEEE (2017)

    Google Scholar 

  18. Liu, X., Wang, Y., Wang, X., Xu, H., Li, C., Xin, X.: Bi-directional gated recurrent unit neural network based nonlinear equalizer for coherent optical communication system. Opt. Exp. 29(4), 5923–5933 (2021)

    Article  Google Scholar 

  19. Saravia, E., Liu, H.-C.T., Huang, Y.-H., Wu, J., Chen, Y.-S.: Carer: contextualized affect representations for emotion recognition. In: Proceedings of the Conference on Empirical Methods in Natural Language Processing, pp. 3687–3697 (2018)

    Google Scholar 

  20. Yadav, S.C., Kumar, P., Kumar, V.: Performance analysis of deep neural network algorithm with optimizer for rumour detection. Int. J. Aquatic Sci. 12(3), 38–45 (2021)

    Google Scholar 

  21. Sharma, A., Kumar, P., Babulal, K.S., Obaid, A.J., Patel, H.: Categorical data clustering using harmony search algorithm for healthcare datasets. Int. J. E-Health Med. Commun. 13(4), 1–15 (2022)

    Article  Google Scholar 

  22. Wallach, H.M.: Topic modeling: beyond bag-of-words. In: Proceedings of the 23rd International Conference on Machine Learning, pp. 977–984 (2006)

    Google Scholar 

  23. Joachims, T.: A probabilistic analysis of the rocchio algorithm with TFIDF for text categorization. Carnegie-Mellon University, Pittsburgh, PA, Department of Computer Science (1996)

    Google Scholar 

  24. Almeida, F., Xexéo, G.: Word embeddings: a survey. arXiv preprint arXiv:1901.09069 (2019)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Kanojia Sindhuben Babulal .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Kumar, P., Babulal, K.S., Mahto, D., Khurshid, Z. (2023). Analyzing Deep Neural Network Algorithms for Recognition of Emotions Using Textual Data. In: Garg, L., et al. Key Digital Trends Shaping the Future of Information and Management Science. ISMS 2022. Lecture Notes in Networks and Systems, vol 671. Springer, Cham. https://doi.org/10.1007/978-3-031-31153-6_6

Download citation

Publish with us

Policies and ethics