CVNov 26, 2023

BadCLIP: Trigger-Aware Prompt Learning for Backdoor Attacks on CLIP

arXiv:2311.16194v277 citationsh-index: 16
Originality Incremental advance
AI Analysis

This addresses security vulnerabilities in CLIP models for applications relying on vision-language AI, but it is incremental as it builds on existing prompt learning and backdoor attack techniques.

The paper tackles the problem of backdoor attacks on CLIP models in data-limited scenarios by proposing BadCLIP, a method that injects backdoors during prompt learning using a trigger-aware mechanism, achieving over 99% attack success rate on 11 datasets while maintaining clean accuracy similar to advanced prompt learning methods.

Contrastive Vision-Language Pre-training, known as CLIP, has shown promising effectiveness in addressing downstream image recognition tasks. However, recent works revealed that the CLIP model can be implanted with a downstream-oriented backdoor. On downstream tasks, one victim model performs well on clean samples but predicts a specific target class whenever a specific trigger is present. For injecting a backdoor, existing attacks depend on a large amount of additional data to maliciously fine-tune the entire pre-trained CLIP model, which makes them inapplicable to data-limited scenarios. In this work, motivated by the recent success of learnable prompts, we address this problem by injecting a backdoor into the CLIP model in the prompt learning stage. Our method named BadCLIP is built on a novel and effective mechanism in backdoor attacks on CLIP, i.e., influencing both the image and text encoders with the trigger. It consists of a learnable trigger applied to images and a trigger-aware context generator, such that the trigger can change text features via trigger-aware prompts, resulting in a powerful and generalizable attack. Extensive experiments conducted on 11 datasets verify that the clean accuracy of BadCLIP is similar to those of advanced prompt learning methods and the attack success rate is higher than 99% in most cases. BadCLIP is also generalizable to unseen classes, and shows a strong generalization capability under cross-dataset and cross-domain settings.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes