atlas

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

Robust CLIP: Unsupervised Adversarial Fine-Tuning of Vision Embeddings for Robust Large Vision-Language Models

ICML 2024 · Vision-language and multimodal › CLIP and zero-shot · approach: Fine-grained improvements to CLIP · 6 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 FARE, an unsupervised adversarial fine-tuning of the CLIP ViT-L/14 vision encoder that preserves original embeddings so robustness transfers to LVLMs (OpenFlamingo, LLaVA) and zero-shot classification without retraining the downstream models.

Problem

Frozen CLIP vision encoders used in large vision-language models are highly vulnerable to adversarial image perturbations, enabling stealthy targeted attacks, misinformation and jailbreaks; existing supervised robust CLIP (TeCoA) degrades clean and zero-shot performance.

Approach

Fine-tune the CLIP image encoder without labels by minimizing the worst-case squared L2 distance between adversarial and original CLIP embeddings (feature-preserving adversarial training), so the robust encoder can be plugged into existing LVLMs and zero-shot classifiers without retraining downstream components.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace supervised TeCoA fine-tuning with unsupervised FARE at ε=2/255OpenFlamingo-9B with CLIP ViT-L/14 · average over COCO, Flickr30k, TextVQA, VQAv2clean average score: 46.4 -> 51.4Helped
replace supervised TeCoA fine-tuning with unsupervised FARE at ε=2/255LLaVA-1.5-7B with CLIP ViT-L/14 · average over COCO, Flickr30k, TextVQA, VQAv2clean average score: 61.6 -> 71.1Helped
train FARE at ε=4/255 rather than ε=2/255LLaVA-1.5-7B with CLIP ViT-L/14 · average over COCO, Flickr30k, TextVQA, VQAv2, ε=4/255 evaluationaverage score: 20.1 -> 26.3Helped
use FARE² instead of TeCoA²CLIP ViT-L/14 zero-shot classification · average over 13 zero-shot datasets, cleanaccuracy: 60.0 -> 67.0Helped
use FARE⁴ instead of TeCoA⁴CLIP ViT-L/14 zero-shot classification · average over 13 zero-shot datasets, ε=2/255accuracy: 42.3 -> 45.9Helped
use FARE⁴ instead of TeCoA⁴CLIP ViT-L/14 zero-shot classification · average over 13 zero-shot datasets, ε=4/255accuracy: 31.9 -> 32.4Helped
use FARE² instead of TeCoA²LLaVA-1.5-7B · POPE meanF1-score: 75.9 -> 80.8Helped
use FARE² instead of TeCoA²LLaVA-1.5-7B · SQA-Iaccuracy: 61.1 -> 63.4Helped
replace CLIP with FARE²LLaVA-1.5-7B · targeted attack at ε=2/255mean attack success rate: 100% -> 0%Helped
replace CLIP with FARE⁴LLaVA-1.5-7B · targeted attack at ε=4/255mean attack success rate: 100% -> 0%Helped
increase LR from 1e-5 to 1e-4 (ablation)ViT-B/32 FARE · average zero-shot cleanaccuracy: 48.6 -> 44.4Hurt
increase LR from 1e-5 to 1e-4 (ablation)ViT-B/32 FARE · ImageNet adversarial evaluation at ε=2/255 and ε=4/255accuracy: 29.6 -> 34.2; 14.8 -> 20.2Helped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet

Benchmarks: COCO Flickr30k TextVQA VQAv2 ImageNet zero-shot suite (13 datasets) POPE SQA-I stealthy targeted attacks on LLaVA jailbreaking attack

Metrics: CIDEr VQA accuracy clean accuracy robust accuracy F1-score attack success rate

Baselines: TeCoA original CLIP

Builds on: CLIP TeCoA PGD adversarial training AutoAttack

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