mlsanityData to 7 Oct 2026

Easier to Judge than to Find: Predicting In-Context Learning Success for Demonstration Selection

arXiv 2605.18512 ↗First posted 18 May 2026cs.CLcited by 1

Not on the map. Why?

Abstract (arXiv)

In-context learning (ICL) is highly sensitive to which demonstrations appear in the prompt, but selecting them is expensive because the space of possible demonstration contexts and combinations is enormous. We argue that demonstration selection is easier to judge than to find: predicting whether a specific query--context pair (q,D) will succeed is cheaper and more general than searching for an optimal D^star. Based on this insight, we propose DiSP, a sample-and-judge framework that stratifies queries by difficulty. DiSP runs random demonstration trials to estimate success rate of each training query, trains a lightweight router to predict difficulty from the query, and trains level-specific judges for sampled demonstrations. At inference, DiSP performs stop-on-acceptance judging under an explicit budget, emitting diagnostic risk tags when no suitable context is found. Across five classification datasets with Llama~3--8B and Qwen~2.5--7B, DiSP achieves the best average accuracy, improving over strong learned selection baselines by up to 3.4%, while achieving up to 23× end-to-end wall-clock speedup.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 22 of its 27 references that are in the map. First posted on arXiv 18 May 2026.

Builds on

22 of 27 references.

References · 22

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
  3. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  4. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
  5. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
  6. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,020
  7. 2022In-context Learning and Induction Headscited by 930
  8. 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
  9. 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 803
  10. 2022Transformers learn in-context by gradient descentcited by 714
  11. 2021Learning To Retrieve Prompts for In-Context Learningcited by 641
  12. 2024Optimizing Instructions and Demonstrations for Multi-Stage Language Model Programscited by 270
10 more
  1. 2022Active Example Selection for In-Context Learningcited by 195
  2. 2023UPRISE: Universal Prompt Retrieval for Improving Zero-Shot Evaluationcited by 74
  3. 2023In-context Example Selection with Influencescited by 60
  4. 2024Batch-ICL: Effective, Efficient, and Order-Agnostic In-Context Learningcited by 20
  5. 2023In-Context Demonstration Selection with Cross Entropy Differencecited by 17
  6. 2024Prune 'n Predict: Optimizing LLM Decision-making with Conformal Predictioncited by 15
  7. 2024Se2: Sequential Example Selection for In-Context Learningcited by 8
  8. 2025Learning to Select In-Context Demonstration Preferred by Large Language Modelcited by 5
  9. 2025TECP: Token-Entropy Conformal Prediction for LLMscited by 5
  10. 2025Iterative Amortized Inference: Unifying In-Context Learning and Learned Optimizerscited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.