paper-with-me

홈 › Papers

TARGET: Template-Transferable Backdoor Attack Against Prompt-based NLP Models via GPT4

2023-11-29 · Zihao Tan, Qingliang Chen, Yongjian Huang, Chen Liang

Prompt-based learning has been widely applied in many low-resource NLP tasks such as few-shot scenarios. However, this paradigm has been shown to be vulnerable to backdoor attacks. Most of the existing attack methods focus on inserting manually predefined templates as triggers in the pre-training phase to train the victim model and utilize the same triggers in the downstream task to perform inference, which tends to ignore the transferability and stealthiness of the templates. In this work, we propose a novel approach of TARGET (Template-trAnsfeRable backdoor attack aGainst prompt-basEd NLP models via GPT4), which is a data-independent attack method. Specifically, we first utilize GPT4 to reformulate manual templates to generate tone-strong and normal templates, and the former are injected into the model as a backdoor trigger in the pre-training phase. Then, we not only directly employ the above templates in the downstream task, but also use GPT4 to generate templates with similar tone to the above templates to carry out transferable attacks. Finally we have conducted extensive experiments on five NLP datasets and three BERT series models, with experimental results justifying that our TARGET method has better attack performance and stealthiness compared to the two-external baseline methods on direct attacks, and in addition achieves satisfactory attack capability in the unseen tone-similar templates.

📄 PDF Abstract BibTeX arXiv:2311.17429

Code (0)

등록된 구현이 없습니다.

Tasks

Backdoor Attack

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Adam 설명 없음
Weight Decay 설명 없음
Residual Connection 설명 없음
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…

Similar Papers 제목 키워드 기반

NOTABLE: Transferable Backdoor Attacks Against Prompt-based NLP Models

2023-05-28 · Kai Mei, Zheng Li, Zhenting Wang, Yang Zhang 외

Prompt-based learning is vulnerable to backdoor attacks. Existing backdoor attacks against prompt-based models consider injecting backdoors into the entire embedding layers or word embedding vectors. Such attacks can be …

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 c…

backdoor defenseSentence

Face Reconstruction from Facial Templates by Learning Latent Space of a Generator Network

2023-09-21 · NeurIPS 2023 11

In this paper, we focus on the template inversion attack against face recognition systems and propose a new method to reconstruct face images from facial templates. Within a generative adversarial network (GAN)-based fra…

Don't Trigger Me! A Triggerless Backdoor Attack Against Deep Neural Networks

2020-10-07 · Ahmed Salem, Michael Backes, Yang Zhang

Backdoor attack against deep neural networks is currently being profoundly investigated due to its severe security consequences. Current state-of-the-art backdoor attacks require the adversary to modify the input, usuall…

Backdoor Attack

CUBA: Controlled Untargeted Backdoor Attack against Deep Neural Networks

2025-06-20 · Yinghao Wu, Liyan Zhang

Backdoor attacks have emerged as a critical security threat against deep neural networks in recent years. The majority of existing backdoor attacks focus on targeted backdoor attacks, where trigger is strongly associated…

Backdoor Attackbackdoor defense