Litcius/Paper detail

BERT-CNN: A Deep Learning Model for Detecting Emotions from Text

Ahmed R. Abas, Ibrahim El-Henawy, Mahinda Zidan, Mahmoud Othman

2021Computers, materials & continua/Computers, materials & continua (Print)91 citationsDOIOpen Access PDF

Abstract

Due to the widespread usage of social media in our recent daily lifestyles, sentiment analysis becomes an important field in pattern recognition and Natural Language Processing (NLP). In this field, users’ feedback data on a specific issue are evaluated and analyzed. Detecting emotions within the text is therefore considered one of the important challenges of the current NLP research. Emotions have been widely studied in psychology and behavioral science as they are an integral part of the human nature. Emotions describe a state of mind of distinct behaviors, feelings, thoughts and experiences. The main objective of this paper is to propose a new model named BERT-CNN to detect emotions from text. This model is formed by a combination of the Bidirectional Encoder Representations from Transformer (BERT) and the Convolutional Neural networks (CNN) for textual classification. This model embraces the BERT to train the word semantic representation language model. According to the word context, the semantic vector is dynamically generated and then placed into the CNN to predict the output. Results of a comparative study proved that the BERT-CNN model overcomes the state-of-art baseline performance produced by different models in the literature using the semeval 2019 task3 dataset and ISEAR datasets. The BERT-CNN model achieves an accuracy of 94.7% and an F1-score of 94% for semeval2019 task3 dataset and an accuracy of 75.8% and an F1-score of 76% for ISEAR dataset.

Topics & Concepts

Computer scienceSemEvalArtificial intelligenceSentiment analysisConvolutional neural networkEncoderNatural language processingField (mathematics)Language modelRepresentation (politics)Deep learningWord (group theory)Context (archaeology)Machine learningLinguisticsPolitical scienceManagementPoliticsPhilosophyTask (project management)BiologyMathematicsEconomicsLawPaleontologyOperating systemPure mathematicsSentiment Analysis and Opinion MiningAdvanced Text Analysis TechniquesTopic Modeling