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

针对文本分类器的可逆跳跃攻击与修改缩减

Reversible Jump Attack to Textual Classifiers with Modification Reduction

School of Computer Science, University of Technology Sydney(悉尼科技大学计算机科学学院);School of Information Science and Technology, ShanghaiTech University(上海科技大学信息科学与技术学院)

Mingze Ni, Zhensu Sun, Wei Liu

AI总结:

针对NLP模型对抗样本修改幅度与攻击成功率失衡问题,提出RJA和MMR算法,通过随机化机制和采样器生成高效且不可感知的对抗样本,在攻击性能、流畅性和语法正确性上超越现有方法。

摘要:

近期关于对抗样本的研究揭示了自然语言处理(NLP)模型的漏洞。现有的对抗样本生成技术通常由对最优对抗样本不可知的确定性分层规则驱动,这种策略往往导致生成的对抗样本在修改幅度与攻击成功率之间存在次优平衡。为此,本研究提出两种算法:Reversible Jump Attack (RJA) 和 Metropolis-Hasting Modification Reduction (MMR),分别用于生成高效对抗样本和提升样本的不可感知性。RJA 利用新型随机化机制扩大搜索空间,并高效适应对抗样本中的多个扰动词。基于生成的对抗样本,MMR 应用 Metropolis-Hasting 采样器增强对抗样本的不可感知性。大量实验表明,RJA-MMR 在攻击性能、不可感知性、流畅性和语法正确性方面均优于当前最先进方法。

英文摘要:

Recent studies on adversarial examples expose vulnerabilities of natural language processing (NLP) models. Existing techniques for generating adversarial examples are typically driven by deterministic hierarchical rules that are agnostic to the optimal adversarial examples, a strategy that often results in adversarial samples with a suboptimal balance between magnitudes of changes and attack successes. To this end, in this research we propose two algorithms, Reversible Jump Attack (RJA) and Metropolis-Hasting Modification Reduction (MMR), to generate highly effective adversarial examples and to improve the imperceptibility of the examples, respectively. RJA utilizes a novel randomization mechanism to enlarge the search space and efficiently adapts to a number of perturbed words for adversarial examples. With these generated adversarial examples, MMR applies the Metropolis-Hasting sampler to enhance the imperceptibility of adversarial examples. Extensive experiments demonstrate that RJA-MMR outperforms current state-of-the-art methods in attack performance, imperceptibility, fluency and grammar correctness.

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

↑