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

Model X-ray:通过决策边界检测后门模型

Model X-ray:Detecting Backdoored Models via Decision Boundary

University of Science and Technology of China(中国科学技术大学);CFAR(计算与算法研究中心);IHPC(高性能计算研究院);A*STAR(新加坡科技研究局);National University of Singapore(新加坡国立大学);Nanyang Technological University(南洋理工大学)

Yanghao Su, Jie Zhang, Ting Xu, Tianwei Zhang, Weiming Zhang, Nenghai Yu

AI总结:

本文提出 Model X-ray,一种仅利用干净输入硬标签构建二维决策边界来检测后门模型并识别目标攻击标签的轻量级方法,无需攻击信息或模型参数先验,实验证明其在不同攻击、数据集和架构上均有效且高效。

摘要:

后门攻击对深度神经网络(DNNs)构成严重的安全漏洞,使模型在干净输入上正常运行,但在特定触发模式出现时操纵预测。目前,训练后后门检测方法通常假设防御者了解攻击信息、模型的 logit 输出以及模型参数。相比之下,我们的方法作为一种轻量级诊断扫描工具,提供可解释性和可视化。通过访问模型获取硬标签,我们在三个样本的凸组合中构建决策边界。我们提出了一个有趣的观察,即后门模型中的两种现象:由干净样本主导的区域明显缩小,以及由目标标签主导的周围区域显著增加。利用这一观察,我们提出了 Model X-ray,这是一种基于图示二维(2D)决策边界分析的新型后门检测方法。我们的方法包括两种策略,分别关注由干净样本主导的决策区域和标签分布的集中度,它不仅能够识别目标模型是否被感染,还能够在 all-to-one 攻击策略下确定被攻击的目标标签。重要的是,它仅通过干净输入的预测硬标签即可完成这一任务,无需对攻击作任何假设,也无需模型训练细节的先验知识。大量实验表明,Model X-ray 在不同的后门攻击、数据集和架构上具有出色的有效性和效率。此外,还提供了关于超参数的消融研究、更多攻击策略以及相关讨论。

英文摘要:

Backdoor attacks pose a significant security vulnerability for deep neural networks (DNNs), enabling them to operate normally on clean inputs but manipulate predictions when specific trigger patterns occur. Currently, post-training backdoor detection approaches often operate under the assumption that the defender has knowledge of the attack information, logit output from the model, and knowledge of the model parameters. In contrast, our approach functions as a lightweight diagnostic scanning tool offering interpretability and visualization. By accessing the model to obtain hard labels, we construct decision boundaries within the convex combination of three samples. We present an intriguing observation of two phenomena in backdoored models: a noticeable shrinking of areas dominated by clean samples and a significant increase in the surrounding areas dominated by target labels. Leveraging this observation, we propose Model X-ray, a novel backdoor detection approach based on the analysis of illustrated two-dimensional (2D) decision boundaries. Our approach includes two strategies focused on the decision areas dominated by clean samples and the concentration of label distribution, and it can not only identify whether the target model is infected but also determine the target attacked label under the all-to-one attack strategy. Importantly, it accomplishes this solely by the predicted hard labels of clean inputs, regardless of any assumptions about attacks and prior knowledge of the training details of the model. Extensive experiments demonstrated that Model X-ray has outstanding effectiveness and efficiency across diverse backdoor attacks, datasets, and architectures. Besides, ablation studies on hyperparameters and more attack strategies and discussions are also provided.

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

↑