atlas

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

Interpreting and Analysing CLIP's Zero-Shot Image Classification via Mutual Knowledge

NeurIPS 2024 · Vision-language and multimodal › CLIP and zero-shot · approach: CLIP training recipes and data curation · 4 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.

Interprets CLIP zero-shot image classification by measuring mutual information between textual concepts extracted from the vision encoder (visual parts described in text) and the language encoder (concepts near the predicted class), summarized by an MI-dynamics AUC across 13 CLIP models.

Problem

Existing attribution methods for CLIP zero-shot classification give coarse, entangled explanations and cannot reveal which concepts the vision and language encoders share, so the strength of shared knowledge behind a zero-shot prediction is not measured.

Approach

Training-free multimodal concepts (visual parts from spectral decomposition and PCA/K-means, each described by a textual descriptor via visual prompting and optimal transport) are mapped into a common discrete space of LLM-generated textual concepts shared with the language encoder's neighbors of the predicted class; mutual information is then computed on discrete concept indices and its ablation-

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add multimodal descriptors to zero-shot classificationCLIP image classifiers · ImageNet validationtop-1 accuracy: +2.31 to +3.75 points for ResNets; +2.05 to +2.35 for ViTsHelped
use Optimal Transport to assign diverse textual concepts (ablation)Ours (PCA) visual concepts · ImageNet visual conceptsentropy: 1.70 -> 2.33Helped
use Optimal Transport to assign diverse textual concepts (ablation)Ours (K-means) visual concepts · ImageNet visual conceptsentropy: 1.70 -> 2.34Helped
add FCC and CRF after nearest-neighbor interpolation (ablation)CLIP ViT-B/32 · ImageNet validationzero-shot accuracy: 58.09 -> 58.22No clear effect
add FCC and CRF after nearest-neighbor interpolation (ablation)CLIP ViT-B/16 · ImageNet validationzero-shot accuracy: 64.40 -> 64.32No clear effect
add FCC and CRF after nearest-neighbor interpolation (ablation)CLIP ViT-L/14 · ImageNet validationzero-shot accuracy: 72.80 -> 72.79No clear effect
add FCC and CRF after nearest-neighbor interpolation (ablation)CLIP RN50 · ImageNet validationzero-shot accuracy: 54.41 -> 54.43No clear effect
add FCC and CRF after nearest-neighbor interpolation (ablation)CLIP RN101 · ImageNet validationzero-shot accuracy: 56.83 -> 56.87No clear effect
replace GPT-3.5 with GPT-4o-mini using prompt P1 (ablation)ViT-B/16 descriptor generation · ImageNet validationTop-1 accuracy: 67.93 -> 68.39Helped
use prompt P4 instead of P1 with GPT-4o-mini (ablation)ViT-B/16 descriptor generation · ImageNet validationTop-1 accuracy: 68.39 -> 68.56Helped
use K-means instead of PCA for visual concept extraction (ablation)multimodal explanations · ImageNet validationDeletion: 2.460 -> 2.422Helped
use PCA instead of K-means for visual concept extraction (ablation)multimodal explanations · ImageNet validationAccuracy Increase: 1.781 -> 1.849Helped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet Places365 Food101 WIT 400M DataComp DFN LAION-400M LAION-5B

Benchmarks: ImageNet validation Places365 Food101

Metrics: Insertion Deletion Accuracy Drop Accuracy Increase Top-1 accuracy Top-5 accuracy AUC of MI dynamics mutual information CorLoc entropy (concept diversity)

Baselines: MM-CBM MM-ProtoSim Feature Maps LF-CBM CLIP zero-shot with class descriptors (Menon & Vondrick style)

Builds on: CLIP Label-Free Concept Bottleneck Models ProtoSim Visual prompt engineering (red circle / blur) Sinkhorn-Knopp

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