Skip to content

BadCLIP: Trigger-aware prompt learning for CLIP backdoor attacksBadCLIP: Trigger-Aware Prompt Learning for Backdoor Attacks on CLIP

arXiv· arXiv:2311.16194· CVPR 2024· Jiawang Bai, Kuofeng Gao, Shaobo Min, Shu-Tao Xia, Zhifeng Li, Wei Liu·Indexed by this site · 24 days ago· Originally publishedAttacks
AI summary

The researchers propose BadCLIP, which injects a backdoor into the CLIP model during the prompt learning stage. In this type of downstream backdoor attack, the victim model performs normally on clean samples, but samples carrying a specific trigger are predicted as a specified target class. Existing attacks rely on large amounts of additional data to maliciously fine-tune the entire pretrained CLIP model, making them unsuitable for data-limited scenarios; BadCLIP makes the trigger affect both the image and text encoders, consisting of a learnable trigger applied to images and a trigger-aware context generator, where the trigger can change text features via trigger-aware prompts. Experiments on 11 datasets show that its clean-sample accuracy is comparable to advanced prompt learning methods, its attack success rate exceeds 99% in most cases, and it generalizes to unseen classes and cross-dataset, cross-domain settings.

Read originalCVPR 2024