Understanding Retrieval-Augmented Task Adaptation for Vision-Language Models
Yifei Ming, Yixuan Li
TL;DR
This work conducts a systematic study of retrieval-augmented task adaptation for vision-language models, focusing on how retrieval modality and logit ensemble influence adaptation to fine-grained downstream data. It compares image-to-image (I2I) and text-to-image (T2I) retrieval, showing that I2I consistently outperforms T2I and can closely approach oracle performance when retrieved data aligns with the target distribution. A central finding is that ensembling the zero-shot CLIP logits with retrieved-sample logits is essential for achieving substantial gains, a claim strengthened by theoretical analyses that bound risks and explain the modality gap and retrieval-induced shifts. The study provides extensive ablations across backbones, seeds, and data mixtures, offering practical design guidelines for effective retrieval-augmented adaptation in low-data regimes and establishing a theoretical foundation for why certain retrieval strategies work better than others.
Abstract
Pre-trained contrastive vision-language models have demonstrated remarkable performance across a wide range of tasks. However, they often struggle on fine-trained datasets with categories not adequately represented during pre-training, which makes adaptation necessary. Recent works have shown promising results by utilizing samples from web-scale databases for retrieval-augmented adaptation, especially in low-data regimes. Despite the empirical success, understanding how retrieval impacts the adaptation of vision-language models remains an open research question. In this work, we adopt a reflective perspective by presenting a systematic study to understand the roles of key components in retrieval-augmented adaptation. We unveil new insights on uni-modal and cross-modal retrieval and highlight the critical role of logit ensemble for effective adaptation. We further present theoretical underpinnings that directly support our empirical observations.
