绕过DARCY防御:不可区分的通用对抗触发器
Bypassing DARCY Defense: Indistinguishable Universal Adversarial Triggers
AI总结:
本文提出IndisUAT方法,通过生成与良性样本特征分布不可区分的通用对抗触发器,有效绕过DARCY蜜罐防御并穿透多种NLP模型防御。
摘要:
用于自然语言处理(NLP)的神经网络(NN)分类模型容易受到通用对抗触发器(UAT)攻击,该攻击会触发模型对任意输入产生特定预测。DARCY借用“蜜罐”概念来设置多个陷阱门,从而有效检测由UAT生成的对抗样本。不幸的是,我们发现了一种新的UAT生成方法,称为IndisUAT,该方法生成触发器(即token),并利用这些触发器构造对抗样本,使这些样本在DARCY的检测层上的特征分布与随机选择类别中的良性样本特征分布不可区分。所生成的对抗样本在受DARCY保护的模型中造成预测结果的最大损失。同时,所生成的触发器在用于文本生成、文本推理和阅读理解的黑盒模型中同样有效。最后,在NLP任务的NN模型上的评估结果表明,IndisUAT方法能够有效绕过DARCY并穿透其他防御。例如,IndisUAT可以将DARCY检测的真阳性率在RNN和CNN模型中分别降低至少40.8%和90.6%,并将准确率分别降低至少33.3%和51.6%。IndisUAT将BERT对抗防御模型的准确率降低至少34.0%,并使GPT-2语言模型即使在以非种族语境为条件时也会输出种族主义内容。
英文摘要:
Neural networks (NN) classification models for Natural Language Processing (NLP) are vulnerable to the Universal Adversarial Triggers (UAT) attack that triggers a model to produce a specific prediction for any input. DARCY borrows the "honeypot" concept to bait multiple trapdoors, effectively detecting the adversarial examples generated by UAT. Unfortunately, we find a new UAT generation method, called IndisUAT, which produces triggers (i.e., tokens) and uses them to craft adversarial examples whose feature distribution is indistinguishable from that of the benign examples in a randomly-chosen category at the detection layer of DARCY. The produced adversarial examples incur the maximal loss of predicting results in the DARCY-protected models. Meanwhile, the produced triggers are effective in black-box models for text generation, text inference, and reading comprehension. Finally, the evaluation results under NN models for NLP tasks indicate that the IndisUAT method can effectively circumvent DARCY and penetrate other defenses. For example, IndisUAT can reduce the true positive rate of DARCY's detection by at least 40.8% and 90.6%, and drop the accuracy by at least 33.3% and 51.6% in the RNN and CNN models, respectively. IndisUAT reduces the accuracy of the BERT's adversarial defense model by at least 34.0%, and makes the GPT-2 language model spew racist outputs even when conditioned on non-racial context.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。