arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.09786cs.LGcs.CR
收藏

IBD-PSC:基于面向参数的缩放一致性的输入级后门检测

IBD-PSC: Input-level Backdoor Detection via Parameter-oriented Scaling Consistency

School of Computer Science and Technology, Harbin Institute of Technology, Shenzhen(哈尔滨工业大学(深圳)计算机科学与技术学院);Alibaba Group(阿里巴巴集团);University of Science and Technology of China(中国科学技术大学);School of Information Technology, Deakin University(迪肯大学信息技术学院);School of Information and Communication Technology, Griffith University(格里菲斯大学信息与通信技术学院);Nanyang Technological University(南洋理工大学)

Linshan Hou, Ruili Feng, Zhongyun Hua, Wei Luo, Leo Yu Zhang, Yiming Li

AI总结:

本文提出IBD-PSC方法,利用面向参数的缩放一致性现象,通过放大模型参数使中毒样本预测置信度比良性样本更一致,从而实现输入级后门检测,并设计自适应BN层选择方法,实验验证其有效性和对自适应攻击的抵抗力。

摘要:

深度神经网络(DNNs)容易受到后门攻击,攻击者可以通过在模型训练期间植入隐藏后门来恶意触发模型误分类。本文提出了一种简单而有效的输入级后门检测方法(称为 IBD-PSC),作为过滤恶意测试图像的“防火墙”。该方法受一个有趣现象启发,即面向参数的缩放一致性(PSC):当放大模型参数时,中毒样本的预测置信度比良性样本显著更一致。特别地,我们提供了理论分析来保障 PSC 现象的基础。我们还设计了一种自适应方法来选择 BN 层进行放大以实现有效检测。在基准数据集上进行了大量实验,验证了 IBD-PSC 方法的有效性和高效性,及其对自适应攻击的抵抗力。代码可在 BackdoorBox 获取。

英文摘要:

Deep neural networks (DNNs) are vulnerable to backdoor attacks, where adversaries can maliciously trigger model misclassifications by implanting a hidden backdoor during model training. This paper proposes a simple yet effective input-level backdoor detection (dubbed IBD-PSC) as a `firewall' to filter out malicious testing images. Our method is motivated by an intriguing phenomenon, i.e., parameter-oriented scaling consistency (PSC), where the prediction confidences of poisoned samples are significantly more consistent than those of benign ones when amplifying model parameters. In particular, we provide theoretical analysis to safeguard the foundations of the PSC phenomenon. We also design an adaptive method to select BN layers to scale up for effective detection. Extensive experiments are conducted on benchmark datasets, verifying the effectiveness and efficiency of our IBD-PSC method and its resistance to adaptive attacks. Codes are available at \href{https://github.com/THUYimingLi/BackdoorBox}{BackdoorBox}.

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

↑