paper-with-me

Papers

Few-Shot Recalibration of Language Models

2024-03-27 · Xiang Lisa Li, Urvashi Khandelwal, Kelvin Guu

Recent work has uncovered promising ways to extract well-calibrated confidence estimates from language models (LMs), where the model's confidence score reflects how likely it is to be correct. However, while LMs may appear well-calibrated over broad distributions, this often hides significant miscalibration within narrower slices (e.g., systemic over-confidence in math can balance out systemic under-confidence in history, yielding perfect calibration in aggregate). To attain well-calibrated confidence estimates for any slice of a distribution, we propose a new framework for few-shot slice-specific recalibration. Specifically, we train a recalibration model that takes in a few unlabeled examples from any given slice and predicts a curve that remaps confidence scores to be more accurate for that slice. Our trained model can recalibrate for arbitrary new slices, without using any labeled data from that slice. This enables us to identify domain-specific confidence thresholds above which the LM's predictions can be trusted, and below which it should abstain. Experiments show that our few-shot recalibrator consistently outperforms existing calibration methods, for instance improving calibration error for PaLM2-Large on MMLU by 16%, as compared to temperature scaling.

📄 PDF Abstract BibTeX arXiv:2403.18286

Code (0)

등록된 구현이 없습니다.

Tasks

MathMMLU

Similar Papers 제목 키워드 기반

Improving Predictor Reliability with Selective Recalibration

2024-10-07 · Thomas P. Zollo, Zhun Deng, Jake C. Snell, Toniann Pitassi 외

A reliable deep learning system should be able to accurately express its confidence with respect to its predictions, a quality known as calibration. One of the most effective ways to produce reliable confidence estimates…

zero-shot-classificationZero-Shot Learning

GAMBIT: A Three-Mode Benchmark for Adversarial Robustness in Multi-Agent LLM Collectives

2026-05-09 · Alexandre Le Mercier, Chris Develder, Thomas Demeester arxiv

In multi-agent systems (MAS), a single deceptive agent can nullify all gains of an agentic AI collective and evade deployed defenses. However, existing adversarial studies on MAS target only shallow tasks and do not cons…

Adversarial Robustness

Privacy Preserving Recalibration under Domain Shift

2020-08-21 · Rachel Luo, Shengjia Zhao, Jiaming Song, Jonathan Kuck 외

Classifiers deployed in high-stakes real-world applications must output calibrated confidence scores, i.e. their predicted probabilities should reflect empirical frequencies. Recalibration algorithms can greatly improve …

Privacy Preserving

Routing Ceilings Are Domain-Independent: Structural Prior Injection in Code Security Vulnerability Detection

2026-07-16 · Manuel Israel Cázares arxiv

Large language models (LLMs) exhibit a well-documented gap between latent capability and consistent activation: the router hypothesis posits that models possess the knowledge to solve a task but lack reliable internal ro…

Vulnerability DetectionMathematical Reasoning

A Study on the Calibration of In-context Learning

2023-12-07 · HANLIN ZHANG, Yi-Fan Zhang, Yaodong Yu, Dhruv Madeka 외

Accurate uncertainty quantification is crucial for the safe deployment of machine learning models, and prior research has demonstrated improvements in the calibration of modern language models (LMs). We study in-context …

In-Context LearningNatural Language UnderstandingUncertainty Quantification