paper-with-me

Papers

Training-free Lexical Backdoor Attacks on Language Models

2023-02-08 · Yujin Huang, Terry Yue Zhuo, Qiongkai Xu, Han Hu, Xingliang Yuan, Chunyang Chen

Large-scale language models have achieved tremendous success across various natural language processing (NLP) applications. Nevertheless, language models are vulnerable to backdoor attacks, which inject stealthy triggers into models for steering them to undesirable behaviors. Most existing backdoor attacks, such as data poisoning, require further (re)training or fine-tuning language models to learn the intended backdoor patterns. The additional training process however diminishes the stealthiness of the attacks, as training a language model usually requires long optimization time, a massive amount of data, and considerable modifications to the model parameters. In this work, we propose Training-Free Lexical Backdoor Attack (TFLexAttack) as the first training-free backdoor attack on language models. Our attack is achieved by injecting lexical triggers into the tokenizer of a language model via manipulating its embedding dictionary using carefully designed rules. These rules are explainable to human developers which inspires attacks from a wider range of hackers. The sparse manipulation of the dictionary also habilitates the stealthiness of our attack. We conduct extensive experiments on three dominant NLP tasks based on nine language models to demonstrate the effectiveness and universality of our attack. The code of this work is available at https://github.com/Jinxhy/TFLexAttack.

📄 PDF Abstract BibTeX arXiv:2302.04116

Code (1)

jinxhy/tflexattack 공식 구현

Tasks

Backdoor AttackData PoisoningLanguage ModelingLanguage Modelling

Similar Papers 제목 키워드 기반

Data Free Backdoor Attacks

2024-12-09 · Bochuan Cao, Jinyuan Jia, Chuxuan Hu, Wenbo Guo 외

Backdoor attacks aim to inject a backdoor into a classifier such that it predicts any input with an attacker-chosen backdoor trigger as an attacker-chosen target class. Existing backdoor attacks require either retraining…

Backdoor Attack

Exploiting the Vulnerability of Large Language Models via Defense-Aware Architectural Backdoor

2024-09-03 · Abdullah Arafat Miah, Yu Bi

Deep neural networks (DNNs) have long been recognized as vulnerable to backdoor attacks. By providing poisoned training data in the fine-tuning process, the attacker can implant a backdoor into the victim model. This ena…

Backdoor AttackLarge Language ModelPhilosophy

Partial train and isolate, mitigate backdoor attack

2024-05-26 · Yong Li, Han Gao

Neural networks are widely known to be vulnerable to backdoor attacks, a method that poisons a portion of the training data to make the target model perform well on normal data sets, while outputting attacker-specified o…

Backdoor Attack

Black-box Detection of Backdoor Attacks with Limited Information and Data

2021-03-24 · ICCV 2021 10 · Yinpeng Dong, Xiao Yang, Zhijie Deng, Tianyu Pang 외

Although deep neural networks (DNNs) have made rapid progress in recent years, they are vulnerable in adversarial environments. A malicious backdoor could be embedded in a model by poisoning the training dataset, whose i…

Gracefully Filtering Backdoor Samples for Generative Large Language Models without Retraining

2024-12-03 · Zongru Wu, Pengzhou Cheng, Lingyong Fang, Zhuosheng Zhang 외

Backdoor attacks remain significant security threats to generative large language models (LLMs). Since generative LLMs output sequences of high-dimensional token logits instead of low-dimensional classification logits, m…

backdoor defenseComputational EfficiencyQuestion Answering