矩阵劫持:用于受控模型反制的空域操控
Jailbreaking the Matrix: Nullspace Steering for Controlled Model Subversion
AI总结:
本文提出HMNS方法,通过识别并抑制注意力头,注入受限于正交补集的扰动,实现对模型的受控反制,展示了新的安全防御范式。
摘要:
大型语言模型仍易受劫持攻击,即设计用于绕过安全机制并引发有害响应的输入。我们提出Head-Masked Nullspace Steering (HMNS),一种电路级干预,通过识别最因果的注意力头,抑制其写路径并注入受限于正交补集的扰动。HMNS在闭环检测-干预循环中操作,多次解码尝试中重新识别因果头并重新应用干预。在多个劫持基准、强安全防御和广泛使用的语言模型上,HMNS以比先前方法更少的查询获得最先进的攻击成功率。消融实验确认了受限于空域的注入、残差范数缩放和迭代重新识别是其有效性关键。据我们所知,这是首个利用几何感知、可解释性指导干预的劫持方法,展示了受控模型操控和对抗性安全绕过的新范式。
英文摘要:
Large language models remain vulnerable to jailbreak attacks -- inputs designed to bypass safety mechanisms and elicit harmful responses -- despite advances in alignment and instruction tuning. We propose Head-Masked Nullspace Steering (HMNS), a circuit-level intervention that (i) identifies attention heads most causally responsible for a model's default behavior, (ii) suppresses their write paths via targeted column masking, and (iii) injects a perturbation constrained to the orthogonal complement of the muted subspace. HMNS operates in a closed-loop detection-intervention cycle, re-identifying causal heads and reapplying interventions across multiple decoding attempts. Across multiple jailbreak benchmarks, strong safety defenses, and widely used language models, HMNS attains state-of-the-art attack success rates with fewer queries than prior methods. Ablations confirm that nullspace-constrained injection, residual norm scaling, and iterative re-identification are key to its effectiveness. To our knowledge, this is the first jailbreak method to leverage geometry-aware, interpretability-informed interventions, highlighting a new paradigm for controlled model steering and adversarial safety circumvention.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。