Skip to main content
Log in

Exploration of social media for sentiment analysis using deep learning

  • Focus
  • Published:
Soft Computing Aims and scope Submit manuscript

Abstract

With the rapid growth of web content from social media, such studies as online opinion mining or sentiment analysis of text have started receiving attention from government, industry, and academic sectors. In recent years, sentiment analysis has not only emerged under knowledge fusion in the big data era, but has also become a popular research topic in the area of artificial intelligence and machine learning. This study used the Militarylife PTT board of Taiwan’s largest online forum as the source of its experimental data. The purpose of this study was to construct a sentiment analysis framework and processes for social media in order to propose a self-developed military sentiment dictionary for improving sentiment classification and analyze the performance of different deep learning models with various parameter calibration combinations. The experimental results show that the accuracy and F1-measure of the model that combines existing sentiment dictionaries and the self-developed military sentiment dictionary are better than the results from using existing sentiment dictionaries only. Furthermore, the prediction model trained using the activation function, Tanh, and when the number of Bi-LSTM network layers is two, the accuracy and F1-measure have an even better performance for sentiment classification.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3

Similar content being viewed by others

References

  • Ahmed W, Lugovic S (2019) Social media analytics: analysis and visualisation of news diffusion using NodeXL. Online Inf Rev 43(1):149–160

    Article  Google Scholar 

  • Al-Mansouri E (2016) Using artificial neural networks and sentiment analysis to predict upward movements in stock price. Doctoral dissertation, Worcester Polytechnic Institute

  • Amin A, Anwar S, Adnan A, Nawaz M, Howard N, Qadir J, Hawlah A, Hussain A (2016) Comparing oversampling techniques to handle the class imbalance problem: a customer churn prediction case study. IEEE Access 4:7940–7957

    Article  Google Scholar 

  • Araque O, Corcuera-Platas I, Sanchez-Rada JF, Iglesias CA (2017) Enhancing deep learning sentiment analysis with ensemble techniques in social applications. Expert Syst Appl 77:236–246

    Article  Google Scholar 

  • Asur S, Huberman BA (2010) Predicting the future with social media. In: Proceedings of the 2010 IEEE/WIC/ACM international conference on web intelligence and intelligent agent technology vol 1, pp 492–499

  • Balikas G, Moura S, Amini MR (2017) Multitask learning for fine-grained twitter sentiment analysis. In: Proceedings of the 40th international ACM SIGIR conference on research and development in information retrieval, pp 1005–1008

  • Chen MY, Chen TH (2019) Modeling public mood and emotion: blog and news sentiment and socio-economic phenomena. Future Gener Comput Syst 96:692–699

    Article  Google Scholar 

  • Chen PJ, Ding JJ, Hsu HW, Wang CY, Wang JC (2017) Improved convolutional neural network based scene classification using long short-term memory and label relations. In: 2017 IEEE international conference on multimedia & expo workshops (ICMEW), pp 429–434

  • Cho K, Van Merriënboer 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

  • Cliche M (2017) BB_twtr at SemEval-2017 task 4: twitter sentiment analysis with CNNs and LSTMs. arXiv preprint arXiv:1704.06125

  • Day MY, Lin YD (2017) Deep learning for sentiment analysis on google play consumer review. In: 2017 IEEE international conference on information reuse and integration (IRI), pp 382–388

  • Day MY, Teng HC (2017) A study of deep learning to sentiment analysis on word of mouth of smart bracelet. In: Proceedings of the 2017 IEEE/ACM international conference on advances in social networks analysis and mining 2017, pp 763–770

  • Deng L, Yu D (2014) Deep learning: methods and applications. Found Trends Signal Process 7(3–4):197–387

    Article  MathSciNet  Google Scholar 

  • Deng L, Hinton G, Kingsbury B (2013) New types of deep neural network learning for speech recognition and related applications: an overview. In: 2013 IEEE international conference on acoustics, speech and signal processing, pp 8599–8603

  • Di Persio L, Honchar O (2016) Artificial neural networks approach to the forecast of stock market price movements. Int J Econ Manag Syst 1:158–162

    Google Scholar 

  • Ertekin Ş (2013) Adaptive oversampling for imbalanced data classification. In Information sciences and systems 2013. Springer, Cham, pp 261–269

  • Fok WW, Chan LC, Chen C (2018) Artificial intelligence for sport actions and performance analysis using recurrent neural network (RNN) with long short-term memory (LSTM). In: Proceedings of the 2018 4th international conference on robotics and artificial intelligence, pp 40–44

  • Guellil I, Boukhalfa K (2015) Social big data mining: a survey focused on opinion mining and sentiments analysis. In: 2015 12th international symposium on programming and systems (ISPS), pp 1–10

  • Hangya V, Farkas R (2017) A comparative empirical study on social media sentiment analysis over various genres and languages. Artif Intell Rev 47(4):485–505

    Article  Google Scholar 

  • He W, Wu H, Yan G, Akula V, Shen J (2015) A novel social media competitive analytics framework with sentiment benchmarks. Inf Manag 52(7):801–812

    Article  Google Scholar 

  • Hemmatian F, Sohrabi MK (2017) A survey on classification techniques for opinion mining and sentiment analysis. Artif Intell Rev 1–51

  • Hochreiter S, Schmidhuber J (1997) Long short-term memory. Neural Comput 9(8):1735–1780

    Article  Google Scholar 

  • Jain SK, Singh P (2019) Systematic survey on sentiment analysis. In: 2018 first international conference on secure cyber computing and communication (ICSCCC), pp 561–565

  • Karim F, Majumdar S, Darabi H, Chen S (2017) LSTM fully convolutional networks for time series classification. IEEE Access 6:1662–1669

    Article  Google Scholar 

  • Krizhevsky A, Sutskever I, Hinton GE (2012) Imagenet classification with deep convolutional neural networks. In: Advances in neural information processing systems, pp 1097–1105

  • Kumar N, Nagalla R, Marwah T, Singh M (2018) Sentiment dynamics in social media news channels. Online Soc Netw Media 8:42–54

    Article  Google Scholar 

  • Lehner B, Widmer G, Bock S (2015) A low-latency, real-time-capable singing voice detection method with LSTM recurrent neural networks. In: 2015 23rd European signal processing conference (EUSIPCO), pp 21–25

  • Mäntylä MV, Graziotin D, Kuutila M (2018) The evolution of sentiment analysis—a review of research topics, venues, and top cited papers. Comput Sci Rev 27:16–32

    Article  Google Scholar 

  • Medhat W, Hassan A, Korashy H (2014) Sentiment analysis algorithms and applications: a survey. Ain Shams Eng J 5(4):1093–1113

    Article  Google Scholar 

  • Mikolov T, Chen K, Corrado G, Dean J (2013) Efficient estimation of word representations in vector space. arXiv preprint arXiv:1301.3781

  • O’Reilly T, Battelle J (2004) Opening welcome: state of the internet industry. California, San Francisco

    Google Scholar 

  • Pang B, Lee L (2008) Opinion mining and sentiment analysis. Found Trends Inf Retr 2(1–2):1–135

    Article  Google Scholar 

  • Piryani R, Madhavi D, Singh VK (2017) Analytical mapping of opinion mining and sentiment analysis research during 2000–2015. Inf Process Manag 53(1):122–150

    Article  Google Scholar 

  • Sang ETK, Bos J (2012) Predicting the 2011 Dutch senate election results with Twitter. In: Proceedings of the 13th conference of the european chapter of the association for computational linguistics, pp 53–60

  • Shayaa S, Jaafar NI, Bahri S, Sulaiman A, Wai PS, Chung YW, Piprani AZ, Al-Garadi MA (2018) Sentiment analysis of big data: methods, applications, and open challenges. IEEE Access 6:37807–37827

    Article  Google Scholar 

  • Shelke NM, Deshpande S, Thakre V (2012) Survey of techniques for opinion mining. Int J Comput Appl 57(13):0975–8887

    Google Scholar 

  • Shen Q, Wang Z, Sun Y (2017) Sentiment analysis of movie reviews based on CNN-BLSTM. Int Conf Intell Sci. Springer, Cham, pp 164–171

    Google Scholar 

  • Tang D, Qin B, Feng X, Liu T (2015) Effective LSTMs for target-dependent sentiment classification. arXiv preprint arXiv:1512.01100

  • Tsai HC, Chiu CJ, Tseng PH, Feng KT (2019) Refined autoencoder-based CSI hidden feature extraction for indoor spot localization. In: 2018 IEEE 88th vehicular technology conference (VTC-Fall), pp 1–5

  • Verma, H., and Kumar, S. (2019) An accurate missing data prediction method using LSTM based deep learning for health care. In: Proceedings of the 20th international conference on distributed computing and networking, pp 371–376

  • Vo QH, Nguyen HT, Le B, Nguyen ML (2017) Multi-channel LSTM-CNN model for Vietnamese sentiment analysis. In: 2017 9th international conference on knowledge and systems engineering (KSE), pp 24–29

  • Wang R, Zhou D, Jiang M, Si J, Yang Y (2019) A survey on opinion mining: from stance to product aspect. IEEE Access 7:41101–41124

    Article  Google Scholar 

  • Xiang Z, Du Q, Ma Y, Fan W (2018) Assessing reliability of social media data: lessons from mining TripAdvisor hotel reviews. Inf Technol Tourism 18(1–4):43–59

    Article  Google Scholar 

  • Xu J, Chen D, Qiu X, Huang X (2016) Cached long short-term memory neural networks for document-level sentiment classification. arXiv preprint arXiv:1610.04989

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

    Article  Google Scholar 

  • Yoon J, Kim H (2017) Multi-channel lexicon integrated CNN-BiLSTM models for sentiment analysis. In: Proceedings of the 29th conference on computational linguistics and speech processing (ROCLING 2017), pp 244–253

  • Zavattaro SM, French PE, Mohanty SD (2015) A sentiment analysis of US local government tweets: the connection between tone and citizen involvement. Gov Inf Q 32(3):333–341

    Article  Google Scholar 

  • Zhang X, Lu L, Lapata M (2016) Top-down tree long short-term memory networks. In: Proceedings of NAACL-HLT, pp 310–320

  • Zhang L, Wang S, Liu B (2018) Deep learning for sentiment analysis: a survey. Wiley Interdiscip Rev Data Min Knowl Discov 8(4):e1253

    Article  Google Scholar 

  • Zhou J, Lu Y, Dai HN, Wang H, Xiao H (2019) Sentiment analysis of Chinese microblog based on stacked bidirectional LSTM. IEEE Access 7:38856–38866

    Article  Google Scholar 

Download references

Acknowledgements

This research was partially sponsored by the Ministry of Science and Technology (MOST), Taiwan under Grant No: 107-2410-H-606-006

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Liang-Chu Chen.

Ethics declarations

Conflict of interest

All authors declare that they have no conflict of interest.

Ethical approval

This article does not contain any studies with human participants or animals performed by any of the authors.

Additional information

Communicated by Mu-Yen Chen.

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Chen, LC., Lee, CM. & Chen, MY. Exploration of social media for sentiment analysis using deep learning. Soft Comput 24, 8187–8197 (2020). https://doi.org/10.1007/s00500-019-04402-8

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00500-019-04402-8

Keywords

Navigation