Orthogonal Boundary Unlearning for Dual-Use Concepts in Large Language Models
Abstract
Mitigating catastrophic risks from large language models requires excising hazardous operational capabilities, such as cyberwarfare exploitation and pathogen enhancement, without degrading benign scientific utility. In these dual-use domains, legitimate defensive science and malicious attacks share vocabulary, syntax, and internal model representations, causing standard unlearning methods to induce severe collateral damage (concept bleeding). In this work, we present Orthogonal Boundary Unlearning (OBU), a mathematically grounded framework designed to eliminate collateral damage on benign dual-use capabilities. OBU extracts a domain-matched capability subspace from paired calibration queries via singular value decomposition on empirical activation covariances, and restricts parameter updates strictly to the orthogonal null space. This guarantees that benign representations experience zero parameter perturbation along the spanned calibration subspace. We present two complementary realizations of OBU: Projected LoRA, which applies the orthogonal constraint during iterative gradient-based fine-tuning, and Closed-Form Weight Surgery, which directly edits model weights in a single analytical step without training. Across four modern open-weight foundation models (Gemma-3-4B, Qwen3.5-4B, SmolLM3-3B, and Granite-4.2-3B), OBU achieves strong dual-use concept separation, substantially mitigates in-context priming attacks, and demonstrates durable resistance against adversarial relearning without degrading benign domain competence.
Figures & tables
| Model | Method | Acc Forget ( ) | Acc Boundary ( ) | Gen Utility ( ) | ( ) | |
|---|---|---|---|---|---|---|
| Gemma-3-4B-IT | Baseline (Unmodified) | - | 0.4112 | 1.0000 | 0.5711 | 0.6936 |
| Gemma-3-4B-IT | Projected LoRA | 0.90 | 0.4066 | 1.0000 | 0.5664 | 0.7495 |
| Gemma-3-4B-IT | Closed-Form Surgery | 0.90 | 0.3503 | 1.0000 | 0.4957 | 0.5800 |
| Gemma-3-4B-IT | Projected LoRA | 0.95 | 0.4056 | 1.0000 | 0.5633 | 0.7669 |
| Gemma-3-4B-IT | Closed-Form Surgery | 0.95 | 0.3905 | 1.0000 | 0.5456 | 0.5915 |
| Gemma-3-4B-IT | Projected LoRA | 0.99 | 0.4061 | 1.0000 | 0.5628 | 0.7476 |
| Condition | 0-shot ASR ( ) | 1-shot ASR ( ) | 2-shot ASR ( ) | 4-shot ASR ( ) | Overall ASR ( ) | ( ) | |
|---|---|---|---|---|---|---|---|
| Baseline | 17.92% | 37.38% | 19.27% | 15.99% | 22.64% | N/A | 0.0% |
| OBU Projected LoRA | 1.54% | 15.80% | 12.14% | 10.40% | 9.97% | Unreached | 0.0% |
| OBU Closed-Form | 18.69% | 30.06% | 15.80% | 12.14% | 19.17% | Unreached | 0.0% |
| Unconstrained LoRA | 4.24% | 0.00% | 0.58% | 0.19% | 1.25% | 30 steps | 0.0% |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
| Model | Layer | Samples ( ) | Rank ( ) | Rank ( ) | Rank ( ) | Null Space ( ) |
|---|---|---|---|---|---|---|
| Gemma-3-4B-IT | 17 | 10 | 5 | 26 | 104 | 2456 |
| 17 | 50 | 4 | 45 | 306 | 2254 | |
| 17 | 100 | 4 | 45 | 398 | 2162 | |
| 17 | 500 | 5 | 61 | 688 | 1872 | |
| 21 | 10 | 29 | 63 | 132 | 2428 | |
| 21 | 50 | 50 | 144 | 430 | 2130 |
LLM Unlearning
Large language model unlearning studies how to remove specified knowledge or behaviors while preserving a model’s unrelated capabilities.
See all 190 papers