Cited by 58Adversarial Robustness in Machine LearningTopic ModelingAdvanced Neural Network Applications

Calibrated Language Model Fine-Tuning for In- and Out-of-Distribution Data

Open access
Kong, Lingkai, Jiang, Haoming, Zhuang, Yuchen, Lyu, Jie, Zhao, Tuo, Zhang, Chao·2020·Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP)

Abstract

Fine-tuned pre-trained language models can suffer from severe miscalibration for both in-distribution and out-of-distribution (OOD) data due to over-parameterization.To mitigate this issue, we propose a regularized fine-tuning method.Our method introduces two types of regularization for better calibration: (1) On-manifold regularization, which generates pseudo on-manifold samples through interpolation within the data manifold.Augmented training with these pseudo samples imposes a smoothness regularization to improve in-distribution calibration.(2) Off-manifold regularization, which encourages the model to output uniform distributions for pseudo off-manifold samples to address the over-confidence issue for OOD data.Our experiments demonstrate that the proposed method outperforms existing calibration methods for text classification in terms of expectation calibration error, misclassification detection, and OOD detection on six datasets.Our code can be found at https://github.com/Lingkai-Kong/ Calibrated-BERT-Fine-Tuning.

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.18653/v1/2020.emnlp-main.102

Cites

41 of 41 references verified0 citation errors · 0 not checkable

Statistics

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • Fine-tuning a model can result in significant miscalibrations owing to over-parameterization.

    “In a similar vein, it has been observed that fine-tuning a model can result in significant miscalibrations, owing to over-parameterization [61].”

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Cites

Flagged first, then by citations

Research works printed but not linked: 6

  1. Justin Gilmer, Luke Metz, Fartash Faghri, Samuel S Schoenholz, Maithra Raghu, Martin Wattenberg, Ian Goodfellow, and G Brain. 2018. The relationship between high-dimensional geometry and adversarial examples. arXiv preprint arXiv:1801.02774. · arXiv
  2. Haoming Jiang, Pengcheng He, Weizhu Chen, Xi- aodong Liu, Jianfeng Gao, and Tuo Zhao. 2020. SMART: Robust and efficient fine-tuning for pre- trained natural language models through principled regularized optimization. In Proceedings of the 58th Annual Meeting of the Association for Computa- tional Linguistics, pages 2177-2190.
  3. Balaji Lakshminarayanan, Alexander Pritzel, and Charles Blundell. 2017. Simple and scalable predic- tive uncertainty estimation using deep ensembles. In Advances in Neural Information Processing Systems, pages 6402-6413.
  4. Kimin Lee, Kibok Lee, Honglak Lee, and Jinwoo Shin. 2018. A simple unified framework for detecting out- of-distribution samples and adversarial attacks. In Advances in Neural Information Processing Systems, pages 7167-7177.
  5. Christos Louizos and Max Welling. 2017. Multiplica- tive normalizing flows for variational Bayesian neu- ral networks. In International Conference on Ma- chine Learning, pages 2218-2227.
  6. Dinghuai Zhang, Tianyuan Zhang, Yiping Lu, Zhanx- ing Zhu, and Bin Dong. 2019. You only propagate once: Accelerating adversarial training via maximal principle. In Advances in Neural Information Pro- cessing Systems, pages 227-238.

Cited by

Sorted by citations

Authors
Kong, L., Jiang, H., Zhuang, Y., Lyu, J., Zhao, T., & Zhang, C.
Affiliations
Georgia Institute of Technology (US)
Venue
Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP)
Published
2020
Pages
1326-1340
OpenAlex
W3099142828
Cited by
58
References
41
Citations by year
2026: 4 · 2025: 3 · 2024: 7 · 2023: 18 · 2022: 13 · 2021: 12 · 2020: 1
FWCI
4.14
Type
conference paper
Language
en
Open access
Licence
cc-by
Locations
  • Conference on Empirical Methods in Natural Language Processing (EMNLP) (publishedVersion, cc-by)
  • arXiv (Cornell University) (submittedVersion)
  • arXiv (Cornell University)
Funders
National Science Foundation (2008334)
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Adversarial Robustness in Machine Learning
  • Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
  • Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Advanced Neural Network Applications
Keywords
out-of-distribution detection, pseudo-samples, interpolation, overconfidence, text classification, misclassification detection

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review