Lune

ICLR2024Top-tier venue

Backdoor Contrastive Learning via Bi-level Trigger Optimization

Weiyu Sun, Xinyu Zhang, Hao Lu, Ying-Cong Chen, Ting Wang, Jinghui Chen, Lu Lin

Abstract

Contrastive Learning (CL) has attracted enormous attention due to its remarkable capability in unsupervised representation learning. However, recent works have revealed the vulnerability of CL to backdoor attacks: the feature extractor could be misled to embed backdoored data close to an attack target class, thus fooling the downstream predictor to misclassify it as the target. Existing attacks usually adopt a fixed trigger pattern and poison the training set with trigger-injected data, hoping for the feature extractor to learn the association between trigger and target class. However, we find that such fixed trigger design fails to effectively associate trigger-injected data with target class in the embedding space due to special CL mechanisms, leading to a limited attack success rate (ASR). This phenomenon motivates us to find a better backdoor trigger design tailored for CL framework. In this paper, we propose a bi-level optimization approach to achieve this goal, where the inner optimization simulates the CL dynamics of a surrogate victim, and the outer optimization enforces the backdoor trigger to stay close to the target throughout the surrogate CL procedure. Extensive experiments show that our attack can achieve a higher attack success rate (e.g., 99%99\% ASR on ImageNet-100) with a very low poisoning rate (1%1\%). Besides, our attack can effectively evade existing state-of-the-art defenses. Code is available at: https://github.com/SWY666/SSL-backdoor-BLTO.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Backdooring Self-Supervised Contrastive Learning by Noisy Alignment cites Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere
  • Backdooring Self-Supervised Contrastive Learning by Noisy Alignment cites A Simple Framework for Contrastive Learning of Visual Representations
  • Backdooring Self-Supervised Contrastive Learning by Noisy Alignment cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
  • Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere cites A Simple Framework for Contrastive Learning of Visual Representations
  • Attack on Prompt: Backdoor Attack in Prompt-Based Continual Learning cites Neural Cleanse: Identifying and Mitigating Backdoor Attacks in Neural Networks
  • Attack on Prompt: Backdoor Attack in Prompt-Based Continual Learning cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale cites A Simple Framework for Contrastive Learning of Visual Representations
  • Detecting Backdoor Samples in Contrastive Language Image Pretraining cites Neural Cleanse: Identifying and Mitigating Backdoor Attacks in Neural Networks
  • Detecting Backdoor Samples in Contrastive Language Image Pretraining cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Detecting Backdoor Samples in Contrastive Language Image Pretraining cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
  • Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning cites A Simple Framework for Contrastive Learning of Visual Representations
  • Invisible Backdoor Attack against Self-supervised Learning cites Neural Cleanse: Identifying and Mitigating Backdoor Attacks in Neural Networks
  • Invisible Backdoor Attack against Self-supervised Learning cites A Simple Framework for Contrastive Learning of Visual Representations
  • Invisible Backdoor Attack against Self-supervised Learning cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. Attack on Prompt: Backdoor Attack in Prompt-Based Continual LearningTrang Nguyen, Anh Tran, Nhat HoAAAI 2025 · 3 citations
  2. Backdooring Self-Supervised Contrastive Learning by Noisy AlignmentTuo Chen, Jie Gui, Minjing Dong, Ju Jia et al.ICCV 2025 · 2 citations
  3. Detecting Backdoor Samples in Contrastive Language Image PretrainingHanxun Huang, Sarah Monazam Erfani, Yige Li, Xingjun Ma et al.ICLR 2025
  4. Invisible Backdoor Attack against Self-supervised LearningHanrong Zhang, Zhenting Wang, Boheng Li, Fulin Lin et al.CVPR 2025

Builds on20

  1. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  2. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  3. Bootstrap Your Own Latent - A New Approach to Self-Supervised LearningJean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec et al.NeurIPS 2020 · 9,171 citations
  4. Understanding Contrastive Representation Learning through Alignment and Uniformity on the HypersphereTongzhou Wang, Phillip IsolaICML 2020 · 2,360 citations
  5. Neural Cleanse: Identifying and Mitigating Backdoor Attacks in Neural NetworksBolun Wang, Yuanshun Yao, Shawn Shan, Huiying Li et al.S&P 2019 · 1,801 citations

Related papers

  1. DeDe: Detecting Backdoor Samples for SSL Encoders via DecodersSizai Hou, Songze Li, Duanyi YaoCVPR 2025
  2. BadCLIP: Trigger-Aware Prompt Learning for Backdoor Attacks on CLIPJiawang Bai, Kuofeng Gao, Shaobo Min, Shu-Tao Xia et al.CVPR 2024
  3. UOR: Universal Backdoor Attacks on Pre-trained Language ModelsWei Du, Peixuan Li, Haodong Zhao, Tianjie Ju et al.ACL Findings 2024 · 10 citations
  4. On the Difficulty of Defending Contrastive Learning against Backdoor AttacksChangjiang Li, Ren Pang, Bochuan Cao, Zhaohan Xi et al.USENIX Security 2024 · 10 citations
  5. Model-Contrastive Learning for Backdoor EliminationZhihao Yue, Jun Xia, Zhiwei Ling, Ming Hu et al.ACM MM 2023 · 9 citations
Dusk over the sea between two cliffs drawn in fine vertical lines