TSCheater:通过视觉相似性生成高质量藏文对抗文本
TSCheater: Generating High-Quality Tibetan Adversarial Texts via Visual Similarity
AI总结:
本文提出TSCheater方法,利用藏文编码特性和视觉相似音节语义相近的特征生成高质量对抗文本,并在多个模型上验证其优于现有方法,同时构建了首个藏文对抗鲁棒性评估基准AdvTS。
摘要:
基于深度神经网络的语言模型容易受到文本对抗攻击。虽然英语等资源丰富的语言受到集中关注,但藏语作为一种跨境语言,因其丰富的古代文献和关键的语言战略地位而逐渐得到研究。目前已有若干藏文对抗文本生成方法,但它们未能充分考虑藏文字符的文本特征,并高估了所生成对抗文本的质量。为解决这一问题,我们提出了一种新的藏文对抗文本生成方法,称为TSCheater,该方法考虑了藏文编码的特性以及视觉相似音节具有相似语义的特征。该方法还可以迁移到其他元音附标文字,如天城文。我们利用自建的藏文音节视觉相似性数据库TSVSDB生成替换候选,并采用基于贪心算法的评分机制确定替换顺序。随后,我们在八个受害语言模型上进行了实验。实验结果表明,TSCheater在攻击有效性、扰动幅度、语义相似性、视觉相似性和人类接受度方面均优于现有方法。最后,我们构建了第一个藏文对抗鲁棒性评估基准,称为AdvTS,该基准由现有方法生成并经人工校对。
英文摘要:
Language models based on deep neural networks are vulnerable to textual adversarial attacks. While rich-resource languages like English are receiving focused attention, Tibetan, a cross-border language, is gradually being studied due to its abundant ancient literature and critical language strategy. Currently, there are several Tibetan adversarial text generation methods, but they do not fully consider the textual features of Tibetan script and overestimate the quality of generated adversarial texts. To address this issue, we propose a novel Tibetan adversarial text generation method called TSCheater, which considers the characteristic of Tibetan encoding and the feature that visually similar syllables have similar semantics. This method can also be transferred to other abugidas, such as Devanagari script. We utilize a self-constructed Tibetan syllable visual similarity database called TSVSDB to generate substitution candidates and adopt a greedy algorithm-based scoring mechanism to determine substitution order. After that, we conduct the method on eight victim language models. Experimentally, TSCheater outperforms existing methods in attack effectiveness, perturbation magnitude, semantic similarity, visual similarity, and human acceptance. Finally, we construct the first Tibetan adversarial robustness evaluation benchmark called AdvTS, which is generated by existing methods and proofread by humans.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。