DeepEmotex: Classifying Emotion in Text Messages using Deep Transfer Learning

被引:2
|
作者
Hasan, Maryam [1 ,2 ]
Rundensteiner, Elke [3 ]
Agu, Emmanuel [1 ]
机构
[1] Worcester Polytech Inst, Dept Comp Sci, Worcester, MA 01609 USA
[2] San Francisco State Univ, San Francisco, CA 94132 USA
[3] Worcester Polytech Inst, Dept Comp Sci & Data Sci, Worcester, MA 01609 USA
关键词
emotion detection; deep learning; transfer learning; neural networks;
D O I
10.1109/BigData52589.2021.9671803
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Transfer learning has been widely used in natural language processing through deep pretrained language models, such as Bidirectional Encoder Representations from Transformers and Universal Sentence Encoder. Despite the great success, language models get overfitted when applied to small datasets and are prone to forgetting when fine-tuned with a classifier. To remedy this problem of forgetting in transferring deep pretrained language models from one domain to another domain, existing efforts explore fine-tuning methods to forget less. We propose DeepEmotex an effective sequential transfer learning method to detect emotion in text. To avoid forgetting problem, the fine-tuning step is instrumented by a large amount of emotion-labeled data collected from Twitter. We conduct an experimental study using both curated Twitter data sets and benchmark data sets. DeepEmotex models achieve over 91% accuracy for multi-class emotion classification on test dataset. We evaluate the performance of the fine-tuned Deep-Emotex models in classifying emotion in EmoInt and Stimulus benchmark datasets. The models correctly classify emotion in 73% of the instances in the benchmark datasets. The proposed DeepEmotex-BERT model outperforms Bi-LSTM result on the benchmark datasets by 23%. We also study the effect of the size of the fine-tuning dataset on the accuracy of our models. Our evaluation results show that fine-tuning with a large set of emotion-labeled data improves both the robustness and effectiveness of the resulting target task model.
引用
收藏
页码:5143 / 5152
页数:10
相关论文
共 50 条
  • [31] Detection of emotion by text analysis using machine learning
    Machova, Kristina
    Szaboova, Martina
    Paralic, Jan
    Micko, Jan
    [J]. FRONTIERS IN PSYCHOLOGY, 2023, 14
  • [32] Deep Learning-Based Text Emotion Analysis for Legal Anomie
    She, Botong
    [J]. FRONTIERS IN PSYCHOLOGY, 2022, 13
  • [33] Classifying Red and Healthy Eyes using Deep Learning
    Verma, Sherry
    Singh, Latika
    Chaudhry, Monica
    [J]. INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2019, 10 (07) : 525 - 531
  • [34] TET: Text emotion transfer
    Baghmolaei, Rezvan Mohammadi
    Ahmadi, Ali
    [J]. KNOWLEDGE-BASED SYSTEMS, 2023, 262
  • [35] Emotion classification in poetry text using deep neural network
    Asad Khattak
    Muhammad Zubair Asghar
    Hassan Ali Khalid
    Hussain Ahmad
    [J]. Multimedia Tools and Applications, 2022, 81 : 26223 - 26244
  • [36] Emotion classification in poetry text using deep neural network
    Khattak, Asad
    Asghar, Muhammad Zubair
    Khalid, Hassan Ali
    Ahmad, Hussain
    [J]. MULTIMEDIA TOOLS AND APPLICATIONS, 2022, 81 (18) : 26223 - 26244
  • [37] Text messages as a learning tool for midwives
    Woods, D.
    Attwell, A.
    Ross, K.
    Theron, G.
    [J]. SAMJ SOUTH AFRICAN MEDICAL JOURNAL, 2012, 102 (02): : 100 - 101
  • [38] Emotion Classification of Songs Using Deep Learning
    Mate, Nikita
    Akre, Durva
    Patil, Gaurav
    Sakarkar, Gopal
    Basuki, Thomas Anung
    [J]. 2022 INTERNATIONAL CONFERENCE ON GREEN ENERGY, COMPUTING AND SUSTAINABLE TECHNOLOGY (GECOST), 2022, : 303 - 308
  • [39] Emotion Detection for the Blind Using Deep Learning
    Pushpalatha, M. N.
    Evangeline, D.
    Sriharsha, Rohan
    Chinmayee, C. H. Sneha
    Satish, Suchinta
    Bharadwaj, Vishnu Kumar
    [J]. SMART TRENDS IN COMPUTING AND COMMUNICATIONS, VOL 5, SMARTCOM 2024, 2024, 949 : 99 - 107
  • [40] Speech Emotion Recognition Using Deep Learning
    Alagusundari, N.
    Anuradha, R.
    [J]. ARTIFICIAL INTELLIGENCE: THEORY AND APPLICATIONS, VOL 1, AITA 2023, 2024, 843 : 313 - 325