Data Efficient Sample Selection for In-Context Learning
Not on the map. Why?
Abstract (arXiv)
The In-context learning (ICL) paradigm aids large language models (LLMs) to adapt to new tasks without need for fine-tuning. However, selecting an optimal combination of demonstration examples from a large pool of example subsets is a challenging problem. Existing approaches for selection do not model the complex relationship between ICL samples and downstream LLM performance. They typically perform static task-level selection, choosing subsets once offline, which can fail to generalize to unseen queries. We introduce DearICL (Data Efficient Algorithm for Ranking) ICL samples, a new framework that models demonstration example selection as a subset ranking problem. DearICL employs a non-linear surrogate employing a differentiable sorting objective within a gap-index bandit algorithm. The gap-index based approach enables fine-grained separation of good arms and borderline arms, which is used as an auxiliary objective to train the non-linear surrogate through sufficient sampling of borderline arms, supporting instance-level subset ranking. On exemplar selection benchmarks with open-source LLMs, DearICL achieves 8.08-15.9% accuracy gains over strong linear bandit baselines, with low sample complexity. Code and data: https://github.com/VenkteshV/DearICL.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 34 of its 47 references that are in the map. First posted on arXiv 6 Sep 2026.
Builds on
34 of 47 references.
References · 34
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
- 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,282
- 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,076
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 648
- 2015Train faster, generalize better: Stability of stochastic gradient descentcited by 552
- 2022Complexity-Based Prompting for Multi-Step Reasoningcited by 388
- 2022Dynamic Prompt Learning via Policy Gradient for Semi-structured Mathematical Reasoningcited by 350
- 2023Trained Transformers Learn Linear Models In-Contextcited by 337
- 2022Active Example Selection for In-Context Learningcited by 196
- 2022DeepCore: A Comprehensive Library for Coreset Selection in Deep Learningcited by 147
22 more
- 2023Compositional Exemplars for In-context Learningcited by 144
- 2023Unified Demonstration Retriever for In-Context Learningcited by 142
- 2023Finding Support Examples for In-Context Learningcited by 104
- 2019Sequential Experimental Design for Transductive Linear Banditscited by 91
- 2020Optimal Best-arm Identification in Linear Banditscited by 71
- 2022Complementary Explanations for Effective In-Context Learningcited by 71
- 2020Gamification of Pure Exploration for Linear Banditscited by 63
- 2017Fully adaptive algorithm for pure exploration in linear banditscited by 43
- 2021NeuralNDCG: Direct Optimisation of a Ranking Metric via Differentiable Relaxation of Sortingcited by 41
- 2017Nearly Instance Optimal Sample Complexity Bounds for Top-k Arm Selectioncited by 28
- 2020PiRank: Scalable Learning To Rank via Differentiable Sortingcited by 27
- 2017Online Learning to Rank in Stochastic Click Modelscited by 26
- 2020Context-Aware Learning to Rank with Self-Attentioncited by 22
- 2018Online Learning to Rank with Featurescited by 18
- 2021BERTTune: Fine-Tuning Neural Machine Translation with BERTScorecited by 18
- 2025Sample Efficient Demonstration Selection for In-Context Learningcited by 13
- 2021Top-m identification for linear banditscited by 11
- 2023SEER : A Knapsack approach to Exemplar Selection for In-Context HybridQAcited by 9
- 2019MaxGap Bandit: Adaptive Algorithms for Approximate Rankingcited by 6
- 2024EXPLORA: Efficient Exemplar Subset Selection for Complex Reasoningcited by 5
- 2023Optimal Exploration is no harder than Thompson Samplingcited by 3
- 2025Selecting Demonstrations for Many-Shot In-Context Learning via Gradient Matchingcited by 3
Built on by
Not cited yet.