Cognitive Computation

, Volume 10, Issue 1, pp 136–155 | Cite as

Detecting Multiple Coexisting Emotions in Microblogs with Convolutional Neural Networks

  • Shi Feng
  • Yaqi Wang
  • Kaisong Song
  • Daling Wang
  • Ge Yu
Article
  • 69 Downloads

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.

Keywords

Emotion classification Convolutional neural network Multi-label learning Sentiment analysis Microblogs 

Notes

Compliance with Ethical Standards

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.

References

  1. 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.Google Scholar
  2. 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.Google Scholar
  3. 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. 4.
    Chiu JPC, Nichols E. Named entity recognition with bidirectional LSTM-CNNs. Trans Assoc Comput Linguist. 2016;4:357–70.Google Scholar
  5. 5.
    Das D, Bandyopadhyay S. Sentence-level emotion and valence tagging. Cogn Comput. 2012;4(4):420–435.CrossRefGoogle Scholar
  6. 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.CrossRefGoogle Scholar
  7. 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.Google Scholar
  8. 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. 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.CrossRefGoogle Scholar
  10. 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.Google Scholar
  11. 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.CrossRefGoogle Scholar
  12. 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.CrossRefGoogle Scholar
  13. 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.CrossRefGoogle Scholar
  14. 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.Google Scholar
  15. 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.Google Scholar
  16. 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.CrossRefGoogle Scholar
  17. 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.Google Scholar
  18. 18.
    Ku L, Chen H. Mining opinions from the web: beyond relevance retrieval. J Am Soc Inf Sci Tec. 2007;58(12):1838–50.CrossRefGoogle Scholar
  19. 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.CrossRefGoogle Scholar
  20. 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.CrossRefGoogle Scholar
  21. 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.Google Scholar
  22. 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.CrossRefGoogle Scholar
  23. 23.
    Liu SM, Chen JH. A multi-label classification based approach for sentiment classification. Expert Syst Appl. 2015;42(3):1083–93.CrossRefGoogle Scholar
  24. 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.Google Scholar
  25. 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.CrossRefGoogle Scholar
  26. 26.
    Manning CD, Schutze H. 2000. Foundations of statistical natural language processing. MIT Press.Google Scholar
  27. 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.Google Scholar
  28. 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.Google Scholar
  29. 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.Google Scholar
  30. 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.Google Scholar
  31. 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.CrossRefGoogle Scholar
  32. 32.
    Quan C, Ren F. A blog emotion corpus for emotional expression analysis in Chinese. Comput Speech Lang. 2010;24(4):726–49.CrossRefGoogle Scholar
  33. 33.
    Read J, Perezcruz F. Deep learning for multi-label classification. Mach Learn. 2014;85(3):333–59.CrossRefGoogle Scholar
  34. 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.Google Scholar
  35. 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. 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.Google Scholar
  37. 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.Google Scholar
  38. 38.
    Sun R, Wilson N, Lynch MF. Emotion: a unified mechanistic interpretation from a cognitive architecture. Cogn Comput. 2016;8(1):1–14.CrossRefGoogle Scholar
  39. 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.Google Scholar
  40. 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.Google Scholar
  41. 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.Google Scholar
  42. 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.Google Scholar
  43. 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.CrossRefGoogle Scholar
  44. 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.Google Scholar
  45. 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.Google Scholar
  46. 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. 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.CrossRefGoogle Scholar
  48. 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.Google Scholar
  49. 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.Google Scholar
  50. 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.CrossRefGoogle Scholar
  51. 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.Google Scholar
  52. 52.
    Zeiler MD. ADADELTA: an adaptive learning rate method. arXiv:1212.5701. 2012.
  53. 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.CrossRefGoogle Scholar
  54. 54.
    Zhang M, Zhou Z. ML-KNN: a lazy learning approach to multi-label learning. Pattern Recogn. 2007;40(7):2038–48.CrossRefGoogle Scholar
  55. 55.
    Zhang M, Zhou Z. A review on multi-label learning algorithms. IEEE Trans Knowl Data Eng. 2014;26(8):1819–37.CrossRefGoogle Scholar
  56. 56.
    Zhang P, Wang S, Li D. Cross-lingual sentiment classification: similarity discovery plus training data adjustment. Knowl-Based Syst. 2016;107:129–41.CrossRefGoogle Scholar
  57. 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.Google Scholar
  58. 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.Google Scholar

Copyright information

© Springer Science+Business Media, LLC 2017

Authors and Affiliations

  • Shi Feng
    • 1
  • Yaqi Wang
    • 1
  • Kaisong Song
    • 1
  • Daling Wang
    • 1
  • Ge Yu
    • 1
  1. 1.School of Computer Science and EngineeringNortheastern UniversityShenyangChina

Personalised recommendations