Neural Antidote: Class-Wise Prompt Tuning for Purifying Backdoors in CLIP
On the map: Multimodal LLMs / vision-language models → MLLM jailbreaks and adversarial robustness
also in 1 more
Abstract (arXiv)
While pre-trained Vision-Language Models (VLMs) such as CLIP exhibit impressive representational capabilities for multimodal data, recent studies have revealed their vulnerability to backdoor attacks. To alleviate the threat, existing defense strategies primarily focus on fine-tuning the entire suspicious model. However, the substantial model parameters increase the difficulty of reaching a stable and consistent optimization direction, limiting their resistance against state-of-the-art attacks and often resulting in a degradation of clean accuracy. To address this challenge, we propose Class-wise Backdoor Prompt Tuning (CBPT), an efficient and effective defense mechanism that operates on text prompts to indirectly purify poisoned CLIP. Specifically, we first employ the advanced contrastive learning via carefully crafted positive and negative samples, to effectively invert the backdoor triggers that are potentially adopted by the attacker. Once the dummy trigger is established, we leverage three well-designed loss functions to optimize these class-wise text prompts, modifying the model's decision boundary and further reclassifying the feature regions affected by backdoor triggers. Extensive experiments demonstrate that CBPT significantly mitigates backdoor threats while preserving model utility, e.g. an average Clean Accuracy (CA) of 58.83% and an Attack Success Rate (ASR) of 0.39% across seven mainstream backdoor attacks. These results underscore the superiority of our prompt purifying design to strengthen CLIP's robustness against backdoor attacks.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in MLLM jailbreaks and adversarial robustness, one of 16 directions in Multimodal LLMs / vision-language models. Builds on 42 of its 59 references that are in the map. First posted on arXiv 26 Feb 2025.
Builds on
42 of 59 references.
Closest ancestors · 4
Same direction, newest first
- 2024One Perturbation is Enough: On Generating Universal Adversarial Perturbations against Vision-Language Pre-training Models8 Jun
- 2024One Prompt Word is Enough to Boost Adversarial Robustness for Pre-trained Vision-Language Models4 Mar
- 2023BadCLIP: Trigger-Aware Prompt Learning for Backdoor Attacks on CLIP26 Nov
- 2023Robust Contrastive Language-Image Pre-training against Data Poisoning and Backdoor Attacks13 Mar
Other references · 38
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
- 2021Learning to Prompt for Vision-Language Modelscited by 2,269
- 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
- 2021Align before Fuse: Vision and Language Representation Learning with Momentum Distillationcited by 1,612
- 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,507
- 2022Conditional Prompt Learning for Vision-Language Modelscited by 1,427
- 2019Natural Adversarial Examplescited by 1,401
- 2017Targeted Backdoor Attacks on Deep Learning Systems Using Data Poisoningcited by 1,012
- 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,010
- 2018Fine-Pruning: Defending Against Backdooring Attacks on Deep Neural Networkscited by 550
26 more
- 2020Invisible Backdoor Attack with Sample-Specific Triggerscited by 338
- 2021Neural Attention Distillation: Erasing Backdoor Triggers from Deep Neural Networkscited by 313
- 2019A new Backdoor Attack in CNNs by training set corruption without label poisoningcited by 237
- 2021Adversarial Neuron Pruning Purifies Backdoored Deep Modelscited by 230
- 2022Vision-Language Pre-Training with Triple Contrastive Learningcited by 212
- 2022ZegCLIP: Towards Adapting CLIP for Zero-shot Semantic Segmentationcited by 178
- 2021Adversarial Unlearning of Backdoors via Implicit Hypergradientcited by 160
- 2022Backdoor Defense via Decoupling the Training Processcited by 149
- 2023BadCLIP: Dual-Embedding Guided Backdoor Attack on Multimodal Contrastive Learningcited by 112
- 2019Learning to Compose and Reason with Language Tree Structures for Visual Groundingcited by 98
- 2020Practical Detection of Trojan Neural Networks: Data-Limited and Data-Free Casescited by 93
- 2023GALIP: Generative Adversarial CLIPs for Text-to-Image Synthesiscited by 84
- 2016A Comprehensive Survey on Cross-modal Retrievalcited by 62
- 2023CleanCLIP: Mitigating Data Poisoning Attacks in Multimodal Contrastive Learningcited by 62
- 2023Reconstructive Neuron Pruning for Backdoor Defensecited by 56
- 2023GIFD: A Generative Gradient Inversion Method with Feature Domain Optimizationcited by 45
- 2023A Sentence Speaks a Thousand Images: Domain Generalization through Distilling CLIP with Language Guidancecited by 40
- 2021Dual-Key Multimodal Backdoors for Visual Question Answeringcited by 35
- 2023Neural Polarizer: A Lightweight and Effective Backdoor Defense via Purifying Poisoned Featurescited by 35
- 2024Privacy Leakage on DNNs: A Survey of Model Inversion Attacks and Defensescited by 30
- 2023Better Safe than Sorry: Pre-training CLIP against Targeted Data Poisoning and Backdoor Attackscited by 19
- 2024CLIP-Guided Generative Networks for Transferable Targeted Adversarial Attackscited by 19
- 2024A Cat Is A Cat (Not A Dog!): Unraveling Information Mix-ups in Text-to-Image Encoders through Causal Analysis and Embedding Optimizationcited by 19
- 2024GI-NAS: Boosting Gradient Inversion Attacks Through Adaptive Neural Architecture Searchcited by 13
- 2018Robust Classification of Financial Riskcited by 8
- 2025Retrievals Can Be Detrimental: Unveiling the Backdoor Vulnerability of Retrieval-Augmented Diffusion Modelscited by 5
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024Proactive Adversarial Defense: Harnessing Prompt Tuning in Vision-Language Models to Detect Unseen Backdoored Images
- 2024Perturb and Recover: Fine-tuning for Effective Backdoor Removal from CLIP
- 2025BackdoorVLM: A Benchmark for Backdoor Attacks and Defenses on Vision-Language Models
- 2025Robust Anti-Backdoor Instruction Tuning in LVLMs
- 2026Backdoor as Probe: Test-Time Adversarial Defense for CLIP
- 2025Assimilation Matters: Model-level Backdoor Detection in Vision-Language Pretrained Models
- 2024Revisiting Backdoor Attacks against Large Vision-Language Models from Domain Shift
- 2026BYORn: Bootstrap Your Own Responses to Defend Large Vision-Language Models Against Backdoor Attacks