Backdoor Token Unlearning: Exposing and Defending Backdoors in Pretrained Language Models
On the map: LLM safety and security → Backdoor and data poisoning attacks
Abstract (arXiv)
Supervised fine-tuning has become the predominant method for adapting large pretrained models to downstream tasks. However, recent studies have revealed that these models are vulnerable to backdoor attacks, where even a small number of malicious samples can successfully embed backdoor triggers into the model. While most existing defense methods focus on post-training backdoor defense, efficiently defending against backdoor attacks during training phase remains largely unexplored. To address this gap, we propose a novel defense method called Backdoor Token Unlearning (BTU), which proactively detects and neutralizes trigger tokens during the training stage. Our work is based on two key findings: 1) backdoor learning causes distinctive differences between backdoor token parameters and clean token parameters in word embedding layers, and 2) the success of backdoor attacks heavily depends on backdoor token parameters. The BTU defense leverages these properties to identify aberrant embedding parameters and subsequently removes backdoor behaviors using a fine-grained unlearning technique. Extensive evaluations across three datasets and four types of backdoor attacks demonstrate that BTU effectively defends against these threats while preserving the model's performance on primary tasks. Our code is available at https://github.com/XDJPH/BTU.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Placed in Backdoor and data poisoning attacks, one of 12 directions in LLM safety and security. First posted on arXiv 5 Jan 2025.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2025: 5; 2026: 3.
8 papers.
- 2025AutoBackdoor: Automating Backdoor Attacks via LLM Agentscited by 7
- 2025Patronus: Identifying and Mitigating Transferable Backdoors in Pre-trained Language Modelscited by 4
- 2026KUDA: Knowledge Unlearning by Deviating Representation for Large Language Modelscited by 2
- 2025SCOUT: A Defense Against Data Poisoning Attacks in Fine-Tuned Language Modelscited by 1
- 2026Unlearning Evaluation through Subset Statistical Independencecited by 1
- 2025Backdoor Samples Detection Based on Perturbation Discrepancy Consistency in Pre-trained Language Modelscited by 0
- 2025Rotation Control Unlearning: Quantifying and Controlling Continuous Unlearning for LLM with The Cognitive Rotation Spacecited by 0
- 2026InstantForget: Update-Free Backdoor Unlearning with Inference-Time Feature Resetcited by 0
- 2026InstantForget: Update-Free Backdoor Unlearning with Inference-Time Feature Reset14 Jun 2026
- 2026Unlearning Evaluation through Subset Statistical Independence28 Feb 2026
- 2026KUDA: Knowledge Unlearning by Deviating Representation for Large Language Models22 Feb 2026
- 2025SCOUT: A Defense Against Data Poisoning Attacks in Fine-Tuned Language Models10 Dec 2025
- 2025Patronus: Identifying and Mitigating Transferable Backdoors in Pre-trained Language Models7 Dec 2025
- 2025AutoBackdoor: Automating Backdoor Attacks via LLM Agents20 Nov 2025
- 2025Rotation Control Unlearning: Quantifying and Controlling Continuous Unlearning for LLM with The Cognitive Rotation Space30 Sep 2025
- 2025Backdoor Samples Detection Based on Perturbation Discrepancy Consistency in Pre-trained Language Models30 Aug 2025
Similar, not cited
Close in wording, no citation either way
- 2026Merging Triggers, Breaking Backdoors: Defensive Poisoning for Instruction-Tuned Language Models
- 2025DUP: Detection-guided Unlearning for Backdoor Purification in Language Models
- 2026Backdoor Unlearning Generalization: A Path Toward the Removal of Unknown Triggers in LLMs
- 2024Defense Against Syntactic Textual Backdoor Attacks with Token Substitution
- 2025Unmasking Backdoors: An Explainable Defense via Gradient-Attention Anomaly Scoring for Pre-trained Language Models
- 2023Setting the Trap: Capturing and Defeating Backdoors in Pretrained Language Models through Honeypots
- 2024A Survey of Recent Backdoor Attacks and Defenses in Large Language Models
- 2024Unlearning Backdoor Attacks for LLMs with Weak-to-Strong Knowledge Distillation