LoRA-Patch: Defending Against Backdoored LoRA Adapters via Directional Steering

Shengyan Huo, Peihai Jiang, Xixiang Lyu, Yige Li


Abstract
Third-party LoRA adapters introduce serious backdoor risks: malicious adapters can maintain normal task performance while embedding hidden, trigger-activated behaviors, making them difficult to detect through standard utility evaluations. Existing removal-based defenses typically sanitize backdoored models by updating, pruning, distilling, or mixing model parameters. However, these approaches are misaligned with adapter-based deployment, where the trusted base model is expected to remain frozen. In this work, we propose LoRA-Patch, a lightweight backdoor defense tailored to LoRA adapters. Our key insight is that backdoor injection distorts the directional geometry of a poisoned adapter relative to its trusted base model. Building on this insight, LoRA-Patch suppresses trigger-activated behaviors by realigning adapter directions through layer-wise steering, without modifying the base model weights. Extensive experiments across five backdoor attacks and three models show that LoRA-Patch effectively mitigates trigger-activated backdoors, outperforming existing baselines while preserving benign task performance. Moreover, LoRA-Patch is computationally efficient, constructing patches within 30 seconds across all evaluated models and adapters.
Anthology ID:
2026.emnlp-main.1475
Volume:
Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing
Month:
October
Year:
2026
Address:
Budapest, Hungary
Editors:
Hung-Yi Lee, Sunipa Dev, Jessy Li, Desmond Elliott
Venue:
EMNLP
SIG:
SIGDAT
Publisher:
Association for Computational Linguistics
Note:
Pages:
33727–33743
Language:
URL:
https://aclanthology.org/2026.emnlp-main.1475/
DOI:
Bibkey:
Cite (ACL):
Shengyan Huo, Peihai Jiang, Xixiang Lyu, and Yige Li. 2026. LoRA-Patch: Defending Against Backdoored LoRA Adapters via Directional Steering. In Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing, pages 33727–33743, Budapest, Hungary. Association for Computational Linguistics.
Cite (Informal):
LoRA-Patch: Defending Against Backdoored LoRA Adapters via Directional Steering (Huo et al., EMNLP 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.emnlp-main.1475.pdf