mlsanityData to 14 Oct 2026

Backdoor Token Unlearning: Exposing and Defending Backdoors in Pretrained Language Models

arXiv 2501.03272 ↗First posted 5 Jan 2025cs.CR cs.AI cs.CLcited by 8

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

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 5; 2026: 3.

8 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Merging Triggers, Breaking Backdoors: Defensive Poisoning for Instruction-Tuned Language Models
  2. 2025DUP: Detection-guided Unlearning for Backdoor Purification in Language Models
  3. 2026Backdoor Unlearning Generalization: A Path Toward the Removal of Unknown Triggers in LLMs
  4. 2024Defense Against Syntactic Textual Backdoor Attacks with Token Substitution
  5. 2025Unmasking Backdoors: An Explainable Defense via Gradient-Attention Anomaly Scoring for Pre-trained Language Models
  6. 2023Setting the Trap: Capturing and Defeating Backdoors in Pretrained Language Models through Honeypots
  7. 2024A Survey of Recent Backdoor Attacks and Defenses in Large Language Models
  8. 2024Unlearning Backdoor Attacks for LLMs with Weak-to-Strong Knowledge Distillation