Research map / Large language models / Language, safety and interpretability
A Study on the Calibration of In-context Learning
Hanlin Zhang, Yi-Fan Zhang, Yaodong Yu, Dhruv Madeka, Dean Foster, Eric Xing, Himabindu Lakkaraju, Sham Kakade
Harvard University · MBZUAI · University of California, Berkeley · Amazon · Carnegie Mellon University
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| increase ICL examples from 0 to 1 | LLaMA-30B · SST-2 | accuracy: 0.607 -> 0.930 | Improved |
| increase ICL examples from 0 to 1 | LLaMA-30B · SST-2 | ECE: 0.083 -> 0.163 | Hurt |
| increase ICL examples from 1 to 8 | LLaMA-30B · SST-2 | ECE: 0.163 -> 0.080 | Improved |
| increase ICL examples from 1 to 8 | LLaMA-30B · CB | ECE: 0.312 -> 0.181 (still above 0-shot 0.069) | Hurt |
| use scratchpad reasoning with explanations | LLaMA · reasoning QA (Strategy/Commonsense/OpenBook/WorldTree) | ECE: ECE above 0.15 at 4-shot | Hurt |
| fine-tune LLaMA (Vicuna, Alpaca, LLaMA2-Chat) | LLaMA backbones · ICL classification and reasoning | ECE and accuracy | Mixed |
| apply temperature scaling | LLaMA-2-7B · SST-2, CB, RTE, AGNews | ECE: SST-2 avg 0.099 -> 0.087 | No clear effect |
| apply scaling-binning calibrator | LLaMA-2-7B · SST-2 | ECE: 0.099 -> 0.010 | Improved |
| apply scaling-binning calibrator | LLaMA-2-7B · AGNews | ECE: 0.090 -> 0.009 | Improved |
| add labels in repeated prompt (Repeat prompt vs Repeat context) (ablation) | LLaMA-7B · SST-2 | avg accuracy: 0.668 -> 0.764 | Improved |
| use diverse ICL examples instead of repeating one example (ablation) | LLaMA-7B · SST-2 | avg accuracy: 0.764 -> 0.872 | Improved |
| use diverse ICL examples instead of repeating one example's context (ablation) | LLaMA-7B · SST-2 | avg ECE: 0.186 -> 0.100 | Improved |
Open problems in statistical frameworks for LLM evaluation
Do uncertainty and evaluation methods for LLMs still hold for open-ended generation, closed models and larger models?
- Evaluation stays on closed-answer tasks, with open-ended generation untested. · 20 papers state it
- Experiments cover English only, leaving other languages untested. · 18 papers state it
- Sampling several answers or extra passes raises inference cost. · 16 papers state it
Closest papers by meaning
- Batch Calibration: Rethinking Calibration for In-Context Learning and Prompt Engineering (ICLR 2024 · similarity 0.93)
- Generative Calibration for In-context Learning (EMNLP 2023 · similarity 0.91)
- CaliDist: Calibrating Large Language Models via Behavioral Robustness to Distraction (ICML 2026 · similarity 0.91)
- Calibrating Large Language Models with Sample Consistency (AAAI 2025 · similarity 0.89)
- Mapping from Meaning: Addressing the Miscalibration of Prompt-Sensitive Language Models (AAAI 2025 · similarity 0.88)
- Calibrated Language Models and How to Find Them with Label Smoothing (ICML 2025 · similarity 0.88)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.