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 条
  • [21] Survey on aspect detection for aspect-based sentiment analysis
    Maria Mihaela Truşcǎ
    Flavius Frasincar
    Artificial Intelligence Review, 2023, 56 : 3797 - 3846
  • [22] Incorporating product description to sentiment topic models for improved aspect-based sentiment analysis
    Amplayo, Reinald Kim
    Lee, Seanie
    Song, Min
    INFORMATION SCIENCES, 2018, 454 : 200 - 215
  • [23] Local interpretation of deep learning models for Aspect-Based Sentiment Analysis
    Lam, Stefan
    Liu, Yin
    Broers, Max
    van der Vos, Jasper
    Frasincar, Flavius
    Boekestijn, David
    van der Knaap, Finn
    ENGINEERING APPLICATIONS OF ARTIFICIAL INTELLIGENCE, 2025, 143
  • [24] Method for Aspect-Based Sentiment Annotation Using Rhetorical Analysis
    Augustyniak, Lukasz
    Rajda, Krzysztof
    Kajdanowicz, Tomasz
    INTELLIGENT INFORMATION AND DATABASE SYSTEMS, ACIIDS 2017, PT I, 2017, 10191 : 772 - 781
  • [25] Aspect-Based Sentiment Analysis Using SemEval and Amazon Datasets
    Rahin, Saima A.
    Hasib, Tamanna
    Hassan, Mohibul
    2022 FIFTH INTERNATIONAL CONFERENCE OF WOMEN IN DATA SCIENCE AT PRINCE SULTAN UNIVERSITY (WIDS-PSU 2022), 2022, : 85 - 90
  • [26] Aspect-Based Financial Sentiment Analysis using Deep Learning
    Jangid, Hitkul
    Singhal, Shivangi
    Shah, Rajiv Ratn
    Zimmermann, Roger
    COMPANION PROCEEDINGS OF THE WORLD WIDE WEB CONFERENCE 2018 (WWW 2018), 2018, : 1961 - 1966
  • [27] Utilization of Questionnaire Results Using Aspect-based Sentiment Analysis
    Aikoku Gakuen University, 1532 yotsukaido, Chiba, Yotsukaido-shi
    284-0005, Japan
    不详
    112-0012, Japan
    Procedia Comput. Sci., (351-359): : 351 - 359
  • [28] Aspect-Based Sentiment Analysis for User Reviews
    Yin Zhang
    Jinyang Du
    Xiao Ma
    Haoyu Wen
    Giancarlo Fortino
    Cognitive Computation, 2021, 13 : 1114 - 1127
  • [29] Target-Aspect-Sentiment Joint Detection for Aspect-Based Sentiment Analysis
    Wan, Hai
    Yang, Yufei
    Du, Jianfeng
    Liu, Yanan
    Qi, Kunxun
    Pan, Jeff Z.
    THIRTY-FOURTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, THE THIRTY-SECOND INNOVATIVE APPLICATIONS OF ARTIFICIAL INTELLIGENCE CONFERENCE AND THE TENTH AAAI SYMPOSIUM ON EDUCATIONAL ADVANCES IN ARTIFICIAL INTELLIGENCE, 2020, 34 : 9122 - 9129
  • [30] Datasets for Aspect-Based Sentiment Analysis in French
    Apidianaki, Marianna
    Tannier, Xavier
    Richart, Cecile
    LREC 2016 - TENTH INTERNATIONAL CONFERENCE ON LANGUAGE RESOURCES AND EVALUATION, 2016, : 1122 - 1126