Explainable Aspect-Based Sentiment Analysis Using Transformer Models

被引:1
|
作者
Perikos, Isidoros [1 ,2 ,3 ]
Diamantopoulos, Athanasios [1 ]
机构
[1] Univ Patras, Comp Engn & Informat Dept, Patras 26504, Greece
[2] Comp Technol Inst & Press Diophantus, Patras 26504, Greece
[3] Univ Peloponnese, Elect & Comp Engn Dept, Patras 26334, Greece
关键词
explainability; transformers; large language models; LIME; SHAP; attention visualization; integrated gradients; GRAD-CAM; aspect-based sentiment analysis; EXTRACTION;
D O I
10.3390/bdcc8110141
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
An aspect-based sentiment analysis (ABSA) aims to perform a fine-grained analysis of text to identify sentiments and opinions associated with specific aspects. Recently, transformers and large language models have demonstrated exceptional performance in detecting aspects and determining their associated sentiments within text. However, understanding the decision-making processes of transformers remains a significant challenge, as they often operate as black-box models, making it difficult to interpret how they arrive at specific predictions. In this article, we examine the performance of various transformers on ABSA and we employ explainability techniques to illustrate their inner decision-making processes. Firstly, we fine-tune several pre-trained transformers, including BERT, RoBERTa, DistilBERT, and XLNet, on an extensive set of data composed of MAMS, SemEval, and Naver datasets. These datasets consist of over 16,100 complex sentences, each containing a couple of aspects and corresponding polarities. The models were fine-tuned using optimal hyperparameters and RoBERTa achieved the highest performance, reporting 89.16% accuracy on MAMS and SemEval and 97.62% on Naver. We implemented five explainability techniques, LIME, SHAP, attention weight visualization, integrated gradients, and Grad-CAM, to illustrate how transformers make predictions and highlight influential words. These techniques can reveal how models use specific words and contextual information to make sentiment predictions, which can improve performance, address biases, and enhance model efficiency and robustness. These also point out directions for further focus on the analysis of models' bias in combination with explainability methods, ensuring that explainability highlights potential biases in predictions.
引用
收藏
页数:30
相关论文
共 50 条
  • [1] FinXABSA: Explainable Finance through Aspect-Based Sentiment Analysis
    Ong, Keane
    van der Heever, Wihan
    Satapathy, Ranjan
    Cambria, Erik
    Mengaldo, Gianmarco
    2023 23RD IEEE INTERNATIONAL CONFERENCE ON DATA MINING WORKSHOPS, ICDMW 2023, 2023, : 773 - 782
  • [2] Aspect-based sentiment analysis using adaptive aspect-based lexicons
    Mowlaei, Mohammad Erfan
    Abadeh, Mohammad Saniee
    Keshavarz, Hamidreza
    EXPERT SYSTEMS WITH APPLICATIONS, 2020, 148
  • [3] Aspect-Based Sentiment Analysis Using Aspect Map
    Noh, Yunseok
    Park, Seyoung
    Park, Seong-Bae
    APPLIED SCIENCES-BASEL, 2019, 9 (16):
  • [4] A disentangled linguistic graph model for explainable aspect-based sentiment analysis
    Mei, Xiaoyong
    Zhou, Yougen
    Zhu, Chenjing
    Wu, Mengting
    Li, Ming
    Pan, Shirui
    KNOWLEDGE-BASED SYSTEMS, 2023, 260
  • [5] On the robustness of arabic aspect-based sentiment analysis: A comprehensive exploration of transformer-based models
    Almasaud, Alanod
    Al-Baity, Heyam H.
    JOURNAL OF KING SAUD UNIVERSITY-COMPUTER AND INFORMATION SCIENCES, 2024, 36 (10)
  • [6] Elevating Aspect-Based Sentiment Analysis in the Moroccan Cosmetics Industry with Transformer- based Models
    Mouyassir, Kawtar
    Fathi, Abderrahmane
    Assad, Noureddine
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2024, 15 (06) : 522 - 535
  • [7] Listening to Patients: Advanced Arabic Aspect-Based Sentiment Analysis Using Transformer Models Towards Better Healthcare
    Alnasser, Seba
    Almuhaideb, Sarab
    BIG DATA AND COGNITIVE COMPUTING, 2024, 8 (11)
  • [8] Hierarchical Interactive Multimodal Transformer for Aspect-Based Multimodal Sentiment Analysis
    Yu, Jianfei
    Chen, Kai
    Xia, Rui
    IEEE TRANSACTIONS ON AFFECTIVE COMPUTING, 2023, 14 (03) : 1966 - 1978
  • [9] Sentiment Difficulty in Aspect-Based Sentiment Analysis
    Chifu, Adrian-Gabriel
    Fournier, Sebastien
    MATHEMATICS, 2023, 11 (22)
  • [10] CGT: A Clause Graph Transformer Structure for aspect-based sentiment analysis
    Su, Zelong
    Gao, Bin
    Pan, Xiaoou
    Liu, Zhengjun
    Ji, Yu
    Liu, Shutian
    DATA & KNOWLEDGE ENGINEERING, 2024, 153