mlsanityData to 7 Oct 2026

Punctuation Matters! Stealthy Backdoor Attack for Language Models

arXiv 2312.15867 ↗First posted 26 Dec 2023cs.CL cs.CRcited by 5

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

  1. 2021Mind the Style of Text! Adversarial and Backdoor Attacks Based on Text Style Transfer14 Oct
  2. 2021Turn the Combination Lock: Learnable Textual Backdoor Attacks via Word Substitution11 Jun
  3. 2021Hidden Killer: Invisible Textual Backdoor Attacks with Syntactic Trigger26 May
  4. 2021Hidden Backdoors in Human-Centric Language Models1 May
  5. 2021Be Careful about Poisoned Word Embeddings: Exploring the Vulnerability of the Embedding Layers in NLP Models29 Mar
  6. 2021T-Miner: A Generative Approach to Defend Against Trojan Attacks on DNN-based Text Classification7 Mar

Other references · 14

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
  4. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  5. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  6. 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,052
  7. 2020Backdoor Learning: A Surveycited by 412
  8. 2020Weight Poisoning Attacks on Pre-trained Modelscited by 318
  9. 2019A backdoor attack against LSTM-based text classification systemscited by 214
  10. 2021Backdoor Attacks on Pre-trained Models by Layerwise Weight Poisoningcited by 103
  11. 2020Trojaning Language Models for Fun and Profitcited by 80
  12. 2021Backdoor Pre-trained Models Can Transfer to Allcited by 79
2 more
  1. 2021Model Extraction and Adversarial Transferability, Your BERT is Vulnerable!cited by 51
  2. 2021Red Alarm for Pre-trained Models: Universal Vulnerability to Neuron-Level Backdoor Attackscited by 44

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 2; 2026: 1.

5 papers.