Which Examples to Annotate for In-Context Learning? Towards Effective and Efficient Selection
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) can adapt to new tasks via in-context learning (ICL). ICL is efficient as it does not require any parameter updates to the trained LLM, but only few annotated examples as input for the LLM. In this work, we investigate an active learning approach for ICL, where there is a limited budget for annotating examples. We propose a model-adaptive optimization-free algorithm, termed AdaICL, which identifies examples that the model is uncertain about, and performs semantic diversity-based example selection. Diversity-based sampling improves overall effectiveness, while uncertainty sampling improves budget efficiency and helps the LLM learn new information. Moreover, AdaICL poses its sampling strategy as a Maximum Coverage problem, that dynamically adapts based on the model's feedback and can be approximately solved via greedy algorithms. Extensive experiments on nine datasets and seven LLMs show that AdaICL improves performance by 4.4% accuracy points over SOTA (7.7% relative improvement), is up to 3x more budget-efficient than performing annotations uniformly at random, while it outperforms SOTA with 2x fewer ICL examples.
Key facts. Cited by 36 papers in the map (data through 7 Oct 2026). Builds on 54 of its 74 references that are in the map. First posted on arXiv 30 Oct 2023.
Builds on
54 of 74 references.
References · 54
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2017On Calibration of Modern Neural Networkscited by 4,860
- 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
- 2022Emergent Abilities of Large Language Modelscited by 2,483
38 more
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
- 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
- 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,308
- 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
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
- 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 755
- 2022Transformers learn in-context by gradient descentcited by 714
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
- 2022Automatic Chain of Thought Prompting in Large Language Modelscited by 684
- 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 671
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 641
- 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
- 2023Larger language models do in-context learning differentlycited by 386
- 2021True Few-Shot Learning with Language Modelscited by 343
- 2023Trained Transformers Learn Linear Models In-Contextcited by 331
- 2022Data Distributional Properties Drive Emergent In-Context Learning in Transformerscited by 303
- 2023Transformers as Statisticians: Provable In-Context Learning with In-Context Algorithm Selectioncited by 291
- 2022Selective Annotation Makes Language Models Better Few-Shot Learnerscited by 242
- 2022Towards Understanding Chain-of-Thought Prompting: An Empirical Study of What Matterscited by 221
- 2022Active Example Selection for In-Context Learningcited by 195
- 2021Meta-learning via Language Model In-context Tuningcited by 163
- 2021Active Learning by Acquiring Contrastive Examplescited by 154
- 2023Active Prompting with Chain-of-Thought for Large Language Modelscited by 154
- 2023Automatic Prompt Augmentation and Selection with Chain-of-Thought from Labeled Datacited by 119
- 2022Ground-Truth Labels Matter: A Deeper Look into Input-Label Demonstrationscited by 116
- 2023Finding Support Examples for In-Context Learningcited by 104
- 2023A Theory of Emergent In-Context Learning as Implicit Structure Inductioncited by 86
- 2022On the Effect of Pretraining Corpora on In-context Learning by a Large-scale Language Modelcited by 78
- 2022On the Relation between Sensitivity and Accuracy in In-context Learningcited by 71
- 2022Rethinking the Role of Scale for In-Context Learning: An Interpretability-based Case Study at 66 Billion Scalecited by 64
- 2023In-context Example Selection with Influencescited by 60
- 2021Revisiting Uncertainty-based Query Strategies for Active Learning with Transformerscited by 59
- 2023Fairness-guided Few-shot Prompting for Large Language Modelscited by 53
- 2020A Survey of Active Learning for Text Classification using Deep Neural Networkscited by 50
50 most cited of 54 All 54 (JSON)
Built on by
Citing papers per year: 2023: 2; 2024: 15; 2025: 14; 2026: 5.
36 papers.
Sort:
By area:
- 2024Pack of LLMs: Model Fusion at Test-Time via Perplexity Optimizationcited by 56
- 2024Knowledge Boundary of Large Language Models: A Surveycited by 36
- 2024PICLe: Eliciting Diverse Behaviors from Large Language Models with Persona In-Context Learningcited by 28
- 2024On the Noise Robustness of In-Context Learning for Text Generationcited by 15
- 2023A Survey on Stability of Learning with Limited Labelled Data and its Sensitivity to the Effects of Randomnesscited by 14
- 2024Misconfidence-based Demonstration Selection for LLM In-Context Learningcited by 14
- 2025MMRAG: Multi-Mode Retrieval-Augmented Generation with Large Language Models for Biomedical In-Context Learningcited by 13
- 2024A Survey to Recent Progress Towards Understanding In-Context Learningcited by 12
- 2025Hide and Seek in Noise Labels: Noise-Robust Collaborative Active Learning with LLM-Powered Assistancecited by 11
- 2025Towards Fair In-Context Learning with Tabular Foundation Modelscited by 8
- 2024Bayesian Example Selection Improves In-Context Learning for Speech, Text, and Visual Modalitiescited by 7
- 2024Demonstration Selection for In-Context Learning via Reinforcement Learningcited by 7
24 more
- 2024Revisiting In-Context Learning with Long Context Language Modelscited by 7
- 2024Automate Knowledge Concept Tagging on Math Questions with LLMscited by 6
- 2025Enhancing Multimodal In-Context Learning for Image Classification through Coreset Optimizationcited by 6
- 2024Automatic Combination of Sample Selection Strategies for Few-Shot Learningcited by 4
- 2024Efficient In-Context Medical Segmentation with Meta-driven Visual Prompt Selectioncited by 4
- 2025Unraveling Indirect In-Context Learning Using Influence Functionscited by 3
- 2025ConText: Driving In-context Learning for Text Removal and Segmentationcited by 3
- 2025ACT as Human: Multimodal Large Language Model Data Annotation with Critical Thinkingcited by 3
- 2023Take One Step at a Time to Know Incremental Utility of Demonstration: An Analysis on Reranking for Few-Shot In-Context Learningcited by 2
- 2025StaICC: Standardized Evaluation for Classification Task in In-context Learningcited by 2
- 2025Implicit In-Context Learning: Evidence from Artificial Language Experimentscited by 2
- 2025Incomplete In-context Learningcited by 2
- 2025On Theoretical Interpretations of Concept-Based In-Context Learningcited by 2
- 2024On Sensitivity of Learning with Limited Labelled Data to the Effects of Randomness: Impact of Interactions and Systematic Choicescited by 1
- 2025InSQuAD: In-Context Learning for Efficient Retrieval via Submodular Mutual Information to Enforce Quality and Diversitycited by 1
- 2025Protocode: Prototype-Driven Interpretability for Code Generation in LLMscited by 1
- 2024Sparse Linear Bandits with Blocking Constraintscited by 0
- 2024The Power of Adaptation: Boosting In-Context Learning through Adaptive Promptingcited by 0
- 2025Exploring the Heterogeneity of Tabular Data: A Diversity-aware Data Generator via LLMscited by 0
- 2026Geometry-Aware Hallucination Detection in Large Language Modelscited by 0
- 2026Meta-Sel: Efficient Demonstration Selection for In-Context Learning via Supervised Meta-Learningcited by 0
- 2026AsynDBT: Asynchronous Distributed Bilevel Tuning for efficient In-Context Learning with Large Language Modelscited by 0
- 2026Activation-Based Active Learning for In-Context Learning: Challenges and Insightscited by 0
- 2026Efficient Task Adaptation in Large Language Models: A Survey of Weight-Based, Prompt-Based, and Embedding-Based Adaptationscited by 0
- 2026Efficient Task Adaptation in Large Language Models: A Survey of Weight-Based, Prompt-Based, and Embedding-Based Adaptations1 Oct 2026
- 2026Activation-Based Active Learning for In-Context Learning: Challenges and Insights3 Jun 2026
- 2026Meta-Sel: Efficient Demonstration Selection for In-Context Learning via Supervised Meta-Learning12 Feb 2026
- 2026AsynDBT: Asynchronous Distributed Bilevel Tuning for efficient In-Context Learning with Large Language Models6 Feb 2026
- 2026Geometry-Aware Hallucination Detection in Large Language Models8 Jan 2026
- 2025Exploring the Heterogeneity of Tabular Data: A Diversity-aware Data Generator via LLMs26 Dec 2025
- 2025ACT as Human: Multimodal Large Language Model Data Annotation with Critical Thinking13 Nov 2025
- 2025Protocode: Prototype-Driven Interpretability for Code Generation in LLMs27 Sep 2025
- 2025On Theoretical Interpretations of Concept-Based In-Context Learning25 Sep 2025
- 2025InSQuAD: In-Context Learning for Efficient Retrieval via Submodular Mutual Information to Enforce Quality and Diversity28 Aug 2025
- 2025ConText: Driving In-context Learning for Text Removal and Segmentation4 Jun 2025
- 2025Towards Fair In-Context Learning with Tabular Foundation Models14 May 2025
24 more
- 2025Incomplete In-context Learning12 May 2025
- 2025Enhancing Multimodal In-Context Learning for Image Classification through Coreset Optimization19 Apr 2025
- 2025Hide and Seek in Noise Labels: Noise-Robust Collaborative Active Learning with LLM-Powered Assistance3 Apr 2025
- 2025Implicit In-Context Learning: Evidence from Artificial Language Experiments31 Mar 2025
- 2025MMRAG: Multi-Mode Retrieval-Augmented Generation with Large Language Models for Biomedical In-Context Learning21 Feb 2025
- 2025StaICC: Standardized Evaluation for Classification Task in In-context Learning27 Jan 2025
- 2025Unraveling Indirect In-Context Learning Using Influence Functions1 Jan 2025
- 2024The Power of Adaptation: Boosting In-Context Learning through Adaptive Prompting23 Dec 2024
- 2024Revisiting In-Context Learning with Long Context Language Models22 Dec 2024
- 2024Knowledge Boundary of Large Language Models: A Survey17 Dec 2024
- 2024Demonstration Selection for In-Context Learning via Reinforcement Learning5 Dec 2024
- 2024Sparse Linear Bandits with Blocking Constraints26 Oct 2024
- 2024Efficient In-Context Medical Segmentation with Meta-driven Visual Prompt Selection15 Jul 2024
- 2024On the Noise Robustness of In-Context Learning for Text Generation27 May 2024
- 2024PICLe: Eliciting Diverse Behaviors from Large Language Models with Persona In-Context Learning3 May 2024
- 2024Bayesian Example Selection Improves In-Context Learning for Speech, Text, and Visual Modalities23 Apr 2024
- 2024Pack of LLMs: Model Fusion at Test-Time via Perplexity Optimization17 Apr 2024
- 2024Automate Knowledge Concept Tagging on Math Questions with LLMs26 Mar 2024
- 2024On Sensitivity of Learning with Limited Labelled Data to the Effects of Randomness: Impact of Interactions and Systematic Choices20 Feb 2024
- 2024Automatic Combination of Sample Selection Strategies for Few-Shot Learning5 Feb 2024
- 2024A Survey to Recent Progress Towards Understanding In-Context Learning3 Feb 2024
- 2024Misconfidence-based Demonstration Selection for LLM In-Context Learning12 Jan 2024
- 2023A Survey on Stability of Learning with Limited Labelled Data and its Sensitivity to the Effects of Randomness2 Dec 2023
- 2023Take One Step at a Time to Know Incremental Utility of Demonstration: An Analysis on Reranking for Few-Shot In-Context Learning16 Nov 2023
- 2024Pack of LLMs: Model Fusion at Test-Time via Perplexity Optimizationcited by 56
- 2024Knowledge Boundary of Large Language Models: A Surveycited by 36
- 2024PICLe: Eliciting Diverse Behaviors from Large Language Models with Persona In-Context Learningcited by 28
- 2024On the Noise Robustness of In-Context Learning for Text Generationcited by 15
- 2023A Survey on Stability of Learning with Limited Labelled Data and its Sensitivity to the Effects of Randomnesscited by 14
- 2024Misconfidence-based Demonstration Selection for LLM In-Context Learningcited by 14
- 2024A Survey to Recent Progress Towards Understanding In-Context Learningcited by 12
- 2025Hide and Seek in Noise Labels: Noise-Robust Collaborative Active Learning with LLM-Powered Assistancecited by 11
- 2025Towards Fair In-Context Learning with Tabular Foundation Modelscited by 8
- 2024Bayesian Example Selection Improves In-Context Learning for Speech, Text, and Visual Modalitiescited by 7
- 2024Demonstration Selection for In-Context Learning via Reinforcement Learningcited by 7
- 2024Revisiting In-Context Learning with Long Context Language Modelscited by 7
12 most cited of 32 All 32 (JSON)
- 2026Efficient Task Adaptation in Large Language Models: A Survey of Weight-Based, Prompt-Based, and Embedding-Based Adaptations1 Oct 2026
- 2026Activation-Based Active Learning for In-Context Learning: Challenges and Insights3 Jun 2026
- 2026Meta-Sel: Efficient Demonstration Selection for In-Context Learning via Supervised Meta-Learning12 Feb 2026
- 2026AsynDBT: Asynchronous Distributed Bilevel Tuning for efficient In-Context Learning with Large Language Models6 Feb 2026
- 2026Geometry-Aware Hallucination Detection in Large Language Models8 Jan 2026
- 2025Exploring the Heterogeneity of Tabular Data: A Diversity-aware Data Generator via LLMs26 Dec 2025
- 2025Protocode: Prototype-Driven Interpretability for Code Generation in LLMs27 Sep 2025
- 2025On Theoretical Interpretations of Concept-Based In-Context Learning25 Sep 2025
- 2025InSQuAD: In-Context Learning for Efficient Retrieval via Submodular Mutual Information to Enforce Quality and Diversity28 Aug 2025
- 2025ConText: Driving In-context Learning for Text Removal and Segmentation4 Jun 2025
- 2025Towards Fair In-Context Learning with Tabular Foundation Models14 May 2025
- 2025Hide and Seek in Noise Labels: Noise-Robust Collaborative Active Learning with LLM-Powered Assistance3 Apr 2025
12 newest of 32 All 32 (JSON)