Multi-Granularity Tibetan Textual Adversarial Attack Method Based on Masked Language Model

Xi Cao, Nuo Qun, Quzong Gesang, Yulei Zhu, Trashi Nyima
12/3/2024
cs.CLcs.CR

No official code found. Best implementation: UTibetNLP/TSTricker (0 stars, last commit 2024-07-13).

Abstract

In social media, neural network models have been applied to hate speech detection, sentiment analysis, etc., but neural network models are susceptible to adversarial attacks. For instance, in a text classification task, the attacker elaborately introduces perturbations to the original texts that hardly alter the original semantics in order to trick the model into making different predictions. By studying textual adversarial attack methods, the robustness of language models can be evaluated and then improved. Currently, most of the research in this field focuses on English, and there is also a certain amount of research on Chinese. However, there is little research targeting Chinese minority languages. With the rapid development of artificial intelligence technology and the emergence of Chinese minority language models, textual adversarial attacks become a new challenge for the information processing of Chinese minority languages. In response to this situation, we propose a multi-granularity Tibetan textual adversarial attack method based on masked language models called TSTricker. We utilize the masked language models to generate candidate substitution syllables or words, adopt the scoring mechanism to determine the substitution order, and then conduct the attack method on several fine-tuned victim models. The experimental results show that TSTricker reduces the accuracy of the classification models by more than 28.70% and makes the classification models change the predictions of more than 90.60% of the samples, which has an evidently higher attack effect than the baseline method.

View on arXivView PDF

Code Implementations(1)

UTibetNLP/TSTrickerCommunity100%

Multi-Granularity Tibetan Textual Adversarial Attack Method Based on Masked Language Model (Cao et al., WWW 2024 Workshop - SocialNLP)

00Mar 10, 20242 years ago

Cite this paper

@article{cao2024multigranularity,
  title  = {Multi-Granularity Tibetan Textual Adversarial Attack Method Based on Masked Language Model},
  author = {Xi Cao and Nuo Qun and Quzong Gesang and Yulei Zhu and Trashi Nyima},
  year   = {2024},
  eprint = {2412.02343},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.02343v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.02343.svg)](https://codeofpaper.com/paper/2412.02343)

Discussion