Backdoor Purification for LoRA-Tuned LLMs via Null-Space Projection
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.
Create a lesson
Metadata
- Categories
- cs.AI, cs.CR, cs.LG
- Comments
- NeurIPS 2026
Related papers
Backdoor Containment via Expert Quarantine and Shutdown in LLMs
Shared title terminologycs.AIJianwei Li, Min-Seon Kim, Jung-Eun Kim
Frequency-Conditioned Privacy Auditing of Fine-Tuned Language Models
Shared title terminologycs.AIAymen Noor, Ke Lyu, Honglu Jiang
Agent Evaluation Without Ground Truth: A Null Proportion Perspective
Shared title terminologycs.AIBrian M. Cho, Michael Lindon, Nathan Kallus
Seeking in Space: Benchmarking Purposeful Active Exploration of Vision-Language Models for Spatial Reasoning
Shared title terminologycs.AIXiwei Liu, Yulong Li, Xuhui Li et al.
LiveLoRA: Exact KV Cache Migration Across LoRA Updates for LLM Agents
Shared title terminologycs.AITianyi Huang, Samuel Xu, Ivy Gu et al.
Beyond the Black Box: A Diagnosis-Driven Agent for Interpretable MIP Solver Tuning
Shared title terminologycs.AIYidong Luo, Weihuang Wen, Xuanhao Pan et al.