mlsanityData to 14 Oct 2026

CleanerCLIP: Fine-grained Counterfactual Semantic Augmentation for Backdoor Defense in Contrastive Learning

arXiv 2409.17601 ↗First posted 26 Sep 2024cs.CV cs.AIcited by 13

On the map: LLM safety and security → Backdoor and data poisoning attacks

Abstract (arXiv)

Pre-trained large models for multimodal contrastive learning, such as CLIP, have been widely recognized in the industry as highly susceptible to data-poisoned backdoor attacks. This poses significant risks to downstream model training. In response to such potential threats, finetuning offers a simpler and more efficient defense choice compared to retraining large models with augmented data. In the supervised learning domain, fine-tuning defense strategies can achieve excellent defense performance. However, in the unsupervised and semi-supervised domain, we find that when CLIP faces some complex attack techniques, the existing fine-tuning defense strategy, CleanCLIP, has some limitations on defense performance. The synonym substitution of its text-augmentation is insufficient to enhance the text feature space. To compensate for this weakness, we improve it by proposing a fine-grained Text Alignment Cleaner (TA-Cleaner) to cut off feature connections of backdoor triggers. We randomly select a few samples for positive and negative subtext generation at each epoch of CleanCLIP, and align the subtexts to the images to strengthen the text self-supervision. We evaluate the effectiveness of our TA-Cleaner against six attack algorithms and conduct comprehensive zero-shot classification tests on ImageNet1K. Our experimental results demonstrate that TA-Cleaner achieves state-of-the-art defensiveness among finetuning-based defense techniques. Even when faced with the novel attack technique BadCLIP, our TA-Cleaner outperforms CleanCLIP by reducing the ASR of Top-1 and Top-10 by 52.02% and 63.88%, respectively.

Key facts. Cited by 13 papers in the map (data through 14 Oct 2026). Placed in Backdoor and data poisoning attacks, one of 12 directions in LLM safety and security. Builds on 19 of its 50 references that are in the map. First posted on arXiv 26 Sep 2024.

Builds on

19 of 50 references.

Closest ancestors · 2

Same direction, newest first

  1. 2023BadCLIP: Dual-Embedding Guided Backdoor Attack on Multimodal Contrastive Learning20 Nov
  2. 2023Better Safe than Sorry: Pre-training CLIP against Targeted Data Poisoning and Backdoor Attacks5 Oct

Other references · 17

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
  3. 2020Supervised Contrastive Learningcited by 2,829
  4. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,173
  5. 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,106
  6. 2017Targeted Backdoor Attacks on Deep Learning Systems Using Data Poisoningcited by 1,055
  7. 2021Neural Attention Distillation: Erasing Backdoor Triggers from Deep Neural Networkscited by 324
  8. 2022Backdoor Defense via Decoupling the Training Processcited by 153
  9. 2021Poisoning and Backdooring Contrastive Learningcited by 151
  10. 2020Backdoor Attacks and Countermeasures on Deep Learning: A Comprehensive Reviewcited by 123
  11. 2022Data Poisoning Attacks Against Multimodal Encoderscited by 41
  12. 2023Neural Polarizer: A Lightweight and Effective Backdoor Defense via Purifying Poisoned Featurescited by 37
5 more
  1. 2023On the Generalization of Multi-modal Contrastive Learningcited by 30
  2. 2022Dual Contrastive Learning: Text Classification via Label-Aware Data Augmentationcited by 23
  3. 2021EPSANet: An Efficient Pyramid Squeeze Attention Block on Convolutional Neural Networkcited by 15
  4. 2021On Similaritycited by 8
  5. 2021WaNet -- Imperceptible Warping-based Backdoor Attackcited by 5

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 4; 2026: 8.

13 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2024Unlearning Backdoor Threats: Enhancing Backdoor Defense in Multimodal Contrastive Learning via Local Token Unlearning
  2. 2023CleanCLIP: Mitigating Data Poisoning Attacks in Multimodal Contrastive Learning
  3. 2024Efficient Backdoor Defense in Multimodal Contrastive Learning: A Token-Level Unlearning Method for Mitigating Threats
  4. 2024Adversarial Backdoor Defense in CLIP
  5. 2025Robust Defense Strategies for Multimodal Contrastive Learning: Efficient Fine-tuning Against Backdoor Attacks
  6. 2025Neural Antidote: Class-Wise Prompt Tuning for Purifying Backdoors in CLIP
  7. 2023NCL: Textual Backdoor Defense Using Noise-augmented Contrastive Learning
  8. 2026A Patch-based Cross-view Regularized Framework for Backdoor Defense in Multimodal Large Language Models