atlas

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

C-TPT: Calibrated Test-Time Prompt Tuning for Vision-Language Models via Text Feature Dispersion

ICLR 2024 · Vision-language and multimodal › CLIP and zero-shot · approach: Parameter-efficient visual tuning · 5 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 C-TPT, which adds a text-feature-dispersion regularizer (maximizing ATFD) to test-time prompt tuning of CLIP to reduce calibration error without labeled data.

Problem

Test-time prompt tuning (TPT) for CLIP improves accuracy via entropy minimization but yields overconfident predictions and higher calibration error (ECE), and standard calibration methods need labeled data.

Approach

Observes that prompts producing higher dispersion of class-embedded text features are better calibrated; defines Average Text Feature Dispersion (ATFD) and adds -ATFD as an auxiliary loss to TPT's entropy objective during test-time tuning, requiring no labels.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add C-TPT to TPT with hard-prompt initializationCLIP-RN50 · Fine-grained classification (average)ECE: 11.7 -> 6.20Helped
Add C-TPT to TPT with hard-prompt initializationCLIP-ViT-B/16 · Fine-grained classification (average)ECE: 11.6 -> 5.13Helped
Add C-TPT to TPT with ensemble initializationCLIP-RN50 · Fine-grained classification (average)ECE: 10.7 -> 5.20Helped
Add C-TPT to TPT with ensemble initializationCLIP-ViT-B/16 · Fine-grained classification (average)ECE: 9.91 -> 4.62Helped
Add C-TPT to TPT with hard-prompt initializationCLIP-RN50 · Natural distribution shifts (average)ECE: 16.7 -> 12.1Helped
Add C-TPT to TPT with ensemble initializationCLIP-RN50 · Natural distribution shifts (average)ECE: 15.8 -> 13.6Helped
Add C-TPT to TPT with hard-prompt initializationCLIP-ViT-B/16 · Natural distribution shifts (average)ECE: 12.0 -> 5.82Helped
Add C-TPT to TPT with ensemble initializationCLIP-ViT-B/16 · Natural distribution shifts (average)ECE: 10.9 -> 8.32Helped
Add C-TPT to TPTCLIP-RN50 and CLIP-ViT-B/16 · Natural distribution shifts (average)accuracy: 43.5 -> 42.8; 44.5 -> 44.0; 59.9 -> 59.6; 61.2 -> 60.7Hurt
Use TPT instead of the hard promptCLIP · Fine-grained classificationECEHurt
Increase the C-TPT weight lambda (ablation)CLIP-RN50 · Multiple validation datasetsECEHelped
Use temperature scaling with TPT output logits (ablation)TPT · Fine-grained classification and natural distribution shiftsECEHelped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet Caltech101 OxfordPets StanfordCars Flowers102 Food101 FGVC Aircraft SUN397 DTD EuroSAT UCF101 ImageNet-V2

Benchmarks: ImageNet Caltech101 OxfordPets StanfordCars Flowers102 Food101 FGVC Aircraft SUN397 DTD EuroSAT UCF101 ImageNet-V2

Metrics: accuracy ECE

Baselines: CLIP hard prompt TPT TPT_temp (temperature scaling) CoOp CoCoOp

Builds on: Test-time Prompt Tuning (TPT) CoOp CoCoOp temperature scaling

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