Meta-training with Demonstration Retrieval for Efficient Few-shot Learning
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
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,897
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,955
29 more
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
- 2017Billion-scale similarity search with GPUscited by 2,497
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,141
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,434
- 2021Improving language models by retrieving from trillions of tokenscited by 1,293
- 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,256
- 2020Leveraging Passage Retrieval with Generative Models for Open Domain Question Answeringcited by 1,210
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
- 2022Atlas: Few-shot Learning with Retrieval Augmented Language Modelscited by 952
- 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 938
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 938
- 2020It's Not Just Size That Matters: Small Language Models Are Also Few-Shot Learnerscited by 669
- 2020UnifiedQA: Crossing Format Boundaries With a Single QA Systemcited by 476
- 2021MetaICL: Learning to Learn In Contextcited by 454
- 2019QASC: A Dataset for Question Answering via Sentence Compositioncited by 252
- 2021PAQ: 65 Million Probably-Asked Questions and What You Can Do With Themcited by 200
- 2021Muppet: Massive Multi-task Representations with Pre-Finetuningcited by 192
- 2019MRQA 2019 Shared Task: Evaluating Generalization in Reading Comprehensioncited by 184
- 2021Meta-learning via Language Model In-context Tuningcited by 164
- 2021CrossFit: A Few-shot Learning Challenge for Cross-task Generalization in NLPcited by 142
- 2021Adapting Language Models for Zero-shot Learning by Meta-tuning on Dataset and Prompt Collectionscited by 128
- 2021Few-Shot Question Answering by Pretraining Span Selectioncited by 62
- 2018Diverse Few-Shot Text Classification with Multiple Metricscited by 61
- 2019Few-shot Text Classification with Distributional Signaturescited by 58
- 2022UnifiedQA-v2: Stronger Generalization via Broader Cross-Format Trainingcited by 57
- 2020Self-Supervised Meta-Learning for Few-Shot Natural Language Classification Taskscited by 51
- 2021FewshotQA: A simple framework for few-shot learning of question answering tasks using pre-trained text-to-text modelscited by 26
- 2022Label Semantic Aware Pre-training for Few-shot Text Classificationcited by 18
Built on by
Citing papers per year: 2023: 1; 2024: 1.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2025GRAD: Generative Retrieval-Aligned Demonstration Sampler for Efficient Few-Shot Reasoning
- 2024MEND: Meta dEmonstratioN Distillation for Efficient and Effective In-Context Learning
- 2026Meta-Sel: Efficient Demonstration Selection for In-Context Learning via Supervised Meta-Learning
- 2023Dr.ICL: Demonstration-Retrieved In-context Learning
- 2022Can In-context Learners Learn a Reasoning Concept from Demonstrations?
- 2022Demonstrate-Search-Predict: Composing retrieval and language models for knowledge-intensive NLP
- 2025Efficient and Effective In-context Demonstration Selection with Coreset
- 2024Demonstration Notebook: Finding the Most Suited In-Context Learning Example from Interactions