基于 Null-Space Projection 的 LoRA 微调大语言模型后门净化方法
Backdoor Purification for LoRA-Tuned LLMs via Null-Space Projection
AI 导读
一项 NeurIPS 2026 研究提出用零空间投影净化 LoRA 微调 LLM 的后门,无需触发器先验、干净参照或事后重训练。方法在每层输入输出通道构造正交零空间并将 LoRA 更新投影其上,将攻击成功率(ASR)从近 100% 降至 10% 以下,同时保留基模型通用能力与适配器学到的下游技能。
正文 · 原文
Abstract:With the rapid adoption of large language models (LLMs) and parameter-efficient fine-tuning (PEFT) methods, the risk of backdoor attacks has become more severe. Existing backdoor purification methods typically rely on at least one of the strong assumptions, such as prior knowledge of triggers, access to clean references, or aggressive retraining, and they often lack comprehensive evaluations. These constraints substantially limit their practical applicability. To overcome these challenges, our work proposes purifying LoRA-tuned LLMs without these assumptions and even without post-hoc retraining of the suspect parameters. Our objective is to significantly reduce the attack success rates (ASR) while preserving both (i) the base model's general capabilities and (ii) the new downstream skills learned through the adapter. Through a series of examinations, we progressively scale our approach from a single layer in a text classification setting to a full-parameter LLM in the generative task. Through careful data curation and feature approximation, we extract high-fidelity backdoor directions and, for each layer or head, construct orthogonal null spaces in both the input and output channels, onto which the LoRA updates are projected. Empirically, our null-space projection method reduces the ASR from nearly 100% to less than 10%, while preserving the base model's benign performance and the adapter's learned abilities during downstream task adaptation.
| Comments: | NeurIPS 2026 |
| Subjects: | Artificial Intelligence (cs.AI); Cryptography and Security (cs.CR); Machine Learning (cs.LG) |
| Cite as: | arXiv:2610.00685 [cs.AI] |
| (or arXiv:2610.00685v2 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2610.00685 arXiv-issued DOI via DataCite |
Submission history
From: Jung-Eun Kim [view email]
[v1]
Wed, 30 Sep 2026 20:28:34 UTC (364 KB)
[v2]
Wed, 4 Nov 2026 18:26:11 UTC (364 KB)
来源:arXiv cs.AI · arxiv.org