arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.27490cs.LGcs.AI
收藏

大语言模型中两用概念的正交边界遗忘

Orthogonal Boundary Unlearning for Dual-Use Concepts in Large Language Models

Niccolò Ronchetti

AI总结:

本研究提出正交边界遗忘(OBU)框架,通过两种互补实现,在四种开放权重大模型上实现两用概念分离,缓解攻击且不降低良性能力。

摘要:

缓解大语言模型的灾难性风险需要删除有害的操作能力,如网络战利用和病原体增强,同时不降低良性科学效用。在这些两用领域中,合法防御性科学与恶意攻击共享词汇、语法和内部模型表示,导致标准遗忘方法引发严重的附带损害(概念泄露)。本研究提出正交边界遗忘(Orthogonal Boundary Unlearning,OBU),这是一个基于数学的框架,旨在消除对良性两用能力的附带损害。OBU通过对经验激活协方差进行奇异值分解,从配对校准查询中提取领域匹配的能力子空间,并将参数更新严格限制在正交零空间中,这保证了良性表示在跨越的校准子空间上经历零参数扰动。我们提出OBU的两种互补实现:Projected LoRA,在基于梯度的迭代微调期间应用正交约束;以及Closed-Form Weight Surgery,在单个分析步骤中直接编辑模型权重而无需训练。在四个现代开放权重基础模型(Gemma-3-4B、Qwen3.5-4B、SmolLM3-3B和Granite-4.2-3B)上,OBU实现了强大的两用概念分离,大幅缓解了上下文启动攻击,并展示了对抗性重新学习的持久抵抗力,同时不降低良性领域能力。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑