atlas

Research map / Label-efficient and robust learning / OOD and anomaly detection

Overcoming the Pitfalls of Vision-Language Model Finetuning for OOD Generalization

ICLR 2024 · Label-efficient and robust learning › OOD and anomaly detection · approach: Robust fine-tuning for OOD generalization · 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.

Shows that long prompt-learning finetuning of CLIP overfits known classes, and proposes OGEN: a class-conditional feature generator that synthesizes OOD image features from unknown class names plus adaptive local mean-teacher self-distillation to reduce overfitting.

Problem

Finetuning vision-language models such as CLIP with prompt learning improves ID accuracy but, with long training and no proper regularization, overfits known classes and degrades accuracy on unknown (OOD) classes under base-to-new and cross-dataset settings.

Approach

Synthesize OOD image features conditioned on the text feature of an unknown class name by extrapolating from kNN known classes (one lightweight MHCA layer), jointly train known and synthesized unknown features, and regularize the generator with an adaptive local mean teacher whose EMA window grows along a cosine schedule.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add OGEN (feature generator + ALMT) to CoOpCoOp · Base-to-new, avg 11 datasetsNew accuracy: +6.32Helped
add OGEN to CoOpCoOp · Base-to-new, avg 11 datasetsBase accuracy: +0.78Helped
add OGEN to CoCoOp, VPT, SHIP, KgCoOp, MaPLe, PromptSRCprompt learning baselines · Base-to-new, avg 11 datasetsNew accuracy: +0.76 to +2.45 for CoCoOp/VPT/SHIP/KgCoOp/MaPLe/PromptSRCHelped
add OGEN to CoOp in cross-dataset setting (ImageNet source)CoOp · Cross-dataset, 10 targets averageaccuracy: +1.88Helped
add OGEN to CoCoOp in cross-dataset settingCoCoOp · Cross-dataset, 10 targets averageaccuracy: +0.79Helped
add class-conditional feature generator (no self-distillation) (ablation)CoOp · Base-to-new ablation, 11 datasetsNew accuracy: 63.22 -> 69.02Helped
add ALMT self-distillation on top of feature generator (ablation)CoOp + feature generator · Base-to-new ablation, 11 datasetsH: 75.15 -> 75.88Helped
extrapolate jointly vs extrapolate per class (ablation)feature generator · Base-to-new ablation, 11 datasetsNew accuracy: 66.04 -> 69.02Helped
extrapolate from kNN known classes vs no extrapolation (ablation)feature generator · Base-to-new ablation, 11 datasetsNew accuracy: 64.08 -> 69.02Helped
kNN retrieval of base classes vs random base classes (K=3) (ablation)feature generator · Base-to-new ablation, 11 datasetsH: 75.15 -> 74.40Helped
Mean Teacher self-distillation instead of none (ablation)feature generator · Base-to-new ablation, 11 datasetsH: 75.15 -> 75.08No clear effect
adaptive local window (ALMT m_t) vs fixed window size m=2 or m=9 (ablation)self-distillation · Base-to-new ablation, 11 datasetsH: 74.50/74.77 -> 75.88Helped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet Caltech101 OxfordPets StanfordCars Flowers102 Food101 FGVC-Aircraft SUN397 UCF101 DTD EuroSAT LAION-400M

Benchmarks: Base-to-new class generalization on 11 datasets Cross-dataset generalization from ImageNet to 10 targets

Metrics: base accuracy new accuracy harmonic mean (H) cross-dataset accuracy

Baselines: CoOp CoCoOp VPT SHIP KgCoOp MaPLe PromptSRC Mean Teacher

Builds on: CoOp CLIP Mean Teacher VOS KgCoOp

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