mlsanityData to 14 Oct 2026

Boosting In-Context Learning in LLMs Through the Lens of Classical Supervised Learning

arXiv 2505.23783 ↗First posted 22 May 2025stat.ML cs.AI cs.CLcited by 1

Not on the map. Why?

Abstract (arXiv)

In-Context Learning (ICL) allows Large Language Models (LLMs) to adapt to new tasks with just a few examples, but their predictions often suffer from systematic biases, leading to unstable performance in classification. While calibration techniques are proposed to mitigate these biases, we show that, in the logit space, many of these methods are equivalent to merely shifting the LLM's decision boundary without having the ability to alter its orientation. This proves inadequate when biases cause the LLM to be severely misaligned. To address these limitations and provide a unifying framework, we propose Supervised Calibration (SC), a loss-minimization-based framework, which learns an optimal, per-class affine transformation of LLM's predictive probabilities in the logit space without requiring external data beyond the context. By using a more expressive functional class, SC not only subsumes many existing calibration methods in ICL as special cases but also enables the ability of altering and even completely reversing the orientation of the LLM's decision boundary. Furthermore, SC's loss-based nature facilitates the seamless integration of two purpose-built regularization techniques, context-invariance and directional trust-region regularizers. The former is designed to tackle the instability issue in ICL, while the latter is to control the degree of calibration. Finally, SC delivers state-of-the-art performance over calibration baselines in the 4-shot, 8-shot, and 16-shot settings across all nine datasets for Mistral-7B-Instruct-v0.3, Llama-2-7B-chat, and Qwen2-7B-Instruct.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 21 of its 34 references that are in the map. First posted on arXiv 22 May 2025.

Builds on

21 of 34 references.

References · 21

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2015Trust Region Policy Optimizationcited by 2,580
  3. 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
  4. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,234
  5. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,434
  6. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
  7. 2023Large Language Models are not Fair Evaluatorscited by 1,085
  8. 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 938
  9. 2013Good Debt or Bad Debt: Detecting Semantic Orientations in Economic Textscited by 310
  10. 2021Surface Form Competition: Why the Highest Probability Answer Isn't Always Rightcited by 263
  11. 2023Large Language Models Sensitivity to The Order of Options in Multiple-Choice Questionscited by 263
  12. 2022Active Example Selection for In-Context Learningcited by 196
9 more
  1. 2022Impact of Pretraining Term Frequencies on Few-Shot Reasoningcited by 142
  2. 2023Batch Calibration: Rethinking Calibration for In-Context Learning and Prompt Engineeringcited by 94
  3. 2023Mitigating Label Biases for In-context Learningcited by 89
  4. 2024Mind Your Format: Towards Consistent Evaluation of In-Context Learning Improvementscited by 83
  5. 2023In-Context Learning with Iterative Demonstration Selectioncited by 74
  6. 2023Coverage-based Example Selection for In-Context Learningcited by 59
  7. 2022Prototypical Calibration for Few-shot Learning of Language Modelscited by 58
  8. 2023Measuring Inductive Biases of In-Context Learning with Underspecified Demonstrationscited by 49
  9. 2024Token-based Decision Criteria Are Suboptimal in In-context Learningcited by 9

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.