Region-Level Black-Box Defense Against Stealthy Embedding-Space Backdoors in CLIP
On the map: LLM safety and security → Vision-language and text-to-image safety also fits: Backdoor and data poisoning attacks
Abstract (arXiv)
Contrastive Language--Image Pretraining (CLIP) has emerged as a dominant vision backbone due to its strong transferability and zero-shot capabilities. However, recent studies reveal a critical vulnerability: embedding-space backdoor attacks. By poisoning only a tiny fraction of image--text pairs, adversaries can implant stealthy triggers that induce targeted shifts in CLIP's joint embedding space. Unlike conventional backdoors that manipulate classifier logits, these attacks corrupt representations directly, making them highly effective under extremely low poisoning ratios and difficult to detect. Existing defenses require access to model parameters, gradients, logits, or clean validation data---assumptions that rarely hold in realistic black-box deployments. Moreover, current black-box methods struggle to accurately localize small or out-of-distribution triggers. We propose CLIPGuard, a lightweight and fully black-box defense specifically designed to mitigate embedding-space backdoors in CLIP encoders. CLIPGuard identifies malicious regions by measuring segment-wise embedding perturbations and selectively purifies only suspicious segments via semantic inpainting, preserving benign visual content and alignment quality. Extensive experiments on STL-10, ImageNet, and diverse trigger families---including BadCLIP, BadNets, blended, patch-based, and typographic attacks---demonstrate that CLIPGuard reduces attack success rates to as low as 1.05% while maintaining clean accuracy up to 86.34%, consistently outperforming existing black-box defenses, including CleanCLIP and CleanerCLIP. Our code is available https://github.com/wsu-cyber-security-lab-ai/CLIPGuard.git
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Vision-language and text-to-image safety, one of 12 directions in LLM safety and security. Builds on 23 of its 32 references that are in the map. First posted on arXiv 25 Sep 2026.
Builds on
23 of 32 references.
Closest ancestors · 2
Same direction, newest first
- 2024A Survey of Attacks on Large Vision-Language Models: Resources, Advances, and Future Trends10 Jul
- 2023FigStep: Jailbreaking Large Vision-Language Models via Typographic Visual Prompts9 Nov
Other references · 21
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2023Segment Anythingcited by 8,234
- 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,322
- 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,106
- 2017Targeted Backdoor Attacks on Deep Learning Systems Using Data Poisoningcited by 1,055
- 2019Label-Consistent Backdoor Attackscited by 296
- 2020Backdoor Attacks Against Deep Learning Systems in the Physical Worldcited by 134
- 2023BadCLIP: Dual-Embedding Guided Backdoor Attack on Multimodal Contrastive Learningcited by 115
- 2023CleanCLIP: Mitigating Data Poisoning Attacks in Multimodal Contrastive Learningcited by 63
- 2023Detecting Backdoors in Pre-trained Encoderscited by 55
- 2023Black-box Backdoor Defense via Zero-shot Image Purificationcited by 45
9 more
- 2021Poisoning the Unlabeled Dataset of Semi-Supervised Learningcited by 44
- 2021Dual-Key Multimodal Backdoors for Visual Question Answeringcited by 37
- 2024Generalized Out-of-Distribution Detection and Beyond in Vision Language Model Era: A Surveycited by 36
- 2023Robust Contrastive Language-Image Pre-training against Data Poisoning and Backdoor Attackscited by 31
- 2023Defense-Prefix for Preventing Typographic Attacks on CLIPcited by 24
- 2024CleanerCLIP: Fine-grained Counterfactual Semantic Augmentation for Backdoor Defense in Contrastive Learningcited by 13
- 2025SCAM: A Real-World Typographic Robustness Evaluation for Multimodal Foundation Modelscited by 13
- 2024Adversarial Backdoor Defense in CLIPcited by 10
- 2024Perturb and Recover: Fine-tuning for Effective Backdoor Removal from CLIPcited by 4
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Detecting Backdoor Samples in Contrastive Language Image Pretraining
- 2025Neural Antidote: Class-Wise Prompt Tuning for Purifying Backdoors in CLIP
- 2023BadCLIP: Trigger-Aware Prompt Learning for Backdoor Attacks on CLIP
- 2026Beyond Native Success: Auditing Deployment-Interface Exposure of CLIP Backdoors
- 2024Test-Time Multimodal Backdoor Detection by Contrastive Prompting
- 2023Better Safe than Sorry: Pre-training CLIP against Targeted Data Poisoning and Backdoor Attacks
- 2024Defending Multimodal Backdoored Models by Repulsive Visual Prompt Tuning
- 2026Beyond Small Patches: Black-Box Detection and Purification of Diverse Backdoor Triggers