Making Pre-trained Language Models both Task-solvers and Self-calibrators
Not on the map. Why?
Abstract (arXiv)
Pre-trained language models (PLMs) serve as backbones for various real-world systems. For high-stake applications, it's equally essential to have reasonable confidence estimations in predictions. While the vanilla confidence scores of PLMs can already be effectively utilized, PLMs consistently become overconfident in their wrong predictions, which is not desirable in practice. Previous work shows that introducing an extra calibration task can mitigate this issue. The basic idea involves acquiring additional data to train models in predicting the confidence of their initial predictions. However, it only demonstrates the feasibility of this kind of method, assuming that there are abundant extra available samples for the introduced calibration task. In this work, we consider the practical scenario that we need to effectively utilize training samples to make PLMs both task-solvers and self-calibrators. Three challenges are presented, including limited training samples, data imbalance, and distribution shifts. We first conduct pilot experiments to quantify various decisive factors in the calibration task. Based on the empirical analysis results, we propose a training algorithm LM-TOAST to tackle the challenges. Experimental results show that LM-TOAST can effectively utilize the training data to make PLMs have reasonable confidence estimations while maintaining the original task performance. Further, we consider three downstream applications, namely selective classification, adversarial defense, and model cascading, to show the practical usefulness of LM-TOAST. The code will be made public at urlhttps://github.com/Yangyi-Chen/LM-TOAST.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 44 of its 62 references that are in the map. First posted on arXiv 21 Jul 2023.
Builds on
44 of 62 references.
References · 44
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
- 2017On Calibration of Modern Neural Networkscited by 4,860
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,416
- 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
- 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,888
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
32 more
- 2022Language Models (Mostly) Know What They Knowcited by 1,783
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
- 2019AugMix: A Simple Data Processing Method to Improve Robustness and Uncertaintycited by 897
- 2019Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inferencecited by 864
- 2019EDA: Easy Data Augmentation Techniques for Boosting Performance on Text Classification Taskscited by 800
- 2017Selective Classification for Deep Neural Networkscited by 799
- 2019Adversarial NLI: A New Benchmark for Natural Language Understandingcited by 798
- 2022Teaching Models to Express Their Uncertainty in Wordscited by 731
- 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 488
- 2018TextBugger: Generating Adversarial Text Against Real-world Applicationscited by 376
- 2021Pre-Trained Models: Past, Present and Futurecited by 319
- 2020Pretrained Transformers Improve Out-of-Distribution Robustnesscited by 293
- 2016Adversarial Training Methods for Semi-Supervised Text Classificationcited by 280
- 2020Selective Question Answering under Domain Shiftcited by 228
- 2021Latent Hatred: A Benchmark for Understanding Implicit Hate Speechcited by 216
- 2018Hate Speech Dataset from a White Supremacy Forumcited by 196
- 2013From Amateurs to Connoisseurs: Modeling the Evolution of User Expertise through Online Reviewscited by 107
- 2021Measure and Improve Robustness in NLP Models: A Surveycited by 107
- 2022Why Should Adversarial Perturbations be Imperceptible? Rethink the Research Paradigm in Adversarial NLPcited by 99
- 2023Revisiting Out-of-distribution Robustness in NLP: Benchmark, Analysis, and LLMs Evaluationscited by 96
- 2021AugMax: Adversarial Composition of Random Augmentations for Robust Trainingcited by 89
- 2021Data Augmentation Approaches in Natural Language Processing: A Surveycited by 82
- 2022A Unified Evaluation of Textual Backdoor Learning: Frameworks and Benchmarkscited by 70
- 2022Investigating Selective Prediction Approaches Across Several Tasks in IID, OOD, and Adversarial Settingscited by 66
- 2021Revisiting Uncertainty-based Query Strategies for Active Learning with Transformerscited by 59
- 2022A Close Look into the Calibration of Pre-trained Language Modelscited by 57
- 2020CascadeBERT: Accelerating Inference of Pre-trained Language Models via Calibrated Complete Models Cascadecited by 47
- 2022Model Cascading: Towards Jointly Improving Efficiency and Accuracy of NLP Systemscited by 43
- 2022A Survey of Active Learning for Natural Language Processingcited by 40
- 2021Bridge the Gap Between CV and NLP! A Gradient-based Textual Adversarial Attack Frameworkcited by 27
- 2023Defending against Insertion-based Textual Backdoor Attacks via Attributioncited by 24
- 2019SemEval-2013 Task 2: Sentiment Analysis in Twittercited by 22
Built on by
Not cited yet.