atlas

Research map / Adversarial robustness and security / Backdoor and poisoning

Test-Time Multimodal Backdoor Detection by Contrastive Prompting

ICML 2025 · Adversarial robustness and security › Backdoor and poisoning · approach: Detecting poisoned samples · 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 BDetCLIP, a training-free test-time backdoor detector for CLIP that uses GPT-4-generated benign and malignant class prompts and the contrastive similarity difference between them to flag backdoored images.

Problem

Backdoored CLIP models produce tampered image embeddings for triggered inputs; existing defenses act at pre-training or fine-tuning and need costly parameter updates or white-box access, so a cheap, black-box inference-time detector is needed.

Approach

Backdoored image embeddings are insensitive to changes in class description texts. BDetCLIP generates benign class descriptions (GPT-4) and malignant class-plus-random-sentence prompts, then uses the summed difference in cosine similarity between each image and the two prompt types as a detection score, flagging low-difference images as backdoored.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use BDetCLIP instead of the strongest unimodal baseline, SCALE-UPCLIP test-time backdoor detection on ImageNet-1K multimodal attacks · ImageNet-1K, multimodal attacks (average)AUROC: 0.771 -> 0.938Helped
Use BDetCLIP instead of the strongest baseline, TeCoCLIP test-time backdoor detection on ImageNet-1K traditional attacks · ImageNet-1K, traditional attacks (average)AUROC: 0.934 -> 0.972Helped
Use BDetCLIP instead of TeCoCLIP backdoor detection on Food-101 · Food-101, BadNet and Blended (average)AUROC: 0.892 -> 0.959Helped
Use BDetCLIP instead of TeCoCLIP backdoor detection on Caltech-101 · Caltech-101, BadNet and Blended (average)AUROC: 0.775 -> 0.983Helped
Use 7 rather than 1 class-specific benign prompt (ablation)BDetCLIP · ImageNet-1K, BadNet/Blended/BadNet-LC/Blended-LCAUROC (average): 0.952 -> 0.980Helped
Use 7 rather than 3 class-specific benign prompts (ablation)BDetCLIP · ImageNet-1K, BadNet/Blended/BadNet-LC/Blended-LCAUROC (average): 0.972 -> 0.980Helped
Use 7 rather than 5 class-specific benign prompts (ablation)BDetCLIP · ImageNet-1K, BadNet/Blended/BadNet-LC/Blended-LCAUROC (average): 0.977 -> 0.980Helped
Allow malignant random sentences up to 20 rather than 10 words (ablation)BDetCLIP · ImageNet-1K, BadNet/Blended/BadNet-LC/Blended-LCAUROC (average): 0.979 -> 0.970Hurt
Allow malignant random sentences up to 30 rather than 10 words (ablation)BDetCLIP · ImageNet-1K, BadNet/Blended/BadNet-LC/Blended-LCAUROC (average): 0.979 -> 0.960Hurt
Replace GPT-4 prompt generation with open-source LLM prompt generationBDetCLIP · ImageNet-1K, BadNet and BlendedAUROC: GPT-4: 0.972, 0.983; Llama3-8B-Instruct: 0.947, 0.983; Mistral-7B-Instruct-v0.2: 0.983, 0.963Mixed
Use BDetCLIP rather than CleanCLIP defenseBackdoor defense evaluated on CleanCLIP's victim model · BadNet attackASR: 0.1046 -> 0.0011 ± 0.0003Helped
Use BDetCLIP rather than CleanCLIPBackdoor defense on BadCLIP · BadCLIPASR: 0.9196 -> 0.0444 ± 0.0110Helped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-1K Food-101 Caltech-101 CC3M

Benchmarks: ImageNet-1K Food-101 Caltech-101 STL-10

Metrics: AUROC accuracy recall F1 inference time ASR

Baselines: STRIP SCALE-UP TeCo CleanCLIP CleanerCLIP PAR RoCLIP

Builds on: CLIP CleanCLIP SCALE-UP TeCo STRIP

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