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

扩大范围:将英文对抗攻击适配到中文

Expanding Scope: Adapting English Adversarial Attacks to Chinese

University of Virginia(弗吉尼亚大学)

Hanyu Liu, Chengyuan Cai, Yanjun Qi

AI总结:

本文研究英文SOTA对抗攻击向中文的适配,表明结合中文分词、语言约束及形态音韵特征可生成流畅且语义一致的对抗样本,用于增强中文NLP模型鲁棒性。

摘要:

近期研究表明,NLP预测模型容易受到对抗攻击。现有大多数研究只关注设计攻击以评估英文环境下NLP模型的鲁棒性。文献中对其他语言的NLP解决方案需求日益增长。因此,我们提出一个自然的问题:最先进(SOTA)攻击方法能否泛化到其他语言。本文研究如何将英文中的SOTA对抗攻击算法适配到中文。我们的实验表明,先前应用于英文NLP的攻击方法,在结合适当的文本分词和语言约束后,能够生成高质量的中文对抗样本。此外,我们证明,通过关注中文的形态和音韵,生成的对抗样本能够实现高流畅度和语义一致性,进而可用于提升中文NLP模型的对抗鲁棒性。

英文摘要:

Recent studies have revealed that NLP predictive models are vulnerable to adversarial attacks. Most existing studies focused on designing attacks to evaluate the robustness of NLP models in the English language alone. Literature has seen an increasing need for NLP solutions for other languages. We, therefore, ask one natural question: whether state-of-the-art (SOTA) attack methods generalize to other languages. This paper investigates how to adapt SOTA adversarial attack algorithms in English to the Chinese language. Our experiments show that attack methods previously applied to English NLP can generate high-quality adversarial examples in Chinese when combined with proper text segmentation and linguistic constraints. In addition, we demonstrate that the generated adversarial examples can achieve high fluency and semantic consistency by focusing on the Chinese language's morphology and phonology, which in turn can be used to improve the adversarial robustness of Chinese NLP models.

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

↑