paper-with-me

홈 › Papers

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

2025-01-05 · Peihai Jiang, Xixiang Lyu, Yige Li, Jing Ma

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.

📄 PDF Abstract BibTeX arXiv:2501.03272

Code (1)

xdjph/btu 공식 구현

Tasks

backdoor defense

Methods 이 논문이 사용한 방법론

Focus 설명 없음

Similar Papers 제목 키워드 기반

Get Rid Of Your Trail: Remotely Erasing Backdoors in Federated Learning

2023-04-20 · Manaar Alam, Hithem Lamri, Michail Maniatakos

Federated Learning (FL) enables collaborative deep learning training across multiple participants without exposing sensitive personal data. However, the distributed nature of FL and the unvetted participants' data makes …

Federated Learningimage-classificationImage ClassificationMachine Unlearning

Latent Instruction Representation Alignment: defending against jailbreaks, backdoors and undesired knowledge in LLMs

2026-04-12 · Eric Easley, Sebastian Farquhar arxiv

We address jailbreaks, backdoors, and unlearning for large language models (LLMs). Unlike prior work, which trains LLMs based on their actions when given malign instructions, our method specifically trains the model to c…

Interactive Simulations of Backdoors in Neural Networks

2024-05-21 · Peter Bajcsy, Maxime Bros

This work addresses the problem of planting and defending cryptographic-based backdoors in artificial intelligence (AI) models. The motivation comes from our lack of understanding and the implications of using cryptograp…

backdoor defense

Backdoor Unlearning Generalization: A Path Toward the Removal of Unknown Triggers in LLMs

2026-06-02 · Lisa Bouger, Théo Lasnier, Philippe Loubet Moundi, Yannick Teglia 외 arxiv

Backdoor attacks in Large Language Models (LLMs) are a growing security concern, where models can generate adversary-chosen content. Existing defenses target backdoors one at a time and typically require knowledge of the…

Continual Pretraining

Unlearning Backdoor Attacks for LLMs with Weak-to-Strong Knowledge Distillation

2024-10-18 · Shuai Zhao, Xiaobao Wu, Cong-Duy Nguyen, Yanhao Jia 외

Parameter-efficient fine-tuning (PEFT) can bridge the gap between large language models (LLMs) and downstream tasks. However, PEFT has been proven vulnerable to malicious attacks. Research indicates that poisoned LLMs, e…

Backdoor AttackKnowledge DistillationLanguage ModelingLanguage Modelling+3