Revisiting Softmax for Uncertainty Approximation in Text Classification
Open Access
- 20 July 2023
- journal article
- research article
- Published by MDPI AG in Information
- Vol. 14 (7) , 420
Abstract
Uncertainty approximation in text classification is an important area with applications in domain adaptation and interpretability. One of the most widely used uncertainty approximation methods is Monte Carlo (MC) dropout, which is computationally expensive as it requires multiple forward passes through the model. A cheaper alternative is to simply use a softmax based on a single forward pass without dropout to estimate model uncertainty. However, prior work has indicated that these predictions tend to be overconfident. In this paper, we perform a thorough empirical analysis of these methods on five datasets with two base neural architectures in order to identify the trade-offs between the two. We compare both softmax and an efficient version of MC dropout on their uncertainty approximations and downstream text classification performance, while weighing their runtime (cost) against performance (benefit). We find that, while MC dropout produces the best uncertainty approximations, using a simple softmax leads to competitive, and in some cases better, uncertainty estimation for text classification at a much lower computational cost, suggesting that softmax can in fact be a sufficient uncertainty estimate when computational resources are a concern.Keywords
All Related Versions
Funding Information
- Innovation Fund Denmark (9065-00131B)
This publication has 13 references indexed in Scilit:
- Are Pretrained Convolutions Better than Pretrained Transformers?2021
- Towards More Accurate Uncertainty Estimation In Text Classification2020
- Citation Needed: A Taxonomy and Algorithmic Assessment of Wikipedia's Verifiability2019
- Mitigating Uncertainty in Document Classification2019
- Glove: Global Vectors for Word Representation2014
- Hidden factors and hidden topics2013
- Predicting good probabilities with supervised learning2005
- NewsWeeder: Learning to Filter Netnews1995
- Keeping the neural networks simple by minimizing the description length of the weights1993
- A Practical Bayesian Framework for Backpropagation NetworksNeural Computation, 1992