Explainable Sentiment Analysis: A Hierarchical Transformer-Based Extractive Summarization Approach

被引:15
作者
Bacco, Luca [1 ,2 ]
Cimino, Andrea [2 ]
Dell'Orletta, Felice [2 ]
Merone, Mario [1 ]
机构
[1] Univ Campus Biomed Roma, Unit Comp Syst & Bioinformat, Dept Engn, I-00128 Rome, Italy
[2] Ist Linguist Computaz Antonio Zampolli ILC CNR, ItaliaNLP Lab, I-56124 Pisa, Italy
关键词
sentiment analysis; explainability; hierarchical transformers; extractive summarization;
D O I
10.3390/electronics10182195
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
In recent years, the explainable artificial intelligence (XAI) paradigm is gaining wide research interest. The natural language processing (NLP) community is also approaching the shift of paradigm: building a suite of models that provide an explanation of the decision on some main task, without affecting the performances. It is not an easy job for sure, especially when very poorly interpretable models are involved, like the almost ubiquitous (at least in the NLP literature of the last years) transformers. Here, we propose two different transformer-based methodologies exploiting the inner hierarchy of the documents to perform a sentiment analysis task while extracting the most important (with regards to the model decision) sentences to build a summary as the explanation of the output. For the first architecture, we placed two transformers in cascade and leveraged the attention weights of the second one to build the summary. For the other architecture, we employed a single transformer to classify the single sentences in the document and then combine the probability scores of each to perform the classification and then build the summary. We compared the two methodologies by using the IMDB dataset, both in terms of classification and explainability performances. To assess the explainability part, we propose two kinds of metrics, based on benchmarking the models' summaries with human annotations. We recruited four independent operators to annotate few documents retrieved from the original dataset. Furthermore, we conducted an ablation study to highlight how implementing some strategies leads to important improvements on the explainability performance of the cascade transformers model.
引用
收藏
页数:19
相关论文
共 63 条
  • [11] Cho K., 2014, P C EMP METH NAT LAN, P1724, DOI DOI 10.3115/V1/D14-1179
  • [12] Danilevsky M, 2020, 1ST CONFERENCE OF THE ASIA-PACIFIC CHAPTER OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS AND THE 10TH INTERNATIONAL JOINT CONFERENCE ON NATURAL LANGUAGE PROCESSING (AACL-IJCNLP 2020), P447
  • [13] A novel context-aware multimodal framework for persian sentiment analysis
    Dashtipour, Kia
    Gogate, Mandar
    Cambria, Erik
    Hussain, Amir
    [J]. NEUROCOMPUTING, 2021, 457 : 377 - 388
  • [14] Devlin J, 2019, 2019 CONFERENCE OF THE NORTH AMERICAN CHAPTER OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS: HUMAN LANGUAGE TECHNOLOGIES (NAACL HLT 2019), VOL. 1, P4171
  • [15] Automatic text summarization: A comprehensive survey
    El-Kassas, Wafaa S.
    Salama, Cherif R.
    Rafea, Ahmed A.
    Mohamed, Hoda K.
    [J]. EXPERT SYSTEMS WITH APPLICATIONS, 2021, 165
  • [16] FINDING STRUCTURE IN TIME
    ELMAN, JL
    [J]. COGNITIVE SCIENCE, 1990, 14 (02) : 179 - 211
  • [17] Franz L., 2020, ARXIV200616926
  • [18] Explainable stock prices prediction from financial news articles using sentiment analysis
    Gite, Shilpa
    Khatavkar, Hrituja
    Kotecha, Ketan
    Srivastava, Shilpi
    Maheshwari, Priyam
    Pandey, Neerav
    [J]. PEERJ COMPUTER SCIENCE, 2021,
  • [19] Goldberg Y., 2019, Assessing BERT's Syntactic Abilities
  • [20] Gunning D, 2017, Def. Adv. Res. Proj. Agency, V2, P2, DOI [10.1126/scirobotics.aay7120, DOI 10.1126/SCIROBOTICS.AAY7120]