arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1707.02812cs.LGcs.AIcs.CLcs.CV
收藏

制作文本对抗样本

Towards Crafting Text Adversarial Samples

IBM India Research Lab(IBM印度研究院)

Suranjana Samanta, Sameep Mehta

摘要:

对抗性样本是策略性修改的样本,其目的是欺骗手头的分类器。攻击者将特制的对抗样本引入到已部署的分类器中,这些样本被分类器错误分类。然而,这些样本被认为是从完全不同的类中提取的,因此很难检测到对抗性样本。大多数先前的工作都集中在图像域中合成对抗样本。在本文中,我们提出了一种新的方法,通过修改原始样本制作对抗性文本样本。原始文本样本的修改是通过删除或替换文本中的重要或突出词或通过在文本样本中引入新词来完成的。我们的算法最适合在每个类别的例子中有子类别的数据集。在制作对抗性样本时,一个关键的约束是生成有意义的句子,这些句子可以从语言(英语)的角度看是合法的。在IMDB电影评论数据集的情感分析和Twitter数据集的性别检测上的实验结果表明了该方法的有效性。

英文摘要:

Adversarial samples are strategically modified samples, which are crafted with the purpose of fooling a classifier at hand. An attacker introduces specially crafted adversarial samples to a deployed classifier, which are being mis-classified by the classifier. However, the samples are perceived to be drawn from entirely different classes and thus it becomes hard to detect the adversarial samples. Most of the prior works have been focused on synthesizing adversarial samples in the image domain. In this paper, we propose a new method of crafting adversarial text samples by modification of the original samples. Modifications of the original text samples are done by deleting or replacing the important or salient words in the text or by introducing new words in the text sample. Our algorithm works best for the datasets which have sub-categories within each of the classes of examples. While crafting adversarial samples, one of the key constraint is to generate meaningful sentences which can at pass off as legitimate from language (English) viewpoint. Experimental results on IMDB movie review dataset for sentiment analysis and Twitter dataset for gender detection show the efficiency of our proposed method.

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

↑