Punctuation Matters! Stealthy Backdoor Attack for Language Models
On the map: LLM safety and security → Backdoor and data poisoning attacks
Abstract (arXiv)
Recent studies have pointed out that natural language processing (NLP) models are vulnerable to backdoor attacks. A backdoored model produces normal outputs on the clean samples while performing improperly on the texts with triggers that the adversary injects. However, previous studies on textual backdoor attack pay little attention to stealthiness. Moreover, some attack methods even cause grammatical issues or change the semantic meaning of the original texts. Therefore, they can easily be detected by humans or defense systems. In this paper, we propose a novel stealthy backdoor attack method against textual models, which is called PuncAttack. It leverages combinations of punctuation marks as the trigger and chooses proper locations strategically to replace them. Through extensive experiments, we demonstrate that the proposed method can effectively compromise multiple models in various tasks. Meanwhile, we conduct automatic evaluation and human inspection, which indicate the proposed method possesses good performance of stealthiness without bringing grammatical issues and altering the meaning of sentences.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Placed in Backdoor and data poisoning attacks, one of 12 directions in LLM safety and security. Builds on 20 of its 28 references that are in the map. First posted on arXiv 26 Dec 2023.
Builds on
20 of 28 references.
Closest ancestors · 6
Same direction, newest first
- 2021Mind the Style of Text! Adversarial and Backdoor Attacks Based on Text Style Transfer14 Oct
- 2021Turn the Combination Lock: Learnable Textual Backdoor Attacks via Word Substitution11 Jun
- 2021Hidden Killer: Invisible Textual Backdoor Attacks with Syntactic Trigger26 May
- 2021Hidden Backdoors in Human-Centric Language Models1 May
- 2021Be Careful about Poisoned Word Embeddings: Exploring the Vulnerability of the Embedding Layers in NLP Models29 Mar
- 2021T-Miner: A Generative Approach to Defend Against Trojan Attacks on DNN-based Text Classification7 Mar
Other references · 14
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
- 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,052
- 2020Backdoor Learning: A Surveycited by 412
- 2020Weight Poisoning Attacks on Pre-trained Modelscited by 318
- 2019A backdoor attack against LSTM-based text classification systemscited by 214
- 2021Backdoor Attacks on Pre-trained Models by Layerwise Weight Poisoningcited by 103
- 2020Trojaning Language Models for Fun and Profitcited by 80
- 2021Backdoor Pre-trained Models Can Transfer to Allcited by 79
Built on by
Citing papers per year: 2024: 2; 2025: 2; 2026: 1.
5 papers.
- 2025Poisoning Attacks on LLMs Require a Near-constant Number of Poison Samplescited by 66
- 2024Operationalizing a Threat Model for Red-Teaming Large Language Models (LLMs)cited by 44
- 2024Exploiting the Vulnerability of Large Language Models via Defense-Aware Architectural Backdoorcited by 3
- 2025Evaluating the efficacy of LLM Safety Solutions : The Palit Benchmark Datasetcited by 2
- 2026Delayed Backdoor Attacks: Exploring the Temporal Dimension as a New Attack Surface in Pre-Trained Modelscited by 0
- 2026Delayed Backdoor Attacks: Exploring the Temporal Dimension as a New Attack Surface in Pre-Trained Models12 Mar 2026
- 2025Poisoning Attacks on LLMs Require a Near-constant Number of Poison Samples8 Oct 2025
- 2025Evaluating the efficacy of LLM Safety Solutions : The Palit Benchmark Dataset19 May 2025
- 2024Exploiting the Vulnerability of Large Language Models via Defense-Aware Architectural Backdoor3 Sep 2024
- 2024Operationalizing a Threat Model for Red-Teaming Large Language Models (LLMs)20 Jul 2024