Generalization Properties of Retrieval-based Models
Not on the map. Why?
Abstract (arXiv)
Many modern high-performing machine learning models such as GPT-3 primarily rely on scaling up models, e.g., transformer networks. Simultaneously, a parallel line of work aims to improve the model performance by augmenting an input instance with other (labeled) instances during inference. Examples of such augmentations include task-specific prompts and similar examples retrieved from the training data by a nonparametric component. Remarkably, retrieval-based methods have enjoyed success on a wide range of problems, ranging from standard natural language processing and vision tasks to protein folding, as demonstrated by many recent efforts, including WebGPT and AlphaFold. Despite growing literature showcasing the promise of these models, the theoretical underpinning for such models remains underexplored. In this paper, we present a formal treatment of retrieval-based models to characterize their generalization ability. In particular, we focus on two classes of retrieval-based classification approaches: First, we analyze a local learning framework that employs an explicit local empirical risk minimization based on retrieved examples for each input instance. Interestingly, we show that breaking down the underlying learning task into local sub-tasks enables the model to employ a low complexity parametric component to ensure good overall accuracy. The second class of retrieval-based approaches we explore learns a global model using kernel methods to directly map an input instance and retrieved examples to a prediction, without explicitly solving a local learning task.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 29 of its 61 references that are in the map. First posted on arXiv 6 Oct 2022.
Builds on
29 of 61 references.
References · 29
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,712
- 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,848
- 2019Searching for MobileNetV3cited by 1,984
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
- 2021Scaling Vision Transformerscited by 993
- 2022Atlas: Few-shot Learning with Retrieval Augmented Language Modelscited by 940
- 2019Large-Scale Long-Tailed Recognition in an Open Worldcited by 704
17 more
- 2017Spectrally-normalized margin bounds for neural networkscited by 681
- 2018Universal Sentence Encodercited by 485
- 2020Few-Shot Learning via Learning the Representation, Provablycited by 213
- 2019Adaptive Gradient-Based Meta-Learning Methodscited by 183
- 2020Provable Meta-Learning of Linear Representationscited by 161
- 2017Neural Episodic Controlcited by 148
- 2021Case-based Reasoning for Natural Language Queries over Knowledge Basescited by 107
- 2022Retrieval Augmented Classification for Long-Tail Visual Recognitioncited by 106
- 2016Model-Free Episodic Controlcited by 100
- 2017Meta-Learning by Adjusting Priors Based on Extended PAC-Bayes Theorycited by 76
- 2013A PAC-Bayesian bound for Lifelong Learningcited by 69
- 2019Provable Guarantees for Gradient-Based Meta-Learningcited by 67
- 2022Training Data is More Valuable than You Think: A Simple and Effective Method by Retrieving from Training Datacited by 61
- 2019A Generalization Error Bound for Multi-class Domain Generalizationcited by 26
- 2019Hypothesis Set Stability and Generalizationcited by 23
- 2020Rapid Task-Solving in Novel Environmentscited by 23
- 2015Matching-CNN Meets KNN: Quasi-Parametric Human Parsingcited by 9
Built on by
Citing papers per year: 2022: 1; 2023: 4.
5 papers.
- 2023Transformers as Algorithms: Generalization and Stability in In-context Learningcited by 220
- 2023Improving Image Recognition by Retrieving from Web-Scale Image-Text Datacited by 20
- 2023KNN-LM Does Not Improve Open-ended Text Generationcited by 10
- 2023Retrieved Sequence Augmentation for Protein Representation Learningcited by 7
- 2022Schema-aware Reference as Prompt Improves Data-Efficient Knowledge Graph Constructioncited by 6
- 2023KNN-LM Does Not Improve Open-ended Text Generation24 May 2023
- 2023Improving Image Recognition by Retrieving from Web-Scale Image-Text Data11 Apr 2023
- 2023Retrieved Sequence Augmentation for Protein Representation Learning24 Feb 2023
- 2023Transformers as Algorithms: Generalization and Stability in In-context Learning17 Jan 2023
- 2022Schema-aware Reference as Prompt Improves Data-Efficient Knowledge Graph Construction19 Oct 2022