atlas

Research map / Vision-language and multimodal / CLIP and zero-shot

On the Test-Time Zero-Shot Generalization of Vision-Language Models: Do We Really Need Prompt Learning?

CVPR 2024 · Vision-language and multimodal › CLIP and zero-shot · approach: Prompt learning for CLIP · 27 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes MTA, a training-free robust MeanShift test-time augmentation method for CLIP that jointly optimizes density modes and per-view inlierness scores, outperforming test-time prompt tuning (TPT) on 15 datasets with lower runtime.

Problem

Test-time zero-shot generalization of vision-language models like CLIP currently relies on expensive test-time prompt tuning over augmented views, which requires gradients and is impractical for black-box APIs; naive averaging of augmented views is also sensitive to outlier views.

Approach

A robust multi-modal MeanShift over augmented-view embeddings that jointly seeks a density mode and assigns each view an inlierness score (with text-driven affinities), replacing confidence thresholds and prompt optimization with a closed-form block coordinate descent on final embeddings only.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
apply MTA instead of TPT with RandomCrop viewsCLIP ViT-B/16 zero-shot classification · ImageNet variants averagetop-1 accuracy: 62.40 -> 63.16Helped
apply MTA instead of TPT with RandomCrop viewsCLIP ViT-B/16 zero-shot classification · ImageNet-Rtop-1 accuracy: 77.04 -> 76.92Hurt
apply MTA instead of TPTCLIP ViT-B/16 zero-shot classification · 10 fine-grained datasets averagetop-1 accuracy: 64.76 -> 64.63No clear effect
add MTA to CoOp promptsfew-shot CLIP classification · ImageNet, 16 shotstop-1 accuracy: 71.87 -> 74.20Helped
use diffusion-generated views alongside RandomCrop viewsMTA · ImageNet variants averagetop-1 accuracy: 62.7 -> 63.28Helped
add inlierness scores to MeanShift (ablation)MTA · 15-dataset averagetop-1 accuracy: 59.93 -> 64.14Helped
replace inlierness scores with a 10% confidence threshold (ablation)MTA · 15-dataset averagetop-1 accuracy: 64.14 -> 63.27Hurt
replace text-based affinity with vision-based affinity (ablation)MTA · 15-dataset averagetop-1 accuracy: 64.14 -> 63.15Hurt
increase the number of augmented views (ablation)MTA · ImageNet variants averagetop-1 accuracy: +2.3% for 16 views; +4.4% for 128 viewsHelped
increase the number of augmented views with ensemble prediction (ablation)MTA + Ensemble · ImageNet variants averagetop-1 accuracy: 1.9% gain for batches of 16; 3.1% for larger batchesHelped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet ImageNet-A ImageNet-V2 ImageNet-R ImageNet-Sketch SUN397 Aircraft EuroSAT StanfordCars Food101 OxfordPets Flower102

Benchmarks: ImageNet ImageNet-A ImageNet-V2 ImageNet-R ImageNet-Sketch SUN397 Aircraft EuroSAT StanfordCars Food101 OxfordPets Flower102

Metrics: top-1 accuracy runtime per image

Baselines: CLIP CLIP + Ensemble TPT DiffTPT CoOp TPT + CoOp Tip-Adapter Tip-Adapter-F ProGrad

Builds on: TPT MeanShift CoOp DiffTPT Tip-Adapter

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy