通过聚类激活掩码擦除自监督学习后门
Erasing Self-Supervised Learning Backdoor by Cluster Activation Masking
AI总结:
针对自监督学习易受后门攻击且现有防御方法检测精度低的问题,提出PoisonCAM方法,通过聚类激活掩码精准检测投毒样本,在ImageNet-100上后门检测准确率达96%,显著提升受攻击SSL模型性能。
摘要:
自监督学习(Self-Supervised Learning, SSL)是一种从文本、图像、视频等无标注数据中学习表征的有效范式。然而研究人员近期发现,SSL易受后门攻击:攻击者可通过训练数据集中的少量投毒样本嵌入隐藏的SSL后门,恶意操控下游模型的行为。要防御SSL后门攻击,可行路径是检测并移除训练集中的投毒样本,但现有SSL后门防御方法无法精准检测投毒样本。本文提出通过聚类激活掩码擦除SSL后门,并提出全新的PoisonCAM方法。在得到经投毒数据集训练的威胁模型后,我们的方法基于“掩码后门触发器可有效改变下游聚类模型的激活”这一假设,能够精准检测投毒样本。实验中,在投毒的ImageNet-100数据集上,我们的PoisonCAM后门触发器检测准确率达96%,而现有最优方法仅为3%。此外,与现有最优方法相比,我们提出的PoisonCAM显著提升了受后门攻击的已训练SSL模型的性能。我们的代码、数据和训练模型将在本文录用后开源。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。