atlas

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

Aggregate-and-Adapt Natural Language Prompts for Downstream Generalization of CLIP

NeurIPS 2024 · Vision-language and multimodal › CLIP and zero-shot · approach: Prompt learning for CLIP · 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 AAPE, a prompt-learning method that distills LLM- or human-written natural language prompts into an image-conditioned prompt embedding via a learned attention aggregator and a prompt generator, removing LLM cost at test time.

Problem

CLIP adapts poorly to specialized domains and fine-grained classes under few-shot and OOD settings; existing LLM-augmented methods incur LLM inference cost at test time and use noisy, task-irrelevant text.

Approach

Learn an attention-based, image-aligned aggregation of reference prompts (CLIP-reward supervised), then train a lightweight prompt generator conditioned on the image to match the aggregated summary (distillation) while minimizing task loss; discard the LLM and aggregator at test time.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
distill LLM-generated natural-language prompts and adapt them with task loss (ablation)CLIP prompt learning · Base-to-new, 11-dataset averageHarmonic mean: 76.23±0.22 -> 80.97±0.19Helped
add the class-template embedding and projection g to h(x)-only (ablation)AAPE classification · Base-to-new, 11-dataset averageHarmonic mean: 79.77±0.13 -> 80.97±0.19Helped
use attention-based rather than MLP-based prompt aggregation (ablation)AAPE prompt aggregator · Base-to-new, 11-dataset averageHarmonic mean: 80.16±0.22 -> 80.97±0.19Helped
use attention-based rather than mean prompt aggregation (ablation)AAPE prompt aggregator · Base-to-new, 11-dataset averageHarmonic mean: 78.71±0.15 -> 80.97±0.19Helped
use attention-based rather than randomly sample a reference prompt (ablation)AAPE prompt aggregator · Base-to-new, 11-dataset averageHarmonic mean: 72.30±1.15 -> 80.97±0.19Helped
increase distillation weight from 1 to values in [3,9] (ablation)AAPE · Base-to-new, 11-dataset averageHarmonic mean: 79.14±0.27 -> 80.65±0.23Helped
use learned aggregate-and-adapt prompts instead of learning-free CuPL prompt averagingCLIP few-shot classification · Base-to-new, 11-dataset averageHarmonic mean: 74.78 -> 80.97±0.19Helped
add AAPE to LiMBeRImage captioning on COCO · COCOCIDEr-D: 54.9 -> 57.8Helped
add AAPE to LiMBeRVQA2 · VQA2, 0-shotaccuracy: 33.3 -> 36.5Helped
transfer COCO-trained AAPE zero-shot to NoCapsLiMBeR image captioning · NoCaps, AllCIDEr-D: 43.9 -> 45.1Helped

Surprising findings

Limitations

Experimental setup

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

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

Metrics: accuracy harmonic mean Recall@K CIDEr-D CLIP-S Ref-CLIPScore VQA accuracy FPS GFLOP

Baselines: CoOp CoCoOp MaPLe CLIPood PromptSRC OGEN ProGrad KgCoOp LASP-V CuPL ProText ArGue-N

Builds on: CoCoOp CuPL CoOp LiMBeR

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