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

MINIMAL:无数据通用对抗触发器的挖掘模型

MINIMAL: Mining Models for Data Free Universal Adversarial Triggers

Adobe Media Data Science Research(Adobe媒体数据科学研究);IIIT-Delhi(德里印度理工学院);SUNY at Buffalo(纽约州立大学布法罗分校);New York University(纽约大学)

Swapnil Parekh, Yaman Singla Kumar, Somesh Singh, Changyou Chen, Balaji Krishnamurthy, Rajiv Ratn Shah

摘要:

众所周知,自然语言模型容易受到对抗攻击的攻击,这些攻击大多是输入特定的。最近,有研究表明,在NLP模型中也存在输入不可知的攻击,称为通用对抗触发器。然而,现有的制作通用触发器的方法是数据密集型的。它们需要大量的数据样本来生成对抗性触发器,而攻击者通常无法访问这些触发器。例如,以前的作品为SNLI数据集每个类取3000个数据样本来生成对抗性触发器。在本文中,我们提出了一种新的无数据方法MINIMAL,从模型中挖掘输入不可知的对抗触发器。使用我们的无数据算法产生的触发器,我们将斯坦福情感树库的正类的准确率从93.6%降低到9.6%。类似地,对于斯坦福自然语言推理(SNLI),我们的单字触发器将蕴涵类的准确率从90.95%降低到小于0.6%。尽管完全无数据,但我们得到的准确度下降与数据依赖方法相当。

英文摘要:

It is well known that natural language models are vulnerable to adversarial attacks, which are mostly input-specific in nature. Recently, it has been shown that there also exist input-agnostic attacks in NLP models, called universal adversarial triggers. However, existing methods to craft universal triggers are data intensive. They require large amounts of data samples to generate adversarial triggers, which are typically inaccessible by attackers. For instance, previous works take 3000 data samples per class for the SNLI dataset to generate adversarial triggers. In this paper, we present a novel data-free approach, MINIMAL, to mine input-agnostic adversarial triggers from models. Using the triggers produced with our data-free algorithm, we reduce the accuracy of Stanford Sentiment Treebank's positive class from 93.6% to 9.6%. Similarly, for the Stanford Natural Language Inference (SNLI), our single-word trigger reduces the accuracy of the entailment class from 90.95% to less than 0.6\%. Despite being completely data-free, we get equivalent accuracy drops as data-dependent methods.

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

↑