paper-with-me

홈 › Papers

DeDe: Detecting Backdoor Samples for SSL Encoders via Decoders

2024-11-25 · CVPR 2025 1 · Sizai Hou, Songze Li, Duanyi Yao

Self-supervised learning (SSL) is pervasively exploited in training high-quality upstream encoders with a large amount of unlabeled data. However, it is found to be susceptible to backdoor attacks merely via polluting a small portion of training data. The victim encoders associate triggered inputs with target embeddings, e.g., mapping a triggered cat image to an airplane embedding, such that the downstream tasks inherit unintended behaviors when the trigger is activated. Emerging backdoor attacks have shown great threats across different SSL paradigms such as contrastive learning and CLIP, yet limited research is devoted to defending against such attacks, and existing defenses fall short in detecting advanced stealthy backdoors. To address the limitations, we propose a novel detection mechanism, DeDe, which detects the activation of backdoor mappings caused by triggered inputs on victim encoders. Specifically, DeDe trains a decoder for any given SSL encoder using an auxiliary dataset (which can be out-of-distribution or even slightly poisoned), so that for any triggered input that misleads the encoder into the target embedding, the decoder generates an output image significantly different from the input. DeDe leverages the discrepancy between the input and the decoded output to identify potential backdoor misbehavior during inference. We empirically evaluate DeDe on both contrastive learning and CLIP models against various types of backdoor attacks. Our results demonstrate promising detection effectiveness over various advanced attacks and superior performance compared over state-of-the-art detection methods.

📄 PDF Abstract BibTeX arXiv:2411.16154

Code (1)

jsrdcht/SSL-Backdoor pytorch

Tasks

Contrastive LearningDecoderSelf-Supervised Learning

Methods 이 논문이 사용한 방법론

Contrastive Learning 설명 없음
CLIP Contrastive Language-Image Pre-training (CLIP), consisting of a simplified version of ConVIRT trained from scratch, is an efficient method of image representation learning…

Similar Papers 제목 키워드 기반

Poison Attack and Defense on Deep Source Code Processing Models

2022-10-31 · Jia Li, Zhuo Li, Huangzhao Zhang, Ge Li 외

In the software engineering community, deep learning (DL) has recently been applied to many source code processing tasks. Due to the poor interpretability of DL models, their security vulnerabilities require scrutiny. Re…

Clone DetectionCode RepairDefect Detection

Detecting Backdoors in Pre-trained Encoders

2023-03-23 · CVPR 2023 1 · Shiwei Feng, Guanhong Tao, Siyuan Cheng, Guangyu Shen 외

Self-supervised learning in computer vision trains on unlabeled data, such as images or (image, text) pairs, to obtain an image encoder that learns high-quality embeddings for input data. Emerging backdoor attacks toward…

Self-Supervised Learning

BDMMT: Backdoor Sample Detection for Language Models through Model Mutation Testing

2023-01-25 · Jiali Wei, Ming Fan, Wenjing Jiao, Wuxia Jin 외

Deep neural networks (DNNs) and natural language processing (NLP) systems have developed rapidly and have been widely used in various real-world fields. However, they have been shown to be vulnerable to backdoor attacks.…

Backdoor AttackSentenceSST-2Style Transfer

Detecting Backdoor Samples in Contrastive Language Image Pretraining

2025-02-03 · Hanxun Huang, Sarah Erfani, Yige Li, Xingjun Ma 외

Contrastive language-image pretraining (CLIP) has been found to be vulnerable to poisoning backdoor attacks where the adversary can achieve an almost perfect attack success rate on CLIP models by poisoning only 0.01\% of…

XGBD: Explanation-Guided Graph Backdoor Detection

2023-08-08 · Zihan Guan, Mengnan Du, Ninghao Liu

Backdoor attacks pose a significant security risk to graph learning models. Backdoors can be embedded into the target model by inserting backdoor triggers into the training dataset, causing the model to make incorrect pr…

AttributeGraph Learning