Retrieval-Enhanced Visual Prompt Learning for Few-Shot Classification
Jintao Rong, Hao Chen, Linlin Ou, Tianxiao Chen, Xinyi Yu, Yifan Liu
Zhejiang Lab · Zhejiang University of Science and Technology
Key points
From the paper's conclusion- To address this limitation, we propose retrieval-enhanced visual prompt learning (RePrompt), which introduces retrieval mechanisms to cache and reuse the knowledge of downstream tasks.
Abstract
The Contrastive Language-Image Pretraining (CLIP) model has been widely used in various downstream vision tasks. The few-shot learning paradigm has been widely adopted to augment its capacity for these tasks. However, current paradigms may struggle with fine-grained classification, such as satellite image recognition, due to widening domain gaps. To address this limitation, we propose retrieval-enhanced visual prompt learning (RePrompt), which introduces retrieval mechanisms to cache and reuse the knowledge of downstream tasks. RePrompt constructs a retrieval database from either training examples or external data if available, and uses a retrieval mechanism to enhance multiple stages of a simple prompt learning baseline, thus narrowing the domain gap. During inference, our enhanced model can reference similar samples brought by retrieval to make more accurate predictions. A detailed analysis reveals that retrieval helps to improve the distribution of late features, thus, improving generalization for downstream tasks. RePrompt attains state-of-the-art performance on a wide range of vision datasets, including 11 image datasets, 3 video datasets, 1 multi-view dataset, and 4 domain generalization benchmarks.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Decoupled Mode Connectivity for Base-to-Novel Generalization in Vision-Language ModelsarXiv · 2026
- ReAccess: Look Once, Stay Focused with Efficient Test Time MemoryarXiv · 2026
- Prototype-Based Meta-Prompt Tuning: Toward Rehearsal-Free Few-Shot Class-Incremental Learning for Multimodal Remote Sensing ImageIEEE Transactions on Image Processing · 2026
- Cluster-aware prompt ensemble learning for few-shot vision-language model adaptationPattern Recognition · 2025
- Prompt-Consistent Cross-View Object Geo-LocalizationarXiv · 2026
- RS-DeCLIP: Gated Dual-Source DeCLIP Adaptation with Side-Branch Query-Based Local Fusion for Remote Sensing Image–Text RetrievalRemote Sensing · 2026