Skip to main content

Advertisement

Log in

Detecting Multiple Coexisting Emotions in Microblogs with Convolutional Neural Networks

  • Published:
Cognitive Computation Aims and scope Submit manuscript

Abstract

Analyzing human sentiments and emotions is a critical problem in cognitive computing. One fundamental task of sentiment analysis is to infer the sentiment polarity or emotion category of subjective text, such as microblogs. Most existing methods treat sentiment classification as a type of single-label supervised learning problem that classifies a microblog according to sentiment polarity or a single-labeled emotion. However, multiple fine-grained emotions may coexist in a single tweet or sentence of a microblog. We regard emotion detection in microblogs as a multi-label classification problem. First, we develop a graph-based algorithm to automatically build emotion lexicons, which are further utilized to construct distant-supervised corpora from massive microblog datasets. Then, a ranking-based multi-label convolutional neural network model (RM-CNN) that considers the order and relevance of labels is proposed to address emotion detection in microblogs. The RM-CNN model is pre-trained using the distant-supervised corpus and then fine-tuned using specific training data without the need for any manually designed features. Extensive experiments on two real-world datasets demonstrate substantial improvements of our proposed RM-CNN model over the state-of-the-art baseline methods in terms of multi-label classification metrics. We propose an effective RM-CNN model with a distant-supervised learning framework for detecting multiple coexisting emotions in the short text of microblogs.

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
Fig. 4
Fig. 5
Fig. 6
Fig. 7

Similar content being viewed by others

Notes

  1. https://en.wikipedia.org/wiki/Emotion.

  2. http://tcci.ccf.org.cn/conference/2014/index.html.

  3. http://ir.dlut.edu.cn/EmotionOntologyDownload.

  4. http://www.image-net.org/.

  5. http://tcci.ccf.org.cn/conference/2014/pages/page04_eva.html.

  6. http://deeplearning.net/software/theano/.

  7. http://open.weibo.com/.

  8. http://www.keenage.com/html/e_index.html.

References

  1. Abdel-Hamid O, Deng L, Yu D. Exploring convolutional neural network structures and optimization techniques for speech recognition. Proceedings of 14th annual conference of the international speech communication association; 2013. p. 3366–3370.

  2. Agrawal R, Gupta A, Prabhu Y, Varma M. Multi-label learning with millions of labels: recommending advertiser bid phrases for web pages. In: Proceedings of the 22nd international world wide web conference. 2013; p. 13–24.

  3. Bhowmick PK. Reader perspective emotion analysis in text through ensemble based multi-label classification framework. Comput Inf Sci. 2009;2(4):64–74.

    Google Scholar 

  4. Chiu JPC, Nichols E. Named entity recognition with bidirectional LSTM-CNNs. Trans Assoc Comput Linguist. 2016;4:357–70.

    Google Scholar 

  5. Das D, Bandyopadhyay S. Sentence-level emotion and valence tagging. Cogn Comput. 2012;4(4):420–435.

    Article  Google Scholar 

  6. Feng S, Song K, Wang D, Yu G. A word-emoticon mutual reinforcement ranking model for building sentiment lexicon from massive collection of microblogs. World Wide Web. 2015;18(4):949–67.

    Article  Google Scholar 

  7. Feng S, Zhang L, Li B, Wang D, Yu G, Wong K. Is twitter A better corpus for measuring sentiment similarity? In: Proceedings of the 2013 conference on empirical methods in natural language processing. 2013; p. 897–902.

  8. Goodfellow IJ, Bulatov Y, Ibarz J, Arnoud S, Shet VD. Multi-digit number recognition from street view imagery using deep convolutional neural networks. arXiv:1312.6082 (2013).

  9. Gui L, Lin H, Lin Y, Liu S. Detection and extraction of hot topics on chinese microblogs. Cogn Comput. 2016;8(4):577–86.

    Article  Google Scholar 

  10. Gui L, Xu R, Lu Q, Du J, Zhou Y. Negative transfer detection in transductive transfer learning. Int J Mach Learn Cyber. Online First. 2017.

  11. Gui L, Zhou Y, Xu R, He Y, Lu Q. Learning representations from heterogeneous network for sentiment classification of product reviews. Knowl-Based Syst. 2017;124:34–45.

    Article  Google Scholar 

  12. Hou S, Zhou S, Chen L, Feng Y, Awudu K. Multi-label learning with label relevance in advertising video. Neurocomputing. 2016;171:932–48.

    Article  Google Scholar 

  13. Huang J, Li G, Huang Q, Wu X. Learning label-specific features and class-dependent labels for multi-label classification. IEEE Trans Knowl Data Eng. 2016;28(12):3309–23.

    Article  Google Scholar 

  14. Jijkoun V, Hofmann K. Generating a non-english subjectivity lexicon: relations that matter. In: Proceedings of 12th conference of the european chapter of the association for computational linguistics. 2009; p. 398–405.

  15. Kalchbrenner N, Grefenstette E, Blunsom P. A convolutional neural network for modelling sentences. In: Proceedings of the 52nd annual meeting of the association for computational linguistics. 2014; p. 655–665.

  16. Khan FH, Qamar U, Bashir S. Multi-objective model selection (moms)-based semi-supervised framework for sentiment analysis. Cogn Comput. 2016;8(4):614–628.

    Article  Google Scholar 

  17. Kim Y. Convolutional neural networks for sentence classification. In: Proceedings of the 2014 conference on empirical methods in natural language processing. 2014; p. 1746–1751.

  18. Ku L, Chen H. Mining opinions from the web: beyond relevance retrieval. J Am Soc Inf Sci Tec. 2007;58(12):1838–50.

    Article  Google Scholar 

  19. Kuo Y, Fu M, Tsai W, Lee K, Chen L. Integrated microblog sentiment analysis from users’ social interaction patterns and textual opinions. Appl Intell. 2016;44(2):399–413.

    Article  Google Scholar 

  20. Li J, Rao Y, Jin F, Chen H, Xiang X. Multi-label maximum entropy model for social emotion classification over short text. Neurocomputing. 2016;210:247–256.

    Article  Google Scholar 

  21. Liu K, Li W, Guo M. Emoticon smoothed language models for twitter sentiment analysis. In: Proceedings of the Twenty-Sixth AAAI conference on artificial intelligence. 2012; p. 1678–1684.

  22. Liu S, Cheng X, Li F, Li F. TASC: topic-adaptive sentiment classification on dynamic tweets. IEEE Trans Knowl Data Eng. 2015;27(6):1696–1709.

    Article  Google Scholar 

  23. Liu SM, Chen JH. A multi-label classification based approach for sentiment classification. Expert Syst Appl. 2015;42(3):1083–93.

    Article  Google Scholar 

  24. Ma X, Hovy EH. End-to-end sequence labeling via bi-directional lstm-cnns-crf. In: Proceedings of the 54th Annual meeting of the association for computational linguistics. 2016; p. 1064–1074.

  25. Madjarov G, Kocev D, Gjorgjevikj D, Dzeroski S. An extensive experimental comparison of methods for multi-label learning. Pattern Recogn. 2012;45(9):3084–3104.

    Article  Google Scholar 

  26. Manning CD, Schutze H. 2000. Foundations of statistical natural language processing. MIT Press.

  27. Meng F, Lu Z, Wang M, Li H, Jiang W, Liu Q. Encoding source language with convolutional neural network for machine translation. In: Proceedings of the 53rd Annual meeting of the association for computational linguistics and the 7th international joint conference on natural language processing of the asian federation of natural language processing. 2015; p. 20–30.

  28. Mikolov T, Sutskever I, Chen K, Corrado GS, Dean J. Distributed representations of words and phrases and their compositionality. In: Proceedings of 27th Annual conference on neural information processing systems. 2013; p. 3111–19.

  29. Mohammad S, Kiritchenko S, Zhu X. Nrc-canada: building the state-of-the-art in sentiment analysis of tweets. In: Proceedings of the 7th international workshop on semantic evaluation. 2013; p. 321–7.

  30. Nair V, Hinton GE. Rectified linear units improve restricted Boltzmann machines. In: Proceedings of the 27th international conference on machine learning. 2010; p. 807–814.

  31. Ofek N, Poria S, Rokach L, Cambria E, Hussain A, Shabtai A. Unsupervised commonsense knowledge enrichment for domain-specific sentiment analysis. Cogn Comput. 2016;8(3):467–477.

    Article  Google Scholar 

  32. Quan C, Ren F. A blog emotion corpus for emotional expression analysis in Chinese. Comput Speech Lang. 2010;24(4):726–49.

    Article  Google Scholar 

  33. Read J, Perezcruz F. Deep learning for multi-label classification. Mach Learn. 2014;85(3):333–59.

    Article  Google Scholar 

  34. dos Santos CN, Gatti M. Deep convolutional neural networks for sentiment analysis of short texts. In: Proceedings of the 25th international conference on computational linguistics. 2014; p. 69–78.

  35. Sintsova V, Pu P. Dystemo: Distant supervision method for multi-category emotion recognition in tweets. ACM, T Intel Syst Tec. 2016;8(1):13,1–13,22.

    Google Scholar 

  36. Song K, Feng S, Gao W, Wang D, Chen L, Zhang C. Build emotion lexicon from microblogs by combining effects of seed words and emoticons in a heterogeneous graph. In: Proceedings of the 26th ACM conference on hypertext & social media. 2015; p. 283–292.

  37. Staiano J, Guerini M. Depeche mood: a lexicon for emotion analysis from crowd annotated news. In: Proceedings of the 52nd annual meeting of the association for computational Linguistics. 2014; p. 427–433.

  38. Sun R, Wilson N, Lynch MF. Emotion: a unified mechanistic interpretation from a cognitive architecture. Cogn Comput. 2016;8(1):1–14.

    Article  CAS  Google Scholar 

  39. Sun X, Peng X, Ren F. Detect the emotions of the public based on cascade neural network model. In: 15th IEEE/ACIS International conference on computer and information science. 2016; p. 1–6.

  40. Tang D, Wei F, Qin B, Zhou M, Liu T. Building large-scale twitter-specific sentiment lexicon: a representation learning approach. In: Proceedings of the 25th international conference on computational linguistics. 2014; p. 172–182.

  41. Wang J, Yang Y, Mao J, Huang Z, Huang C, Xu W. CNN-RNN: a unified framework for multi-label image classification. In: Proceedings of the 29th IEEE conference on computer vision and pattern recognition. 2016; p. 2285–2294.

  42. Wang L, Cao Z, de Melo G, Liu Z. Relation classification via multi-level attention cnns. In: Proceedings of the 54th annual meeting of the association for computational linguistics, 2016; p. 1298–1307.

  43. Wang L, Ren F, Miao D. Multi-label emotion recognition of weblog sentence based on bayesian networks. IEEJ T Electr Electr. 2016;11(2):178–84.

    Article  Google Scholar 

  44. Wang M, Liu M, Feng S, Wang D, Zhang Y. A novel calibrated label ranking based method for multiple emotions detection in Chinese microblogs. In: Proceedings of the Third CCF conference natural language processing and chinese computing. 2014; p. 238–250.

  45. Wang Y, Feng S, Wang D, Yu G, Zhang Y. Multi-label Chinese microblog emotion classification via convolutional neural network. In: Proceedings of 18th Asia-Pacific web conference. 2016; p. 567–580.

  46. Wei Y, Xia W, Huang J, Ni B, Dong J, Zhao Y, Yan S. CNN: single-label to multi-label. arXiv:1406.5726. 2014.

  47. Wei Y, Xia W, Lin M, Huang J, Ni B, Dong J, Zhao Y, Yan S. HCP: a flexible CNN framework for multi-label image classification. IEEE Trans Pattern Anal Mach Intell. 2016;38(9):1901–07.

    Article  Google Scholar 

  48. Wen S, Wan X. Emotion classification in microblog texts using class sequential rules. In: Proceedings of the Twenty-Eighth AAAI conference on artificial intelligence. 2014, p. 187–193.

  49. Wu F, Song Y, Huang Y. Microblog sentiment classification with contextual knowledge regularization. In: Proceedings of the Twenty-Ninth AAAI conference on artificial intelligence. 2015; p. 2332–2338.

  50. Xu R, Chen T, Xia Y, Lu Q, Liu B, Wang X. Word embedding composition for data imbalances in sentiment and emotion classification. Cogn Comput. 2015;7(2):226–40.

    Article  Google Scholar 

  51. Ye L, Xu R, Xu J. Emotion prediction of news articles from reader’s perspective based on multi-label classification. In: Proceedings of international conference on machine learning and cybernetics. 2012; p. 2019–2024.

  52. Zeiler MD. ADADELTA: an adaptive learning rate method. arXiv:1212.5701. 2012.

  53. Zhang M, Zhou Z. Multi-label neural networks with applications to functional genomics and text categorization. IEEE Trans Knowl Data Eng. 2006;18(10):1338–51.

    Article  Google Scholar 

  54. Zhang M, Zhou Z. ML-KNN: a lazy learning approach to multi-label learning. Pattern Recogn. 2007;40(7):2038–48.

    Article  Google Scholar 

  55. Zhang M, Zhou Z. A review on multi-label learning algorithms. IEEE Trans Knowl Data Eng. 2014;26(8):1819–37.

    Article  Google Scholar 

  56. Zhang P, Wang S, Li D. Cross-lingual sentiment classification: similarity discovery plus training data adjustment. Knowl-Based Syst. 2016;107:129–41.

    Article  CAS  Google Scholar 

  57. Zhang X, Li W, Lu S. Emotion detection in online social network based on multi-label learning. In: Proceedings of 22nd International conference on database systems for advanced applications. 2017; p. 659–674.

  58. Zhao F, Huang Y, Wang L, Tan T. Deep semantic ranking based hashing for multi-label image retrieval. In: Proceedings of the IEEE conference on computer vision and pattern recognition. 2015; p. 1556–1564.

Download references

Funding

This study was funded by the National Natural Science Foundation of China (61370074, 61402091) and the Fundamental Research Funds for the Central Universities of China under Grant N140404012.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Shi Feng.

Ethics declarations

Conflict of Interest

The 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.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Feng, S., Wang, Y., Song, K. et al. Detecting Multiple Coexisting Emotions in Microblogs with Convolutional Neural Networks. Cogn Comput 10, 136–155 (2018). https://doi.org/10.1007/s12559-017-9521-1

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s12559-017-9521-1

Keywords

Navigation