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

一种通用的文本分类器对抗策略

A Universal Adversarial Policy for Text Classifiers

Ben-Gurion University of the Negev(内盖夫本-古里安大学)

Gallil Maimon, Lior Rokach

摘要:

发现普遍对抗扰动的存在对对抗学习领域产生了巨大的理论和实践影响。在文本领域,大多数普遍的研究都集中在添加到所有文本中的对抗性前缀上。然而,与视觉域不同,将相同的扰动添加到不同的输入会导致明显不自然的输入。因此,我们引入了一种新的通用对抗设置-通用对抗策略,它具有其他通用攻击的许多优点,但也会产生有效的文本-从而使其在实践中具有相关性。我们通过学习一个单一的搜索策略,在一组预定义的语义保留文本的变化,对许多文本。这一提法具有普遍性,因为该政策成功地有效地找到了关于新法规的对抗性实例。我们的方法使用文本扰动,这被广泛证明是在非通用设置(特定的同义词替换)中产生自然攻击。我们建议使用强化学习的这种配方的强基线方法。它的泛化能力(从500个训练文本中)表明,普遍的对抗模式也存在于文本域中。

英文摘要:

Discovering the existence of universal adversarial perturbations had large theoretical and practical impacts on the field of adversarial learning. In the text domain, most universal studies focused on adversarial prefixes which are added to all texts. However, unlike the vision domain, adding the same perturbation to different inputs results in noticeably unnatural inputs. Therefore, we introduce a new universal adversarial setup - a universal adversarial policy, which has many advantages of other universal attacks but also results in valid texts - thus making it relevant in practice. We achieve this by learning a single search policy over a predefined set of semantics preserving text alterations, on many texts. This formulation is universal in that the policy is successful in finding adversarial examples on new texts efficiently. Our approach uses text perturbations which were extensively shown to produce natural attacks in the non-universal setup (specific synonym replacements). We suggest a strong baseline approach for this formulation which uses reinforcement learning. It's ability to generalise (from as few as 500 training texts) shows that universal adversarial patterns exist in the text domain as well.

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

↑