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

针对由锐度感知最小化增强的后门攻击的可靠有毒样本检测

Reliable Poisoned Sample Detection against Backdoor Attacks Enhanced by Sharpness Aware Minimization

The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳))

Mingda Zhang, Mingli Zhu, Zihao Zhu, Baoyuan Wu

AI总结:

针对弱后门攻击下有毒样本检测不稳定的问题,提出利用 Sharpness-Aware Minimization 算法训练模型以增强后门效应,从而提升检测性能,实验证明该方法平均 TPR 提升 34.38%。

摘要:

后门攻击已被认为是深度神经网络(DNNs)面临的严重安全威胁。有毒样本检测(PSD)旨在从不可信的训练数据集中过滤掉有毒样本,在防御基于数据投毒的后门攻击方面展现出了极具前景的性能。然而,我们观察到,许多先进方法的检测性能在面对弱后门攻击(如低投毒比例或弱触发器强度)时可能并不稳定。为了进一步验证这一观察结果,我们在各种后门攻击和有毒样本检测方法之间进行了统计调查,结果显示后门效应与检测性能之间存在正相关关系。这启发了我们通过增强后门效应来提升检测性能。由于我们无法通过直接操纵投毒比例或触发器强度来实现该目标,因此我们提出使用 Sharpness-Aware Minimization (SAM) 算法而非原始训练算法来训练模型。我们还提供了关于 SAM 训练如何增强后门效应的实证和理论分析。随后,这个经 SAM 训练的模型可以无缝集成到任何现成的 PSD 方法中,这些方法从训练好的模型中提取具有区分性的特征进行检测,被称为 SAM-enhanced PSD。在多个基准数据集上的大量实验表明,所提方法在面对弱和强后门攻击时均具备可靠的检测性能,相较于常规 PSD 方法(即无 SAM 增强),在各种攻击下均取得了显著提升(平均 TPR 提高 $+34.38\%$)。总体而言,这项工作为 PSD 提供了新见解,并提出了一种可补充现有检测方法的新途径,有望激发该领域更深入的探索。

英文摘要:

Backdoor attack has been considered as a serious security threat to deep neural networks (DNNs). Poisoned sample detection (PSD) that aims at filtering out poisoned samples from an untrustworthy training dataset has shown very promising performance for defending against data poisoning based backdoor attacks. However, we observe that the detection performance of many advanced methods is likely to be unstable when facing weak backdoor attacks, such as low poisoning ratio or weak trigger strength. To further verify this observation, we make a statistical investigation among various backdoor attacks and poisoned sample detections, showing a positive correlation between backdoor effect and detection performance. It inspires us to strengthen the backdoor effect to enhance detection performance. Since we cannot achieve that goal via directly manipulating poisoning ratio or trigger strength, we propose to train one model using the Sharpness-Aware Minimization (SAM) algorithm, rather than the vanilla training algorithm. We also provide both empirical and theoretical analysis about how SAM training strengthens the backdoor effect. Then, this SAM trained model can be seamlessly integrated with any off-the-shelf PSD method that extracts discriminative features from the trained model for detection, called SAM-enhanced PSD. Extensive experiments on several benchmark datasets show the reliable detection performance of the proposed method against both weak and strong backdoor attacks, with significant improvements against various attacks ($+34.38\%$ TPR on average), over the conventional PSD methods (i.e., without SAM enhancement). Overall, this work provides new insights about PSD and proposes a novel approach that can complement existing detection methods, which may inspire more in-depth explorations in this field.

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

↑