mlsanityData to 14 Oct 2026

Few-Shot Recognition via Stage-Wise Retrieval-Augmented Finetuning

arXiv 2406.11148 ↗First posted 17 Jun 2024cs.CV cs.AI cs.LGcited by 15

On the map: Retrieval-augmented generation → Multimodal RAG

Abstract (arXiv)

Few-shot recognition (FSR) aims to train a classification model with only a few labeled examples of each concept concerned by a downstream task, where data annotation cost can be prohibitively high. We develop methods to solve FSR by leveraging a pretrained Vision-Language Model (VLM). We particularly explore retrieval-augmented learning (RAL), which retrieves open data, e.g., the VLM's pretraining dataset, to learn models for better serving downstream tasks. RAL has been studied in zero-shot recognition but remains under-explored in FSR. Although applying RAL to FSR may seem straightforward, we observe interesting and novel challenges and opportunities. First, somewhat surprisingly, finetuning a VLM on a large amount of retrieved data underperforms state-of-the-art zero-shot methods. This is due to the imbalanced distribution of retrieved data and its domain gaps with the few-shot examples in the downstream task. Second, more surprisingly, we find that simply finetuning a VLM solely on few-shot examples significantly outperforms previous FSR methods, and finetuning on the mix of retrieved and few-shot data yields even better results. Third, to mitigate the imbalanced distribution and domain gap issues, we propose Stage-Wise retrieval-Augmented fineTuning (SWAT), which involves end-to-end finetuning on mixed data in the first stage and retraining the classifier on the few-shot data in the second stage. Extensive experiments on nine popular benchmarks demonstrate that SWAT significantly outperforms previous methods by >6% accuracy.

Key facts. Cited by 15 papers in the map (data through 14 Oct 2026). Placed in Multimodal RAG, one of 15 directions in Retrieval-augmented generation. Builds on 64 of its 83 references that are in the map. First posted on arXiv 17 Jun 2024.

Builds on

64 of 83 references.

Closest ancestors · 1

Same direction, newest first

  1. 2023Learning Customized Visual Models with Retrieval-Augmented Knowledge17 Jan

Other references · 63

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
  3. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
  4. 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,897
  5. 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,386
  6. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
  7. 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,864
  8. 2017Prototypical Networks for Few-shot Learningcited by 3,015
  9. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,884
  10. 2021Learning to Prompt for Vision-Language Modelscited by 2,281
  11. 2016Matching Networks for One Shot Learningcited by 2,255
  12. 2013Describing Textures in the Wildcited by 2,125
38 more
  1. 2013Fine-Grained Visual Classification of Aircraftcited by 1,726
  2. 2021LAION-400M: Open Dataset of CLIP-Filtered 400 Million Image-Text Pairscited by 1,555
  3. 2022Conditional Prompt Learning for Vision-Language Modelscited by 1,433
  4. 2022Reproducible scaling laws for contrastive language-image learningcited by 1,173
  5. 2021CLIP-Adapter: Better Vision-Language Models with Feature Adapterscited by 1,026
  6. 2019Learning Imbalanced Datasets with Label-Distribution-Aware Margin Losscited by 989
  7. 2019Decoupling Representation and Classifier for Long-Tailed Recognitioncited by 809
  8. 2021Robust fine-tuning of zero-shot modelscited by 797
  9. 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 739
  10. 2022MaPLe: Multi-modal Prompt Learningcited by 687
  11. 2018Do Better ImageNet Models Transfer Better?cited by 565
  12. 2018Generalizing to Unseen Domains via Adversarial Data Augmentationcited by 451
  13. 2021Deep Long-Tailed Learning: A Surveycited by 417
  14. 2020What is being transferred in transfer learning?cited by 368
  15. 2022Tip-Adapter: Training-free Adaption of CLIP for Few-shot Classificationcited by 362
  16. 2022Prompt-aligned Gradient for Prompt Tuningcited by 341
  17. 2017Few-Shot Learning with Graph Neural Networkscited by 324
  18. 2014CNN Features off-the-shelf: an Astounding Baseline for Recognitioncited by 316
  19. 2023Visual-Language Prompt Tuning with Knowledge-guided Context Optimizationcited by 308
  20. 2018Cross-Domain Weakly-Supervised Object Detection through Progressive Domain Adaptationcited by 218
  21. 2020Rethinking the Value of Labels for Improving Class-Imbalanced Learningcited by 216
  22. 2021Data Augmentation Can Improve Robustnesscited by 194
  23. 2018Low-Shot Learning from Imaginary Datacited by 181
  24. 2018SpotTune: Transfer Learning through Adaptive Fine-tuningcited by 168
  25. 2023Prompt, Generate, then Cache: Cascade of Foundation Models makes Strong Few-shot Learnerscited by 152
  26. 2022Finetune like you pretrain: Improved finetuning of zero-shot vision modelscited by 150
  27. 2020SaliencyMix: A Saliency Guided Data Augmentation Strategy for Better Regularizationcited by 149
  28. 2019Progressive Domain Adaptation for Object Detectioncited by 134
  29. 2021Co-Mixup: Saliency Guided Joint Mixup with Supermodular Diversitycited by 128
  30. 2022Task Residual for Tuning Vision-Language Modelscited by 123
  31. 2019Improved Few-Shot Visual Classificationcited by 115
  32. 2022Long-Tailed Recognition via Weight Balancingcited by 107
  33. 2021The Majority Can Help The Minority: Context-rich Minority Oversampling for Long-tailed Classificationcited by 100
  34. 2023Multimodality Helps Unimodality: Cross-Modal Few-Shot Learning with Multimodal Modelscited by 91
  35. 2019Generating Classification Weights with GNN Denoising Autoencoders for Few-Shot Learningcited by 69
  36. 2020ResizeMix: Mixing Data with Preserved Object Information and True Labelscited by 69
  37. 2023A Closer Look at the Few-Shot Adaptation of Large Vision-Language Modelscited by 67
  38. 2024The Neglected Tails in Vision-Language Modelscited by 63

50 most cited of 63 All 63 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 9; 2026: 5.

15 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2024Making Large Vision Language Models to be Good Few-shot Learners
  2. 2023Benchmarking Zero-Shot Recognition with Vision-Language Models: Challenges on Granularity and Specificity
  3. 2022VL-Taboo: An Analysis of Attribute-based Zero-shot Capabilities of Vision-Language Models
  4. 2023Meta-Adapter: An Online Few-shot Learner for Vision-Language Model
  5. 2025Rethinking Few-Shot Adaptation of Vision-Language Models in Two Stages
  6. 2024What Makes Good Few-shot Examples for Vision-Language Models?
  7. 2023Re-ViLM: Retrieval-Augmented Visual Language Model for Zero and Few-Shot Image Captioning
  8. 2022Exploiting Category Names for Few-Shot Classification with Vision-Language Models