Papers › NOTABLE: Transferable Backdoor Attacks Against Prompt-based NLP Models

NOTABLE: Transferable Backdoor Attacks Against Prompt-based NLP Models

28 May 2023arXiv:2305.17826archive 2025-07-28

Kai Mei, Zheng Li, Zhenting Wang, Yang Zhang, Shiqing Ma

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 easily affected by retraining on downstream tasks and with different prompting strategies, limiting the transferability of backdoor attacks. In this work, we propose transferable backdoor attacks against prompt-based models, called NOTABLE, which is independent of downstream tasks and prompting strategies. Specifically, NOTABLE injects backdoors into the encoders of PLMs by utilizing an adaptive verbalizer to bind triggers to specific words (i.e., anchors). It activates the backdoor by pasting input with triggers to reach adversary-desired anchors, achieving independence from downstream tasks and prompting strategies. We conduct experiments on six NLP tasks, three popular models, and three prompting strategies. Empirical results show that NOTABLE achieves superior attack performance (i.e., attack success rate over 90% on all the datasets), and outperforms two state-of-the-art baselines. Evaluations on three defenses show the robustness of NOTABLE. Our code can be found at https://github.com/RU-System-Software-and-Security/Notable.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2305.17826")

Code

Syntology Ran 16 of 20 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 2 ran · honoured contract; 1 ran · violated contract; 5 ran · our draft was wrong; 3 ran · fixture could not drive it; 5 ran with no contract checked.

By repository: official repository: 20 samples from 1 repository, 16 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

ru-system-software-and-security/notable officialmentioned in paperpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

20 samples harvested; 16 ran; 2 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · honoured contract
1ran · violated contract
5ran · our draft was wrong
3ran · fixture could not drive it
5ran
4unverified

Licence: 20 of the 20 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from RU-System-Software-and-Security/Notable. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

AccuracyFn RU-System-Software-and-Security/Notable/autoprompt/create_trigger.py official repository ran no licence file found · pointer only · 03ba856c8d50cb92 · report
Collator RU-System-Software-and-Security/Notable/autoprompt/create_trigger.py official repository ran no licence file found · pointer only · 736b1e3d7a04f0c0 · report
GradientStorage RU-System-Software-and-Security/Notable/autoprompt/create_trigger.py official repository ran no licence file found · pointer only · 3109240945514efb · report
PredictWrapper RU-System-Software-and-Security/Notable/autoprompt/create_trigger.py official repository ran no licence file found · pointer only · b7a8ca735d37a6af · report
TriggerTemplatizer RU-System-Software-and-Security/Notable/autoprompt/create_trigger.py official repository ran no licence file found · pointer only · 44c86571efd62a1a · report
encode_label RU-System-Software-and-Security/Notable/autoprompt/create_trigger.py official repository ran · honoured contract no licence file found · pointer only · d174dc1e0823ae67 · report
get_embeddings ru-system-software-and-security/notable/autoprompt/create_trigger.py official repository ran · our draft was wrong no licence file found · pointer only · 20a9293a820f617d · report
get_loss RU-System-Software-and-Security/Notable/autoprompt/create_trigger.py official repository ran · fixture could not drive it no licence file found · pointer only · f614f524884546fe · report
hotflip_attack ru-system-software-and-security/notable/autoprompt/create_trigger.py official repository ran · fixture could not drive it no licence file found · pointer only · 309e71f4157403d6 · report
isupper RU-System-Software-and-Security/Notable/autoprompt/create_trigger.py official repository ran · violated contract no licence file found · pointer only · 6a57ad8e1ebd28ac · report
load_augmented_trigger_dataset RU-System-Software-and-Security/Notable/autoprompt/create_trigger.py official repository ran · our draft was wrong no licence file found · pointer only · 167ee534ecb844a1 · report
load_jsonl RU-System-Software-and-Security/Notable/autoprompt/create_trigger.py official repository ran · our draft was wrong no licence file found · pointer only · 3193029e7175ef98 · report
load_trigger_dataset RU-System-Software-and-Security/Notable/autoprompt/create_trigger.py official repository ran · our draft was wrong no licence file found · pointer only · 8291054ef431334e · report
load_tsv RU-System-Software-and-Security/Notable/autoprompt/create_trigger.py official repository ran · our draft was wrong no licence file found · pointer only · e284d68f65c1afe4 · report
pad_squeeze_sequence RU-System-Software-and-Security/Notable/autoprompt/create_trigger.py official repository ran · honoured contract no licence file found · pointer only · d133860668e93507 · report
replace_trigger_tokens RU-System-Software-and-Security/Notable/autoprompt/create_trigger.py official repository ran · fixture could not drive it no licence file found · pointer only · ec5d1f66dd9187f9 · report
add_task_specific_tokens RU-System-Software-and-Security/Notable/autoprompt/create_trigger.py official repository unverified no licence file found · pointer only · 02ee33f23a8f0591 · report
load_pretrained RU-System-Software-and-Security/Notable/autoprompt/create_trigger.py official repository unverified no licence file found · pointer only · a5946a0ceaabfe6b · report
run_model RU-System-Software-and-Security/Notable/autoprompt/create_trigger.py official repository unverified no licence file found · pointer only · 4ef0bced0d8f70ee · report
set_seed RU-System-Software-and-Security/Notable/autoprompt/create_trigger.py official repository unverified no licence file found · pointer only · 52e446206cdc2fa5 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections