atlas

Research map / Adversarial robustness and security / Backdoor and poisoning

Not All Prompts Are Secure: A Switchable Backdoor Attack Against Pre-trained Vision Transfomers

CVPR 2024 · Adversarial robustness and security › Backdoor and poisoning · approach: Backdoors in large multimodal models · 9 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 SWARM, a switchable backdoor attack on visual prompt tuning of pre-trained ViTs where an extra switch token toggles between a clean mode and a backdoor mode, achieving ~97.9% average ASR on VTAB-1k.

Problem

Visual prompting (prompt tuning of frozen pre-trained vision transformers) exposes a security risk from malicious cloud providers, but backdoor threats to visual prompts are unexplored; backdoors must also stay hidden in benign mode and resist detection and mitigation.

Approach

Add a single learnable switch token to the visual prompts: without it the model behaves cleanly even on triggered inputs, with it a trigger forces a target class. Training alternates a clean loss (clean prompts and trigger), a backdoor loss (switch token and trigger, clean prompts frozen), and a cross-mode feature distillation loss that aligns features with and without the switch token.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add the switch token (ablation)SWARM · CIFAR-100BA: 36.64 -> 76.36Helped
Add the switch token (ablation)SWARM · CIFAR-100ASR: 66.38 -> 96.96Helped
Add the switch token (ablation)SWARM · FlowersASR: 70.28 -> 96.99Helped
Add the switch token (ablation)SWARM · PetsASR: 68.68 -> 98.53Helped
Add cross-mode feature distillation loss (ablation)SWARM · CIFAR-100BA in backdoor mode: 69.75 -> 76.36Helped
Add cross-mode feature distillation loss (ablation)SWARM · FlowersBA in backdoor mode: 91.09 -> 93.53Helped
Add cross-mode feature distillation loss (ablation)SWARM · PetsBA in backdoor mode: 82.37 -> 86.02Helped
Increase the number of switch tokens beyond one (ablation)SWARM · CIFAR-100, Flowers, PetsaccuracyNo clear effect
Vary λ up to 200 (ablation)SWARM · CIFAR-100, Flowers, PetsaccuracyNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: VTAB-1k ImageNet-21K

Benchmarks: VTAB-1k CIFAR-100 Caltech101 EuroSAT DMLab

Metrics: benign accuracy attack success rate AUROC ASR-D

Baselines: BadNets Blended WaNet ISSBA

Builds on: Visual Prompt Tuning (VPT) BadNets Blended WaNet ISSBA

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