mlsanityData to 14 Oct 2026

Large Language Models are Demonstration Pre-Selectors for Themselves

arXiv 2506.06033 ↗First posted 6 Jun 2025cs.CLcited by 1

Not on the map. Why?

Abstract (arXiv)

In-context learning (ICL) with large language models (LLMs) delivers strong few-shot performance by choosing few-shot demonstrations from the entire training data. However, existing ICL methods, which rely on similarity or diversity scores to choose demonstrations, incur high computational costs due to repeatedly retrieval from large-scale datasets for each query. To this end, we propose FEEDER (FEw yet Essential Demonstration prE-selectoR), a novel pre-selection framework that identifies a representative subset of demonstrations containing the most representative examples in the training data, tailored to specific LLMs. To construct this subset, we introduce the "sufficiency" and "necessity" metrics in the pre-selection stage and design a tree-based algorithm to identify representative examples efficiently. Once pre-selected, this representative subset can effectively replace the full training data, improving efficiency while maintaining comparable performance in ICL. Additionally, our pre-selected subset also benefits fine-tuning LLMs, where we introduce a bi-level optimization method that enhances training efficiency without sacrificing performance. Experiments with LLMs ranging from 300M to 8B parameters show that FEEDER can reduce training data size by over 20% while maintaining performance and seamlessly integrating with various downstream demonstration selection strategies in ICL.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 45 of its 70 references that are in the map. First posted on arXiv 6 Jun 2025.

Builds on

45 of 70 references.

References · 45

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  3. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  4. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  5. 2024Qwen2.5 Technical Reportcited by 4,942
  6. 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,448
  7. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
  8. 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,879
  9. 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
  10. 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,470
  11. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
  12. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
33 more
  1. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,045
  2. 2019How Can We Know What Language Models Know?cited by 959
  3. 2018Neural Network Acceptability Judgmentscited by 958
  4. 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 938
  5. 2023Large Language Models as Optimizerscited by 864
  6. 2021BARTScore: Evaluating Generated Text as Text Generationcited by 722
  7. 2021Learning To Retrieve Prompts for In-Context Learningcited by 648
  8. 2021Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigmcited by 606
  9. 2024LESS: Selecting Influential Data for Targeted Instruction Tuningcited by 532
  10. 2021Learning How to Ask: Querying LMs with Mixtures of Soft Promptscited by 377
  11. 2021Do Prompt-Based Models Really Understand the Meaning of their Prompts?cited by 326
  12. 2013Good Debt or Bad Debt: Detecting Semantic Orientations in Economic Textscited by 310
  13. 2022Demystifying Prompts in Language Models via Perplexity Estimationcited by 216
  14. 2019Commonsense Knowledge Mining from Pretrained Modelscited by 189
  15. 2023Large Language Models Are Latent Variable Models: Explaining and Finding Good Demonstrations for In-Context Learningcited by 149
  16. 2022DeepCore: A Comprehensive Library for Coreset Selection in Deep Learningcited by 147
  17. 2023Unified Demonstration Retriever for In-Context Learningcited by 142
  18. 2022Diverse Demonstrations Improve In-context Compositional Generalizationcited by 139
  19. 2020Task-Oriented Dialogue as Dataflow Synthesiscited by 122
  20. 2019Discriminative Active Learningcited by 98
  21. 2024How to Train Data-Efficient LLMscited by 93
  22. 2022An Information-theoretic Approach to Prompt Engineering Without Ground Truth Labelscited by 89
  23. 2022Complementary Explanations for Effective In-Context Learningcited by 71
  24. 2022Training Data is More Valuable than You Think: A Simple and Effective Method by Retrieving from Training Datacited by 61
  25. 2022Evaluating the Impact of Model Scale for Compositional Generalization in Semantic Parsingcited by 50
  26. 2020Introduction to Core-sets: an Updated Surveycited by 45
  27. 2021Controllable Semantic Parsing via Retrieval Augmentationcited by 35
  28. 2025From Few to Many: Self-Improving Many-Shot Reasoners Through Iterative Optimization and Generationcited by 21
  29. 2022MEAL: Stable and Active Learning for Few-Shot Promptingcited by 20
  30. 2023Survival of the Most Influential Prompts: Efficient Black-Box Prompt Search via Clustering and Pruningcited by 17
  31. 2021RETRONLU: Retrieval Augmented Task-Oriented Semantic Parsingcited by 15
  32. 2022Generate-and-Retrieve: use your predictions to improve retrieval for semantic parsingcited by 15
  33. 2023Ambiguity-Aware In-Context Learning with Large Language Modelscited by 11

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.