mlsanityData to 7 Oct 2026

On the Difficulty of Defending Contrastive Learning against Backdoor Attacks

arXiv 2312.09057 ↗First posted 14 Dec 2023cs.CR cs.AI cs.CVcited by 8

Not on the map. Why?

Abstract (arXiv)

Recent studies have shown that contrastive learning, like supervised learning, is highly vulnerable to backdoor attacks wherein malicious functions are injected into target models, only to be activated by specific triggers. However, thus far it remains under-explored how contrastive backdoor attacks fundamentally differ from their supervised counterparts, which impedes the development of effective defenses against the emerging threat. This work represents a solid step toward answering this critical question. Specifically, we define TRL, a unified framework that encompasses both supervised and contrastive backdoor attacks. Through the lens of TRL, we uncover that the two types of attacks operate through distinctive mechanisms: in supervised attacks, the learning of benign and backdoor tasks tends to occur independently, while in contrastive attacks, the two tasks are deeply intertwined both in their representations and throughout their learning processes. This distinction leads to the disparate learning dynamics and feature distributions of supervised and contrastive attacks. More importantly, we reveal that the specificities of contrastive backdoor attacks entail important implications from a defense perspective: existing defenses for supervised attacks are often inadequate and not easily retrofitted to contrastive attacks. We also explore several alternative defenses and discuss their potential challenges. Our findings highlight the need for defenses tailored to the specificities of contrastive backdoor attacks, pointing to promising directions for future research.

Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 50 of its 65 references that are in the map. First posted on arXiv 14 Dec 2023.

Builds on

50 of 65 references.

References · 50

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  3. 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
  4. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
  5. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
  6. 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
  7. 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
  8. 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,712
  9. 2020Exploring Simple Siamese Representation Learningcited by 2,853
  10. 2020Supervised Contrastive Learningcited by 2,803
  11. 2020Improved Baselines with Momentum Contrastive Learningcited by 2,282
  12. 2018ShuffleNet V2: Practical Guidelines for Efficient CNN Architecture Designcited by 1,132
38 more
  1. 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,052
  2. 2017Targeted Backdoor Attacks on Deep Learning Systems Using Data Poisoningcited by 1,012
  3. 2019Using Self-Supervised Learning Can Improve Model Robustness and Uncertaintycited by 511
  4. 2018Poison Frogs! Targeted Clean-Label Poisoning Attacks on Neural Networkscited by 500
  5. 2017Decision-Based Adversarial Attacks: Reliable Attacks Against Black-Box Machine Learning Modelscited by 459
  6. 2018Spectral Signatures in Backdoor Attackscited by 457
  7. 2019STRIP: A Defence Against Trojan Attacks on Deep Neural Networkscited by 437
  8. 2018Detecting Backdoor Attacks on Deep Neural Networks by Activation Clusteringcited by 429
  9. 2020Backdoor Learning: A Surveycited by 412
  10. 2020Input-Aware Dynamic Backdoor Attackcited by 304
  11. 2023Poisoning Web-Scale Training Datasets is Practicalcited by 276
  12. 2021Anti-Backdoor Learning: Training Clean Models on Poisoned Datacited by 258
  13. 2020DeCLUTR: Deep Contrastive Learning for Unsupervised Textual Representationscited by 249
  14. 2019Detecting AI Trojans Using Meta Neural Analysiscited by 192
  15. 2020Clean-Label Backdoor Attacks on Video Recognition Modelscited by 162
  16. 2017Neural Trojanscited by 151
  17. 2021Poisoning and Backdooring Contrastive Learningcited by 149
  18. 2022Backdoor Defense via Decoupling the Training Processcited by 149
  19. 2020Robust Pre-Training by Adversarial Contrastive Learningcited by 144
  20. 2019Universal Litmus Patterns: Revealing Backdoor Attacks in CNNscited by 143
  21. 2021SPECTRE: Defending Against Backdoor Attacks Using Robust Statisticscited by 123
  22. 2019Demon in the Variant: Statistical Analysis of DNNs for Robust Backdoor Contamination Detectioncited by 121
  23. 2021BadEncoder: Backdoor Attacks to Pre-trained Encoders in Self-Supervised Learningcited by 120
  24. 2020RAB: Provable Robustness Against Backdoor Attackscited by 115
  25. 2022Chaos is a Ladder: A New Theoretical Understanding of Contrastive Learning via Augmentation Overlapcited by 105
  26. 2021Backdoor Attacks on Self-Supervised Learningcited by 89
  27. 2020How Useful is Self-Supervised Pretraining for Visual Tasks?cited by 80
  28. 2022Data-free Backdoor Removal based on Channel Lipschitznesscited by 77
  29. 2021When Does Contrastive Learning Preserve Adversarial Robustness from Pretraining to Finetuning?cited by 76
  30. 2020Contrastive Learning with Adversarial Perturbations for Conditional Text Generationcited by 56
  31. 2019NeuronInspect: Detecting Backdoors in Neural Networks via Output Explanationscited by 49
  32. 2018Model-Reuse Attacks on Deep Learning Systemscited by 47
  33. 2022PoisonedEncoder: Poisoning the Unlabeled Pre-training Data in Contrastive Learningcited by 33
  34. 2023Continuous Learning for Android Malware Detectioncited by 33
  35. 2020TrojanZoo: Towards Unified, Holistic, and Practical Evaluation of Neural Backdoorscited by 30
  36. 2019Invisible Backdoor Attacks on Deep Neural Networks via Steganography and Regularizationcited by 17
  37. 2022Trap and Replace: Defending Backdoor Attacks by Trapping Them into an Easy-to-Replace Subnetworkcited by 12
  38. 2019Deep Probabilistic Models to Detect Data Poisoning Attackscited by 10

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 3; 2026: 3.

8 papers.