arxiv.org·2026/10/21·Grigoriy Evseev / Vladimir Solodkin 等
标准拒绝方向干预把所有有害提示平均成单一方向,混杂拒绝原因;为此提出 WRDO,学习每提示方向库上的聚合权重 w,经权重正交化生成 WRD-CMAES 和带 KL 正则与重要性采样的 WRD-GRPO-IS。在三个 7–8B 开放模型上,用 WildGuard、Qwen3Guard-Gen-8B、Llama-Guard-3-8B 及外部 HarmBench 评测,两实例均超过 Basic RD、Heretic、RDO 与 Uniform-avg WRD:如 Qwen3-8B-Base 上 WRD-GRPO-IS 的 WildGuard ASR 达 0.91,Basic RD 仅 0.22。WRD-GRPO-IS 在效用基准上保持通用能力最好,WRD-CMAES 因无 KL 正则在更高 α 下退化;防御中反向使用将 abliterated ASR 从 0.85 压至 0.011,Basic RD 失败。跨法官分析显示 WildGuard 最可靠,作者推荐以其优化的 WRD-GRPO-IS 为默认审计与防御配置;局限是仅覆盖三个模型且 WRD-CMAES 暂不支持 KL。
为什么重要 对安全对齐工程师,它给出更强的拒绝方向攻击与防御配方,并量化能力损伤。适合 安全对齐、红队评测与模型编辑工程师
经过对齐的大语言模型被训练为遵从良性请求、拒绝有害请求。然而,近期工作表明这种拒绝行为很脆弱,常可被简单的激活空间或权重空间干预所破坏。特别地,已有研究表明拒绝行为在很大程度上由 residual stream 中的单一方向介导,该方向通常由有害与无害 prompt 之间的均值差向量计算得到。然而,这种标准构造把异质的有害 prompt 聚合成一个统一的平均,可能混淆不同的拒绝相关现象。
在本工作中,我们研究能否通过学习如何组合 prompt 特定的拒绝方向来强化拒绝干预。我们提出 Weighted Refusal Direction Optimization(WRDO),该流程使用学习到的聚合权重,从一组 per-prompt 方向库中构造复合拒绝方向。这一方法允许不同的有害 prompt 对最终干预方向的贡献不相等。
我们在 3 个开放权重语言模型上,使用 3 个 guard judge 以及 HarmBench 作为外部评估器,将 WRDO 与先前的单方向方法进行对比评估。我们还通过标准效用基准测量了干预对模型通用能力的影响。最后,我们研究了一个面向防御的场景:将同一套优化机制反向使用,在被 abliterated(已消除拒绝)的模型 checkpoint 上恢复拒绝行为。结果表明,加权聚合为操纵拒绝表示提供了一种更有效且更灵活的机制。
Aligned large language models are trained to comply with benign requests while refusing harmful ones.
However, recent work shows that this refusal behavior is fragile and can often be disrupted by simple activation- or weight-space interventions.
In particular, refusal has been shown to be largely mediated by a single residual-stream direction, typically computed as a difference-of-means vector between harmful and harmless prompts.
However, this standard construction aggregates heterogeneous harmful prompts into one uniform average, potentially conflating distinct refusal-related phenomena.
In this work, we study whether refusal interventions can be strengthened by learning how to combine prompt-specific refusal directions.
We propose Weighted Refusal Direction Optimization (WRDO), a procedure that constructs a composite refusal direction from a bank of per-prompt directions using learned aggregation weights.
This approach allows different harmful prompts to contribute unequally to the final intervention direction.
We evaluate WRDO against prior single-direction methods on three open-weight language models using three guard judges and HarmBench as an external evaluator.
We further measure the effect of the intervention on general model capability through standard utility benchmarks.
Finally, we investigate a defense-oriented setting in which the same optimization machinery is used in reverse to restore refusal behavior in an abliterated model checkpoint.
Our results show that weighted aggregation provides a more effective and flexible mechanism for manipulating refusal representations.
生成上限
greedy,单条回复
模型规模
三个检查点均在此范围
CONE 差距
RDO-CONE 在 Qwen 领先
OLMo 优势
WRD-术语解释带重要性采样的 GRPO 变体,用于离策略修正并保留效用。 对 RDO-CONE
注释 · 数字来自实验设置与附录对比,非主攻击成绩。出自 §4、§5.2
EVIDENCE / METHODS
风险提示
双用途 显著:既能解除拒绝,也能恢复拒绝
术语解释Weighted Refusal Direction Optimization:对逐提示拒绝方向学习聚合权重。 用权重正交化编辑开放权重模型,既能解除拒绝,也能反号恢复拒绝。作者强调拒绝只是低维特征,需层叠防护;实验限于 7–8B,WRD-CMAES 暂无 KL 正则。
注释 · 威胁模型是开放权重模型的权重编辑;防御只测了一个第三方检查点。出自 §9、§5.5
原版排版与图表 · 手机无法内嵌时可在浏览器打开。PDF 插件内选文不能传给网页助手。