mlsanityData to 14 Oct 2026

Bag of Tricks for In-Distribution Calibration of Pretrained Transformers

arXiv 2302.06690 ↗First posted 13 Feb 2023cs.CL cs.LGcited by 7

Not on the map. Why?

Abstract (arXiv)

While pre-trained language models (PLMs) have become a de-facto standard promoting the accuracy of text classification tasks, recent studies find that PLMs often predict over-confidently. Although various calibration methods have been proposed, such as ensemble learning and data augmentation, most of the methods have been verified in computer vision benchmarks rather than in PLM-based text classification tasks. In this paper, we present an empirical study on confidence calibration for PLMs, addressing three categories, including confidence penalty losses, data augmentations, and ensemble methods. We find that the ensemble model overfitted to the training set shows sub-par calibration performance and also observe that PLMs trained with confidence penalty loss have a trade-off between calibration and accuracy. Building on these observations, we propose the Calibrated PLM (CALL), a combination of calibration techniques. The CALL complements the drawbacks that may occur when utilizing a calibration method individually and boosts both classification and calibration accuracy. Design choices in CALL's training procedures are extensively studied, and we provide a detailed analysis of how calibration techniques affect the calibration performance of PLMs.

Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 29 of its 44 references that are in the map. First posted on arXiv 13 Feb 2023.

Builds on

29 of 44 references.

References · 29

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  4. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  5. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,475
  6. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
  7. 2017On Calibration of Modern Neural Networkscited by 4,960
  8. 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,448
  9. 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,926
  10. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
  11. 2019Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shiftcited by 1,287
  12. 2019AugMix: A Simple Data Processing Method to Improve Robustness and Uncertaintycited by 901
17 more
  1. 2019EDA: Easy Data Augmentation Techniques for Boosting Performance on Text Classification Taskscited by 807
  2. 2017Regularizing Neural Networks by Penalizing Confident Output Distributionscited by 464
  3. 2020Simple and Principled Uncertainty Estimation with Deterministic Deep Learning via Distance Awarenesscited by 389
  4. 2020Calibrating Deep Neural Networks using Focal Losscited by 357
  5. 2020Calibration of Pre-trained Transformerscited by 315
  6. 2020Training independent subnetworks for robust predictioncited by 177
  7. 2020Uncertainty Quantification and Deep Ensemblescited by 139
  8. 2019Augmenting Data with Mixup for Sentence Classification: An Empirical Studycited by 125
  9. 2021AugMax: Adversarial Composition of Random Augmentations for Robust Trainingcited by 90
  10. 2018Quantifying Uncertainties in Natural Language Processing Taskscited by 79
  11. 2021Contrastive Out-of-Distribution Detection for Pretrained Transformerscited by 71
  12. 2021AEDA: An Easier Data Augmentation Technique for Text Classificationcited by 67
  13. 2022On the Calibration of Pre-trained Language Models using Mixup Guided by Area Under the Margin and Saliencycited by 31
  14. 2020MASKER: Masked Keyword Regularization for Reliable Text Classificationcited by 25
  15. 2017Less Is More: A Comprehensive Framework for the Number of Components of Ensemble Classifierscited by 17
  16. 2021MixUp Training Leads to Reduced Overfitting and Improved Calibration for the Transformer Architecturecited by 11
  17. 2020Neural Bootstrappercited by 5

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 3; 2024: 2; 2025: 1; 2026: 1.

7 papers.