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

一种自适应木马黑盒防御算法(TrojDef)

An Adaptive Black-box Defense against Trojan Attacks (TrojDef)

New Jersey Institute of Technology(新泽西理工学院);Jordan University of Science & Technology(约旦科技大学);Qatar Computing Research Institute(卡塔尔计算研究所);HBKU(哈马德·本·哈利法大学)

Guanxiong Liu, Abdallah Khreishah, Fatima Sharadgah, Issa Khalil

摘要:

特洛伊木马后门是一种针对神经网络(NN)分类器的中毒攻击,其中对手试图利用(高度期望的)模型重用属性,通过中毒的训练过程将特洛伊木马植入后门漏洞的模型参数中。大多数针对木马攻击的防御措施都假设白盒设置,其中防御者可以访问NN的内部状态,也可以通过它运行反向传播。在这项工作中,我们提出了一个更实用的黑盒防御,称为TrojDef,它只能运行NN的前向传递。TrojDef尝试识别和过滤特洛伊输入(即,当输入被随机噪声反复扰动时,通过监视预测置信度的变化,来检测用特洛伊触发器增强的输入)。我们推导出一个函数的基础上的预测输出,这是所谓的预测置信界,以决定是否输入的例子是木马或没有。直觉是,特洛伊输入更稳定,因为错误分类仅取决于触发器,而良性输入在由于分类特征的扰动而增加噪声时会受到影响。通过数学分析,我们表明,如果攻击者是完美的注入后门,木马感染模型将被训练学习适当的预测置信区间,这是用来区分木马和良性输入下的任意扰动。然而,由于攻击者在注入后门方面可能并不完美,因此我们引入了一种非线性变换来预测置信区间,以提高实际设置中的检测精度。广泛的实证评估表明,TrojDef的性能明显优于最先进的防御,并且在不同的设置下非常稳定,即使分类器架构,训练过程或超参数发生变化。

英文摘要:

Trojan backdoor is a poisoning attack against Neural Network (NN) classifiers in which adversaries try to exploit the (highly desirable) model reuse property to implant Trojans into model parameters for backdoor breaches through a poisoned training process. Most of the proposed defenses against Trojan attacks assume a white-box setup, in which the defender either has access to the inner state of NN or is able to run back-propagation through it. In this work, we propose a more practical black-box defense, dubbed TrojDef, which can only run forward-pass of the NN. TrojDef tries to identify and filter out Trojan inputs (i.e., inputs augmented with the Trojan trigger) by monitoring the changes in the prediction confidence when the input is repeatedly perturbed by random noise. We derive a function based on the prediction outputs which is called the prediction confidence bound to decide whether the input example is Trojan or not. The intuition is that Trojan inputs are more stable as the misclassification only depends on the trigger, while benign inputs will suffer when augmented with noise due to the perturbation of the classification features. Through mathematical analysis, we show that if the attacker is perfect in injecting the backdoor, the Trojan infected model will be trained to learn the appropriate prediction confidence bound, which is used to distinguish Trojan and benign inputs under arbitrary perturbations. However, because the attacker might not be perfect in injecting the backdoor, we introduce a nonlinear transform to the prediction confidence bound to improve the detection accuracy in practical settings. Extensive empirical evaluations show that TrojDef significantly outperforms the-state-of-the-art defenses and is highly stable under different settings, even when the classifier architecture, the training process, or the hyper-parameters change.

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

↑