Word-Level Uncertainty Estimation for Black-Box Text Classifiers using RNNs

3880

Authors

nan

Abstract

AbstractEstimating uncertainties of Neural Network predictions paves the way towards more reliable and trustful text classifications. However, common uncertainty estimation approaches remain as black-boxes without explaining which features have led to the uncertainty of a prediction. This hinders users from understanding the cause of unreliable model behaviour. We introduce an approach to decompose and visualize the uncertainty of text classifiers at the level of words. Our approach builds on top of Recurrent Neural Networks and Bayesian modelling in order to provide detailed explanations of uncertainties, enabling a deeper reasoning about unreliable model behaviours. We conduct a preliminary experiment to check the impact and correctness of our approach. By explaining and investigating the predictive uncertainties of a sentiment analysis task, we argue that our approach is able to provide a more profound understanding of artificial decision making.

Keywords

nan

Full Content

Proceedings of the 28th International Conference on Computational Linguistics, pages 5541–5546 Barcelona, Spain (Online), December 8-13, 2020 5541 Word-Level Uncertainty Estimation for Black-Box Text Classifiers using RNNs Jakob Smedegaard Andersen1, Tom Sch¨oner2 and Walid Maalej1 1University of Hamburg / 2HAW Hamburg Hamburg, Germany {andersen,maalej}@informatik.uni-hamburg.de Abstract Estimating uncertainties of Neural Network predictions paves the way towards more reliable and trustful text classifications. However, common uncertainty estimation approaches remain as black-boxes without explaining which features have led to the uncertainty of a prediction. This hinders users from understanding the cause of unreliable model behaviour. We introduce an approach to decompose and visualize the uncertainty of text classifiers at the level of words. Our approach builds on top of Recurrent Neural Networks and Bayesian modelling in order to provide detailed explanations of uncertainties, enabling a deeper reasoning about unreliable model behaviours. We conduct a preliminary experiment to check the impact and correctness of our approach. By explaining and investigating the predictive uncertainties of a sentiment analysis task, we argue that our approach is able to provide a more profound understanding of artificial decision making. 1 Introduction Neural Networks or variations of them achieve state-of-the-art accuracy across a wide range of text clas- sification tasks like sentiment analysis (Nakov et al., 2016) or spam detection (Wu et al., 2017). Neural Networks are however not interpretable, since they provide no information about why particular deci- sions were made (Baehrens et al., 2010). This lack of transparency makes it hard for users to assess the certainty and trustfulness of predictions. In the worst case, an unreliable prediction is considered correct even if it is not. It is thus important to know what a model does not know. This would allow treating particular error prone or unreliable predictions with additional care – enabling a better understanding of why wrong predictions occur. Several techniques to assess the uncertainty of individual predictions have been successfully applied to Neural Networks (Gal and Ghahramani, 2016; Lakshminarayanan et al., 2017; Kendall and Gal, 2017). However, a global uncertainty estimation for the whole input text does not describe which features lead to an uncertain prediction. It is thus unclear, why a Neural Networks classifier is, e.g., uncertain whether a text represents a positive sentiment or whether it is a spam. As a first step towards a better understanding of Neural Networks-based text classification tasks, we suggest the decomposition of uncertainties on the level of words. We present a novel uncertainty mod- elling approach that estimates word-level uncertainties in any text classification task. Our approach applies Bayesian modelling to a sequence attribution technique for Recurrent Neural Networks (RNNs). We implement the approach using TensorFlow and Keras and demonstrate its effectiveness by investi- gating word-level uncertainties in a sentiment analysis task. 2 Word-Level Uncertainty Estimation We first introduce how we model uncertainty in a classification task and then describe how we decompose the prediction uncertainties on the level of words. This work is licensed under a Creative Commons Attribution 4.0 International Licence. Licence details: http:// …

Content truncated to 500 words

Labeled Text

AbstractEstimating uncertainties of Neural Network predictions paves the way towards more reliable and trustful text classifications. However, common uncertainty estimation approaches remain as black-boxes without explaining which features have led to the uncertainty of a prediction. This hinders users from understanding the cause of unreliable model behaviour. We introduce an approach to decompose and visualize the uncertainty of text classifiers at the level of words. Our approach builds on top of Recurrent Neural Networks and Bayesian modelling in order to provide detailed explanations of uncertainties, enabling a deeper reasoning about unreliable model behaviours. We conduct a preliminary experiment to check the impact and correctness of our approach. By explaining and investigating the predictive uncertainties of a sentiment analysis task, we argue that our approach is able to provide a more profound understanding of artificial decision making.

Publication Details

Paper ID:
3880
Year:
2020
Publication:
TIPSTER
Publication Type:
conf
DOI:
nan