paper-with-me

홈 › Papers

Batch Calibration: Rethinking Calibration for In-Context Learning and Prompt Engineering

2023-09-29 · Han Zhou, Xingchen Wan, Lev Proleev, Diana Mincu, Jilin Chen, Katherine Heller, Subhrajit Roy

Prompting and in-context learning (ICL) have become efficient learning paradigms for large language models (LLMs). However, LLMs suffer from prompt brittleness and various bias factors in the prompt, including but not limited to the formatting, the choice verbalizers, and the ICL examples. To address this problem that results in unexpected performance degradation, calibration methods have been developed to mitigate the effects of these biases while recovering LLM performance. In this work, we first conduct a systematic analysis of the existing calibration methods, where we both provide a unified view and reveal the failure cases. Inspired by these analyses, we propose Batch Calibration (BC), a simple yet intuitive method that controls the contextual bias from the batched input, unifies various prior approaches, and effectively addresses the aforementioned issues. BC is zero-shot, inference-only, and incurs negligible additional costs. In the few-shot setup, we further extend BC to allow it to learn the contextual bias from labeled data. We validate the effectiveness of BC with PaLM 2-(S, M, L) and CLIP models and demonstrate state-of-the-art performance over previous calibration baselines across more than 10 natural language understanding and image classification tasks.

📄 PDF Abstract BibTeX arXiv:2309.17249

Code (0)

등록된 구현이 없습니다.

Tasks

image-classificationImage ClassificationIn-Context LearningNatural Language UnderstandingPrompt Engineering

Methods 이 논문이 사용한 방법론

CLIP Contrastive Language-Image Pre-training (CLIP), consisting of a simplified version of ConVIRT trained from scratch, is an efficient method of image representation learning…
PaLM 설명 없음

Similar Papers 제목 키워드 기반

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

Rethinking Calibration for Early-Exit Neural Networks

2025-08-29 · Piotr Kubaty, Filip Szatkowski, Grzegorz Choczyński, Eric Nalisnick 외 arxiv

Early-exit neural networks (EENNs) accelerate inference by allowing intermediate classifiers to stop computation once predictions are confident enough. Most methods rely on confidence thresholds for exiting, and conseque…

Classifier calibration

Fact-and-Reflection (FaR) Improves Confidence Calibration of Large Language Models

2024-02-27 · Xinran Zhao, Hongming Zhang, Xiaoman Pan, Wenlin Yao 외

For a LLM to be trustworthy, its confidence level should be well-calibrated with its actual performance. While it is now common sense that LLM performances are greatly impacted by prompts, the confidence calibration in p…

Common Sense ReasoningQuestion Answering

PromptShift-CRC: Drift-Aware Conformal Risk Control for Foundation Models Under Prompt and Domain Shift

2026-06-14 · Jeffery Opoku, David Banahene arxiv

Foundation models are now used in settings where the prompts they receive can change quickly. Users change, topics change, policies change, and the model may suddenly face a kind of request that was rare in the calibrati…

Question Answering

Rethinking the Test-Time Prompt Tuning Objective from the Perspective of Calibration

2026-08-31 · Jungwon Choi, Hyeonseo Jang, Kibok Lee, Eunwoo Kim arxiv

Test-time prompt tuning (TPT) has emerged as a powerful paradigm, refining prompts for each test sample via entropy minimization (EM) over multiple augmented views. However, we identify a limitation in the standard EM-ba…