CLIP Models are Few-shot Learners: Empirical Studies on VQA and Visual Entailment
Haoyu Song, Li Dong, Wei-Nan Zhang, Ting Liu, Furu Wei
TL;DR
<3-5 sentences> CLIP's zero-shot vision-language capabilities are shown to transfer to vision-language understanding tasks, enabling zero-shot VQA and zero-shot cross-modality transfer to visual entailment. The paper introduces TAP-C, a two-step prompt generation and answer-filtering approach that bridges natural language questions to CLIP-style prompts, achieving strong zero-shot VQA performance. To enable few-shot VL learning, a parameter-efficient BiNor fine-tuning strategy updates only bias and normalization parameters, yielding robust improvements on VQA with limited data. A complementary zero-shot cross-modality transfer study demonstrates language-to-vision and vision-to-language transfers, underscoring the alignment of CLIP's modalities and its potential for low-resource VL reasoning. Overall, the work establishes CLIP as a viable vision-language few-shot learner and provides practical methods to exploit its capabilities without additional pre-training.</3-5 sentences>
Abstract
CLIP has shown a remarkable zero-shot capability on a wide range of vision tasks. Previously, CLIP is only regarded as a powerful visual encoder. However, after being pre-trained by language supervision from a large amount of image-caption pairs, CLIP itself should also have acquired some few-shot abilities for vision-language tasks. In this work, we empirically show that CLIP can be a strong vision-language few-shot learner by leveraging the power of language. We first evaluate CLIP's zero-shot performance on a typical visual question answering task and demonstrate a zero-shot cross-modality transfer capability of CLIP on the visual entailment task. Then we propose a parameter-efficient fine-tuning strategy to boost the few-shot performance on the vqa task. We achieve competitive zero/few-shot results on the visual question answering and visual entailment tasks without introducing any additional pre-training procedure.
