Towards Informative Few-Shot Prompt with Maximum Information Gain for In-Context Learning
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
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2017On Calibration of Modern Neural Networkscited by 4,860
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
- 2015A large annotated corpus for learning natural language inferencecited by 1,837
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
- 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
11 more
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 641
- 2021True Few-Shot Learning with Language Modelscited by 343
- 2022Selective Annotation Makes Language Models Better Few-Shot Learnerscited by 242
- 2022Active Example Selection for In-Context Learningcited by 195
- 2022Self-Adaptive In-Context Learning: An Information Compression Perspective for In-Context Example Selection and Orderingcited by 158
- 2021Active Learning by Acquiring Contrastive Examplescited by 154
- 2023Finding Support Examples for In-Context Learningcited by 104
- 2023Better Zero-Shot Reasoning with Self-Adaptive Promptingcited by 52
- 2022Cold-Start Data Selection for Few-shot Language Model Fine-tuning: A Prompt-Based Uncertainty Propagation Approachcited by 16
- 2023Universal Self-Adaptive Promptingcited by 14
Built on by
Citing papers per year: 2023: 1; 2024: 5; 2025: 2; 2026: 1.
9 papers.
- 2024On Calibration of LLM-based Guard Models for Reliable Content Moderationcited by 21
- 2024LLM Task Interference: An Initial Study on the Impact of Task-Switch in Conversational Historycited by 19
- 2023A Survey on Stability of Learning with Limited Labelled Data and its Sensitivity to the Effects of Randomnesscited by 14
- 2025Can LLMs Handle WebShell Detection? Overcoming Detection Challenges with Behavioral Function-Aware Frameworkcited by 5
- 2024Grimoire is All You Need for Enhancing Large Language Modelscited by 4
- 2024Automatic Combination of Sample Selection Strategies for Few-Shot Learningcited by 4
- 2025Discursive Circuits: How Do Language Models Understand Discourse Relations?cited by 3
- 2024STAYKATE: Hybrid In-Context Example Selection Combining Representativeness Sampling and Retrieval-based Approach -- A Case Study on Science Domainscited by 0
- 2026Meta-Sel: Efficient Demonstration Selection for In-Context Learning via Supervised Meta-Learningcited by 0
- 2026Meta-Sel: Efficient Demonstration Selection for In-Context Learning via Supervised Meta-Learning12 Feb 2026
- 2025Discursive Circuits: How Do Language Models Understand Discourse Relations?13 Oct 2025
- 2025Can LLMs Handle WebShell Detection? Overcoming Detection Challenges with Behavioral Function-Aware Framework14 Apr 2025
- 2024STAYKATE: Hybrid In-Context Example Selection Combining Representativeness Sampling and Retrieval-based Approach -- A Case Study on Science Domains28 Dec 2024
- 2024On Calibration of LLM-based Guard Models for Reliable Content Moderation14 Oct 2024
- 2024LLM Task Interference: An Initial Study on the Impact of Task-Switch in Conversational History28 Feb 2024
- 2024Automatic Combination of Sample Selection Strategies for Few-Shot Learning5 Feb 2024
- 2024Grimoire is All You Need for Enhancing Large Language Models7 Jan 2024
- 2023A Survey on Stability of Learning with Limited Labelled Data and its Sensitivity to the Effects of Randomness2 Dec 2023