Examining Attention Mechanisms in Deep Learning Models for Sentiment Analysis

被引:31
|
作者
Kardakis, Spyridon [1 ]
Perikos, Isidoros [1 ,2 ]
Grivokostopoulou, Foteini [1 ,2 ]
Hatzilygeroudis, Ioannis [1 ]
机构
[1] Univ Patras, Comp Engn & Informat Dept, Patras 26504, Greece
[2] Comp Technol Inst & Press Diophantus, Patras 26504, Greece
来源
APPLIED SCIENCES-BASEL | 2021年 / 11卷 / 09期
关键词
attention mechanism; deep neural networks; global-attention; hierarchical-attention; self-attention; sentiment analysis;
D O I
10.3390/app11093883
中图分类号
O6 [化学];
学科分类号
0703 ;
摘要
Attention-based methods for deep neural networks constitute a technique that has attracted increased interest in recent years. Attention mechanisms can focus on important parts of a sequence and, as a result, enhance the performance of neural networks in a variety of tasks, including sentiment analysis, emotion recognition, machine translation and speech recognition. In this work, we study attention-based models built on recurrent neural networks (RNNs) and examine their performance in various contexts of sentiment analysis. Self-attention, global-attention and hierarchical-attention methods are examined under various deep neural models, training methods and hyperparameters. Even though attention mechanisms are a powerful recent concept in the field of deep learning, their exact effectiveness in sentiment analysis is yet to be thoroughly assessed. A comparative analysis is performed in a text sentiment classification task where baseline models are compared with and without the use of attention for every experiment. The experimental study additionally examines the proposed models' ability in recognizing opinions and emotions in movie reviews. The results indicate that attention-based models lead to great improvements in the performance of deep neural models showcasing up to a 3.5% improvement in their accuracy.
引用
收藏
页数:14
相关论文
共 50 条
  • [1] Hybrid Deep Learning Models for Sentiment Analysis
    Dang, Cach N.
    Moreno-Garcia, Maria N.
    De la Prieta, Fernando
    COMPLEXITY, 2021, 2021
  • [2] Evaluation of deep learning models for sentiment analysis
    Hernandez, Nayeli
    Batyrshin, Ildar
    Sidorov, Grigori
    JOURNAL OF INTELLIGENT & FUZZY SYSTEMS, 2022, 43 (06) : 6953 - 6963
  • [3] Hybrid Deep Learning Models for Thai Sentiment Analysis
    Pasupa, Kitsuchart
    Seneewong Na Ayutthaya, Thititorn
    COGNITIVE COMPUTATION, 2022, 14 (01) : 167 - 193
  • [4] Hybrid Deep Learning Models for Thai Sentiment Analysis
    Kitsuchart Pasupa
    Thititorn Seneewong Na Ayutthaya
    Cognitive Computation, 2022, 14 : 167 - 193
  • [5] Empirical evaluation of deep learning models for sentiment analysis
    Pathak, Ajeet Ram
    Pandey, Manjusha
    Rautaray, Siddharth
    JOURNAL OF STATISTICS AND MANAGEMENT SYSTEMS, 2019, 22 (04) : 741 - 752
  • [6] Exploring the Attention Mechanism in Deep Models: A Case Study on Sentiment Analysis
    Toshevska, Martina
    Kalajdziski, Slobodan
    ICT INNOVATIONS 2019: BIG DATA PROCESSING AND MINING, 2019, 1110 : 202 - 211
  • [7] Sentiment Analysis of Movie Reviews Based on Sentiment Dictionary and Deep Learning Models
    Liu, Caihong
    Liu, Changhui
    2023 THE 6TH INTERNATIONAL CONFERENCE ON ROBOT SYSTEMS AND APPLICATIONS, ICRSA 2023, 2023, : 144 - 148
  • [8] A Weibo Sentiment Analysis Model Based on Attention Mechanisms and Deep Neural Networks
    Deng, Chao
    Chen, Yu
    Journal of Network Intelligence, 2024, 9 (03): : 1525 - 1536
  • [9] Sentiment Analysis of Fast Food Companies With Deep Learning Models
    Abdalla, Ghazi
    Ozyurt, Fatih
    COMPUTER JOURNAL, 2021, 64 (03): : 383 - 390
  • [10] Sentiment and emotion analysis using pretrained deep learning models
    Davidson Kwamivi Aidam
    Ben-Bright Benuwa
    Stephen Opoku Oppong
    Edward Nwiah
    Journal of Data, Information and Management, 2024, 6 (3): : 277 - 295