atlas

Research map / Label-efficient and robust learning / Test-time adaptation

Efficient Test-Time Adaptation of Vision-Language Models

CVPR 2024 · Label-efficient and robust learning › Test-time adaptation · approach: Test-time adaptation of vision-language models · 70 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 TDA, a training-free test-time adaptation method for CLIP that uses dynamic positive and negative key-value caches of test features and pseudo labels, requiring no backpropagation.

Problem

Test-time adaptation of vision-language models like CLIP to distribution shifts is computationally expensive, as prior prompt-tuning methods (TPT, DiffTPT) require backpropagation per test sample, and pseudo labels on test data are noisy.

Approach

A training-free dynamic key-value cache stores test features with entropy-prioritized pseudo labels (positive cache) and adds a negative cache that assigns pseudo labels for classes the sample is unlikely to belong to, when the model is uncertain; both caches are combined with CLIP zero-shot logits.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace per-sample prompt tuning with a dynamic positive-and-negative cacheCLIP-ResNet-50 · ImageNettesting time: 12h 50min -> 16minHelped
replace per-sample prompt tuning with a dynamic positive-and-negative cacheCLIP-ResNet-50 · ImageNetaccuracy: 60.74 -> 61.35Helped
add TDA test-time adaptationCLIP-ResNet-50 · OOD benchmark (OOD Average)accuracy: 45.69 -> 46.63Helped
add TDA test-time adaptationCLIP-ViT-B/16 · OOD benchmark (OOD Average)accuracy: 60.81 -> 63.89Helped
add TDA test-time adaptationCLIP-ResNet-50 · Cross-domain benchmark (Average)accuracy: 59.85 -> 61.03Helped
add TDA test-time adaptationCLIP-ViT-B/16 · Cross-domain benchmark (Average)accuracy: 65.47 -> 67.53Helped
add the positive cache (ablation)CLIP-ResNet-50 · ImageNetaccuracy: 59.81 -> 60.82Helped
add the negative cache (ablation)CLIP-ResNet-50 · ImageNetaccuracy: 59.81 -> 60.83Helped
combine the positive and negative caches (ablation)CLIP-ResNet-50 · ImageNetaccuracy: 60.82 -> 61.35Helped
combine the positive and negative caches (ablation)TDA · Cross-domain benchmark (Average)accuracy: 60.38% -> 61.03%Helped
set positive-cache shot capacity to 3 (ablation)TDA · ImageNetaccuracyHelped
set negative-cache shot capacity to 2 (ablation)TDA · ImageNetaccuracyHelped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet ImageNet-A ImageNet-V2 ImageNet-R ImageNet-S Aircraft Caltech101 Cars DTD EuroSAT Flower102 Food101

Benchmarks: ImageNet ImageNet-A ImageNet-V2 ImageNet-R ImageNet-S Aircraft Caltech101 Cars DTD EuroSAT Flower102 Food101

Metrics: top-1 accuracy testing time

Baselines: CLIP CoOp CoCoOp Tip-Adapter TPT DiffTPT

Builds on: Tip-Adapter TPT CLIP

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