atlas

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

Learning to Adapt Frozen CLIP for Few-Shot Test-Time Domain Adaptation

ICLR 2025 · Label-efficient and robust learning › Test-time adaptation · approach: Test-time adaptation of vision-language models

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 L2C, which adds a parallel revert-attention side network (CPNet) to a frozen CLIP and refines text features via greedy ensembling and uniformity loss, adapting both modalities with a domain prompt for few-shot test-time domain adaptation.

Problem

Few-shot test-time domain adaptation of CLIP using only a few unlabeled target images, where frozen-feature methods like VDPG are limited by CLIP's lack of dataset-specific knowledge and degrade on weaker backbones such as ViT-B/16.

Approach

Attach a lightweight parallel CPNet on the input space whose output is reverted-attention-masked so it learns only information absent from frozen CLIP; complement text features via greedy template ensembling plus a uniformity-refined text module; fuse adapted text and image features with a domain prompt built from batch-level attention and a K-V domain cache.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add CPNet to frozen zero-shot CLIP (ablation)L2C · iWildCamF1: 9.7 -> 22.8Helped
Add CPNet to frozen zero-shot CLIP (ablation)L2C · FMoWWC Acc: 14.5 -> 28.3Helped
Add text refinement (ablation)L2C with CPNet · iWildCamF1: 22.8 -> 24.0Helped
Add greedy text ensemble (ablation)L2C with text refinement · iWildCamF1: 24.0 -> 26.9Helped
Add revert attention (ablation)L2C with text refinement and greedy ensemble · iWildCamF1: 26.9 -> 32.9Helped
Add uniformity loss (ablation)L2C with revert attention and text components · iWildCamF1: 32.9 -> 33.2Helped
Add DAF (ablation)L2C with ERM training · iWildCamF1: 33.2 -> 32.8No clear effect
Use domain-centric training instead of ERM (ablation)L2C with DAF · iWildCamF1: 32.8 -> 35.2Helped
Include both K-V cache knowledge and the domain token in the domain prompt (ablation)L2C · iWildCamF1: 34.1 -> 35.2Helped
Use reshaped inter-attention for domain aggregation instead of mean aggregation (ablation)L2C · FMoWWC Acc: 37.8 -> 40.9Helped
Use greedy text ensemble instead of average text ensemble (ablation)L2C · iWildCamF1: 33.6 -> 35.2Helped
Use ATFD instead of uniformity loss for text inter-dispersion (ablation)L2C · FMoWWC Acc: 40.9 -> 40.8No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: DomainNet iWildCam Camelyon17 FMoW PovertyMap

Benchmarks: DomainNet iWildCam Camelyon17 FMoW PovertyMap

Metrics: accuracy macro F1 worst-case accuracy Pearson r worst-case Pearson r

Baselines: VDPG Meta-DMoE MABN FLYP ERM MIRO DoPrompt CoOp CoCoOp DTL

Builds on: VDPG CLIP MetaDMoE MABN TPT

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