atlas

Research map / Label-efficient and robust learning / Recognition and long-tail

Interpreting CLIP with Sparse Linear Concept Embeddings (SpLiCE)

NeurIPS 2024 · Label-efficient and robust learning › Recognition and long-tail · approach: Prototype and concept dictionary models · 13 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 SpLiCE, a training-free, task-agnostic method that decomposes dense CLIP embeddings into sparse nonnegative combinations of a LAION-derived 1- and 2-word concept vocabulary via a lasso-style sparse recovery with modality alignment.

Problem

CLIP embeddings are dense and uninterpretable, making it hard to know what semantic content they encode and to use them transparently in downstream applications.

Approach

Approximate CLIP image embeddings as sparse, nonnegative linear combinations of a large overcomplete, task-agnostic dictionary of CLIP text embeddings of common LAION words/bigrams, after mean-centering image and text embeddings to align modalities; solved with an l1-relaxed nonnegative lasso, requiring no training.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use SpLiCE with sparsity 20-35 instead of dense CLIPOpenCLIP ViT-B/32 zero-shot classification · Caltech101zero-shot accuracy: 0.90 -> 0.86Hurt
Use SpLiCE with sparsity 20-35 instead of dense CLIPOpenCLIP ViT-B/32 zero-shot classification · SUN397zero-shot accuracy: 0.67 -> 0.66Hurt
Use SpLiCE with sparsity 20-35 instead of dense CLIPOpenCLIP ViT-B/32 zero-shot classification · STL10zero-shot accuracy: 0.96 -> 0.96No clear effect
Use SpLiCE with sparsity 20-35 instead of dense CLIPOpenCLIP ViT-B/32 zero-shot classification · VOC 2007zero-shot accuracy: 0.92 -> 0.83Hurt
Increase SpLiCE decomposition sparsity to 512 (ablation)SpLiCE · CIFAR100zero-shot accuracy: 0.750 -> 0.768Helped
Zero out the eyewear/glasses concept in SpLiCE representations (ablation)ZS SpLiCE · CelebAzero-shot accuracy (Glasses): 0.88 -> 0.69Hurt
Zero out the eyewear/glasses concept in SpLiCE representations (ablation)ZS SpLiCE · CelebAzero-shot accuracy (Gender): 0.97 -> 0.96Hurt
Train the probe on SpLiCE rather than dense CLIP embeddingsCIFAR100 linear probing · CIFAR100probe accuracy: 0.97 -> 0.95Hurt
Train the probe on SpLiCE rather than dense CLIP embeddingsMIT States linear probing · MIT Statesprobe accuracy: 0.883 -> 0.883No clear effect
Replace the LAION task-agnostic dictionary with an LLM-generated concept dictionary (ablation)SpLiCE · CIFAR100zero-shot accuracyHurt
Replace the LAION task-agnostic dictionary with an LLM-generated concept dictionary (ablation)SpLiCE · CIFAR100cosine reconstructionHurt
Allow negative concept weights (ablation)SpLiCE · CIFAR100cosine reconstructionHelped

Surprising findings

Limitations

Experimental setup

Datasets: LAION-400m captions (concept vocabulary) MSCOCO (modality alignment mean, evaluation) CIFAR100 MIT States CelebA ImageNet validation Waterbirds Stanford Cars

Benchmarks: CIFAR100 MIT States ImageNet MSCOCO CelebA Caltech101 SUN397 STL10 VOC2007 Waterbirds

Metrics: zero-shot accuracy cosine similarity reconstruction linear probe accuracy retrieval recall@k semantic relevance (Hausdorff distance) user study Likert ratings worst-group accuracy

Baselines: LF-CBM IP-OMP random dictionary learned dictionary (FISTA) LLM-generated concept dictionary

Builds on: CLIP linear representation hypothesis modality gap concept bottleneck models LF-CBM

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