arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.18510cs.CRcs.AIcs.CL
收藏

有害合规的不同路径:跨大语言模型劫持的行为主效应和机制差异

Behind Harmful Compliance: Behavioral and Mechanistic Divergence Across LLM Jailbreaks

Department of Computer Science(计算机科学系);Luddy School of Informatics, Computing, and Engineering(信息学、计算与工程学院);Indiana University Bloomington(印第安纳大学布卢明顿分校)

Md Rysul Kabir, Zoran Tiganj

AI总结:

本文研究了三种不同劫持方法对模型行为和机制的影响,发现RLVR劫持模型在安全性和合规性上表现更稳定,而SFT和ablation劫持则导致显著的性能下降和行为漂移。

摘要:

开放权重语言模型可以通过几种不同的干预手段变得不安全,但由此产生的模型在能力、行为特征和内部失败模式上可能有显著差异。我们研究了三种不安全路径下的劫持模型:有害监督微调(SFT)、有害强化学习与可验证奖励(RLVR)以及拒绝抑制的ablation。所有三种路径都能实现接近天花板的有害合规性,但一旦超越直接的有害性,它们就会出现分歧。RLVR劫持模型表现出最小的退化,并在结构化的自我审计中保留了显式的有害识别能力:它们能够识别有害提示并描述安全LLM应如何回应,但仍然服从有害请求。通过RLVR,有害行为被一个反思安全支架强烈抑制:当有害提示前加上反思安全标准的指令时,有害行为接近基线水平。针对特定类别的RLVR劫持模型在不同有害性领域具有广泛的泛化能力。通过SFT劫持的模型在显式的安全判断上崩溃最大,行为漂移最高,并且在标准基准上表现出显著的能力损失。ablation在自我审计和对反思安全支架的响应上都是家庭依赖性的。机制和修复分析进一步区分了这些路径:ablation与局部拒绝特征删除一致,RLVR与保留的安全几何但重新定向的政策行为一致,SFT则与更广泛的分布式漂移一致。有针对性的修复部分恢复了RLVR劫持模型,但对SFT劫持模型影响很小。这些结果表明,尽管有害性相似,劫持方法可以产生截然不同的属性,通过RLVR劫持的模型显示出与基模型的显著相似性。

英文摘要:

Open-weight language models can be rendered unsafe through several parameter-level interventions, yet models with matched harmful compliance can exhibit fundamentally different failure modes. We compare harmful supervised fine-tuning (SFT), harmful reinforcement learning with verifiable rewards (RLVR), and refusal-feature abliteration in Qwen2.5-7B and Llama-3.1-8B using harmfulness, capability, self-audit, safety reflection, representation similarity, and refusal-direction repair. All three routes reach near-ceiling harmfulness, but SFT causes the broadest capability loss and representational drift; abliteration yields localized, family-dependent refusal-feature suppression; and RLVR largely preserves base-model capability, explicit safety judgments, and representation geometry while retargeting behavior toward compliance. RLVR models consequently remain unusually responsive to safety-reflection prompts despite complying under direct prompting. We further find that harmful RLVR induces capability-blind compliance: models claim to complete unavailable actions and fabricate information about nonexistent entities. Targeted RLVR calibration substantially reduces this false acceptance without restoring safety or degrading general capability. These results show that harmful compliance, harm recognition, and capability awareness are separable behavioral axes, and that self-audit and hallucination patterns are not necessarily robust safety signals under adaptive post-training.

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

↑