paper-with-me

Papers

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

2024-10-18 · Shuai Zhao, Xiaobao Wu, Cong-Duy Nguyen, Yanhao Jia, Meihuizi Jia, Yichao Feng, Luu Anh Tuan

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, even after PEFT, retain the capability to activate internalized backdoors when input samples contain predefined triggers. In this paper, we introduce a novel weak-to-strong unlearning algorithm to defend against backdoor attacks based on feature alignment knowledge distillation, named W2SDefense. Specifically, we first train a small-scale language model through full-parameter fine-tuning to serve as the clean teacher model. Then, this teacher model guides the large-scale poisoned student model in unlearning the backdoor, leveraging PEFT. Theoretical analysis suggests that W2SDefense has the potential to enhance the student model's ability to unlearn backdoor features, preventing the activation of the backdoor. We conduct comprehensive experiments on three state-of-the-art large language models and several different backdoor attack algorithms. Our empirical results demonstrate the outstanding performance of W2SDefense in defending against backdoor attacks without compromising model performance.

📄 PDF Abstract BibTeX arXiv:2410.14425

Code (1)

shuaizhao95/Unlearning 공식 구현 pytorch

Tasks

Backdoor AttackKnowledge DistillationLanguage ModelingLanguage Modellingparameter-efficient fine-tuningtext-classificationText Classification

Similar Papers 제목 키워드 기반

Forgetting to Forget: Attention Sink as A Gateway for Backdooring LLM Unlearning

2025-10-19 · Bingqi Shang, Yiwei Chen, Yihua Zhang, Bingquan Shen 외 arxiv

Large language model (LLM) unlearning is a key approach for removing undesired data, knowledge, or behaviors from pretrained models while retaining their general utility. Yet, with the rise of open-weight LLMs, we ask: c…

Injection, Attack and Erasure: Revocable Backdoor Attacks via Machine Unlearning

2025-10-15 · Baogang Song, Dongdong Zhao, Jianwen Xiang, Qiben Xu 외 arxiv

Backdoor attacks pose a persistent security risk to deep neural networks (DNNs) due to their stealth and durability. While recent research has explored leveraging model unlearning mechanisms to enhance backdoor concealme…

Bilevel Optimization

Weak-to-Strong Backdoor Attack for Large Language Models

2024-09-26 · Shuai Zhao, Leilei Gan, Zhongliang Guo, Xiaobao Wu 외

Despite being widely applied due to their exceptional capabilities, Large Language Models (LLMs) have been proven to be vulnerable to backdoor attacks. These attacks introduce targeted vulnerabilities into LLMs by poison…

Backdoor AttackKnowledge Distillationparameter-efficient fine-tuning

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

Mitigating Backdoor Attacks using Activation-Guided Model Editing

2024-07-10 · Felix Hsieh, Huy H. Nguyen, AprilPyone MaungMaung, Dmitrii Usynin 외

Backdoor attacks compromise the integrity and reliability of machine learning models by embedding a hidden trigger during the training process, which can later be activated to cause unintended misbehavior. We propose a n…

Machine UnlearningModel Editing