Hybrid neural network model based on multi-head attention for English text emotion analysis

Authors

DOI:

https://doi.org/10.4108/eai.12-11-2021.172103

Keywords:

hybrid neural network model, multi-head attention, English text emotion analysis

Abstract

Traditional Convolutional Neural Network (CNN) ignores the contextual semantics information when performing emotion analysis tasks. And CNN will lose a lot of feature information during the maximum pooling operation, which will limit the text classification performance. CNN cannot extract the emotion features of English text more comprehensively, and relies heavily on a large number of language knowledge and emotion resources. In this paper, we propose a hybrid neural network model based on multi-head attention for English text emotion analysis. Firstly, the new model uses multi-head attention to learn the dependence between words and capture the emotion words in the English text. Secondly, the improved bidirectional gated recurrent unit is used to extract different granularity emotion features of English text. According to each emotion category and attention mechanism, feature vectors are generated to construct the emotion feature vector set. Finally, the text emotion categories are judged according to the model attributes. The model is tested on MR, IMDB and SST-5 data sets, the results show that the proposed method has better classification effect compared with other models.

Downloads

Published

12-11-2021

How to Cite

1.
Li P. Hybrid neural network model based on multi-head attention for English text emotion analysis. EAI Endorsed Scal Inf Syst [Internet]. 2021 Nov. 12 [cited 2024 Dec. 22];9(35):e11. Available from: https://publications.eai.eu/index.php/sis/article/view/375