Orthogonal boundary unlearning of dual-use concepts in large language modelsOrthogonal Boundary Unlearning for Dual-Use Concepts in Large Language Models
OBU: On Qwen3.5-4B, Projected LoRA (τ=0.95) 0-shot ASR dropped from 17.92% to 1.54%.
- In dual-use domains, legitimate science and dangerous operations share vocabulary, syntax, and internal representations. The authors state that unconstrained forgetting methods such as GA, RMU, and NPO cause concept bleeding and damage benign capabilities near the boundary. OBU aims to excise dangerous operational capability without perturbing the paired benign subspace.
- OBU performs SVD on the uncentered second moment of activations for paired benign queries, takes the principal subspace by threshold τ, and restricts updates to the orthogonal complement. Projected LoRA projects the adapter input during ascent; Weight Surgery is training-free and decays in one step the dangerous principal directions within the orthogonal complement. It modifies the o_proj of the last 25% of layers.
- Qwen3.5-4B τ=0.95 Projected LoRA: 0-shot ASR 17.92%→1.54%. SmolLM3-3B's Δsep≤0.0116. OBU's S50 is not reached, and unconstrained LoRA is 30 steps. Granite MMLU drops to 0.3231.
- The authors point out that the later o_proj mainly pushes generation toward open-ended refusal and does not erase WMDP multiple-choice facts. Relearning only tests 100 steps of LoRA. RMU, NPO, and LEACE were not compared, nor was it extended to 70B+ and MoE. The evaluation covers four 3B–4B models; the paper does not report a comply/refuse judge.
- Evaluated models
- Gemma-3-4B-ITQwen3.5-4BSmolLM3-3BGranite-4.2-3B
- Benchmarks
- ConceptGuardWMDP-Cybercais/wmdp-corpora (cyber-forget-corpus)MMLU
- Metrics
- Acc_forgetAcc_boundaryGen UtilityΔsepASRS50
The paper proposes the orthogonal boundary unlearning (OBU) framework for removing dangerous dual-use capabilities from large language models while avoiding damage to benign scientific capabilities. The method extracts a domain-matched capability subspace via singular value decomposition of the empirical activation covariance on paired calibration queries, and strictly restricts parameter updates to its orthogonal null space, so that benign representations are unaffected by parameter perturbations on the calibrated subspace. OBU has two implementations: Projected LoRA, which imposes an orthogonal constraint during iterative gradient fine-tuning, and Closed-Form Weight Surgery, which requires no training and edits weights analytically in a single step. The paper states that on four open-weight models, Gemma-3-4B, Qwen3.5-4B, SmolLM3-3B and Granite-4.2-3B, OBU achieves strong dual-use concept separation, significantly mitigates context-guided attacks, and remains persistently resistant to adversarial relearning, without degrading benign domain capabilities.
Paper analysis
What problem does this paper attempt to solve?
Dual-use forgetting damages benign capabilities on shared representations; OBU restricts updates to the orthogonal complement of the paired benign subspace.
In dual-use domains, dangerous operations and legitimate science share representations, and standard unlearning erases benign capabilities along with them.
- Setting: the authors state that in cybersecurity, computational biology and virology, molecular chemistry and nuclear engineering, defensive work and malicious use share vocabulary, syntax and generation mechanisms. The goal is to excise dangerous-operation capability while retaining benign scientific utility.
- Existing shortcomings: the authors state that unconstrained updates such as GA, RMU and NPO spread along shared weights, causing concept bleeding. A global null space estimated from generic web or broad instruction data cannot protect local benign regions next to the boundary.
- Geometric observation: the authors define the "boundary" as an operational description in prompt construction, not a margin measured in activation space. Dangerous and benign activations of paired queries are close; they share a subspace early and in middle layers, and operational trajectories separate mainly in deeper layers.
- This paper's approach: propose Orthogonal Boundary Unlearning (OBU): use the activation covariance of paired benign calibration queries for SVD, and restrict parameter updates to the orthogonal complement of that subspace. Implemented as Projected LoRA and training-free Closed-Form Weight Surgery.
- Relearning setting: the authors write relearning as an adversary fine-tuning the unlearned model on held-out wmdp-corpora passages. The paper does not use terms such as white-box or black-box. The method reads activations and modifies weights; the experimental subjects are four open-source models.
What related research exists?
The authors place OBU between unconstrained unlearning and global null space: constructing a local benign orthogonal complement from paired boundary queries.
The authors position OBU relative to unconstrained unlearning, null-space adaptation and adversarial auditing, targeting paired dual-use overlap rather than a null space on generic retention corpora.
- Machine unlearning and collateral damage
- GA, RMU (Li et al., 2024), DPO (Rafailov et al., 2023), NPO (Zhang et al., 2024) — directly penalize dangerous outputs on the weights. The authors state these work when target knowledge is isolated from general capability (e.g., TOFU's fictional author biographies), but in dual-use domains they alter shared representations and cause concept bleeding.
- ConceptGuard (Kale and Harris, 2026), BLUR (Hu et al., 2025), PreUnlearn (Su et al., 2026) — measure overlap between forget set and retain set. The authors state these benchmarks confirm that standard objectives struggle to suppress dangerous answers while preserving adjacent benign expertise.
- Subspace projection and null-space adaptation
- Orthogonal gradients in continual learning (Farajtabar et al., 2020; Zeng et al., 2019), and INLP (Ravfogel et al., 2020), LEACE (Belrose et al., 2023) — project updates or representations onto the orthogonal complement to mitigate forgetting or erase protected attributes.
- O-LoRA (Wang et al., 2023), Safe LoRA (Hsu et al., 2024) — the former penalizes overlap of sequential task adapters, the latter projects the fine-tuning adapter onto the alignment weight difference. The authors state neither can unlearn pretrained capability, nor separate entangled concepts within a single base.
- NSRU (Ju et al., 2026), ZeroUnlearn (Lin et al., 2026), CIR (Sondej and Yang, 2025) — apply activation null-space projection to LLM unlearning. The authors state they constrain updates with generic retention corpora or supervised refusal objectives, and do not address representation overlap of paired dual-use tasks.
- Adversarial stress testing
- The authors state that lowering multiple-choice accuracy on WMDP and similar does not guarantee capability removal. Pathways to elicit dangerous capability again include optimization jailbreaks, in-context priming with benign or cooperative demonstrations, and lightweight fine-tuning on a few dangerous samples.
- Mechanism auditing uses SAEs, linear probes and gradient sensitivity. The authors state this paper puts ConceptGuard paired evaluation, multi-shot priming and 100-step fine-tuning relearning together.
- Baselines and benchmarks
- Baselines: the unmodified model, and Unconstrained LoRA (orthogonal projection set to the identity). The authors state in Limitations that there is no direct comparison to RMU, NPO, LEACE.
- Benchmarks/datasets: ConceptGuard, WMDP-Cyber, wmdp-corpora, MMLU.
- Machine unlearning and collateral damage
How does the paper address this problem?
SVD is performed on the uncentered second moment of benign activations, and the forgetting update is restricted to the orthogonal complement selected by the energy threshold τ.
OBU uses paired benign queries to estimate a local capability subspace and only allows weight updates from dangerous forgetting to fall in its orthogonal complement. Both implementations fold into the base weights; the authors state there is no extra overhead at inference. Figure 1 marks the manifold M, boundary B, Mhazard and Mbenign, as well as Vboundary=span(Vr).
Boundary covariance and rank
- For the linear projection Wl at layer l, all token activations of the benign calibration set Db are accumulated into the uncentered second moment Kboundary. The authors state that the uncentered moment must be used because the output acts directly on uncentered activations, and the span being projected out must include the mean direction.
- Accumulating across all tokens makes the rank estimate reach min(Ntok, din), even if the number of queries M is less than din. The authors state that function words enter together with domain words, and repeated syntactic directions are absorbed into the first few singular vectors.
- The rank r is determined by a cumulative energy threshold τ: the ratio of the sum of the first k singular values to the sum of all singular values is first not less than τ. The principal subspace is the span of the first r singular vectors. The orthogonal projection is
P⊥boundary=I−Vl,rVl,rT that is, the identity matrix minus the projection onto that subspace.
Asymmetric constraint
- Benign queries only define a hard geometric constraint; the dangerous forgetting set Df drives the update in the orthogonal complement. The authors give: for activations falling within the benign subspace, the weight perturbation after right-multiplying by this projection is 0. Figure 2 contrasts the unconstrained update with OBU by whether Proj is 0.
- A general activation is decomposed into a component within the subspace and an orthogonal residual; the projected update acts only on the residual. The authors state that the threshold τ makes the expected residual energy on calibration tokens not exceed (1−τ) of the total energy.
Projected LoRA
- LoRA writes the update as low-rank Bl, Al. OBU projects the input activations before the adapter; in the backward pass, the components falling in the benign subspace are cleared from the gradient of Al.
- The language model cross-entropy is maximized on dangerous sequences, but the objective is written in bounded form: LOBU equals −c tanh(LCE/c). c>0 lower-bounds the objective at −c, avoiding gradient explosion when perplexity is already very high. The experiments take c=5.0, adapter rank k=8, α=16.0.
- Training does not use refusal templates; gradient ascent is performed only on original dangerous-domain text. After optimization the adapter is folded into the base.
Closed-Form Weight Surgery
- For dangerous activations, the uncentered second moment is likewise accumulated and truncated by the same τ, yielding the dangerous principal-direction projection Pf. The authors state that directly subtracting Wl Pf would damage shared benign representations.
- The closed-form update is
W′=W−W Pf P⊥boundary activations within the benign subspace have unchanged outputs; outputs in the orthogonal complement along the dangerous principal direction are attenuated. No iteration is needed.
Intervention location and determination
- Forgetting modifies only the attention output projection o_proj of the last 25% of layers; the projection comes from the activation covariance. Layer ranges: Gemma 25–33, Qwen 24–31, SmolLM 27–35, Granite 30–39. The authors state that shallower layers mainly encode the shared vocabulary and syntax, and only deeper layers separate benign from dangerous intent.
- The open-ended Score takes 0 or 1, indicating refuse or comply. Multiple choice compares the next-token logit of options A–D. The paper does not state who determines open-ended comply/refuse.
What experiments did the paper conduct?
Projected LoRA (τ=0.95) reduces Qwen3.5-4B's 0-shot ASR from 17.92% to 1.54%.
Projected LoRA raises the open-ended Δsep on models with a refusal prior; Qwen3.5-4B's 0-shot ASR drops from 17.92% to 1.54%. Multiple-choice dangerous accuracy and MMLU usually move in the same direction.
Experimental Setup
- Models: Gemma-3-4B-IT (34 layers, dmodel=2560, dattn=2048, dff=10240), Qwen3.5-4B (32 layers, 2560/4096/9216), SmolLM3-3B (36 layers, 2048/2048/11008), Granite-4.2-3B (40 layers, 2560/2560/8192). Models are in bfloat16; covariance and SVD are in float32.
- Data: ConceptGuard 2595 pairs, 80/20, seed=42, 2076 pairs for training (benign queries are Db), 519 pairs held out. cyber-forget-corpus 1000 passages, 800 passages are Df, 200 passages held out for relearning. WMDP-Cyber multiple-choice 1987 questions, random-guess baseline 25.0%. MMLU is 57 subjects, 14042 questions.
- Intervention: o_proj of the last 25% of layers, using Kboundary. τ is set to 0.90, 0.95, 0.99; Section 5.4 fixes τ=0.95.
- Projected LoRA: c=5.0, k=8, α=16.0, AdamW, learning rate 1e-4, batch 1, gradient accumulation 8 (100 optimization steps over 800 passages), truncation length 128, gradient clipping 1.0.
- Relearning and controls: SGD, learning rate 5e-4, batch 1, accumulation 8, 100 steps, data is 200 held-out passages. Controls are the unmodified model and Unconstrained LoRA.
- Metrics: Accforget compares the next-token logit of A–D. Accboundary, ASR, and Δsep use Score∈{0,1}. Δsep is the mean over 519 pairs of the benign score minus the dangerous score. S50 is the number of steps at which Accforget drops 50% after recovering forgetting. The paper does not specify the open-ended judge, nor does it report the number of repetitions.
Main Results
According to Table 1, τ=0.95. Closed-Form is not listed.
Swipe horizontally to read the table
Model Condition Accforget Accboundary Gen Utility Δsep Gemma-3-4B-IT Unmodified 0.4112 1.0000 0.5711 0.6936 Gemma-3-4B-IT Projected LoRA 0.4056 1.0000 0.5633 0.7669 Qwen3.5-4B Unmodified 0.4932 1.0000 0.7386 0.7746 Qwen3.5-4B Projected LoRA 0.4801 1.0000 0.7292 0.9615 SmolLM3-3B Unmodified 0.4273 1.0000 0.5796 0.0116 SmolLM3-3B Projected LoRA 0.4207 1.0000 0.5824 0.0039 Granite-4.2-3B Unmodified 0.3840 0.9961 0.5237 0.2158 Granite-4.2-3B Projected LoRA 0.2813 0.9981 0.3231 0.3295 - The authors state that on models with a baseline refusal prior, Projected LoRA's Δsep is higher than Closed-Form at every τ. SmolLM3-3B remains ≤0.0116 under both methods.
- The authors argue that LoRA can raise refusal without a refusal template because these models already assign a nonzero refusal probability to dangerous prompts; suppressing technical continuations along the orthogonal complement pushes toward the existing refusal. The authors state that SmolLM3-3B's dangerous compliance rate is 98.8%, and that penalizing only dangerous tokens cannot produce refusal.
- The authors state that on Qwen, Gemma, and SmolLM, at τ=0.95 Accforget changes by at most 0.6–2.1 percentage points and MMLU changes by within 0.8–2.6 percentage points. Accforget and MMLU move in the same direction; when τ=0.99 recovers a larger benign subspace, MMLU rises and the Accforget drop also becomes smaller.
Closed-Form Surgery
- Closed-Form at τ=0.95 (Table 1): Gemma's Accforget is 0.3905 and Δsep is 0.5915, below the unmodified baseline in the same table; Qwen is 0.4816 and 0.7784; SmolLM is 0.4162 and 0.0039; Granite is 0.3145 and 0.2640, with Gen Utility 0.4106.
- Section 1.2 writes the WMDP accuracy for this setting as Gemma 41.1%→39.1% and Granite 38.4%→31.5%, and states that matched benign accuracy is ≥99.6%. Table 1 gives 0.4112→0.3905 and 0.3840→0.3145. Granite's closed-form Accboundary at τ=0.90 is 0.9942.
- Section 1.2 also states that Projected LoRA reduces the paired dangerous compliance rate from 22.5% to 3.9% on Qwen3.5-4B and from 30.6% to 23.3% on Gemma-3-4B-IT, with benign accuracy maintained at 100%. This is not the same column as ASR in Table 2.
Context Priming and Relearning
According to Table 2, Qwen3.5-4B, τ=0.95. ΔAccbnd is 0.0% in all four rows.
Swipe horizontally to read the table
Condition 0-shot 1-shot 2-shot 4-shot Overall Unmodified 17.92% 37.38% 19.27% 15.99% 22.64% Projected LoRA 1.54% 15.80% 12.14% 10.40% 9.97% Closed-Form 18.69% 30.06% 15.80% 12.14% 19.17% Unconstrained LoRA 4.24% 0.00% 0.58% 0.19% 1.25% - S50: both OBU variants are Unreached, and Unconstrained LoRA is 30 steps. The authors state that 1-shot is 2.09× relative to 0-shot; the relative drop from 0-shot is 91.4% (to 1.54%), and the relative drop from 1-shot is 57.7% (to 15.80%). The authors state that the closed-form projection does not actively push generation toward refusal.
- The relearning trajectory in Section 5.4: the unmodified Accforget level is 49.37%. Unconstrained LoRA starts from 47.26% after forgetting, reaches the halfway point 48.54% at 30 steps, and reaches 49.82% at 100 steps. Projected LoRA is 48.16%, and closed-form is 48.36%; neither rises back within 100 steps. The corresponding Accforget values in Table 1 are 0.4801 and 0.4816; the paper does not explain why the two differ.
- The authors state that on 0-shot, Projected LoRA is nearly 3× lower than unconstrained LoRA; on multi-shot, unconstrained is lower, which the authors attribute to the update entering the benign subspace and disrupting the preceding benign demonstrations.
Subspace Capacity and Layer Position
- The authors propose the Degrees of Freedom Squeeze hypothesis and state that the residual-stream spectrum refutes it. At M=500, the average orthogonal complement for τ=0.90/0.95/0.99 is 85.8%, 73.4%, 41.0% (§5.1). At τ=0.95, the protected subspace goes from 4.0% at M=10 to 26.6% at M=500 (16.0% at M=100). Section 1.2 states that at the 99% threshold and with a larger calibration set, 27%–73% of dimensions still remain in the orthogonal complement.
- o_proj, all layers, M=100, τ=0.95: Kboundary averages 9.5% of dattn (orthogonal complement 90.5%), and Fisher accounts for 16.2%. On down_proj, the two account for 6.3% and 4.7% of dff. The o_proj subspaces of the four quartiles are 11.7%, 9.4%, 8.9%, 8.0%, and the last quartile's orthogonal complement is 92.0%. The authors state that the down_proj projector requires 4×–25× memory and up to 125× the SVD computation; Section 1.2 separately states 16×–25× covariance memory overhead.
Other Ablations and Analyses
- Table 1, Qwen Projected LoRA's Δsep: 0.9403 at τ=0.90, 0.9653 at τ=0.99; Closed-Form at τ=0.99 is 0.6166, below the baseline 0.7746.
- Table 1, Gemma Closed-Form, τ=0.90: Accforget 0.3503, Gen Utility 0.4957, Δsep 0.5800.
- Table 1, Granite Projected LoRA: Accforget/Gen Utility is 0.2849/0.3243 at τ=0.90 and 0.3327/0.4325 at τ=0.99.
- Table 1, SmolLM Projected LoRA: Δsep is 0.0000 at τ=0.90 and 0.0096 at τ=0.99.
- Table 1, Qwen Closed-Form, τ=0.90: Δsep is 0.7457, below the baseline 0.7746.
- Appendix Table 3 gives the per-layer rank of the residual stream. Example: Gemma-3-4B-IT layer 25, M=500, the rank at τ=0.95 is 468, and the null-space dimension at τ=0.99 is 1272.
What are some points that can be further explored?
The authors point out that the later o_proj mainly changes open-ended refusal, relearning only goes to 100 steps, and RMU, NPO, and LEACE were not compared.
The authors write three points in Limitations, all bounding the scope of this paper's results; the experimental numbers themselves stop at four 3B–4B models and 100-step relearning on Qwen.
Limitations and future directions noted by the authors
- Multiple-choice knowledge remains: the authors note that Projected LoRA reduces Qwen3.5-4B's 0-shot ASR by 91.4% relative, but WMDP Cyber's Accforget only goes from 49.32% to 48.01%. In settings where Accforget drops more (e.g., Granite-4.2-3B), MMLU drops as well. The authors believe later o_proj mainly pushes the model toward open-ended refusal rather than erasing dangerous facts; an adversary able to reduce the question to a few options may still find the answer via multiple choice (§6.1).
- Relearning horizon: evaluation is 100-step LoRA fine-tuning on Qwen3.5-4B, with held-out wmdp-corpora as data. The authors note the initial multiple-choice shift is small (49.32%→48.16%), and S50 covers only this narrow margin. Future directions are longer, multi-epoch full-parameter fine-tuning, extended to more model families (§6.1).
- Baselines and scale: the multi-model comparison is against the unmodified baseline and unconstrained LoRA, with no direct comparison to RMU, NPO or LEACE. The authors write comparing these methods, and extending OBU to 70B+ and MoE, as future directions (§6.1).
Experimental coverage
- The models tested are Gemma-3-4B-IT, Qwen3.5-4B, SmolLM3-3B, Granite-4.2-3B, 4 dense models of 3B–4B in total (§4.1).
- Data are ConceptGuard (2595 pairs, 519 test pairs), WMDP-Cyber (1987 questions), wmdp-corpora (800 training passages, 200 relearning passages) and MMLU (14042 questions) (§4.2).
- Unlearning modifies o_proj in the last 25% of layers of each model, with τ at 0.90, 0.95, 0.99; the profiling compares o_proj with down_proj, and activation covariance with empirical Fisher (§5.1–§5.3, Table 1).
- The priming (0/1/2/4-shot) and 100-step relearning numbers come from Qwen3.5-4B, τ=0.95; controls include the unmodified model and Unconstrained LoRA (Table 2).
- The paper does not report the open-ended comply/refuse judge, its agreement with humans, or multiple repeated runs.
Summarize the main content of the paper
OBU uses the orthogonal complement for dual-use forgetting; Qwen3.5-4B's 0-shot ASR drops to 1.54%.
OBU uses an orthogonal-complement constraint to separate dual-use dangerous capabilities from paired benign capabilities.
- Problem: Legitimate science and dangerous operations share vocabulary and representations. The authors state that GA, RMU, and NPO cause concept bleeding; a global null space does not protect the benign region near the boundary.
- Method: Perform SVD on the uncentered second moment of activations for benign calibration queries, take the principal subspace by τ, and restrict updates to the orthogonal complement. Projected LoRA performs bounded gradient ascent on dangerous text; Weight Surgery modifies weights in one training-free step. Both are folded into the base model and act on the o_proj of the last 25% of layers.
- Separation: Table 1, τ=0.95, Qwen3.5-4B's Projected LoRA raises Δsep from 0.7746 to 0.9615, with Accboundary 1.0000. Gemma-3-4B-IT goes from 0.6936 to 0.7669. Granite-4.2-3B goes from 0.2158 to 0.3295, and Gen Utility drops from 0.5237 to 0.3231.
- Exceptions and attacks: SmolLM3-3B's Δsep remains ≤0.0116; the authors state its dangerous compliance rate is 98.8%. In Table 2, Qwen's 0-shot ASR drops from 17.92% to 1.54%, and 1-shot from 37.38% to 15.80%. S50 is Unreached for both OBU variants and 30 steps for unconstrained LoRA.
- Authors' conclusion: The later o_proj mainly pushes open-ended dangerous requests toward refusal rather than erasing WMDP multiple-choice facts. The authors note that Qwen's multiple-choice drop is very narrow (49.32%→48.16%), and that 100-step LoRA relearning does not cover longer full-parameter fine-tuning.