To Softmax, or not to Softmax: that is the question when applying Active Learning for Transformer Models
Not on the map. Why?
Abstract (arXiv)
Despite achieving state-of-the-art results in nearly all Natural Language Processing applications, fine-tuning Transformer-based language models still requires a significant amount of labeled data to work. A well known technique to reduce the amount of human effort in acquiring a labeled dataset is textitActive Learning (AL): an iterative process in which only the minimal amount of samples is labeled. AL strategies require access to a quantified confidence measure of the model predictions. A common choice is the softmax activation function for the final layer. As the softmax function provides misleading probabilities, this paper compares eight alternatives on seven datasets. Our almost paradoxical finding is that most of the methods are too good at identifying the true most uncertain samples (outliers), and that labeling therefore exclusively outliers results in worse performance. As a heuristic we propose to systematically ignore samples, which results in improvements of various methods compared to the softmax function.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 24 of its 39 references that are in the map. First posted on arXiv 6 Oct 2022.
Builds on
24 of 39 references.
References · 24
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
- 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,416
- 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,888
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
- 2018Evidential Deep Learning to Quantify Classification Uncertaintycited by 728
- 2021A Survey of Uncertainty in Deep Neural Networkscited by 675
- 2021Datasets: A Community Library for Natural Language Processingcited by 526
- 2019BatchBALD: Efficient and Diverse Batch Acquisition for Deep Bayesian Active Learningcited by 428
- 2017Snorkel: Rapid Training Data Creation with Weak Supervisioncited by 370
12 more
- 2018Why ReLU networks yield high-confidence predictions far away from the training data and how to mitigate the problemcited by 323
- 2018To Trust Or Not To Trust A Classifiercited by 205
- 2020Mix-n-Match: Ensemble and Compositional Methods for Uncertainty Calibration in Deep Learningcited by 190
- 2021Understanding Softmax Confidence and Uncertaintycited by 62
- 2021Mind Your Outliers! Investigating the Negative Impact of Outliers on Active Learning for Visual Question Answeringcited by 62
- 2021Revisiting Uncertainty-based Query Strategies for Active Learning with Transformerscited by 59
- 2018Deep Learning using Rectified Linear Units (ReLU)cited by 43
- 2022Uncertainty Estimation for Language Reward Modelscited by 35
- 2022Simple Techniques Work Surprisingly Well for Neural Network Test Prioritization and Active Learning (Replicability Study)cited by 27
- 2018Inhibited Softmax for Uncertainty Estimation in Neural Networkscited by 19
- 2022BayesFormer: Transformer with Uncertainty Estimationcited by 19
- 2021Small-Text: Active Learning for Text Classification in Pythoncited by 18
Built on by
Citing papers per year: 2023: 3.
3 papers.