Lune

EMNLP Findings2024

Distance-aware Calibration for Pre-trained Language Models

Alberto Gasparin, Gianluca Detommaso

摘要

Language Models for text classification often produce overconfident predictions for both indistribution and out-of-distribution samples, i.e. the model's output probabilities do not match their accuracy. Prior work showed that simple post-hoc approaches are effective for mitigating this issue, but are not robust in noisy settings, e.g., when the distribution shift is caused by spelling mistakes. In this work, we propose Distance Aware Calibration (DAC), a post-hoc approach that changes the confidence scores of a Language Model leveraging the distance between new samples been evaluated and the in-domain training set. We show that using DAC on top of a Language Model can improve in-domain calibration, robustness to different kind of distribution shift and also the model's ability to detect out-of-distribution samples. We provide an extensive evaluation on common text classification benchmark for both calibration and out-of-distribution detection tasks.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Beyond In-Domain Scenarios: Robust Density-Aware Calibration 引用了 Out-of-Distribution Detection with Deep Nearest Neighbors
  • Out-of-Distribution Detection with Deep Nearest Neighbors 引用了 Uncertainty Estimation Using a Single Deep Deterministic Neural Network
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper9

  1. Out-of-Distribution Detection with Deep Nearest NeighborsYiyou Sun, Yifei Ming, Xiaojin Zhu, Yixuan LiICML 2022 · 789 次引用
  2. Uncertainty Estimation Using a Single Deep Deterministic Neural NetworkJoost van Amersfoort, Lewis Smith, Yee Whye Teh, Yarin GalICML 2020 · 529 次引用
  3. On the Calibration of Pre-trained Language Models using Mixup Guided by Area Under the Margin and SaliencySeoyeon Park, Cornelia CarageaACL 2022 · 44 次引用
  4. Uncertainty Quantification with Pre-trained Language Models: A Large-Scale Empirical AnalysisYuxin Xiao, Paul Pu Liang, Umang Bhatt, Willie Neiswanger 等EMNLP Findings 2022 · 34 次引用
  5. Beyond In-Domain Scenarios: Robust Density-Aware CalibrationChristian Tomani, Futa Kai Waseda, Yuesong Shen, Daniel CremersICML 2023 · 16 次引用

相关 Paper

  1. Open-Vocabulary Calibration for Fine-tuned CLIPShuoyuan Wang, Jindong Wang, Guoqing Wang, Bob Zhang 等ICML 2024 · 17 次引用
  2. Transferable Post-hoc Calibration on Pretrained Transformers in Noisy Text ClassificationJun Zhang, Wen Yao, Xiaoqian Chen, Ling FengAAAI 2023 · 5 次引用
  3. Preserving Pre-trained Features Helps Calibrate Fine-tuned Language ModelsGuande He, Jianfei Chen, Jun ZhuICLR 2023 · 1 次引用
  4. Calibrating Zero-shot Cross-lingual (Un-)structured PredictionsZhengping Jiang, Anqi Liu, Benjamin Van DurmeEMNLP 2022 · 4 次引用
  5. Your Pre-trained LLM is Secretly an Unsupervised Confidence CalibratorBeier Luo, Shuoyuan Wang, Sharon Li, Hongxin WeiNeurIPS 2025 · 22 次引用
黄昏的海面,两侧是细线勾勒的悬崖