atlas

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

Open-Vocabulary Calibration for Fine-tuned CLIP

ICML 2024 · Vision-language and multimodal › CLIP and zero-shot · approach: Test-time adaptation of VLMs · 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.

Shows that prompt-tuned CLIP is overconfident on novel classes where post-hoc calibration fails, and proposes Distance-Aware Calibration (DAC), a training-free temperature rescaling by a text-embedding deviation score relative to base classes.

Problem

Confidence calibration of fine-tuned (prompt-tuned) vision-language models degrades in the open-vocabulary setting: post-hoc calibration fitted on base classes does not transfer to novel classes.

Approach

Scale the CLIP logit temperature per predicted class by a textual deviation (TD) score, the ratio of K-nearest-neighbor proximity of the tuned text embedding to base-class text embeddings versus the pre-trained CLIP's; low-proximity (novel, far from base) classes get higher temperature. Uses only text labels, no visual data from novel classes, and keeps base-class behavior identical to temperature

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply DAC to CoOpCoOp · 11 datasets, new classes (average)ECE: 13.84 -> 7.00Helped
Apply DAC to CoCoOpCoCoOp · 11 datasets, new classes (average)ECE: 6.29 -> 4.82Helped
Apply DAC to ProDAProDA · 11 datasets, new classes (average)ECE: 4.27 -> 3.99Helped
Apply DAC to KgCoOpKgCoOp · 11 datasets, new classes (average)ECE: 4.36 -> 4.32Helped
Apply DAC to MaPLeMaPLe · 11 datasets, new classes (average)ECE: 5.77 -> 4.61Helped
Apply DAC to ProGradProGrad · 11 datasets, new classes (average)ECE: 4.22 -> 3.74Helped
Apply DAC to PromptSRCPromptSRC · 11 datasets, new classes (average)ECE: 3.84 -> 3.63Helped
Combine DAC with DENCoOp + DEN · ImageNet-1K, new classesECE: 8.08 -> 3.29Helped
Apply DAC to FLYPFLYP · 11 datasets, new classes (average)ECE: 13.27 -> 10.40Helped
Use K greater than 0 textual neighbors for proximity estimation (ablation)DAC · DTD and SUN397ECEHelped
Normalize textual features when calculating TD scores (ablation)DAC with CoOp · Open-vocabulary calibrationECEHelped
Calibrate using base-class data rather than novel-class data (ablation)Temperature Scaling on CoOp · 11 datasets, base classesECE: 2.95 -> 2.57Helped

Surprising findings

Limitations

Experimental setup

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

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

Metrics: ECE ACE MCE PIECE

Baselines: Temperature Scaling Density-Ratio Calibration Histogram Binning Isotonic Regression Multi-Isotonic Regression zero-shot CLIP

Builds on: CLIP CoOp CoCoOp Temperature Scaling Density-Ratio Calibration

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