mlsanityData to 7 Oct 2026

Generalization Properties of Retrieval-based Models

arXiv 2210.02617 ↗First posted 6 Oct 2022cs.LGcited by 5

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

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  5. 2020Scaling Laws for Neural Language Modelscited by 6,411
  6. 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,712
  7. 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,848
  8. 2019Searching for MobileNetV3cited by 1,984
  9. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
  10. 2021Scaling Vision Transformerscited by 993
  11. 2022Atlas: Few-shot Learning with Retrieval Augmented Language Modelscited by 940
  12. 2019Large-Scale Long-Tailed Recognition in an Open Worldcited by 704
17 more
  1. 2017Spectrally-normalized margin bounds for neural networkscited by 681
  2. 2018Universal Sentence Encodercited by 485
  3. 2020Few-Shot Learning via Learning the Representation, Provablycited by 213
  4. 2019Adaptive Gradient-Based Meta-Learning Methodscited by 183
  5. 2020Provable Meta-Learning of Linear Representationscited by 161
  6. 2017Neural Episodic Controlcited by 148
  7. 2021Case-based Reasoning for Natural Language Queries over Knowledge Basescited by 107
  8. 2022Retrieval Augmented Classification for Long-Tail Visual Recognitioncited by 106
  9. 2016Model-Free Episodic Controlcited by 100
  10. 2017Meta-Learning by Adjusting Priors Based on Extended PAC-Bayes Theorycited by 76
  11. 2013A PAC-Bayesian bound for Lifelong Learningcited by 69
  12. 2019Provable Guarantees for Gradient-Based Meta-Learningcited by 67
  13. 2022Training Data is More Valuable than You Think: A Simple and Effective Method by Retrieving from Training Datacited by 61
  14. 2019A Generalization Error Bound for Multi-class Domain Generalizationcited by 26
  15. 2019Hypothesis Set Stability and Generalizationcited by 23
  16. 2020Rapid Task-Solving in Novel Environmentscited by 23
  17. 2015Matching-CNN Meets KNN: Quasi-Parametric Human Parsingcited by 9

Built on by

Cited by year

Citing papers per year: 2022: 1; 2023: 4.

5 papers.