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

BeniFul:基于中间特征分析的深度神经网络后门防御

BeniFul: Backdoor Defense via Middle Feature Analysis for Deep Neural Networks

Xidian University(西安电子科技大学)

Xinfu Li, Junying Zhang, Xindi Ma

AI总结:

本文提出基于DNN中间特征分析的后门防御方法BeniFul,利用变分自编码器重构距离和特征距离损失实现灰盒后门输入检测与白盒后门消除,在CIFAR-10和Tiny ImageNet上验证了其卓越防御能力。

摘要:

后门防御在抵御深度神经网络(DNNs)中的后门攻击方面近期变得非常重要,在这些攻击中,攻击者通过将后门样本注入训练数据集来把后门植入DNN模型。尽管目前有许多针对DNN输入实现后门检测和针对DNN模型实现后门消除的防御方法,但它们仍未清晰解释这两个任务之间的关系。在本文中,我们利用DNN模型中间层的特征来分析后门样本与良性样本之间的差异,并提出了Backdoor Consistency,该指标表明如果准确在输入上检测到后门触发器,则DNN模型中至少存在一个后门。通过分析中间特征,我们设计了一种有效且全面的后门防御方法,名为BeniFul,它由两部分组成:灰盒后门输入检测和白盒后门消除。具体而言,我们利用来自变分自编码器的重构距离和模型推理结果来实现后门输入检测,并利用特征距离损失来实现后门消除。在CIFAR-10和Tiny ImageNet上针对五种最先进攻击的实验结果表明,我们的BeniFul在后门输入检测和后门消除方面均展现出卓越的防御能力。

英文摘要:

Backdoor defenses have recently become important in resisting backdoor attacks in deep neural networks (DNNs), where attackers implant backdoors into the DNN model by injecting backdoor samples into the training dataset. Although there are many defense methods to achieve backdoor detection for DNN inputs and backdoor elimination for DNN models, they still have not presented a clear explanation of the relationship between these two missions. In this paper, we use the features from the middle layer of the DNN model to analyze the difference between backdoor and benign samples and propose Backdoor Consistency, which indicates that at least one backdoor exists in the DNN model if the backdoor trigger is detected exactly on input. By analyzing the middle features, we design an effective and comprehensive backdoor defense method named BeniFul, which consists of two parts: a gray-box backdoor input detection and a white-box backdoor elimination. Specifically, we use the reconstruction distance from the Variational Auto-Encoder and model inference results to implement backdoor input detection and a feature distance loss to achieve backdoor elimination. Experimental results on CIFAR-10 and Tiny ImageNet against five state-of-the-art attacks demonstrate that our BeniFul exhibits a great defense capability in backdoor input detection and backdoor elimination.

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

↑