Backdooring CLIP through Concept Confusion
Lijie Hu, Junchi Liao, Weimin Lyu, Shaopeng Fu, Tianhao Huang, Shu Yang, Guimin Hu, Di Wang
TL;DR
The paper identifies a security vulnerability in CLIP by shifting backdoor attacks from input-space triggers to internal concept representations. It introduces the Concept Confusion Attack ($C^2$Attack), which relabels images that strongly exhibit a chosen concept to a target class, embedding the trigger in the model’s reasoning rather than the input. Through theoretical analysis and extensive experiments on CIFAR-10, CIFAR-100, and Tiny-ImageNet with multiple CLIP ViT architectures, the approach achieves high attack success rates while preserving clean accuracy and evading input-based defenses. The work highlights a critical blind spot in current defenses and motivates developing strategies that monitor and mitigate concept-level vulnerabilities in multimodal foundation models.
Abstract
Backdoor attacks pose a serious threat to deep learning models by allowing adversaries to implant hidden behaviors that remain dormant on clean inputs but are maliciously triggered at inference. Existing backdoor attack methods typically rely on explicit triggers such as image patches or pixel perturbations, which makes them easier to detect and limits their applicability in complex settings. To address this limitation, we take a different perspective by analyzing backdoor attacks through the lens of concept-level reasoning, drawing on insights from interpretable AI. We show that traditional attacks can be viewed as implicitly manipulating the concepts activated within a model's latent space. This motivates a natural question: can backdoors be built by directly manipulating concepts? To answer this, we propose the Concept Confusion Attack (CCA), a novel framework that designates human-understandable concepts as internal triggers, eliminating the need for explicit input modifications. By relabeling images that strongly exhibit a chosen concept and fine-tuning on this mixed dataset, CCA teaches the model to associate the concept itself with the attacker's target label. Consequently, the presence of the concept alone is sufficient to activate the backdoor, making the attack stealthier and more resistant to existing defenses. Using CLIP as a case study, we show that CCA achieves high attack success rates while preserving clean-task accuracy and evading state-of-the-art defenses.
