RAFIC: Retrieval-augmented Few-shot Image Classification
2023 Β· Hangfei Lin, Li Miao, Amir Ziai
Abstract
Few-shot image classification is the task of classifying unseen images to one of N mutually exclusive classes, using only a small number of training examples for each class. The limited availability of these examples (denoted as K) presents a significant challenge to classification accuracy in some cases. To address this, we have developed a method for augmenting the set of K with an addition set of A retrieved images. We call this system Retrieval-Augmented Few-shot Image Classification (RAFIC). Through a series of experiments, we demonstrate that RAFIC markedly improves performance of few-shot image classification across two challenging datasets. RAFIC consists of two main components: (a) a retrieval component which uses CLIP, LAION-5B, and faiss, in order to efficiently retrieve images similar to the supplied images, and (b) retrieval meta-learning, which learns to judiciously utilize the retrieved images. Code and data is available at github.com/amirziai/rafic.
Authors
(none)
Tags
Stats
Related papers
- Advancing Image Retrieval With Few-shot Learning And Relevance Feedback (2023)0.00
- Few-shot Learning Through An Information Retrieval Lens (2017)0.00
- Object-level Representation Learning For Few-shot Image Classification (2018)0.00
- Few Shots Text To Image Retrieval: New Benchmarking Dataset And Optimization Methods (2026)0.00
- Retrieval-enhanced Visual Prompt Learning For Few-shot Classification (2023)4.52
- Few-shot Recognition Via Stage-wise Retrieval-augmented Finetuning (2024)4.52
- Unifgvc: Universal Training-free Few-shot Fine-grained Vision Classification Via Attribute-aware Multimodal Retrieval (2025)0.00
- Simpleshot: Revisiting Nearest-neighbor Classification For Few-shot Learning (2019)0.00