atlas

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

A Closer Look at the Few-Shot Adaptation of Large Vision-Language Models

CVPR 2024 · Vision-language and multimodal › CLIP and zero-shot · approach: Open-vocabulary alignment from VLMs · 45 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.

Shows that state-of-the-art efficient transfer learning adapters for CLIP need per-task hyperparameter tuning on large labeled/test sets, and proposes CLAP, a class-adaptive constrained linear probe whose penalty weights are set via an augmented Lagrangian method using only the support set.

Problem

Few-shot adaptation of large vision-language models (CLIP) with efficient transfer learning adapters relies on hyperparameters tuned on large validation or test sets, which is unrealistic in real-world settings; these methods also underperform zero-shot under distribution shift.

Approach

Revisits linear probing initialized with CLIP zero-shot prototypes (ZS-LP) as a strong baseline, then adds a constraint keeping prototypes near zero-shot anchors, with class-wise penalty weights learned by a one-step augmented Lagrangian (PHR) update computed from support-set zero-shot softmax scores, avoiding any validation set.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add CLAP's class-adaptive constraint to few-shot adaptationZS-LP on 11 datasets, CLIP ResNet-50 · 11-dataset average, K=1 to K=16accuracy: 61.28 -> 62.79; 64.88 -> 66.07; 67.98 -> 69.13; 71.43 -> 72.08; 74.37 -> 74.57Helped
Adapt with CLAP instead of zero-shot inferenceCLIP ResNet-50 · ImageNet target averageaccuracy: 40.61 -> 42.91Helped
Adapt with CLAP instead of zero-shot inferenceCLIP ViT-B/16 · ImageNet target averageaccuracy: 57.17 -> 60.04Helped
Use CLAP rather than FLYP with the stated 8-shot comparison protocolCLIP ViT-B/16 · ImageNet-V2, ImageNet-Sketch, ImageNet-A, and ImageNet-Raccuracy: 64.59 -> 64.06; 49.50 -> 47.66; 51.32 -> 48.40; 78.52 -> 76.70Mixed
Add data augmentation (ablation)ZS-LP on 11 datasets · K=1, K=2, and K=4accuracy: 57.72(−3.5)↓; 61.94(−2.9)↓; 65.41(−2.5)↓Helped
Add CLIP temperature scaling (ablation)ZS-LP on 11 datasets · K=1, K=2, and K=4accuracy: 58.33(−2.9)↓; 59.85(−5.0)↓; 59.91(−8.0)↓Helped
Add L2 normalization of class prototypes (ablation)ZS-LP on 11 datasets · K=1, K=2, and K=4accuracy: 48.67(−12.6)↓; 55.29(−9.6)↓; 61.16(−6.8)↓Helped
Initialize class prototypes with zero-shot weights rather than random weights (ablation)Linear Probing on 11 datasets · K=1, K=2, and K=4accuracy: 30.42(−30.8)↓; 41.86(−23.0)↓; 51.69(−16.2)↓Helped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet Caltech101 OxfordPets StanfordCars Flowers102 Food101 FGVCAircraft SUN397 DTD EuroSAT UCF101 ImageNetV2

Benchmarks: ImageNet Caltech101 OxfordPets StanfordCars Flowers102 Food101 FGVCAircraft SUN397 DTD EuroSAT UCF101 ImageNetV2

Metrics: accuracy

Baselines: CLIP-Adapter TIP-Adapter TIP-Adapter(f) TaskRes(e) CrossModal-LP CoOp ProGrad PLOT LP-FT WiSE-FT FLYP

Builds on: CLIP CLIP-Adapter TIP-Adapter TaskRes Augmented Lagrangian method

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