arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1812.00151cs.LGcs.CRmath.OCstat.ML
收藏

离散对抗攻击和子模块优化及其在文本分类中的应用

Discrete Adversarial Attacks and Submodular Optimization with Applications to Text Classification

UT Austin(德克萨斯大学奥斯汀分校);IBM Research(IBM研究院);Amazon(亚马逊)

Qi Lei, Lingfei Wu, Pin-Yu Chen, Alexandros G. Dimakis, Inderjit S. Dhillon, Michael Witbrock

摘要:

对抗样本是对输入的精心构造的修改,完全改变了分类器的输出,但人类无法察觉。尽管对连续数据(如图像和音频样本)进行了这些成功的攻击,但事实证明,为文本等离散结构生成对抗性示例更具挑战性。在本文中,我们将对集合函数进行离散输入的攻击制定为一项优化任务。在简化假设下,我们证明了该集合函数对于一些流行的神经网络文本分类器是次模的。这一发现保证了使用贪心算法的攻击的$1-1/e$近似因子。同时,我们展示了如何使用被攻击分类器的梯度来指导贪婪搜索。我们提出的优化方案的实证研究表明,显着提高攻击能力和效率,在三个不同的文本分类任务在不同的基线。我们还使用了一个联合的句子和单词的释义技术,以保持原来的语义和语法的文本。这是通过对我们生成的对抗文本的质量和语义一致性的主观度量的人类主体评估来验证的。

英文摘要:

Adversarial examples are carefully constructed modifications to an input that completely change the output of a classifier but are imperceptible to humans. Despite these successful attacks for continuous data (such as image and audio samples), generating adversarial examples for discrete structures such as text has proven significantly more challenging. In this paper we formulate the attacks with discrete input on a set function as an optimization task. We prove that this set function is submodular for some popular neural network text classifiers under simplifying assumption. This finding guarantees a $1-1/e$ approximation factor for attacks that use the greedy algorithm. Meanwhile, we show how to use the gradient of the attacked classifier to guide the greedy search. Empirical studies with our proposed optimization scheme show significantly improved attack ability and efficiency, on three different text classification tasks over various baselines. We also use a joint sentence and word paraphrasing technique to maintain the original semantics and syntax of the text. This is validated by a human subject evaluation in subjective metrics on the quality and semantic coherence of our generated adversarial text.

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

↑