mlsanityData to 14 Oct 2026

Meta-training with Demonstration Retrieval for Efficient Few-shot Learning

arXiv 2307.00119 ↗First posted 30 Jun 2023cs.CLcited by 2

Not on the map. Why?

Abstract (arXiv)

Large language models show impressive results on few-shot NLP tasks. However, these models are memory and computation-intensive. Meta-training allows one to leverage smaller models for few-shot generalization in a domain-general and task-agnostic manner; however, these methods alone results in models that may not have sufficient parameterization or knowledge to adapt quickly to a large variety of tasks. To overcome this issue, we propose meta-training with demonstration retrieval, where we use a dense passage retriever to retrieve semantically similar labeled demonstrations to each example for more varied supervision. By separating external knowledge from model parameters, we can use meta-training to train parameter-efficient models that generalize well on a larger variety of tasks. We construct a meta-training set from UnifiedQA and CrossFit, and propose a demonstration bank based on UnifiedQA tasks. To our knowledge, our work is the first to combine retrieval with meta-training, to use DPR models to retrieve demonstrations, and to leverage demonstrations from many tasks simultaneously, rather than randomly sampling demonstrations from the training set of the target task. Our approach outperforms a variety of targeted parameter-efficient and retrieval-augmented few-shot methods on QA, NLI, and text classification tasks (including SQuAD, QNLI, and TREC). Our approach can be meta-trained and fine-tuned quickly on a single GPU.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 41 of its 53 references that are in the map. First posted on arXiv 30 Jun 2023.

Builds on

41 of 53 references.

References · 41

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  3. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  4. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  5. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  6. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  7. 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,897
  8. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
  9. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
  10. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
  11. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
  12. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,955
29 more
  1. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
  2. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
  3. 2017Billion-scale similarity search with GPUscited by 2,497
  4. 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,141
  5. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,434
  6. 2021Improving language models by retrieving from trillions of tokenscited by 1,293
  7. 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,256
  8. 2020Leveraging Passage Retrieval with Generative Models for Open Domain Question Answeringcited by 1,210
  9. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
  10. 2022Atlas: Few-shot Learning with Retrieval Augmented Language Modelscited by 952
  11. 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 938
  12. 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 938
  13. 2020It's Not Just Size That Matters: Small Language Models Are Also Few-Shot Learnerscited by 669
  14. 2020UnifiedQA: Crossing Format Boundaries With a Single QA Systemcited by 476
  15. 2021MetaICL: Learning to Learn In Contextcited by 454
  16. 2019QASC: A Dataset for Question Answering via Sentence Compositioncited by 252
  17. 2021PAQ: 65 Million Probably-Asked Questions and What You Can Do With Themcited by 200
  18. 2021Muppet: Massive Multi-task Representations with Pre-Finetuningcited by 192
  19. 2019MRQA 2019 Shared Task: Evaluating Generalization in Reading Comprehensioncited by 184
  20. 2021Meta-learning via Language Model In-context Tuningcited by 164
  21. 2021CrossFit: A Few-shot Learning Challenge for Cross-task Generalization in NLPcited by 142
  22. 2021Adapting Language Models for Zero-shot Learning by Meta-tuning on Dataset and Prompt Collectionscited by 128
  23. 2021Few-Shot Question Answering by Pretraining Span Selectioncited by 62
  24. 2018Diverse Few-Shot Text Classification with Multiple Metricscited by 61
  25. 2019Few-shot Text Classification with Distributional Signaturescited by 58
  26. 2022UnifiedQA-v2: Stronger Generalization via Broader Cross-Format Trainingcited by 57
  27. 2020Self-Supervised Meta-Learning for Few-Shot Natural Language Classification Taskscited by 51
  28. 2021FewshotQA: A simple framework for few-shot learning of question answering tasks using pre-trained text-to-text modelscited by 26
  29. 2022Label Semantic Aware Pre-training for Few-shot Text Classificationcited by 18

Built on by

Cited by year

Citing papers per year: 2023: 1; 2024: 1.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025GRAD: Generative Retrieval-Aligned Demonstration Sampler for Efficient Few-Shot Reasoning
  2. 2024MEND: Meta dEmonstratioN Distillation for Efficient and Effective In-Context Learning
  3. 2026Meta-Sel: Efficient Demonstration Selection for In-Context Learning via Supervised Meta-Learning
  4. 2023Dr.ICL: Demonstration-Retrieved In-context Learning
  5. 2022Can In-context Learners Learn a Reasoning Concept from Demonstrations?
  6. 2022Demonstrate-Search-Predict: Composing retrieval and language models for knowledge-intensive NLP
  7. 2025Efficient and Effective In-context Demonstration Selection with Coreset
  8. 2024Demonstration Notebook: Finding the Most Suited In-Context Learning Example from Interactions