atlas

Research map / Adversarial robustness and security / Backdoor and poisoning

Better Safe than Sorry: Pre-training CLIP against Targeted Data Poisoning and Backdoor Attacks

ICML 2024 · Adversarial robustness and security › Backdoor and poisoning · approach: Backdoors in large multimodal models · 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 SafeClip, a CLIP pre-training defense that warms up with unimodal contrastive learning, applies a low-learning-rate CLIP pass, then splits data via a GMM on cosine similarity into safe (CLIP loss) and risky (unimodal CL) sets, growing the safe set over time.

Problem

CLIP pre-training is highly vulnerable to targeted data poisoning and backdoor attacks, and existing pre-training defenses (RoCLIP) cause notable downstream performance loss while cleaning methods are not applicable during pre-training.

Approach

Use unimodal contrastive warmup to push poisoned images away from adversarial captions, a single low-LR CLIP pass to align pairs, then a GMM on image-caption cosine similarity to train CLIP loss only on a gradually growing high-similarity safe set while applying unimodal CL (with nearest-neighbor positives) to the risky set.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
apply SafeCLIP pre-training instead of standard CLIPCLIP · CC1M TDPAASR: 93.75% -> 0%Helped
apply SafeCLIP pre-training instead of standard CLIPCLIP · CC3M Blended backdoorASR: 100% -> 0.3%Helped
apply SafeCLIP pre-training instead of standard CLIPCLIP · MSCOCO TDPAASR: 62.5% -> 0%Helped
replace RoCLIP with SafeCLIPCLIP pre-training · Visual Genome TDPAASR: 37.5% -> 0%Helped
use SafeCLIP rather than RoCLIPCLIP · CC3M downstream linear probe, average over 10 datasetsaverage improvement: -8.3 -> +0.5Helped
use SafeCLIP rather than RoCLIPCLIP · CC3M downstream zero-shot, average over 10 datasetsaverage improvement: -9.7 -> +0.9Helped
use 1 rather than 5 unimodal CL warmup epochs (ablation)SafeCLIP · CC1M safe set after warmuppoison rate: 0.09% -> 1%Hurt
increase unimodal CL warmup from 5 to 10 epochs (ablation)SafeCLIP · CC1M safe set after warmuppoison rate: 0.09% -> 0.03%Helped
omit the low-learning-rate CLIP epoch (ablation)SafeCLIP · CC1M safe set after warmuppoison rate: 0.09% -> 12.28%Hurt
apply one additional low-learning-rate CLIP epoch (ablation)SafeCLIP · CC1M safe set after warmuppoison rate: 0.09% -> 6.8%Hurt
omit unimodal CL on the risky set (ablation)SafeCLIP · TDPA on CC1M, MSCOCO, and Visual GenomeASR: 0% -> 12.5%Hurt
remove the nearest-neighbor pool from unimodal CL (ablation)SafeCLIP · TDPA on CC1M, MSCOCO, and Visual GenomeASR: 0% -> 12.5% (CC1M); 0% -> 25.0% (MSCOCO and VG)Hurt

Surprising findings

Limitations

Experimental setup

Baselines: CLIP RoCLIP

Builds on: CLIP NNCLR RoCLIP CleanCLIP SimCLR

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