ArcGen: 在多样架构上实现神经后门检测的泛化
ArcGen: Generalizing Neural Backdoor Detection Across Diverse Architectures
AI总结:
ArcGen通过引入对齐层和损失函数,提升神经后门检测在不同架构上的泛化能力,实现42.5%的性能提升。
摘要:
后门攻击对深度学习模型的安全性和可靠性构成了重大威胁。为了缓解此类攻击,一种有前景的方法是学习从目标模型中提取特征,并利用这些特征进行后门检测。然而,我们发现现有的基于学习的神经后门检测方法在面对学习阶段未见过的新架构时泛化能力较差。在本文中,我们分析了这一问题的根本原因,并提出了一种新的黑盒神经后门检测方法,称为ArcGen。我们的方法旨在获得架构不变的模型特征,即对齐的特征,以实现有效的后门检测。具体而言,与现有方法直接使用模型输出作为模型特征不同,我们引入了一个额外的对齐层,用于进一步处理这些特征。这减少了架构信息对特征的直接影响。然后,我们设计了两种对齐损失来训练特征提取函数。这些损失明确要求具有相似后门行为但不同架构的模型的特征在分布和样本层面都对齐。通过这些技术,我们的方法在未见过的模型架构上实现了高达42.5%的检测性能提升(例如AUC)。这基于一项大规模评估,涉及16,896个在多样化数据集上训练、受各种后门攻击影响并使用不同模型架构的模型。我们的代码可在https://github.com/SeRAlab/ArcGen上获得。
英文摘要:
Backdoor attacks pose a significant threat to the security and reliability of deep learning models. To mitigate such attacks, one promising approach is to learn to extract features from the target model and use these features for backdoor detection. However, we discover that existing learning-based neural backdoor detection methods do not generalize well to new architectures not seen during the learning phase. In this paper, we analyze the root cause of this issue and propose a novel black-box neural backdoor detection method called ArcGen. Our method aims to obtain architecture-invariant model features, i.e., aligned features, for effective backdoor detection. Specifically, in contrast to existing methods directly using model outputs as model features, we introduce an additional alignment layer in the feature extraction function to further process these features. This reduces the direct influence of architecture information on the features. Then, we design two alignment losses to train the feature extraction function. These losses explicitly require that features from models with similar backdoor behaviors but different architectures are aligned at both the distribution and sample levels. With these techniques, our method demonstrates up to 42.5% improvements in detection performance (e.g., AUC) on unseen model architectures. This is based on a large-scale evaluation involving 16,896 models trained on diverse datasets, subjected to various backdoor attacks, and utilizing different model architectures. Our code is available at https://github.com/SeRAlab/ArcGen.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。