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

SCALE-UP:一种基于尺度预测一致性分析的黑盒输入级后门检测算法

SCALE-UP: An Efficient Black-box Input-level Backdoor Detection via Analyzing Scaled Prediction Consistency

Junfeng Guo, Yiming Li, Xun Chen, Hanqing Guo, Lichao Sun, Cong Liu

摘要:

深度神经网络(DNN)容易受到后门攻击的攻击,其中对手在训练过程中嵌入隐藏的后门触发器,用于恶意预测操纵。这些攻击对真实世界机器学习即服务(MLaaS)环境下的DNN应用构成了极大的威胁,其中部署的模型是完全黑盒的,而用户只能查询并获得其预测。目前,有许多现有的防御措施来减少后门威胁。然而,几乎所有这些都不能在MLaaS场景中采用,因为它们需要访问甚至修改可疑模型。在本文中,我们提出了一个简单而有效的黑盒输入级后门检测,称为SCALE-UP,它只需要预测的标签来缓解这个问题。具体来说,我们识别和过滤恶意测试样本,通过分析他们的预测一致性在逐像素放大过程中。我们的辩护是出于一个有趣的观察(称为缩放预测一致性),即当放大所有像素值时,中毒样本的预测比良性样本的预测更加一致。此外,我们还提供了理论基础来解释这一现象。在基准数据集上进行了大量的实验,验证了我们的防御的有效性和效率,以及对潜在的自适应攻击的抵抗力。我们的代码可在https://github.com/JunfengGo/SCALE-UP上获得。

英文摘要:

Deep neural networks (DNNs) are vulnerable to backdoor attacks, where adversaries embed a hidden backdoor trigger during the training process for malicious prediction manipulation. These attacks pose great threats to the applications of DNNs under the real-world machine learning as a service (MLaaS) setting, where the deployed model is fully black-box while the users can only query and obtain its predictions. Currently, there are many existing defenses to reduce backdoor threats. However, almost all of them cannot be adopted in MLaaS scenarios since they require getting access to or even modifying the suspicious models. In this paper, we propose a simple yet effective black-box input-level backdoor detection, called SCALE-UP, which requires only the predicted labels to alleviate this problem. Specifically, we identify and filter malicious testing samples by analyzing their prediction consistency during the pixel-wise amplification process. Our defense is motivated by an intriguing observation (dubbed scaled prediction consistency) that the predictions of poisoned samples are significantly more consistent compared to those of benign ones when amplifying all pixel values. Besides, we also provide theoretical foundations to explain this phenomenon. Extensive experiments are conducted on benchmark datasets, verifying the effectiveness and efficiency of our defense and its resistance to potential adaptive attacks. Our codes are available at https://github.com/JunfengGo/SCALE-UP.

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

↑