基于后门关键词识别的LSTM文本分类系统中的后门攻击
Mitigating backdoor attacks in LSTM-based Text Classification Systems by Backdoor Keyword Identification
摘要:
事实证明,深度神经网络正面临着一种名为后门攻击的新威胁,攻击者可以通过毒化训练数据集将后门注入神经网络模型。当输入中含有某种称为后门的触发模式时,带有后门的模型将执行恶意任务,如攻击者指定的错误分类。在文本分类系统中,插入模型中的后门可能会导致垃圾邮件或恶意语音逃避检测。以往的工作主要集中在计算机视觉中的后门攻击的防御上,对于文本分类中的RNN后门攻击的防御方法研究较少。本文通过分析LSTM内部神经元的变化,提出了一种称为后门关键字识别(BKI)的防御方法,以减轻攻击者通过数据投毒对基于LSTM的文本分类进行的后门攻击。这种方法可以识别和排除中毒样本制作插入后门到模型中的训练数据,而无需验证和可信的数据集。我们评估我们的方法在四个不同的文本分类数据集:IMDB,DBpedia本体,20个新闻组和路透社-21578数据集。无论触发语句是什么,它都能实现良好的性能。
英文摘要:
It has been proved that deep neural networks are facing a new threat called backdoor attacks, where the adversary can inject backdoors into the neural network model through poisoning the training dataset. When the input containing some special pattern called the backdoor trigger, the model with backdoor will carry out malicious task such as misclassification specified by adversaries. In text classification systems, backdoors inserted in the models can cause spam or malicious speech to escape detection. Previous work mainly focused on the defense of backdoor attacks in computer vision, little attention has been paid to defense method for RNN backdoor attacks regarding text classification. In this paper, through analyzing the changes in inner LSTM neurons, we proposed a defense method called Backdoor Keyword Identification (BKI) to mitigate backdoor attacks which the adversary performs against LSTM-based text classification by data poisoning. This method can identify and exclude poisoning samples crafted to insert backdoor into the model from training data without a verified and trusted dataset. We evaluate our method on four different text classification datset: IMDB, DBpedia ontology, 20 newsgroups and Reuters-21578 dataset. It all achieves good performance regardless of the trigger sentences.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。