arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2303.15180cs.CVcs.AIcs.CR
收藏

在预训练的编码器中检测后门

Detecting Backdoors in Pre-trained Encoders

Purdue University(普渡大学);Rutgers University(罗格斯大学)

Shiwei Feng, Guanhong Tao, Siyuan Cheng, Guangyu Shen, Xiangzhe Xu, Yingqi Liu, Kaiyuan Zhang, Shiqing Ma, Xiangyu Zhang

摘要:

计算机视觉中的自监督学习对未标记的数据(例如图像或(图像、文本)对)进行训练,以获得学习输入数据的高质量嵌入的图像编码器。针对编码器的新兴后门攻击暴露了自监督学习的关键漏洞,因为下游分类器(甚至在干净数据上进一步训练)可能会继承编码器的后门行为。现有的后门检测方法主要集中在监督学习设置上,并且不能处理预先训练的编码器,特别是当输入标签不可用时。在本文中,我们提出了DECREE,这是第一种用于预训练编码器的后门检测方法,既不需要分类器头也不需要输入标签。我们评估DECREE超过400编码器木马下3范式。我们展示了我们的方法在ImageNet和OpenAI的CLIP 4亿图像-文本对上预训练的图像编码器上的有效性。我们的方法始终具有很高的检测精度,即使我们只能有限地访问或无法访问预训练数据集。

英文摘要:

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 towards encoders expose crucial vulnerabilities of self-supervised learning, since downstream classifiers (even further trained on clean data) may inherit backdoor behaviors from encoders. Existing backdoor detection methods mainly focus on supervised learning settings and cannot handle pre-trained encoders especially when input labels are not available. In this paper, we propose DECREE, the first backdoor detection approach for pre-trained encoders, requiring neither classifier headers nor input labels. We evaluate DECREE on over 400 encoders trojaned under 3 paradigms. We show the effectiveness of our method on image encoders pre-trained on ImageNet and OpenAI's CLIP 400 million image-text pairs. Our method consistently has a high detection accuracy even if we have only limited or no access to the pre-training dataset.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑