Large Language Models are Miscalibrated In-Context Learners
Not on the map. Why?
Abstract (arXiv)
When adapting ICL with or without fine-tuning, we are curious about whether the instruction-tuned language model is able to achieve well-calibrated results without suffering from the problem of overconfidence (i.e., miscalibration) considering its strong instruction following ability, especially in such limited data setups. In this work, we deliver an in-depth analysis of the behavior across different choices of learning methods from the perspective of both performance and calibration. Through extensive controlled experiments, we observe that the miscalibration problem exists across all learning methods in low-resource setups. To achieve simultaneous gain for both in-task performance and calibration, we then study the potential of self-ensembling applied at different modeling stages (e.g., variations of in-context examples or variations in prompts or different ensembling strategies) to make the predictions more calibrated and have comparable or even better performance. We find that self-ensembling with max probability produces robust and calibrated predictions. Our work reveals the potential calibration problem of using ICL despite the improvements in task performance and sheds light on which learning paradigm to choose. We also provide practical guidelines for choosing learning paradigms depending on whether the data has been seen by the model before and a worthwhile solution via self-ensembling on how to enhance both task performance and calibration of LMs, which we hope could encourage further study.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 36 of its 61 references that are in the map. First posted on arXiv 21 Dec 2023.
Builds on
36 of 61 references.
References · 36
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2017On Calibration of Modern Neural Networkscited by 4,860
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,888
- 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
- 2022Large Language Models Encode Clinical Knowledgecited by 1,807
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
- 2019Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shiftcited by 1,274
24 more
- 2023Large Language Models are not Fair Evaluatorscited by 1,050
- 2021Towards a Unified View of Parameter-Efficient Transfer Learningcited by 863
- 2019Adversarial NLI: A New Benchmark for Natural Language Understandingcited by 798
- 2023The Flan Collection: Designing Data and Methods for Effective Instruction Tuningcited by 734
- 2021MetaICL: Learning to Learn In Contextcited by 450
- 2020How Can We Know When Language Models Know? On the Calibration of Language Models for Question Answeringcited by 439
- 2020Calibration of Pre-trained Transformerscited by 307
- 2022Selective Annotation Makes Language Models Better Few-Shot Learnerscited by 242
- 2021Reframing Instructional Prompts to GPTk's Languagecited by 176
- 2021Meta-learning via Language Model In-context Tuningcited by 163
- 2020Hyperparameter Ensembles for Robustness and Uncertainty Quantificationcited by 149
- 2023Few-shot Fine-tuning vs. In-context Learning: A Fair Comparison and Evaluationcited by 134
- 2023Batch Calibration: Rethinking Calibration for In-Context Learning and Prompt Engineeringcited by 91
- 2023Mitigating Label Biases for In-context Learningcited by 88
- 2023In-context Pretraining: Language Modeling Beyond Document Boundariescited by 76
- 2023Symbol tuning improves in-context learning in language modelscited by 72
- 2023LoRA ensembles for large language model fine-tuningcited by 65
- 2023AutoPEFT: Automatic Configuration Search for Parameter-Efficient Fine-Tuningcited by 49
- 2023Pre-Training to Learn in Contextcited by 41
- 2022Uncertainty Estimation for Language Reward Modelscited by 35
- 2023Survival of the Most Influential Prompts: Efficient Black-Box Prompt Search via Clustering and Pruningcited by 17
- 2023Exploring the Relationship between In-Context Learning and Instruction Tuningcited by 14
- 2023How Does In-Context Learning Help Prompt Tuning?cited by 11
- 2023SQATIN: Supervised Instruction Tuning Meets Question Answering for Improved Dialogue NLUcited by 3
Built on by
Citing papers per year: 2024: 3; 2025: 3; 2026: 6.
12 papers.
- 2024Judging the Judges: A Systematic Study of Position Bias in LLM-as-a-Judgecited by 249
- 2024Aligning with Human Judgement: The Role of Pairwise Preference in Large Language Model Evaluatorscited by 146
- 2024LUQ: Long-text Uncertainty Quantification for LLMscited by 79
- 2025Enriching Patent Claim Generation with European Patent Datasetcited by 5
- 2026Online Reasoning Calibration: Test-Time Training Enables Generalizable Conformal LLM Reasoningcited by 4
- 2026When Calibration Rankings Reverse: Accuracy-Controlled Evaluation for Fair Comparison of LLMscited by 2
- 2025Supervised In-Context Fine-Tuning for Generative Sequence Labelingcited by 1
- 2025IA2: Alignment with ICL Activations Improves Supervised Fine-Tuningcited by 1
- 2026Confidence Should Be Calibrated More Than One Turn Deepcited by 1
- 2026UKP_Psycontrol at SemEval-2026 Task 2: Modeling Valence and Arousal Dynamics from Textcited by 0
- 2026Task-Aware Calibration: Provably Optimal Decoding in LLMscited by 0
- 2026Wrong Prediction, Right Answer: Recovering Evidence from Collapsed LLM Sequence Scorescited by 0
- 2026Wrong Prediction, Right Answer: Recovering Evidence from Collapsed LLM Sequence Scores31 Aug 2026
- 2026When Calibration Rankings Reverse: Accuracy-Controlled Evaluation for Fair Comparison of LLMs29 Jun 2026
- 2026Task-Aware Calibration: Provably Optimal Decoding in LLMs11 May 2026
- 2026UKP_Psycontrol at SemEval-2026 Task 2: Modeling Valence and Arousal Dynamics from Text23 Apr 2026
- 2026Confidence Should Be Calibrated More Than One Turn Deep7 Apr 2026
- 2026Online Reasoning Calibration: Test-Time Training Enables Generalizable Conformal LLM Reasoning1 Apr 2026
- 2025IA2: Alignment with ICL Activations Improves Supervised Fine-Tuning26 Sep 2025
- 2025Supervised In-Context Fine-Tuning for Generative Sequence Labeling31 Aug 2025
- 2025Enriching Patent Claim Generation with European Patent Dataset18 May 2025
- 2024Judging the Judges: A Systematic Study of Position Bias in LLM-as-a-Judge12 Jun 2024
- 2024LUQ: Long-text Uncertainty Quantification for LLMs29 Mar 2024
- 2024Aligning with Human Judgement: The Role of Pairwise Preference in Large Language Model Evaluators25 Mar 2024