atlas

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

DeCoOp: Robust Prompt Tuning with Out-of-Distribution Detection

ICML 2024 · Vision-language and multimodal › CLIP and zero-shot · approach: Prompt learning for CLIP · 0 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.

Introduces open-world prompt tuning (OPT), where prompts are tuned on base classes and evaluated on mixed base and new classes, and proposes DeCoOp, which combines OOD detection (new-class detectors) with base and new sub-classifiers built on CLIP prompt tuning.

Problem

Few-shot prompt tuning of VLMs like CLIP is evaluated separately on base and new classes, but real applications face a mix of base and new classes at test time without knowing which group a sample belongs to, and learned prompts can degrade new-class discriminability.

Approach

Decompose the classification into an OOD detection step (deciding base vs. new class space) and a classifier step; use the zero-shot CLIP classifier for samples detected as new and a prompt-tuned sub-classifier for samples detected as base. New-class detectors are trained with a leave-out class partition ensemble (K=3) using an entropy-margin loss, and thresholds are set via Otsu's method.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Integrate OOD detection with prompt tuning (DePt)CLIP zero-shot and CoOp prompt tuning · 11-dataset average, ViT-B/16Accuracy: 63.92 -> 68.03Helped
Integrate OOD detection with prompt tuning (DePt)CLIP zero-shot and CoOp prompt tuning · 11-dataset average, ViT-B/16New Acc.: 65.49 -> 68.15Helped
Add DeCoOp new-class detectors and sub-classifiers (ablation)DePt · 11-dataset average, ViT-B/16Accuracy: 68.03 -> 69.69Helped
Add DeCoOp new-class detectors and sub-classifiers (ablation)DePt · 11-dataset average, ViT-B/32Accuracy: 62.92 -> 65.75Helped
Use DeCoOp instead of comparison methodsPrompt-based classification · 11-dataset average, ViT-B/16Accuracy: 67.67 -> 69.69Helped
Use DeCoOp new-class detectorsCLIP, Prompt Ens., CoOp, CoCoOp, and Ship · 11-dataset average, ViT-B/16AUROC: 81.65 -> 91.57Helped
Combine multiple CoOp prompts rather than use a single CoOp prompt (ablation)CoOp · Flowers102Accuracy: 72.11 -> 71.62; 72.11 -> 73.12; 72.11 -> 71.89Mixed
Combine multiple CoOp prompts rather than use a single CoOp prompt (ablation)CoOp · DTDAccuracy: 48.18 -> 50.08; 48.18 -> 49.99; 48.18 -> 49.69Helped
Combine multiple CoOp prompts rather than use a single CoOp prompt (ablation)CoOp · Caltech101Accuracy: 93.24 -> 93.31; 93.24 -> 92.89; 93.24 -> 92.87Mixed
Combine multiple CoOp prompts rather than use a single CoOp prompt (ablation)CoOp · StanfordCarsAccuracy: 63.81 -> 64.20; 63.81 -> 64.32; 63.81 -> 65.03Helped

Surprising findings

Limitations

Experimental setup

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

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

Metrics: Accuracy H (harmonic mean of base and new accuracy) AUROC

Baselines: CLIP Prompt Ensemble CoOp CoCoOp SHIP DePt

Builds on: CoOp CoCoOp CLIP MSP SHIP

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