atlas

Research map / Vision-language and multimodal / CLIP and zero-shot

Dual Memory Networks: A Versatile Adaptation Approach for Vision-Language Models

CVPR 2024 · Vision-language and multimodal › CLIP and zero-shot · approach: Adapting VLMs for zero-shot classification · 34 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 Dual Memory Networks (DMN), a dynamic memory of historical test features plus a static memory of labeled training features, that unifies zero-shot, few-shot, and training-free few-shot CLIP adaptation without external training data.

Problem

Existing CLIP adaptation methods are tailored to only one or two of three settings (zero-shot, few-shot, training-free few-shot), and zero-shot methods typically rely on external synthetic or retrieved data.

Approach

Two cache-based memory networks with a shared cross-attention readout: a dynamic memory stores pseudo-labeled test features online during testing, and a static memory caches training features; both use optional zero-initialized residual projection layers so the method works training-free or with light training.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use dynamic and static memory networks together (ablation)DMN-TF · training-free few-shot classificationaccuracyHelped
Add dynamic memory of historical test samples (ablation)DMN-TF · training-free few-shot classificationaccuracyHelped
Add static memory of labeled training samples (ablation)DMN-TF · training-free few-shot classificationaccuracyHelped
Increase dynamic memory length (ablation)DMN · classification benchmarksaccuracyHelped
Add Q, K, V, and O projection layers (ablation)DMN · classification benchmarksaccuracyHelped
Add output projection layer O (ablation)DMN · classification benchmarksaccuracyHelped
Vary β in the memory readout function (ablation)DMN · classification benchmarksaccuracyMixed
Use DMN-ZS instead of the strongest listed zero-shot baselineCLIP ResNet50 · 11-dataset zero-shot meanaccuracy: 63.71 vs. 62.23Helped
Use DMN-ZS instead of the strongest listed zero-shot baselineCLIP ViT-B/16 · 11-dataset zero-shot meanaccuracy: 70.72 vs. 65.91Helped
Use DMN-ZS on ImageNet-ACLIP ResNet50 · ImageNet-Aaccuracy: 28.57 vs. 31.06Hurt
Use DMN-ZS on ImageNet-V2CLIP ResNet50 · ImageNet-V2accuracy: 56.12 vs. 55.80Helped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet Flowers102 DTD OxfordPets StanfordCars UCF101 Caltech101 Food101 SUN397 FGVC-Aircraft EuroSAT ImageNet-V2

Benchmarks: ImageNet Flowers102 DTD OxfordPets StanfordCars UCF101 Caltech101 Food101 SUN397 FGVC-Aircraft EuroSAT ImageNet-V2

Metrics: classification accuracy GFLOPs learnable parameters inference latency

Baselines: CLIP TPT CALIP DiffTPT CuPL SuS-X CaFo Tip-Adapter Tip-X APE CoOp CoCoOp

Builds on: CLIP Tip-Adapter TPT CALIP

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