Skip to main content

Comparison Performance of Long Short-Term Memory and Convolution Neural Network Variants on Online Learning Tweet Sentiment Analysis

  • Conference paper
  • First Online:
Soft Computing in Data Science (SCDS 2021)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 1489))

Included in the following conference series:

Abstract

Sentiment analysis can be act as an assisted tool in improving the quality of online teaching and learning between teachers and students. Twitter social media platform currently more than 500 million tweets sent each day which is equal to 5787 tweets per second. Therefore, it is hard to track users’ overall opinions on the topics contained in social media. To catch up with the feedback on online learning, it is crucial to detect the topic being discussed and classify users’ sentiments towards those topics. Even though there are many approaches in developing sentiment analysis models, DL models prove to provide the best performance in the sentiment analysis field. Convolutional Neural Network (CNN) and Long Short-Term Memory (LSTM) are two mainstream models in DL used for sentiment analysis classification. Therefore, we evaluate CNN, LSTM, and its hybrids to classify sentiment or an online learning tweet from 2020 until 2021 of 23168 tweets. CNN-LSTM, LSTM-CNN, Bidirectional LSTM, CNN-Bidirectional LSTM models were designed and evaluated based on random hyperparameter tuning. We explain the proposed methodology and model design illustration. The outcome assesses the superiority of all models with a remarkable improvement of accuracy and a reduction loss when applying the random oversampling technique. Specifically, the LSTM-CNN model with random oversampling technique outperformed the other six models with an accuracy of 87.40% and loss value of 0.3432. However, the computational time has resulted increased when with random oversampling technique. Thus, in the future, the performance can be improved on computational time and hyperparameter selection with the employment of nature-inspired computing for fast and optimal results.

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

Similar content being viewed by others

References

  1. 5 Reasons Why Online Learning is the Future of Education. https://www.educations.com/articles-and-advice/5-reasons-online-learning-is-future-of-education-17146. Accessed 30 Apr 2021

  2. Adnan, M.: Online learning amid the COVID-19 pandemic: students perspectives. J. Pedagogical Res. 1(2), 45–51 (2020)

    MathSciNet  Google Scholar 

  3. Dhawan, S.: Online learning: a panacea in the time of COVID-19 crisis. J. Educ. Technol. Syst. 49(1), 5–22 (2020)

    Article  Google Scholar 

  4. Allo, M.D.G.: Is the online learning good in the midst of Covid-19 Pandemic? The case of EFL learners. Jurnal Sinestesia 10(1), 1–10 (2020)

    Google Scholar 

  5. Dessí, D., Dragoni, M., Fenu, G., Marras, M., Reforgiato Recupero, D.: Deep learning adaptation with word embeddings for sentiment analysis on online course reviews. In: Agarwal, B., Nayak, R., Mittal, N., Patnaik, S. (eds.) Deep Learning-Based Approaches for Sentiment Analysis. AIS, pp. 57–83. Springer, Singapore (2020). https://doi.org/10.1007/978-981-15-1216-2_3

    Chapter  Google Scholar 

  6. Rojabi, A.R.: Exploring EFL students’ perception of online learning via Microsoft teams: university level in Indonesia. Engl. Lang. Teach. Educ. J. 3(2), 163 (2020)

    Article  Google Scholar 

  7. Kalyanasundaram, P., Madhavi, C.: Students’ perception on e-learning with regard to online value-added courses. Int. J. Manag. 11(3), 89–96 (2020)

    Google Scholar 

  8. Yang, L., Li, Y., Wang, J., Sherratt, R.S.: Sentiment analysis for e-commerce product reviews in Chinese based on sentiment lexicon and deep learning. IEEE Access 8, 23522–23530 (2020)

    Article  Google Scholar 

  9. Behera, R.K., Jena, M., Rath, S.K., Misra, S.: Co-LSTM: convolutional LSTM model for sentiment analysis in social big data. Inf. Process. Manag. 58(1), 102435 (2021)

    Google Scholar 

  10. Tam, S., Said, R.B., Tanriöver, Ö.Ö.: A ConvBiLSTM deep learning model-based approach for Twitter sentiment classification. IEEE Access 9, 41283–41293 (2021)

    Article  Google Scholar 

  11. Gandhi, U.D., Kumar, P.M., Babu, G.C., Karthick, G.: Sentiment analysis on Twitter data by using convolutional neural network (CNN) and long short term memory (LSTM) (2021)

    Google Scholar 

  12. Rani, S., Kumar, P.: Cover feature advances in learning technologies. Adv. Learn. Technol. 36–43 (2017)

    Google Scholar 

  13. Barron-Estrada, M.L., Zatarain-Cabada, R., Oramas-Bustillos, R., Gonzalez-Hernandez, F.: Sentiment analysis in an affective intelligent tutoring system. In: Proceedings - IEEE 17th International Conference on Advanced Learning Technologies, ICALT 2017, pp. 394–397 (2017)

    Google Scholar 

  14. Bhagat, K.K., Mishra, S., Dixit, A., Chang, C.Y.: Public opinions about online learning during covid-19: a sentiment analysis approach. Sustainability (Switzerland) 13(6) (2021)

    Google Scholar 

  15. Jain, K., Kaushal, S.: A comparative study of machine learning and deep learning techniques for sentiment analysis. In: 2018 7th International Conference on Reliability, Infocom Technologies and Optimization: Trends and Future Directions, ICRITO 2018, pp. 483–487 (2018)

    Google Scholar 

  16. Kamiş, S., Goularas, D.: Evaluation of deep learning techniques in sentiment analysis from Twitter data. In: Proceedings - 2019 International Conference on Deep Learning and Machine Learning in Emerging Applications, Deep-ML 2019, pp. 12–17 (2019)

    Google Scholar 

  17. Huang, Q., Chen, R., Zheng, X., Dong, Z.: Deep sentiment representation based on CNN and LSTM. In: Proceedings - 2017 International Conference on Green Informatics, ICGI 2017, pp. 30–33 (2017)

    Google Scholar 

  18. ColĂłn-Ruiz, C., Segura-Bedmar, I.: Comparing deep learning architectures for sentiment analysis on drug reviews. J. Biomed. Inform. 110(February), 103539 (2020)

    Google Scholar 

  19. Ankit, Saleena, N.: An ensemble classification system for twitter sentiment analysis. Procedia Comput. Sci. 132(Iccids), 937–946 (2018)

    Google Scholar 

  20. Persada, S.F., Oktavianto, A., Miraja, B.A., Nadlifatin, R., Belgiawan, P.F., Redi, A.A.N.P.: Public perceptions of online learning in developing countries: a study using the ELK stack for sentiment analysis on twitter. Int. J. Emerg. Technol. Learn. 15(9), 94–109 (2020)

    Article  Google Scholar 

  21. Rajesh, P., Suseendran, G.: Prediction of n-gram language models using sentiment analysis on e-learning reviews. In: Proceedings of International Conference on Intelligent Engineering and Management, ICIEM 2020, pp. 510–514 (2020)

    Google Scholar 

  22. Priyan, M.K., Babu, G.C., Karthick, G.: Sentiment analysis on Twitter data by using convolutional neural network (CNN) and long short-term memory (LSTM) (2021)

    Google Scholar 

  23. Basiri, M.E., Nemati, S., Abdar, M., Cambria, E., Acharya, U.R.: ABCDM: an attention-based bidirectional CNN-RNN deep model for sentiment analysis. Futur. Gener. Comput. Syst. 115, 279–294 (2021)

    Article  Google Scholar 

  24. Classification Accuracy is Not Enough: More Performance Measures You Can Use. https://machinelearningmastery.com/classification-accuracy-is-not-enough-more-performance-measures-you-can-use/. Accessed 20 June 2019

  25. A Gentle Introduction to Dropout for Regularizing Deep Neural Networks. https://machinelearningmastery.com/dropout-for-regularizing-deep-neural-networks/. Accessed 6 Aug 2019

Download references

Acknowledgement

The authors would like to thank Institute for Big Data Analytics and Artificial Intelligence (IBDAAI) and Research Managemet Center, Universiti Teknologi MARA, Shah Alam, Malaysia for providing essential support and knowledge for the work.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Marina Yusoff .

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

Ali, M.S., Yusoff, M. (2021). Comparison Performance of Long Short-Term Memory and Convolution Neural Network Variants on Online Learning Tweet Sentiment Analysis. In: Mohamed, A., Yap, B.W., Zain, J.M., Berry, M.W. (eds) Soft Computing in Data Science. SCDS 2021. Communications in Computer and Information Science, vol 1489. Springer, Singapore. https://doi.org/10.1007/978-981-16-7334-4_1

Download citation

  • DOI: https://doi.org/10.1007/978-981-16-7334-4_1

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-16-7333-7

  • Online ISBN: 978-981-16-7334-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics