Trusting deep learning natural-language models via local and global explanations
Open Access
- 22 June 2022
- journal article
- research article
- Published by Springer Nature in Knowledge and Information Systems
- Vol. 64 (7) , 1863-1907
Abstract
Despite the high accuracy offered by state-of-the-art deep natural-language models (e.g., LSTM, BERT), their application in real-life settings is still widely limited, as they behave like a black-box to the end-user. Hence, explainability is rapidly becoming a fundamental requirement of future-generation data-driven systems based on deep-learning approaches. Several attempts to fulfill the existing gap between accuracy and interpretability have been made. However, robust and specialized eXplainable Artificial Intelligence solutions, tailored to deep natural-language models, are still missing. We propose a new framework, named T-EBAnO, which provides innovative prediction-local and class-based model-global explanation strategies tailored to deep learning natural-language models. Given a deep NLP model and the textual input data, T-EBAnO provides an objective, human-readable, domain-specific assessment of the reasons behind the automatic decision-making process. Specifically, the framework extracts sets of interpretable features mining the inner knowledge of the model. Then, it quantifies the influence of each feature during the prediction process by exploiting the normalized Perturbation Influence Relation index at the local level and the novel Global Absolute Influence and Global Relative Influence indexes at the global level. The effectiveness and the quality of the local and global explanations obtained with T-EBAnO are proved on an extensive set of experiments addressing different tasks, such as a sentiment-analysis task performed by a fine-tuned BERT model and a toxic-comment classification task performed by an LSTM model. The quality of the explanations proposed by T-EBAnO, and, specifically, the correlation between the influence index and human judgment, has been evaluated by humans in a survey with more than 4000 judgments. To prove the generality of T-EBAnO and its model/task-independent methodology, experiments with other models (ALBERT, ULMFit) on popular public datasets (Ag News and Cola) are also discussed in detail.Keywords
Funding Information
- Politecnico di Torino
This publication has 35 references indexed in Scilit:
- Explaining classifier decisions linguistically for stimulating and improving operators labeling behaviorInformation Sciences, 2017
- Interpretable Explanations of Black Boxes by Meaningful Perturbation2017
- A causal framework for explaining the predictions of black-box sequence-to-sequence models2017
- Algorithmic Transparency via Quantitative Input Influence: Theory and Experiments with Learning Systems2016
- "Why Should I Trust You?"2016
- SQuAD: 100,000+ Questions for Machine Comprehension of Text2016
- Rationalizing Neural Predictions2016
- Glove: Global Vectors for Word Representation2014
- Long Short-Term MemoryNeural Computation, 1997
- Least squares quantization in PCMIEEE Transactions on Information Theory, 1982