arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.11265cs.CV
收藏

受害者与受益者:利用中毒模型在有毒数据上训练干净模型

The Victim and The Beneficiary: Exploiting a Poisoned Model to Train a Clean Model on Poisoned Data

SKLOIS, Institute of Information Engineering, CAS(中国科学院信息工程研究所SKLOIS);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院)

Zixuan Zhu, Rui Wang, Cong Zou, Lihua Jing

AI总结:

提出V&B双网络训练框架,利用中毒模型作为检测器筛选可信样本并采用半监督策略和AttentionMix数据增强,在无需额外良性样本的条件下,从有毒数据中训练出鲁棒的干净模型。

摘要:

近期,后门攻击对深度神经网络(DNNs)的训练过程构成了严重的安全威胁。受攻击的模型在良性样本上表现正常,但在触发器存在时会输出特定结果。然而,与后门攻击的飞速进展相比,现有的防御方法难以有效应对这些威胁,或需要良性样本才能起作用,而这在实际场景中可能无法获取。在本文中,我们发现可以通过预测熵来区分有毒样本和良性样本。这启发我们提出了一种新颖的双网络训练框架:受害者与受益者(V&B),该框架利用中毒模型来训练干净模型,且无需额外的良性样本。首先,我们牺牲受害者网络,通过在可疑样本上进行训练,使其成为强大的有毒样本检测器。其次,我们在受害者网络选出的可信样本上训练受益者网络,以抑制后门注入。第三,采用半监督抑制策略来擦除潜在后门并提升模型性能。此外,为了更好地抑制漏检的有毒样本,我们提出了一种强数据增强方法AttentionMix,该方法与我们提出的V&B框架配合良好。在两个广泛使用的数据集上针对6种最先进攻击的大量实验表明,我们的框架能有效防止后门注入,对各种攻击具有鲁棒性,同时保持了对良性样本的性能。我们的代码可在https://github.com/Zixuan-Zhu/VaB获取。

英文摘要:

Recently, backdoor attacks have posed a serious security threat to the training process of deep neural networks (DNNs). The attacked model behaves normally on benign samples but outputs a specific result when the trigger is present. However, compared with the rocketing progress of backdoor attacks, existing defenses are difficult to deal with these threats effectively or require benign samples to work, which may be unavailable in real scenarios. In this paper, we find that the poisoned samples and benign samples can be distinguished with prediction entropy. This inspires us to propose a novel dual-network training framework: The Victim and The Beneficiary (V&B), which exploits a poisoned model to train a clean model without extra benign samples. Firstly, we sacrifice the Victim network to be a powerful poisoned sample detector by training on suspicious samples. Secondly, we train the Beneficiary network on the credible samples selected by the Victim to inhibit backdoor injection. Thirdly, a semi-supervised suppression strategy is adopted for erasing potential backdoors and improving model performance. Furthermore, to better inhibit missed poisoned samples, we propose a strong data augmentation method, AttentionMix, which works well with our proposed V&B framework. Extensive experiments on two widely used datasets against 6 state-of-the-art attacks demonstrate that our framework is effective in preventing backdoor injection and robust to various attacks while maintaining the performance on benign samples. Our code is available at https://github.com/Zixuan-Zhu/VaB.

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

↑