mlsanityData to 7 Oct 2026

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

arXiv 2409.01952 ↗First posted 3 Sep 2024cs.CR cs.AI cs.ARcited by 3

On the map: LLM safety and security → Backdoor and data poisoning attacks

Abstract (arXiv)

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 enables input samples meeting specific textual trigger patterns to be classified as target labels of the attacker's choice. While such black-box attacks have been well explored in both computer vision and natural language processing (NLP), backdoor attacks relying on white-box attack philosophy have hardly been thoroughly investigated. In this paper, we take the first step to introduce a new type of backdoor attack that conceals itself within the underlying model architecture. Specifically, we propose to design separate backdoor modules consisting of two functions: trigger detection and noise injection. The add-on modules of model architecture layers can detect the presence of input trigger tokens and modify layer weights using Gaussian noise to disturb the feature distribution of the baseline model. We conduct extensive experiments to evaluate our attack methods using two model architecture settings on five different large language datasets. We demonstrate that the training-free architectural backdoor on a large language model poses a genuine threat. Unlike the-state-of-art work, it can survive the rigorous fine-tuning and retraining process, as well as evade output probability-based defense methods (i.e. BDDR). All the code and data is available https://github.com/SiSL-URI/Arch_Backdoor_LLM.

Key facts. Cited by 3 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 24 of its 36 references that are in the map. First posted on arXiv 3 Sep 2024.

Builds on

24 of 36 references.

Closest ancestors · 10

Same direction, newest first

  1. 2023Punctuation Matters! Stealthy Backdoor Attack for Language Models26 Dec
  2. 2023Composite Backdoor Attacks Against Large Language Models11 Oct
  3. 2023Training-free Lexical Backdoor Attacks on Language Models8 Feb
  4. 2022BITE: Textual Backdoor Attacks with Iterative Trigger Injection25 May
  5. 2021Triggerless Backdoor Attack for NLP Tasks with Clean Labels15 Nov
  6. 2021Textual Backdoor Attacks Can Be More Harmful via Two Simple Tricks15 Oct
  7. 2021RAP: Robustness-Aware Perturbations for Defending against Backdoor Attacks on NLP Models15 Oct
  8. 2021Hidden Backdoors in Human-Centric Language Models1 May
  9. 2021Be Careful about Poisoned Word Embeddings: Exploring the Vulnerability of the Embedding Layers in NLP Models29 Mar
  10. 2021T-Miner: A Generative Approach to Defend Against Trojan Attacks on DNN-based Text Classification7 Mar

Other references · 14

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  4. 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,052
  5. 2018Generating Natural Language Adversarial Examplescited by 422
  6. 2020Weight Poisoning Attacks on Pre-trained Modelscited by 318
  7. 2020ONION: A Simple and Effective Defense Against Textual Backdoor Attackscited by 231
  8. 2019A backdoor attack against LSTM-based text classification systemscited by 214
  9. 2020BadNL: Backdoor Attacks against NLP Models with Semantic-preserving Improvementscited by 191
  10. 2022Membership Inference Attacks by Exploiting Loss Trajectorycited by 93
  11. 2022Towards Data-Free Model Stealing in a Hard Label Settingcited by 57
  12. 2022Architectural Backdoors in Neural Networkscited by 24
2 more
  1. 2023Improving Probability-based Prompt Selection Through Unified Evaluation and Analysiscited by 13
  2. 2021EmTract: Extracting Emotions from Social Mediacited by 2

Built on by

Cited by year (2026 to 7 Oct)

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

3 papers.