Exploiting the Vulnerability of Large Language Models via Defense-Aware Architectural Backdoor
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
- 2023Punctuation Matters! Stealthy Backdoor Attack for Language Models26 Dec
- 2023Composite Backdoor Attacks Against Large Language Models11 Oct
- 2023Training-free Lexical Backdoor Attacks on Language Models8 Feb
- 2022BITE: Textual Backdoor Attacks with Iterative Trigger Injection25 May
- 2021Triggerless Backdoor Attack for NLP Tasks with Clean Labels15 Nov
- 2021Textual Backdoor Attacks Can Be More Harmful via Two Simple Tricks15 Oct
- 2021RAP: Robustness-Aware Perturbations for Defending against Backdoor Attacks on NLP Models15 Oct
- 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
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,052
- 2018Generating Natural Language Adversarial Examplescited by 422
- 2020Weight Poisoning Attacks on Pre-trained Modelscited by 318
- 2020ONION: A Simple and Effective Defense Against Textual Backdoor Attackscited by 231
- 2019A backdoor attack against LSTM-based text classification systemscited by 214
- 2020BadNL: Backdoor Attacks against NLP Models with Semantic-preserving Improvementscited by 191
- 2022Membership Inference Attacks by Exploiting Loss Trajectorycited by 93
- 2022Towards Data-Free Model Stealing in a Hard Label Settingcited by 57
- 2022Architectural Backdoors in Neural Networkscited by 24
2 more
Built on by
Citing papers per year: 2025: 1; 2026: 2.
3 papers.
- 2025Advances and Challenges in Foundation Agents: From Brain-Inspired Intelligence to Evolutionary, Collaborative, and Safe Systemscited by 125
- 2026BadImplant: Injection-based Multi-Targeted Graph Backdoor Attackcited by 0
- 2026BadSNN: Backdoor Attacks on Spiking Neural Networks via Adversarial Spiking Neuroncited by 0
- 2026BadSNN: Backdoor Attacks on Spiking Neural Networks via Adversarial Spiking Neuron6 Feb 2026
- 2026BadImplant: Injection-based Multi-Targeted Graph Backdoor Attack21 Jan 2026
- 2025Advances and Challenges in Foundation Agents: From Brain-Inspired Intelligence to Evolutionary, Collaborative, and Safe Systems31 Mar 2025