Erasing Self-Supervised Learning Backdoor by Cluster Activation Masking

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Qian, Shengsheng, Xue, Dizhan, Wang, Yifei, Zhang, Shengjie, Zhang, Huaiwen, Xu, Changsheng
Formato: Preprint
Publicado: 2023
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866910679544365056
author Qian, Shengsheng
Xue, Dizhan
Wang, Yifei
Zhang, Shengjie
Zhang, Huaiwen
Xu, Changsheng
author_facet Qian, Shengsheng
Xue, Dizhan
Wang, Yifei
Zhang, Shengjie
Zhang, Huaiwen
Xu, Changsheng
contents Self-Supervised Learning (SSL) is an effective paradigm for learning representations from unlabeled data, such as text, images, and videos. However, researchers have recently found that SSL is vulnerable to backdoor attacks. The attacker can embed hidden SSL backdoors via a few poisoned examples in the training dataset and maliciously manipulate the behavior of downstream models. To defend against SSL backdoor attacks, a feasible route is to detect and remove the poisonous samples in the training set. However, the existing SSL backdoor defense method fails to detect the poisonous samples precisely. In this paper, we propose to erase the SSL backdoor by cluster activation masking and propose a novel PoisonCAM method. After obtaining the threat model trained on the poisoned dataset, our method can precisely detect poisonous samples based on the assumption that masking the backdoor trigger can effectively change the activation of a downstream clustering model. In experiments, our PoisonCAM achieves 96\% accuracy for backdoor trigger detection compared to 3\% of the state-of-the-art method on poisoned ImageNet-100. Moreover, our proposed PoisonCAM significantly improves the performance of the trained SSL model under backdoor attacks compared to the state-of-the-art method. Our code, data, and trained models will be open once this paper is accepted.
format Preprint
id arxiv_https___arxiv_org_abs_2312_07955
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Erasing Self-Supervised Learning Backdoor by Cluster Activation Masking
Qian, Shengsheng
Xue, Dizhan
Wang, Yifei
Zhang, Shengjie
Zhang, Huaiwen
Xu, Changsheng
Computer Vision and Pattern Recognition
Artificial Intelligence
Cryptography and Security
Machine Learning
Self-Supervised Learning (SSL) is an effective paradigm for learning representations from unlabeled data, such as text, images, and videos. However, researchers have recently found that SSL is vulnerable to backdoor attacks. The attacker can embed hidden SSL backdoors via a few poisoned examples in the training dataset and maliciously manipulate the behavior of downstream models. To defend against SSL backdoor attacks, a feasible route is to detect and remove the poisonous samples in the training set. However, the existing SSL backdoor defense method fails to detect the poisonous samples precisely. In this paper, we propose to erase the SSL backdoor by cluster activation masking and propose a novel PoisonCAM method. After obtaining the threat model trained on the poisoned dataset, our method can precisely detect poisonous samples based on the assumption that masking the backdoor trigger can effectively change the activation of a downstream clustering model. In experiments, our PoisonCAM achieves 96\% accuracy for backdoor trigger detection compared to 3\% of the state-of-the-art method on poisoned ImageNet-100. Moreover, our proposed PoisonCAM significantly improves the performance of the trained SSL model under backdoor attacks compared to the state-of-the-art method. Our code, data, and trained models will be open once this paper is accepted.
title Erasing Self-Supervised Learning Backdoor by Cluster Activation Masking
topic Computer Vision and Pattern Recognition
Artificial Intelligence
Cryptography and Security
Machine Learning
url https://arxiv.org/abs/2312.07955