atlas

Research map / Large language models / Language, safety and interpretability

Sample Efficient Demonstration Selection for In-Context Learning

ICML 2025 · Large language models › Language, safety and interpretability · approach: In-context learning analysis · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes CASE, a challenger-arm sampling top-m best-arm identification method in a stochastic linear bandit that selects few-shot exemplar subsets for in-context learning with far fewer LLM calls than LENS and EXPLORA.

Problem

Selecting few-shot exemplar subsets for in-context learning is exponentially large combinatorially and each evaluation requires costly LLM calls, so sample-efficient exemplar selection is needed.

Approach

Formulate multi-exemplar-subset selection as top-m arm identification in a stochastic linear bandit with a similarity-based linear reward, and maintain a shortlist of sampled challenger arms (selective exploration) so gap-index computations and LLM calls scale with the shortlist rather than all exponentially many subsets.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use CASE instead of EXPLORAGPT-3.5-turbo task-level exemplar selection · GSM8KExact Match: 77.86 -> 79.91Helped
Use CASE instead of EXPLORAGPT-3.5-turbo task-level exemplar selection · AquaRatExact Match: 53.54 -> 54.72Helped
Use CASE instead of EXPLORAGPT-3.5-turbo task-level exemplar selection · TabMWPCover-EM: 83.07 -> 83.42Helped
Use CASE instead of EXPLORAGPT-3.5-turbo task-level exemplar selection · FinQAExact Match: 59.46 -> 59.72Helped
Use CASE instead of EXPLORAGPT-3.5-turbo task-level exemplar selection · StrategyQACover-EM: 85.71 -> 84.49Hurt
Use CASE+KNN+SC instead of CASEGPT-3.5-turbo exemplar selection · GSM8KExact Match: 79.91 -> 87.49Helped
Use CASE+KNN+SC instead of CASEGPT-3.5-turbo exemplar selection · AquaRatExact Match: 54.72 -> 64.17Helped
Use CASE+KNN+SC instead of CASEGPT-3.5-turbo exemplar selection · TabMWPCover-EM: 83.42 -> 86.23Helped
Use CASE+KNN+SC instead of CASEGPT-3.5-turbo exemplar selection · FinQAExact Match: 59.72 -> 64.25Helped
Use CASE+KNN+SC instead of CASEGPT-3.5-turbo exemplar selection · StrategyQACover-EM: 84.49 -> 85.92Helped
Remove exploration from CASE (ablation)CASE · GSM8KExact Match: 77.79 -> 76.57Hurt
Remove exploration from CASE (ablation)CASE · AquaRatExact Match: 56.30 -> 47.64Hurt

Surprising findings

Limitations

Experimental setup

Datasets: GSM8K AquaRAT TabMWP FinQA StrategyQA

Benchmarks: GSM8K AquaRAT TabMWP FinQA StrategyQA

Metrics: exact match cover-EM simple regret number of LLM calls runtime gap index comparisons

Baselines: KNN MMR KNN+SC MMR+SC PromptPG Manual Few-Shot CoT Random GraphCut FacilityLocation Active-prompt EXPLORA LENS

Builds on: GIFA LinGapE LENS EXPLORA chain-of-thought prompting

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy