mlsanityData to 7 Oct 2026

Towards Informative Few-Shot Prompt with Maximum Information Gain for In-Context Learning

arXiv 2310.08923 ↗First posted 13 Oct 2023cs.CLcited by 9

Not on the map. Why?

Abstract (arXiv)

Large Language models (LLMs) possess the capability to engage In-context Learning (ICL) by leveraging a few demonstrations pertaining to a new downstream task as conditions. However, this particular learning paradigm suffers from high instability stemming from substantial variances induced by factors such as the input distribution of selected examples, their ordering, and prompt formats. In this work, we demonstrate that even when all these factors are held constant, the random selection of examples still results in high variance. Consequently, we aim to explore the informative ability of data examples by quantifying the Information Gain (IG) obtained in prediction after observing a given example candidate. Then we propose to sample those with maximum IG. Additionally, we identify the presence of template bias, which can lead to unfair evaluations of IG during the sampling process. To mitigate this bias, we introduce Calibration Before Sampling strategy. The experimental results illustrate that our proposed method can yield an average relative improvement of 14.3% across six classification tasks using three LLMs.

Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 23 of its 36 references that are in the map. First posted on arXiv 13 Oct 2023.

Builds on

23 of 36 references.

References · 23

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2017On Calibration of Modern Neural Networkscited by 4,860
  4. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
  5. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  6. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
  7. 2015A large annotated corpus for learning natural language inferencecited by 1,837
  8. 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
  9. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
  10. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
  11. 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
  12. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
11 more
  1. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
  2. 2021Learning To Retrieve Prompts for In-Context Learningcited by 641
  3. 2021True Few-Shot Learning with Language Modelscited by 343
  4. 2022Selective Annotation Makes Language Models Better Few-Shot Learnerscited by 242
  5. 2022Active Example Selection for In-Context Learningcited by 195
  6. 2022Self-Adaptive In-Context Learning: An Information Compression Perspective for In-Context Example Selection and Orderingcited by 158
  7. 2021Active Learning by Acquiring Contrastive Examplescited by 154
  8. 2023Finding Support Examples for In-Context Learningcited by 104
  9. 2023Better Zero-Shot Reasoning with Self-Adaptive Promptingcited by 52
  10. 2022Cold-Start Data Selection for Few-shot Language Model Fine-tuning: A Prompt-Based Uncertainty Propagation Approachcited by 16
  11. 2023Universal Self-Adaptive Promptingcited by 14

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 1; 2024: 5; 2025: 2; 2026: 1.

9 papers.