Surprise Calibration for Better In-Context Learning
Not on the map. Why?
Abstract (arXiv)
In-context learning (ICL) has emerged as a powerful paradigm for task adaptation in large language models (LLMs), where models infer underlying task structures from a few demonstrations. However, ICL remains susceptible to biases that arise from prior knowledge and contextual demonstrations, which can degrade the performance of LLMs. Existing bias calibration methods typically apply fixed class priors across all inputs, limiting their efficacy in dynamic ICL settings where the context for each query differs. To address these limitations, we adopt implicit sequential Bayesian inference as a framework for interpreting ICL, identify "surprise" as an informative signal for class prior shift, and introduce a novel method--Surprise Calibration (SC). SC leverages the notion of surprise to capture the temporal dynamics of class priors, providing a more adaptive and computationally efficient solution for in-context learning. We empirically demonstrate the superiority of SC over existing bias calibration techniques across a range of benchmark natural language processing tasks.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 30 of its 40 references that are in the map. First posted on arXiv 15 Jun 2025.
Builds on
30 of 40 references.
References · 30
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,434
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
- 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,392
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 938
- 2023Towards General Text Embeddings with Multi-stage Contrastive Learningcited by 723
- 2022A Survey on In-context Learningcited by 721
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 648
18 more
- 2018WiC: the Word-in-Context Dataset for Evaluating Context-Sensitive Meaning Representationscited by 372
- 2023In-Context Learning Creates Task Vectorscited by 312
- 2021Surface Form Competition: Why the Highest Probability Answer Isn't Always Rightcited by 263
- 2022Active Example Selection for In-Context Learningcited by 196
- 2022Self-Adaptive In-Context Learning: An Information Compression Perspective for In-Context Example Selection and Orderingcited by 161
- 2023Large Language Models Are Latent Variable Models: Explaining and Finding Good Demonstrations for In-Context Learningcited by 149
- 2023Batch Calibration: Rethinking Calibration for In-Context Learning and Prompt Engineeringcited by 94
- 2023Mitigating Label Biases for In-context Learningcited by 89
- 2023In-Context Learning with Iterative Demonstration Selectioncited by 74
- 2022Prototypical Calibration for Few-shot Learning of Language Modelscited by 58
- 2024Revisiting Demonstration Selection Strategies in In-Context Learningcited by 58
- 2023In-Context Learning Learns Label Relationships but Is Not Conventional Learningcited by 51
- 2023Measuring Inductive Biases of In-Context Learning with Underspecified Demonstrationscited by 49
- 2023The Mystery of In-Context Learning: A Comprehensive Survey on Interpretation and Analysiscited by 34
- 2021The Inductive Bias of In-Context Learning: Rethinking Pretraining Example Designcited by 33
- 2024Enhancing In-context Learning via Linear Probe Calibrationcited by 16
- 2022Can In-context Learners Learn a Reasoning Concept from Demonstrations?cited by 7
- 2024Comparative Analysis of Demonstration Selection Algorithms for LLM In-Context Learningcited by 3
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.