atlas

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

Few-shot Adaptation to Distribution Shifts By Mixing Source and Target Embeddings

ICML 2024 · Label-efficient and robust learning › Domain adaptation and generalization · approach: Cross-domain few-shot with transformers · 1 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 MixPro, which trains a linear probe on a large dataset formed by fixed-weight linear mixing of source embeddings with same-class few-shot target embeddings, for data-efficient few-shot adaptation to distribution shifts.

Problem

Adapting pretrained models to distribution shifts when only a few (2-16 per class) labeled target examples are available; last-layer retraining (DFR) overfits and Pro² may discard target-relevant features learned only from source data.

Approach

Construct a large mixed-embedding dataset by linearly combining each source embedding with a random same-class target embedding using a fixed weight s, then train a linear probe on it, so the probe sees both source and target information without overfitting the few target examples.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Mix source and target embeddings before linear probingFew-shot adaptation with MixPro · 8 distribution-shift datasets, 2-shotaccuracy: 4.3%Helped
Mix source and target embeddings before linear probingFew-shot adaptation with MixPro · 8 distribution-shift datasets, 4-shotaccuracy: 3.9%Helped
Use MixPro instead of existing baselinesFew-shot adaptation · 8 distribution-shift datasetsaccuracy: up to 7%Helped
Use only target data for linear probing instead of mixing source dataFew-shot adaptation · Small target datasetsaccuracyHurt
Use a source-learned projection before target linear probingPro² · Severe distribution shifts, including domain generalization datasetsaccuracyHurt
Tune hyperparameters with few-shot cross-validation instead of a large validation setFew-shot adaptation methods · Terra Incognita, VLCS, UrbanCars, bFFHQ, Office-Homeaccuracy: within 10%Hurt
Replace source embeddings with source class-mean embeddings (ablation)MixPro · 8 distribution-shift datasetsaccuracyHurt
Use an intermediate source-target mixing weight instead of using only source or only target data (ablation)MixPro · Synthetic subpopulation shifttest lossHelped
Increase the target-data mixing weight as source-target shift severity increases (ablation)MixPro · Synthetic subpopulation shifttest lossHelped
Decrease the target-data mixing weight as noise or scarcity of target examples increases (ablation)MixPro · Synthetic subpopulation shifttest lossHelped

Surprising findings

Limitations

Experimental setup

Datasets: Waterbirds UrbanCars bFFHQ Camelyon17 PACS VLCS Office-Home Terra Incognita

Benchmarks: Waterbirds UrbanCars bFFHQ Camelyon17 PACS VLCS Office-Home Terra Incognita

Metrics: test accuracy

Baselines: DFR Mixup Manifold Mixup Pro² diversity-based multi-model method (gradient-similarity ensemble)

Builds on: DFR Pro² Mixup Manifold Mixup

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