arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2110.12948cs.CRcs.CL
收藏

生成带水印的对抗性文本

Generating Watermarked Adversarial Texts

Mingjie Li, Hanzhou Wu, Xinpeng Zhang

摘要:

对抗性样本生成是近年来的研究热点,因为它会导致深度神经网络(DNN)对生成的对抗性样本进行错误分类,这揭示了DNN的脆弱性,促使我们寻找好的解决方案来提高DNN模型的鲁棒性。由于自然语言在社交网络上的广泛性和高流动性,文献中已经提出了各种基于自然语言的对抗攻击算法。这些算法生成具有高语义质量的对抗性文本示例。然而,生成的对抗性文本示例可能被恶意或非法使用。为了解决这个问题,我们提出了一个通用的框架生成水印对抗文本的例子。对于给定文本中的每个单词,确定一组候选单词,以确保该组中的所有单词都可以用于携带秘密比特或促进对抗性示例的构建。通过应用词级对抗文本生成算法,可以最终生成带水印的对抗文本示例。实验结果表明,该方法生成的对抗性文本样本不仅能够成功欺骗高级DNN模型,而且能够携带水印,有效验证对抗性样本的所有权,并追踪其来源。而且,水印在对抗性样本生成算法攻击后仍能存活,显示了其适用性和优越性。

英文摘要:

Adversarial example generation has been a hot spot in recent years because it can cause deep neural networks (DNNs) to misclassify the generated adversarial examples, which reveals the vulnerability of DNNs, motivating us to find good solutions to improve the robustness of DNN models. Due to the extensiveness and high liquidity of natural language over the social networks, various natural language based adversarial attack algorithms have been proposed in the literature. These algorithms generate adversarial text examples with high semantic quality. However, the generated adversarial text examples may be maliciously or illegally used. In order to tackle with this problem, we present a general framework for generating watermarked adversarial text examples. For each word in a given text, a set of candidate words are determined to ensure that all the words in the set can be used to either carry secret bits or facilitate the construction of adversarial example. By applying a word-level adversarial text generation algorithm, the watermarked adversarial text example can be finally generated. Experiments show that the adversarial text examples generated by the proposed method not only successfully fool advanced DNN models, but also carry a watermark that can effectively verify the ownership and trace the source of the adversarial examples. Moreover, the watermark can still survive after attacked with adversarial example generation algorithms, which has shown the applicability and superiority.

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

↑