paper-with-me

Papers

Acquiring Clean Language Models from Backdoor Poisoned Datasets by Downscaling Frequency Space

2024-02-19 · Zongru Wu, Zhuosheng Zhang, Pengzhou Cheng, Gongshen Liu

Despite the notable success of language models (LMs) in various natural language processing (NLP) tasks, the reliability of LMs is susceptible to backdoor attacks. Prior research attempts to mitigate backdoor learning while training the LMs on the poisoned dataset, yet struggles against complex backdoor attacks in real-world scenarios. In this paper, we investigate the learning mechanisms of backdoor LMs in the frequency space by Fourier analysis. Our findings indicate that the backdoor mapping presented on the poisoned datasets exhibits a more discernible inclination towards lower frequency compared to clean mapping, resulting in the faster convergence of backdoor mapping. To alleviate this dilemma, we propose Multi-Scale Low-Rank Adaptation (MuScleLoRA), which deploys multiple radial scalings in the frequency space with low-rank adaptation to the target model and further aligns the gradients when updating parameters. Through downscaling in the frequency space, MuScleLoRA encourages the model to prioritize the learning of relatively high-frequency clean mapping, consequently mitigating backdoor learning. Experimental results demonstrate that MuScleLoRA outperforms baselines significantly. Notably, MuScleLoRA reduces the average success rate of diverse backdoor attacks to below 15\% across multiple datasets and generalizes to various backbone LMs, including BERT, RoBERTa, GPT2-XL, and Llama2. The codes are publicly available at https://github.com/ZrW00/MuScleLoRA.

📄 PDF Abstract BibTeX arXiv:2402.12026

Code (1)

zrw00/musclelora 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
WordPiece 설명 없음
Linear Warmup With Linear Decay Linear Warmup With Linear Decay is a learning rate schedule in which we increase the learning rate linearly for $n$ updates and then linearly decay afterwards.
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Multi-Head Attention 설명 없음
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…

Similar Papers 제목 키워드 기반

CLIP-Guided Backdoor Defense through Entropy-Based Poisoned Dataset Separation

2025-07-07 · Binyan Xu, Fan Yang, Xilin Dai, Di Tang 외

Deep Neural Networks (DNNs) are susceptible to backdoor attacks, where adversaries poison training data to implant backdoor into the victim model. Current backdoor defenses on poisoned data often suffer from high computa…

backdoor defense

Robust Backdoor Removal by Reconstructing Trigger-Activated Changes in Latent Representation

2025-11-12 · Kazuki Iwahana, Yusuke Yamasaki, Akira Ito, Takayuki Miura 외 arxiv

Backdoor attacks pose a critical threat to machine learning models, causing them to behave normally on clean data but misclassify poisoned data into a poisoned class. Existing defenses often attempt to identify and remov…

Effective Backdoor Defense by Exploiting Sensitivity of Poisoned Samples

2022-11-01 · NeurIPS 2022 11 · Weixin Chen, Baoyuan Wu, Haoqian Wang

Poisoning-based backdoor attacks are serious threat for training deep models on data from untrustworthy sources. Given a backdoored model, we observe that the feature representations of poisoned samples with trigger are …

backdoor defenseSensitivity

When Backdoors Speak: Understanding LLM Backdoor Attacks Through Model-Generated Explanations

2024-11-19 · Huaizhi Ge, Yiming Li, Qifan Wang, Yongfeng Zhang 외

Large Language Models (LLMs) are known to be vulnerable to backdoor attacks, where triggers embedded in poisoned samples can maliciously alter LLMs' behaviors. In this paper, we move beyond attacking LLMs and instead exa…

Backdoor AttackExplanation GenerationSentence

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