paper-with-me

Papers

Weak-to-Strong Backdoor Attack for Large Language Models

2024-09-26 · Shuai Zhao, Leilei Gan, Zhongliang Guo, Xiaobao Wu, Luwei Xiao, Xiaoyu Xu, Cong-Duy Nguyen, Luu Anh Tuan

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 poisoning training samples and full-parameter fine-tuning. However, this kind of backdoor attack is limited since they require significant computational resources, especially as the size of LLMs increases. Besides, parameter-efficient fine-tuning (PEFT) offers an alternative but the restricted parameter updating may impede the alignment of triggers with target labels. In this study, we first verify that backdoor attacks with PEFT may encounter challenges in achieving feasible performance. To address these issues and improve the effectiveness of backdoor attacks with PEFT, we propose a novel backdoor attack algorithm from weak to strong based on feature alignment-enhanced knowledge distillation (W2SAttack). Specifically, we poison small-scale language models through full-parameter fine-tuning to serve as the teacher model. The teacher model then covertly transfers the backdoor to the large-scale student model through feature alignment-enhanced knowledge distillation, which employs PEFT. Theoretical analysis reveals that W2SAttack has the potential to augment the effectiveness of backdoor attacks. We demonstrate the superior performance of W2SAttack on classification tasks across four language models, four backdoor attack algorithms, and two different architectures of teacher models. Experimental results indicate success rates close to 100% for backdoor attacks targeting PEFT.

📄 PDF Abstract BibTeX arXiv:2409.17946

Code (0)

등록된 구현이 없습니다.

Tasks

Backdoor AttackKnowledge Distillationparameter-efficient fine-tuning

Methods 이 논문이 사용한 방법론

Knowledge Distillation A very simple way to improve the performance of almost any machine learning algorithm is to train many different models on the same data and then to average their predictions.…

Similar Papers 제목 키워드 기반

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

BackWeak: Backdooring Knowledge Distillation Simply with Weak Triggers and Fine-tuning

2025-11-15 · Shanmin Wang, Dongdong Zhao arxiv

Knowledge Distillation (KD) is essential for compressing large models, yet relying on pre-trained "teacher" models downloaded from third-party repositories introduces serious security risks--most notably backdoor attacks…

Knowledge Distillation

Rethinking the Backdoor Attacks' Triggers: A Frequency Perspective

2021-04-07 · ICCV 2021 10 · Yi Zeng, Won Park, Z. Morley Mao, Ruoxi Jia

Backdoor attacks have been considered a severe security threat to deep learning. Such attacks can make models perform abnormally on inputs with predefined triggers and still retain state-of-the-art performance on clean d…

Anti-Backdoor Learning: Training Clean Models on Poisoned Data

2021-10-22 · NeurIPS 2021 12 · Yige Li, Xixiang Lyu, Nodens Koren, Lingjuan Lyu 외

Backdoor attack has emerged as a major security threat to deep neural networks (DNNs). While existing defense methods have demonstrated promising results on detecting or erasing backdoors, it is still not clear whether r…

Backdoor Attack

Reliable Poisoned Sample Detection against Backdoor Attacks Enhanced by Sharpness Aware Minimization

2024-11-18 · Mingda Zhang, Mingli Zhu, Zihao Zhu, Baoyuan Wu

Backdoor attack has been considered as a serious security threat to deep neural networks (DNNs). Poisoned sample detection (PSD) that aims at filtering out poisoned samples from an untrustworthy training dataset has show…

Backdoor AttackData Poisoning