paper-with-me

홈 › Papers

Defense Against Syntactic Textual Backdoor Attacks with Token Substitution

2024-07-04 · Xinglin Li, Xianwen He, Yao Li, Minhao Cheng

Textual backdoor attacks present a substantial security risk to Large Language Models (LLM). It embeds carefully chosen triggers into a victim model at the training stage, and makes the model erroneously predict inputs containing the same triggers as a certain class. Prior backdoor defense methods primarily target special token-based triggers, leaving syntax-based triggers insufficiently addressed. To fill this gap, this paper proposes a novel online defense algorithm that effectively counters syntax-based as well as special token-based backdoor attacks. The algorithm replaces semantically meaningful words in sentences with entirely different ones but preserves the syntactic templates or special tokens, and then compares the predicted labels before and after the substitution to determine whether a sentence contains triggers. Experimental results confirm the algorithm's performance against these two types of triggers, offering a comprehensive defense strategy for model integrity.

📄 PDF Abstract BibTeX arXiv:2407.04179

Code (0)

등록된 구현이 없습니다.

Tasks

backdoor defenseSentence

Similar Papers 제목 키워드 기반

Hidden Killer: Invisible Textual Backdoor Attacks with Syntactic Trigger

2021-05-26 · ACL 2021 5 · Fanchao Qi, Mukai Li, Yangyi Chen, Zhengyan Zhang 외

Backdoor attacks are a kind of insidious security threat against machine learning models. After being injected with a backdoor in training, the victim model will produce adversary-specified outputs on the inputs embedded…

Backdoor Attack

From Shortcuts to Triggers: Backdoor Defense with Denoised PoE

2023-05-24 · Qin Liu, Fei Wang, Chaowei Xiao, Muhao Chen

Language models are often at risk of diverse backdoor attacks, especially data poisoning. Thus, it is important to investigate defense solutions for addressing them. Existing backdoor defense methods mainly focus on back…

backdoor defenseData PoisoningDenoisingSentence+1

Defending Text-to-image Diffusion Models: Surprising Efficacy of Textual Perturbations Against Backdoor Attacks

2024-08-28 · Oscar Chew, Po-Yi Lu, Jayden Lin, Hsuan-Tien Lin

Text-to-image diffusion models have been widely adopted in real-world applications due to their ability to generate realistic images from textual descriptions. However, recent studies have shown that these methods are vu…

backdoor defense

ONION: A Simple and Effective Defense Against Textual Backdoor Attacks

2020-11-20 · EMNLP 2021 11 · Fanchao Qi, Yangyi Chen, Mukai Li, Yuan YAO 외

Backdoor attacks are a kind of emergent training-time threat to deep neural networks (DNNs). They can manipulate the output of DNNs and possess high insidiousness. In the field of natural language processing, some attack…

Backdoor Attackbackdoor defense

Rethink the Evaluation for Attack Strength of Backdoor Attacks in Natural Language Processing

2022-01-09 · Lingfeng Shen, Haiyun Jiang, Lemao Liu, Shuming Shi

It has been shown that natural language processing (NLP) models are vulnerable to a kind of security threat called the Backdoor Attack, which utilizes a `backdoor trigger' paradigm to mislead the models. The most threate…

Backdoor AttackText Classification