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.

Explainable sentiment analysis: A hierarchical transformer-based extractive summarization approach

Dell'orletta F;
2021

Abstract

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.
Campo DC Valore Lingua
dc.authority.ancejournal ELECTRONICS -
dc.authority.orgunit Istituto di linguistica computazionale "Antonio Zampolli" - ILC -
dc.authority.people Bacco L it
dc.authority.people Cimino A it
dc.authority.people Dell'orletta F it
dc.authority.people Merone M it
dc.collection.id.s b3f88f24-048a-4e43-8ab1-6697b90e068e *
dc.collection.name 01.01 Articolo in rivista *
dc.contributor.appartenenza Istituto di linguistica computazionale "Antonio Zampolli" - ILC *
dc.contributor.appartenenza.mi 918 *
dc.date.accessioned 2024/02/20 20:59:33 -
dc.date.available 2024/02/20 20:59:33 -
dc.date.issued 2021 -
dc.description.abstracteng 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. -
dc.description.affiliations Unit of Computer Systems and Bioinformatics, Department of Engineering, Università Campus Bio-Medico di Roma, Rome, 00128, Unit of Computer Systems and Bioinformatics, Department of Engineering, Università Campus Bio-Medico di Roma, 00128, Rome, Italy;, , Italy; ItaliaNLP Lab, Istituto di Linguistica Computazionale "Antonio Zampolli" (ILC--CNR), Pisa, 56124, ItaliaNLP Lab, Istituto di Linguistica Computazionale "Antonio Zampolli" (ILC--CNR), 56124, Pisa, Italy;, , , Italy; ItaliaNLP Lab, Istituto di Linguistica Computazionale "Antonio Zampolli" (ILC--CNR), Pisa, 56124, ItaliaNLP Lab, Istituto di Linguistica Computazionale "Antonio Zampolli" (ILC--CNR), 56124, Pisa, Italy;, , , Italy -
dc.description.allpeople Bacco L.; Cimino A.; Dell'orletta F.; Merone M. -
dc.description.allpeopleoriginal Bacco L.; Cimino A.; Dell'orletta F.; Merone M. -
dc.description.fulltext none en
dc.description.numberofauthors 1 -
dc.identifier.doi 10.3390/electronics10182195 -
dc.identifier.scopus 2-s2.0-85114289346 -
dc.identifier.uri https://hdl.handle.net/20.500.14243/444101 -
dc.identifier.url http://www.scopus.com/record/display.url?eid=2-s2.0-85114289346&origin=inward -
dc.language.iso eng -
dc.relation.volume 10 -
dc.subject.keywords Natural Language Processing -
dc.subject.keywords Sentiment Analysis -
dc.subject.keywords Explainable IA -
dc.subject.singlekeyword Natural Language Processing *
dc.subject.singlekeyword Sentiment Analysis *
dc.subject.singlekeyword Explainable IA *
dc.title Explainable sentiment analysis: A hierarchical transformer-based extractive summarization approach en
dc.type.driver info:eu-repo/semantics/article -
dc.type.full 01 Contributo su Rivista::01.01 Articolo in rivista it
dc.type.miur 262 -
dc.type.referee Sì, ma tipo non specificato -
dc.ugov.descaux1 472153 -
iris.orcid.lastModifiedDate 2024/03/01 13:59:52 *
iris.orcid.lastModifiedMillisecond 1709297992702 *
iris.scopus.extIssued 2021 -
iris.scopus.extTitle Explainable sentiment analysis: A hierarchical transformer-based extractive summarization approach -
iris.sitodocente.maxattempts 1 -
iris.unpaywall.bestoahost publisher *
iris.unpaywall.bestoaversion publishedVersion *
iris.unpaywall.doi 10.3390/electronics10182195 *
iris.unpaywall.hosttype publisher *
iris.unpaywall.isoa true *
iris.unpaywall.journalisindoaj false *
iris.unpaywall.landingpage https://doi.org/10.3390/electronics10182195 *
iris.unpaywall.license cc-by *
iris.unpaywall.metadataCallLastModified 30/12/2025 03:14:20 -
iris.unpaywall.metadataCallLastModifiedMillisecond 1767060860577 -
iris.unpaywall.oastatus gold *
iris.unpaywall.pdfurl https://www.mdpi.com/2079-9292/10/18/2195/pdf?version=1631087490 *
scopus.authority.ancejournal ELECTRONICS###2079-9292 *
scopus.category 2207 *
scopus.category 1711 *
scopus.category 1708 *
scopus.category 1705 *
scopus.category 2208 *
scopus.contributor.affiliation Istituto di Linguistica Computazionale “Antonio Zampolli” (ILC—CNR) -
scopus.contributor.affiliation Istituto di Linguistica Computazionale “Antonio Zampolli” (ILC—CNR) -
scopus.contributor.affiliation Istituto di Linguistica Computazionale “Antonio Zampolli” (ILC—CNR) -
scopus.contributor.affiliation Università Campus Bio-Medico di Roma -
scopus.contributor.afid 60008941 -
scopus.contributor.afid 60008941 -
scopus.contributor.afid 60008941 -
scopus.contributor.afid 60005308 -
scopus.contributor.auid 57220927387 -
scopus.contributor.auid 57002803800 -
scopus.contributor.auid 57540567000 -
scopus.contributor.auid 56102657200 -
scopus.contributor.country Italy -
scopus.contributor.country Italy -
scopus.contributor.country Italy -
scopus.contributor.country Italy -
scopus.contributor.dptid 114087935 -
scopus.contributor.dptid 114087935 -
scopus.contributor.dptid 114087935 -
scopus.contributor.dptid 116307659 -
scopus.contributor.name Luca -
scopus.contributor.name Andrea -
scopus.contributor.name Felice -
scopus.contributor.name Mario -
scopus.contributor.subaffiliation ItaliaNLP Lab; -
scopus.contributor.subaffiliation ItaliaNLP Lab; -
scopus.contributor.subaffiliation ItaliaNLP Lab; -
scopus.contributor.subaffiliation Unit of Computer Systems and Bioinformatics;Department of Engineering; -
scopus.contributor.surname Bacco -
scopus.contributor.surname Cimino -
scopus.contributor.surname Dell’orletta -
scopus.contributor.surname Merone -
scopus.date.issued 2021 *
scopus.description.abstracteng 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. *
scopus.description.allpeopleoriginal Bacco L.; Cimino A.; Dell'orletta F.; Merone M. *
scopus.differences scopus.subject.keywords *
scopus.differences scopus.description.abstracteng *
scopus.differences scopus.relation.issue *
scopus.document.type ar *
scopus.document.types ar *
scopus.identifier.doi 10.3390/electronics10182195 *
scopus.identifier.eissn 2079-9292 *
scopus.identifier.pui 2013678449 *
scopus.identifier.scopus 2-s2.0-85114289346 *
scopus.journal.sourceid 21100829272 *
scopus.language.iso eng *
scopus.publisher.name MDPI *
scopus.relation.article 2195 *
scopus.relation.issue 18 *
scopus.relation.volume 10 *
scopus.subject.keywords Explainability; Extractive summarization; Hierarchical transformers; Sentiment analysis; *
scopus.title Explainable sentiment analysis: A hierarchical transformer-based extractive summarization approach *
scopus.titleeng Explainable sentiment analysis: A hierarchical transformer-based extractive summarization approach *
Appare nelle tipologie: 01.01 Articolo in rivista
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/20.500.14243/444101
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 30
  • ???jsp.display-item.citation.isi??? ND
social impact