arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.13080cs.CRcs.LG
收藏

EmInspector:通过嵌入检查对抗联邦自监督学习中的后门攻击

EmInspector: Combating Backdoor Attacks in Federated Self-Supervised Learning Through Embedding Inspection

Yuwen Qian, Shuchi Wu, Kang Wei, Ming Ding, Di Xiao, Tao Xiang, Chuan Ma, Song Guo

AI总结:

本文针对联邦自监督学习(FSSL)中的后门攻击,提出EmInspector方法,通过检查本地模型嵌入空间检测恶意客户端,利用少量检查图像评估嵌入相似性,有效缓解各类对手设置下的后门攻击。

摘要:

联邦自监督学习(FSSL)最近作为一种有前景的范式出现,它能够在保护数据隐私的同时利用客户端大量未标记数据。尽管FSSL具有优势,但其对后门攻击的脆弱性——这一在传统联邦监督学习(FSL)中已被识别的问题——尚未得到研究。为填补这一研究空白,我们对一种后门攻击范式进行了全面调查,其中不道德的客户端合谋操纵全局模型,揭示了FSSL对此类攻击的脆弱性。在FSL中,后门攻击通常在后门触发器与目标标签之间建立直接关联。相比之下,在FSSL中,后门攻击旨在改变全局模型对包含攻击者指定触发器模式的图像的表示,以偏向攻击者预期的目标类别,这更为间接。在此意义上,我们证明现有防御措施不足以缓解所研究的FSSL中的后门攻击,因此找到有效的防御机制迫在眉睫。为解决此问题,我们深入研究了FSSL上后门攻击的基本机制,提出了嵌入检查器(EmInspector),通过检查本地模型的嵌入空间来检测恶意客户端。特别地,EmInspector使用一小部分检查图像(例如CIFAR100的十张图像)评估不同本地模型嵌入的相似性,而无需对样本分布或标签有特定要求。我们发现,对于给定的检查图像,来自被后门攻击模型的嵌入倾向于在嵌入空间中聚集在一起。评估结果表明,EmInspector能够在各种对手设置下有效缓解FSSL上的后门攻击。我们的代码可在https://github.com/ShuchiWu/EmInspector获取。

英文摘要:

Federated self-supervised learning (FSSL) has recently emerged as a promising paradigm that enables the exploitation of clients' vast amounts of unlabeled data while preserving data privacy. While FSSL offers advantages, its susceptibility to backdoor attacks, a concern identified in traditional federated supervised learning (FSL), has not been investigated. To fill the research gap, we undertake a comprehensive investigation into a backdoor attack paradigm, where unscrupulous clients conspire to manipulate the global model, revealing the vulnerability of FSSL to such attacks. In FSL, backdoor attacks typically build a direct association between the backdoor trigger and the target label. In contrast, in FSSL, backdoor attacks aim to alter the global model's representation for images containing the attacker's specified trigger pattern in favor of the attacker's intended target class, which is less straightforward. In this sense, we demonstrate that existing defenses are insufficient to mitigate the investigated backdoor attacks in FSSL, thus finding an effective defense mechanism is urgent. To tackle this issue, we dive into the fundamental mechanism of backdoor attacks on FSSL, proposing the Embedding Inspector (EmInspector) that detects malicious clients by inspecting the embedding space of local models. In particular, EmInspector assesses the similarity of embeddings from different local models using a small set of inspection images (e.g., ten images of CIFAR100) without specific requirements on sample distribution or labels. We discover that embeddings from backdoored models tend to cluster together in the embedding space for a given inspection image. Evaluation results show that EmInspector can effectively mitigate backdoor attacks on FSSL across various adversary settings. Our code is avaliable at https://github.com/ShuchiWu/EmInspector.

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

↑