Skip to content

LoRA-Patch: Defending backdoored LoRA adapters via directional guidanceLoRA-Patch: Defending Against Backdoored LoRA Adapters via Directional Steering

arXiv· arXiv:2611.03752· Conference on Empirical Methods in Natural Language Processing 2026· Shengyan Huo, Peihai Jiang, Xixiang Lyu, Yige LiXidian University; Singapore Management UniversityIndexed by this site · 20 days ago· Originally publishedDefenses

Translation in progress — untranslated text is omitted.

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

AI summaryResearchers propose LoRA-Patch, a lightweight backdoor defense method for LoRA adapters that suppresses trigger-activated backdoor behavior by realigning adapter directions layer by layer, without modifying the base model weights. Its core observation is that backdoor injection distorts the directional geometry of the poisoned adapter relative to the trusted base model, and that existing removal methods relying on updating, pruning, distillation or mixing parameters do not match adapter deployment, where the base must remain frozen. Experiments on five types of backdoor attacks and three models show that the method effectively mitigates trigger-activated backdoors and outperforms existing baselines while maintaining benign task performance, and that constructing patches on all evaluated models and adapters can be completed within 20 seconds. Code is open-sourced at https://github.com/FOXVEDA/LoRA-Patch。

Questions
Third-party LoRA adapters may conceal trigger-activated backdoors that standard utility evaluations struggle to detect; existing backdoor defenses mostly require updating, pruning, or distilling model parameters, which does not match adapter deployment where the base model should remain frozen.
Methods
The authors state that backdoor injection distorts the geometry of the adapter's refusal direction relative to the base model. LoRA-Patch uses a small harmful/harmless probe set to estimate the per-layer refusal directions of the two models, constructs a steering vector anchored on the base direction with the adapter's orthogonal residual added, and injects it into the residual stream of the last eight layers at inference time without modifying any weights.
Experiments and results
Across three models and five backdoor attacks, LoRA-Patch's average ASR is lower than the three baselines Fine-Tuning, Fine-Pruning, and CROW, and GSM8K accuracy is mostly maintained; it is likewise effective on CommonsenseQA and on LoRI-D/DoRA adapters; under adaptive attack the defense effect weakens but remains positive.
Limitations and future work
The authors note: scenarios where the base model itself carries a backdoor or its internal activations cannot be accessed are not considered; effectiveness may vary with probe set coverage and model representation geometry; the steering window and strength are fixed values. Experiments cover only three 7B–8B models, two downstream tasks, and three adapter variants.

Related events and news

1 events · 1 news mentions

News that mentions this paper

CSA研究:后门LoRA适配器成模型供应链未扫描层

Related papers

Show 3 more papers
Read originalConference on Empirical Methods in Natural Language Processing 2026