mlsanityData to 7 Oct 2026

Neural Antidote: Class-Wise Prompt Tuning for Purifying Backdoors in CLIP

arXiv 2502.19269 ↗First posted 26 Feb 2025cs.CVcited by 0

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

  1. 2024One Perturbation is Enough: On Generating Universal Adversarial Perturbations against Vision-Language Pre-training Models8 Jun
  2. 2024One Prompt Word is Enough to Boost Adversarial Robustness for Pre-trained Vision-Language Models4 Mar
  3. 2023BadCLIP: Trigger-Aware Prompt Learning for Backdoor Attacks on CLIP26 Nov
  4. 2023Robust Contrastive Language-Image Pre-training against Data Poisoning and Backdoor Attacks13 Mar

Other references · 38

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
  3. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  4. 2021Learning to Prompt for Vision-Language Modelscited by 2,269
  5. 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
  6. 2021Align before Fuse: Vision and Language Representation Learning with Momentum Distillationcited by 1,612
  7. 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,507
  8. 2022Conditional Prompt Learning for Vision-Language Modelscited by 1,427
  9. 2019Natural Adversarial Examplescited by 1,401
  10. 2017Targeted Backdoor Attacks on Deep Learning Systems Using Data Poisoningcited by 1,012
  11. 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,010
  12. 2018Fine-Pruning: Defending Against Backdooring Attacks on Deep Neural Networkscited by 550
26 more
  1. 2020Invisible Backdoor Attack with Sample-Specific Triggerscited by 338
  2. 2021Neural Attention Distillation: Erasing Backdoor Triggers from Deep Neural Networkscited by 313
  3. 2019A new Backdoor Attack in CNNs by training set corruption without label poisoningcited by 237
  4. 2021Adversarial Neuron Pruning Purifies Backdoored Deep Modelscited by 230
  5. 2022Vision-Language Pre-Training with Triple Contrastive Learningcited by 212
  6. 2022ZegCLIP: Towards Adapting CLIP for Zero-shot Semantic Segmentationcited by 178
  7. 2021Adversarial Unlearning of Backdoors via Implicit Hypergradientcited by 160
  8. 2022Backdoor Defense via Decoupling the Training Processcited by 149
  9. 2023BadCLIP: Dual-Embedding Guided Backdoor Attack on Multimodal Contrastive Learningcited by 112
  10. 2019Learning to Compose and Reason with Language Tree Structures for Visual Groundingcited by 98
  11. 2020Practical Detection of Trojan Neural Networks: Data-Limited and Data-Free Casescited by 93
  12. 2023GALIP: Generative Adversarial CLIPs for Text-to-Image Synthesiscited by 84
  13. 2016A Comprehensive Survey on Cross-modal Retrievalcited by 62
  14. 2023CleanCLIP: Mitigating Data Poisoning Attacks in Multimodal Contrastive Learningcited by 62
  15. 2023Reconstructive Neuron Pruning for Backdoor Defensecited by 56
  16. 2023GIFD: A Generative Gradient Inversion Method with Feature Domain Optimizationcited by 45
  17. 2023A Sentence Speaks a Thousand Images: Domain Generalization through Distilling CLIP with Language Guidancecited by 40
  18. 2021Dual-Key Multimodal Backdoors for Visual Question Answeringcited by 35
  19. 2023Neural Polarizer: A Lightweight and Effective Backdoor Defense via Purifying Poisoned Featurescited by 35
  20. 2024Privacy Leakage on DNNs: A Survey of Model Inversion Attacks and Defensescited by 30
  21. 2023Better Safe than Sorry: Pre-training CLIP against Targeted Data Poisoning and Backdoor Attackscited by 19
  22. 2024CLIP-Guided Generative Networks for Transferable Targeted Adversarial Attackscited by 19
  23. 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
  24. 2024GI-NAS: Boosting Gradient Inversion Attacks Through Adaptive Neural Architecture Searchcited by 13
  25. 2018Robust Classification of Financial Riskcited by 8
  26. 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

  1. 2024Proactive Adversarial Defense: Harnessing Prompt Tuning in Vision-Language Models to Detect Unseen Backdoored Images
  2. 2024Perturb and Recover: Fine-tuning for Effective Backdoor Removal from CLIP
  3. 2025BackdoorVLM: A Benchmark for Backdoor Attacks and Defenses on Vision-Language Models
  4. 2025Robust Anti-Backdoor Instruction Tuning in LVLMs
  5. 2026Backdoor as Probe: Test-Time Adversarial Defense for CLIP
  6. 2025Assimilation Matters: Model-level Backdoor Detection in Vision-Language Pretrained Models
  7. 2024Revisiting Backdoor Attacks against Large Vision-Language Models from Domain Shift
  8. 2026BYORn: Bootstrap Your Own Responses to Defend Large Vision-Language Models Against Backdoor Attacks