基于零空间投影的LoRA微调大语言模型后门净化 Backdoor Purification for LoRA-Tuned LLMs via Null-Space Projection 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-09-30
⬇️ 4 次下载
👁️ 预览文献
💡 AI 中文简介
本研究针对LoRA微调大语言模型易受后门攻击的问题,提出一种无需触发器先验、干净参考或重训练的后门净化方法。通过提取后门方向并在每层构建正交零空间,将LoRA更新投影到该空间,从而在保持模型通用能力和下游任务性能的同时,将攻击成功率从近100%降至10%以下。
领域人工智能安全 / 大语言模型安全
适合谁读需要一定专业背景(了解深度学习、大模型微调及后门攻击基本概念)
核心贡献1. 提出无需触发器先验、干净参考或重训练的后门净化方法;2. 通过零空间投影有效降低攻击成功率,同时保持模型通用能力和下游任务性能。
关键数据攻击成功率从近100%降至10%以下,同时保持基座模型良性性能和适配器学习到的下游任务能力。
推荐理由如果你关心大模型微调的安全问题,这篇论文提供了一种实用且高效的后门净化方案,效果显著且无需额外假设。
关键词["后门净化", "大语言模型", "LoRA", "零空间投影", "参数高效微调", "后门攻击"]

原文摘要

查看英文原文摘要

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 ablation studies, 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.