atlas

Research map / Label-efficient and robust learning / Domain adaptation and generalization

Adapting to Distribution Shift by Visual Domain Prompt Generation

ICLR 2024 · Label-efficient and robust learning › Domain adaptation and generalization · approach: Mixture and distillation for domain shift · 2 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 VDPG, which adapts a frozen CLIP image encoder to unseen target domains by generating a domain-specific visual prompt from few-shot unlabeled data via a knowledge bank, cross-attention generator, and meta-learned episodic training.

Problem

Few-shot test-time domain adaptation: adapting a model to an unseen target domain using only a few unlabeled target images, without degrading the out-of-distribution generalization of foundation models.

Approach

A shared learnable knowledge bank is condensed by a cross-attention domain prompt generator, conditioned on a small batch of target images, into a domain-specific visual prompt that guides frozen CLIP features via a guidance module; trained with a domain-aware soft-nearest-neighbor contrastive loss and episodic meta-learning.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use VDPG rather than FLYPCLIP ViT-L/14 · iWildCamMacro F1: 41.9 (0.3) -> 46.5 (0.3)Helped
Use VDPG rather than MABNCamelyon17 · Camelyon17accuracy: 92.4 (1.9) -> 96.0 (0.4)Helped
Use VDPG rather than FLYPCLIP ViT-L/14 · FMoWAvg Acc: 63.3 (0.4) -> 61.9 (0.4)Hurt
Use VDPG rather than the strongest CNN baselinePovertyMap · PovertyMapPearson r: 0.84 (0.05) -> 0.83 (0.04)Hurt
Use VDPG rather than zero-shot CLIPCLIP ViT-B/16 · DomainNetAvg. accuracy: 57.1 -> 59.8Helped
Add Generator G to Frozen CLIP + GM under ERM training (ablation)VDPG · iWildCam OODF1: 39.6 -> 32.5Hurt
Add the knowledge bank to Frozen CLIP + GM + Generator G under ERM training (ablation)VDPG · iWildCam OODF1: 32.5 -> 32.4No clear effect
Use episodic rather than ERM training for the full model (ablation)VDPG · iWildCam OODF1: 32.4 -> 43.6Helped
Add L_corr (ablation)VDPG · iWildCamF1: 54.5 -> 56.7 (ID); 43.6 -> 44.1 (OOD)Helped
Add L_dac (ablation)VDPG · iWildCamF1: 54.5 -> 58.6 (ID); 43.6 -> 44.6 (OOD)Helped
Add both L_corr and L_dac (ablation)VDPG · iWildCamF1: 54.5 -> 58.9 (ID); 43.6 -> 45.5 (OOD)Helped
Train the generator and knowledge bank on unlabeled data (ablation)VDPG with both losses · iWildCamF1: 58.9 -> 60.2 (ID); 45.5 -> 46.5 (OOD)Helped

Surprising findings

Limitations

Experimental setup

Datasets: WILDS-iWildCam WILDS-Camelyon17 WILDS-FMoW WILDS-PovertyMap DomainNet

Benchmarks: WILDS-iWildCam WILDS-Camelyon17 WILDS-FMoW WILDS-PovertyMap DomainNet

Metrics: accuracy Macro F1 worst-case accuracy Pearson correlation worst-case Pearson correlation

Baselines: ERM CORAL IRM ARM Meta-DMoE MABN Zero-shot CLIP FLYP DoPrompt MIRO Mixup MTL

Builds on: CLIP Visual Prompt Tuning Meta-DMoE FLYP soft-nearest neighbor loss

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