atlas

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

Nemesis: Normalizing the Soft-prompt Vectors of Vision-Language Models

ICLR 2024 · Vision-language and multimodal › CLIP and zero-shot · approach: Prompt learning for CLIP · 0 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.

Identifies a "Low-Norm Effect" in CoOp soft prompts (shrinking certain prompt vectors can improve CLIP accuracy) and proposes Nemesis, a PUN/PAN norm-regularization loss that normalizes soft prompts for few-shot and generalization gains.

Problem

Soft-prompt tuning of vision-language models like CLIP has been studied extensively, but the effect of learned soft-prompt vector norms on VLM performance is largely unexplored.

Approach

Corruption experiments (REPLACE and RESCALE of individual prompt vectors) reveal that reducing norms at certain positions can improve accuracy (the Low-Norm Effect). Nemesis adds a norm regularizer: PUN applies it uniformly across positions, while PAN runs a pre-inference step each batch to select positions whose norm reduction improves predictions and normalizes only those.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Nemesis PUN/PAN normalization of soft prompts added to CoOpCoOp · Few-shot recognition, 11 datasetsaccuracy: large gains on ImageNet, OxfordPets, Food101, SUN397Helped
Nemesis PUN normalization (ω=10) added to CoOpCoOp · Domain generalization from ImageNetaccuracy: +0.38 source, +0.46 V2, +1.70 Sketch, +0.96 A, +2.18 R (ω=10)Helped
Larger normalization strength ω (ω=10 vs ω=1) in PUN (ablation)CoOp+Nemesis PUN · Domain generalization from ImageNetaccuracy on target domains: Sketch 33.64→34.34, A 22.96→23.40, R 55.72→56.78Helped
Nemesis PAN normalization added to PLOTPLOT · Few-shot recognition (Caltech101, DTD, Flowers102 average)accuracy: 83.75 → 84.15 at 16 shots; improves at all shot settings on averageHelped
PAN position selection (vs. normalizing random positions without selection) (ablation)CoOp+Nemesis PAN on FGVCAircraft · FGVCAircraft few-shotaccuracy: selection helps at N=16 16-shot (31.44 vs 31.12) and N=4 1-shot is lower (9.44 vs 10.04)Mixed
Increasing number of corruption positions N in PAN (ablation)CoOp+Nemesis PAN on FGVCAircraft · FGVCAircraft few-shotaccuracy: 1-shot 9.56 (CoOp) to 10.44 (N=16); 16-shot peaks at N=2 (32.46) and falls at N=16 (31.44)Mixed
Mixing PUN and PAN losses (beta between 0 and 1) on ImageNet (ablation)CoOp+Nemesis · ImageNet 1-shot and 16-shotaccuracy: best beta=0.3 at 1-shot (59.54); best beta=0.1 at 16-shot (74.39); PUN only (beta=1) 73.47 at 16-shotMixed
Applying PUN loss to visual prompt tuning and prefix-tuning (PEFT extension)Other PEFT methods · Image classification (VPT) and paraphrase classification (prefix-tuning)accuracyHelped
Rescaling or replacing a soft prompt vector with lower norm at specific positions (Low-Norm Effect) (ablation)CoOp corruption experiments · ImageNet 1-shot corruptionaccuracy: Positions with rescale 0.5 at 1-shot: 14 of 16 positions improveHelped
Increasing the norm of soft prompt vectors (rescale 2.0 or large variance replace) (ablation)CoOp corruption experiments · 11 datasets corruption experimentsaccuracyHurt
Nemesis gains reduced with fewer training shots (Low-Norm Effect frequency)CoOp+Nemesis · Few-shot recognitionaccuracyNo clear effect
Nemesis PAN with ω=20 added to CoCoOpCoCoOp · Base-to-new generalization (new classes)accuracy: +1.3% on new classesHelped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet Caltech101 OxfordPets StanfordCars Flowers102 Food101 FGVCAircraft SUN397 DTD EuroSAT UCF101 ImageNetV2

Benchmarks: ImageNet Caltech101 OxfordPets StanfordCars Flowers102 Food101 FGVCAircraft SUN397 DTD EuroSAT UCF101 ImageNetV2

Metrics: top-1 accuracy harmonic mean

Baselines: CoOp CoCoOp PLOT

Builds on: CoOp CoCoOp PLOT CLIP

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