Manuscript Offprint

arXiv:2611.12807

Suppression Is Not Erasure: Mechanistic Analysis and Reactivation Boundaries of Subspace Projection for LoRA Backdoor Defense

Junsheng Fu, Shuangshuang Gao

Abstract

Low-Rank Adaptation (LoRA) has become the standard paradigm for customizing large language models (LLMs), yet third-party LoRA adapters introduce a severe supply-chain vulnerability: modifying less than 1% of model parameters suffices to implant stealthy backdoors. Recent defenses apply analytical null-space or subspace projections on adapter weights to purify backdoors without retraining, reporting near-zero static Attack Success Rates (ASR). In this work, we conduct a mechanistic and adversarial audit of subspace-projection defenses across four model scales (Qwen2.5-0.5B/1.5B/3B/7B) and three architectures (Qwen2.5, InternLM2.5-1.8B, and Spark-X2.6-4B). Constructively, module-wise rank-1 trigger-difference projection (k=1,α=1k=1, \alpha=1) reduces ASR from 60.4% to 0.0% on standard benchmarks and from 70.3% to 0.0% on a 1,000-sample uncontaminated suite (p=3.055×10−299p=3.055 \times 10^{-299}, instruction-level p=9.49×10−16p=9.49 \times 10^{-16}) in under 5 seconds end-to-end (1.0 s for SVD and projection), and we prove via a low-rank power-iteration spectral-gap bound why trigger-free calibration with benign polite suffixes aligns with u1(B)u_1(B) (median cosine 0.9048) and achieves 0.0% ASR without prior trigger knowledge. Our main contribution, however, is a negative finding: static ASR reduction does not imply parameter erasure. Under 5-sample few-shot reactivation, every evaluated weight-editing defense rebounds substantially (91.7%–100.0% ASR in 1 epoch for standard projections, Fine-Pruning, ANP, SVD truncation, and Li & Kim's dual-end null-space projection, and 48.7% for our improved single-round dual-end variant, with all defenses reaching 100.0% by Epoch 2), with first-epoch loss up to 5.7×5.7 \times lower than training from scratch (0.399 vs. 2.270). Using an exact spectrum-preserving Haar orthogonal rotation control (∥ΔW∥F=10.0928\|\Delta W\|_F = 10.0928 preserved to 1.70×10−61.70 \times 10^{-6}) and N=1…6N=1\ldots6 cumulative Gram-Schmidt basis ablation, we decompose reactivation into residual trigger-difference coupling energy at Epoch 1 (Spearman ρ=0.986\rho=0.986), base-model learnability at Epoch 2 (100%), and benign semantic direction conflict (41.7%).

1 Introduction

Parameter-Efficient Fine-Tuning (PEFT) [1], such as Low-Rank Adaptation (LoRA) [2] and its quantized variant QLoRA [3], enables developers to adapt billion-parameter Large Language Models (LLMs) [4, 5, 6] on consumer hardware. Because LoRA freezes the pretrained backbone W0∈W_0 \in

*Corresponding Author.

Preprint.

Rdout×din\mathbb{R}^{d_{\text{out}} \times d_{\text{in}}} and updates only low-rank factor matrices B∈Rdout×rB \in \mathbb{R}^{d_{\text{out}} \times r} and A∈Rr×dinA \in \mathbb{R}^{r \times d_{\text{in}}} (r≪min⁡(dout,din)r \ll \min(d_{\text{out}}, d_{\text{in}})), thousands of task-specific adapters are openly shared on public model hubs. However, this modular ecosystem introduces a severe supply-chain attack surface [7, 8, 9, 10, 11]. An adversary can inject instruction-tuning backdoors into a LoRA adapter that modifies less than 0.88% of total model parameters, causing the model to output malicious payloads (e.g., remote shell commands or phishing links) upon encountering a trigger phrase while behaving normally on clean queries [12, 13, 14, 15, 16, 17, 18].

To mitigate adapter-level backdoors without full-dataset retraining or losing task-specific capabilities, weight-level purification and representation editing have been widely explored [19, 20, 21, 22, 23]. Recent analytical defenses project adapter weights onto the orthogonal complement of estimated backdoor directions, such as the dual-end null-space projection of Li and Kim [22], and evaluate success via static post-purification Attack Success Rate (ASR). When static ASR drops from >60%> 60\% to 0.0%0.0\%, prior studies conclude that the backdoor has been “erased” or “purified.”

In this paper, we examine a question motivated by recent analyses of deceptive alignment and machine unlearning [24, 25, 26, 27, 28]: Does analytical subspace projection genuinely erase the backdoor circuit from LoRA parameters, or does it merely suppress the surface trigger pathway while leaving the underlying input-to-payload mapping intact?

We investigate both the constructive capabilities and the impossibility boundaries of subspace-projection defenses. Our findings are organized around four propositions (P1–P4):

  • P1 (Adapter Confinement & Zero-Tuning Trigger-Free Suppression): Backdoors implanted via LoRA fine-tuning reside 100% within the adapter's column space col(BB). Projecting out the module-specific top-1 trigger-difference singular vector (k=1,α=1k=1, \alpha=1) drives static ASR to 0.0% across scales (0.5B–7B), architectures, and payload modalities (code and natural language). Moreover, this suppression is trigger-free: due to low-rank bottleneck variance amplification, calibrating with benign polite suffixes (Level L3_clean) aligns with u1(B)u_1(B) at a median cosine of 0.9048 and achieves 0.0% ASR without knowing any true trigger.

  • P2 (The Reactivation Illusion: Suppression ≠\neq Erasure): Static ASR reduction masks dormant backdoor residuals. Under a 5-sample few-shot reactivation attack, purified adapters rebound from 0.0% to 100.0% ASR in one epoch (ep1), with a first-epoch loss of 0.399 (5.7×5.7 \times lower than training a fresh LoRA from scratch at 2.270, and 7.6×7.6 \times lower than poisoning a benignly trained adapter at 3.020). Every evaluated weight-only baseline (Fine-Pruning, ANP, SVD truncation, and dual-end null-space projection [22]) exhibits the same single-epoch rebound.

  • P3 (Three-Tier Mechanism Decomposition): Why does weight projection fail to prevent reactivation, and why does benign retraining resist it? Using an exact spectrum-preserving Haar random orthogonal rotation control on adapter_benign and N=1…6N=1\ldots6 cumulative Gram-Schmidt dual-end projections, we decouple the three governing factors of reactivation dynamics:

(i) Epoch-1 ASR (ep1) is governed by residual coupling energy in the trigger-difference subspace (Spearman ρ=0.986\rho=0.986), not by global Frobenius norm ∥ΔW∥F\|\Delta W\|_F. Eliminating residual trigger-difference energy down to 12.36% (N=6N=6 cumulative rounds) successfully drives ep1 →\to 0.0%.

(ii) Epoch-2 ASR (ep2) remains pinned at 100.0% across all N=1…6N=1\ldots6 projection rounds because 2 epochs of 5 poisoned samples suffice to implant the backdoor into the clean base model from scratch (from_scratch ep2 = 100.0%).

(iii) Epoch-2 Immunity (ep2 = 41.7% in adapter_benign) originates exclusively from benign semantic directions that raise initial poison loss to 3.020. Rotating BB with a Haar orthogonal matrix preserves ∥ΔW∥F=10.0928\|\Delta W\|_F = 10.0928 and all 1,344 singular values to machine precision (1.70×10−61.70 \times 10^{-6}), yet immediately collapses ep2 from 41.7% back to 100.0%. Thus, any purely subtractive weight editing can at best degenerate to the clean base model (ep1 = 0%, ep2 = 100%) and can never replicate benign prior immunity.

  • P4 (Operational Criterion & Defense-in-Depth): Static metrics (post-purification ASR, ∥ΔW∥F\|\Delta W\|_F, spectral decay, and SNR) produce severe false negatives. Few-shot reactivation dynamics

(ep1/ep2 and ep1_loss), paired with residual trigger-difference norm, provide an effective operational criterion for auditing true erasure. Because weight projection, clean retraining, and runtime filtering face complementary structural limits, practical LoRA security requires a defense-in-depth pipeline combining pre-purification behavioral screening, subspace suppression, and AST/structural runtime filtering.

References (38)