atlas

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

Weak Distribution Detectors Lead to Stronger Generalizability of Vision-Language Prompt Tuning

AAAI 2024 · Vision-language and multimodal › CLIP and zero-shot · approach: Prompt learning for CLIP · 6 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 test-time dynamic fusion of zero-shot CLIP and few-shot prompt-tuned classifiers, weighted by a competition-based score derived from OOD detectors' in-distribution scores, to improve base-to-novel generalization of CoOp, CoCoOp, ProGrad and KgCoOp.

Problem

Vision-language prompt tuning methods such as CoOp fit base classes well but lose accuracy on novel classes; balancing base and novel performance is hard.

Approach

Treat the choice between zero-shot and few-shot classifiers as an OOD detection problem: a sigmoid over the difference of ID scores from the two classifiers (MSP, MaxLogit, Energy or entropy) gives an instance-wise weight to fuse the classifiers at test time without retraining.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add OOD-based dynamic fusion to CoOpCoOp · Base-to-novel (11 datasets)H: 74.24 -> 76.85Helped
Add OOD-based dynamic fusion to ProGradProGrad · Base-to-novel (11 datasets)H: 75.70 -> 77.20Helped
Add OOD-based dynamic fusion to CoCoOpCoCoOp · Base-to-novel (11 datasets)H: 76.04 -> 76.74Helped
Add OOD-based dynamic fusion to KgCoOpKgCoOp · Base-to-novel (11 datasets)H: 76.97 -> 76.94No clear effect
Replace the zero-shot classifier with ProGrad and fuse with KgCoOpKgCoOp+ · Base-to-novel (11 datasets)H: 77.20 -> 77.60Helped
Replace the zero-shot classifier with ProGrad and fuse with KgCoOpKgCoOp+ · Domain generalization target domains (average)accuracy: 59.88 -> 60.36Helped
Use dynamic weighting instead of a fixed fusion weight of 0.50 (ablation)CoOp+ · Base-to-novel (11 datasets)H: 75.81 -> 76.85Helped
Use competition-based MSP scoring rather than MSP from either classifier alone (ablation)CoOp+ · Base-to-novel (11 datasets)H: 76.09 -> 77.15; 76.43 -> 77.15Helped
Use MaxLogit instead of Entropy as the OOD detector (ablation)CoOp+ · Base-to-novel (11 datasets)H: 76.85 -> 75.86Hurt
Use Energy instead of Entropy as the OOD detector (ablation)CoOp+ · Base-to-novel (11 datasets)H: 76.85 -> 75.85Hurt
Use binary weights (α=∞) instead of continuous weights (ablation)CoOp+ with MSP detector · Base-to-novel (11 datasets)H: 77.15 -> 77.13Hurt
Increase the scaling factor α (ablation)CoOp+ · Base-to-novel (11 datasets)Base and Novel accuracyMixed

Surprising findings

Limitations

Experimental setup

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

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

Metrics: base accuracy novel accuracy harmonic mean target domain accuracy

Baselines: CLIP CoOp CoCoOp ProGrad KgCoOp

Builds on: CoOp CoCoOp ProGrad KgCoOp CLIP maximum softmax probability MaxLogit energy-based OOD detection

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