mlsanityData to 14 Oct 2026

Sample Efficient Demonstration Selection for In-Context Learning

arXiv 2506.08607 ↗First posted 10 Jun 2025cs.LGcited by 13

Not on the map. Why?

Abstract (arXiv)

The in-context learning paradigm with LLMs has been instrumental in advancing a wide range of natural language processing tasks. The selection of few-shot examples (exemplars / demonstration samples) is essential for constructing effective prompts under context-length budget constraints. In this paper, we formulate the exemplar selection task as a top-m best arms identification problem. A key challenge in this setup is the exponentially large number of arms that need to be evaluated to identify the m-best arms. We propose CASE (Challenger Arm Sampling for Exemplar selection), a novel sample-efficient selective exploration strategy that maintains a shortlist of "challenger" arms, which are current candidates for the top-m arms. In each iteration, only one of the arms from this shortlist or the current topm set is pulled, thereby reducing sample complexity and, consequently, the number of LLM evaluations. Furthermore, we model the scores of exemplar subsets (arms) using a parameterized linear scoring function, leading to stochastic linear bandits setting. CASE achieves remarkable efficiency gains of up to 7x speedup in runtime while requiring 7x fewer LLM calls (87% reduction) without sacrificing performance compared to state-of-the-art exemplar selection methods. We release our code and data at https://github.com/kiranpurohit/CASE

Key facts. Cited by 13 papers in the map (data through 14 Oct 2026). Builds on 37 of its 50 references that are in the map. First posted on arXiv 10 Jun 2025.

Builds on

37 of 50 references.

References · 37

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  3. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
  4. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
  5. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
  6. 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,076
  7. 2022Measuring and Narrowing the Compositionality Gap in Language Modelscited by 1,075
  8. 2021Did Aristotle Use a Laptop? A Question Answering Benchmark with Implicit Reasoning Strategiescited by 743
  9. 2017Program Induction by Rationale Generation : Learning to Solve and Explain Algebraic Word Problemscited by 650
  10. 2021Learning To Retrieve Prompts for In-Context Learningcited by 648
  11. 2023Plan-and-Solve Prompting: Improving Zero-Shot Chain-of-Thought Reasoning by Large Language Modelscited by 560
  12. 2022Complexity-Based Prompting for Multi-Step Reasoningcited by 388
25 more
  1. 2022Dynamic Prompt Learning via Policy Gradient for Semi-structured Mathematical Reasoningcited by 350
  2. 2023Prompt Cache: Modular Attention Reuse for Low-Latency Inferencecited by 268
  3. 2022Active Example Selection for In-Context Learningcited by 196
  4. 2023Active Prompting with Chain-of-Thought for Large Language Modelscited by 154
  5. 2023Finding Support Examples for In-Context Learningcited by 104
  6. 2019Sequential Experimental Design for Transductive Linear Banditscited by 91
  7. 2020Optimal Best-arm Identification in Linear Banditscited by 71
  8. 2022Complementary Explanations for Effective In-Context Learningcited by 71
  9. 2020Gamification of Pure Exploration for Linear Banditscited by 63
  10. 2020Knowledge-Aware Language Model Pretrainingcited by 52
  11. 2017Fully adaptive algorithm for pure exploration in linear banditscited by 43
  12. 2013Submodular Optimization with Submodular Cover and Submodular Knapsack Constraintscited by 41
  13. 2017Nearly Instance Optimal Sample Complexity Bounds for Top-k Arm Selectioncited by 28
  14. 2017Online Learning to Rank in Stochastic Click Modelscited by 26
  15. 2024QuanTemp: A real-world open-domain benchmark for fact-checking numerical claimscited by 23
  16. 2018Online Learning to Rank with Featurescited by 18
  17. 2025Guiding Retrieval using LLM-based Listwise Rankerscited by 16
  18. 2021Top-m identification for linear banditscited by 11
  19. 2025A Study into Investigating Temporal Robustness of LLMscited by 11
  20. 2023SEER : A Knapsack approach to Exemplar Selection for In-Context HybridQAcited by 9
  21. 2024Quam: Adaptive Retrieval through Query Affinity Modellingcited by 6
  22. 2024EXPLORA: Efficient Exemplar Subset Selection for Complex Reasoningcited by 5
  23. 2025FlashCheck: Exploration of Efficient Evidence Retrieval for Fast Fact-Checkingcited by 4
  24. 2025Breaking the Lens of the Telescope: Online Relevance Estimation over Large Retrieval Setscited by 4
  25. 2025SUNAR: Semantic Uncertainty based Neighborhood Aware Retrieval for Complex QAcited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 4; 2026: 9.

13 papers.

Sort:

By area: