atlas

Research map / Adversarial robustness and security / Attacks on text and graphs

CLIPure: Purification in Latent Space via CLIP for Adversarially Robust Zero-Shot Classification

ICLR 2025 · Adversarial robustness and security › Attacks on text and graphs · approach: Vision-language model robustness · 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.

Proposes CLIPure, which purifies adversarial image embeddings in CLIP's multi-modal latent space (via a DaLLE-2 diffusion prior or a training-free cosine-similarity likelihood) to get adversarially robust zero-shot classification.

Problem

Zero-shot image classifiers like CLIP are highly vulnerable to adversarial attacks, and existing defenses either adversarially train (hurting clean accuracy and generalizing poorly to unseen attacks) or run pixel-space diffusion purification (slow and less robust).

Approach

Formulate purification risk as a KL divergence between forward attack and reverse purification SDE joint distributions, and conclude that purifying in CLIP's multi-modal latent space with unit-vector normalization lowers that risk; CLIPure-Cos uses cosine similarity to a blank template as the likelihood, avoiding generative models.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use cosine similarity instead of DiffusionPrior for CLIP latent-space purification (ablation)CLIPure · CIFAR-10, AutoAttack ℓ∞=8/255robust accuracy: 88.0 -> 91.1Helped
Use cosine similarity instead of DiffusionPrior for CLIP latent-space purification (ablation)CLIPure · ImageNet, AutoAttack ℓ∞=4/255robust accuracy: 65.0 -> 72.6Helped
Use cosine similarity instead of DiffusionPrior for CLIP latent-space purification (ablation)CLIPure · 13 zero-shot datasets, AutoAttack ℓ∞=2/255average robust accuracy: 64.0 -> 68.8Helped
Use cosine similarity instead of DiffusionPrior for CLIP latent-space purification (ablation)CLIPure · 13 zero-shot datasets, AutoAttack ℓ∞=4/255average robust accuracy: 63.3 -> 67.4Helped
Normalize image embeddings to unit vectors during purification (ablation)CLIPure · ImageNetrobust accuracyHelped
Use CLIPA ViT-H-14 instead of the standard CLIP backbone (ablation)CLIPure-Cos · ImageNet, AutoAttack ℓ∞=4/255robust accuracy: 74.4 -> 79.3Helped

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR-10 ImageNet CalTech101 StanfordCars CIFAR100 DTD EuroSAT FGVC Aircraft Flowers ImageNet-R ImageNet-S PCAM

Benchmarks: CIFAR-10 ImageNet CalTech101 StanfordCars CIFAR100 DTD EuroSAT FGVC Aircraft Flowers ImageNet-R ImageNet-S PCAM

Metrics: clean accuracy robust accuracy average zero-shot robustness inference time

Baselines: DiffPure LM-EDM FARE TeCoA AT-DDPM AT-EDM MixedNUTS LM-StableDiffusion DiffPure-DaLLE2.Decoder LM-DaLLE2.Decoder

Builds on: CLIP DaLLE-2 DiffPure likelihood maximization Score SDE

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