模型与实验室 4.0 · 优秀 2026-10-29 · 论文

ShallowDefend: Harnessing Shallow Safety Alignment for Multi-Turn Defender

安全对齐集中在模型输出的前几个 token,同一有害请求拆进多轮对话仍能绕过防御;ShallowDefend 反用这一浅层性:防御者先评估用户意图,再提交显式可解析的安全决定,最后基于决定生成回复(Assess-Decide-Respond),在载荷轮用 RL 训练;决定是 token 区间,可用规则化自验证奖励核对标签,无需裁判模型或人工标注;两个模型家族14 个覆盖安全/效用/有用性的基准上取得最强受控多轮安全性且保住效用,逐 token KL 与干预探针证明该决定是因果控制点

打开原文回到归档

ShallowDefend: Harnessing Shallow Safety Alignment for Multi-Turn Defender

  • 原文链接: https://arxiv.org/abs/2610.40627
  • PDF: https://arxiv.org/pdf/2610.40627
  • 作者: Qiyao Ma, Xiaodong Liu, Weiwei Yang, Mingqian Feng, Chengquan Guo, Jialin Song, et al.
  • 日期: 2026-10-29
  • 分类: models
  • 来源类型: paper
  • 标签: safety-alignment, multi-turn, defense, reinforcement-learning
  • 质量评分: 4/5
  • 抓取时间: 2026-10-31T00:04:04Z

中文导读

安全对齐集中在模型输出的前几个 token,同一有害请求拆进多轮对话仍能绕过防御;ShallowDefend 反用这一浅层性:防御者先评估用户意图,再提交显式可解析的安全决定,最后基于决定生成回复(Assess-Decide-Respond),在载荷轮用 RL 训练;决定是 token 区间,可用规则化自验证奖励核对标签,无需裁判模型或人工标注;两个模型家族、14 个覆盖安全/效用/有用性的基准上取得最强受控多轮安全性且保住效用,逐 token KL 与干预探针证明该决定是因果控制点。

为什么值得关注

给出多轮越狱的机理根因(浅层对齐)与一个低成本 RL 修复框架,安全团队可直接对照自家电信道评测。

关键信息

  • 标题: ShallowDefend: Harnessing Shallow Safety Alignment for Multi-Turn Defender
  • 作者/来源: Qiyao Ma, Xiaodong Liu, Weiwei Yang, Mingqian Feng, Chengquan Guo, Jialin Song, et al.
  • 链接: https://arxiv.org/abs/2610.40627
  • 发布时间: 2026-10-29
  • 关联标签: safety-alignment, multi-turn, defense, reinforcement-learning

English Abstract

Safety alignment has enabled large language models to reliably refuse harmful requests directly, yet the same request distributed across a multi-turn conversation still succeeds far too often. This brittleness has a mechanistic root: Alignment is shallow, with safety behavior concentrated in a model's first few output tokens, and existing defenses inherit the weakness, supervising the surface form of the response without ever giving the model an explicit safety decision to learn. We take the opposite view of shallowness: if a short span determines the trajectory of an entire response, that span is the highest-leverage place to intervene, and the defender can occupy it first. We propose Assess -> Decide -> Respond, a framework in which the defender assesses the user's intent, commits to an explicit, parseable safety decision, and only then generates a reply conditioned on it, with the commitment trained by reinforcement learning at the payload turn. Because the decision is a token span, the reward can be a rule: a self-verified reward checks the committed label against the conversation's known nature, requiring no judge and no annotation, while the same format also supports an LLM-as-judge reward over a graded decision space with safe redirection. Across two model families and fourteen benchmarks spanning safety, utility, and helpfulness, our defenders achieve the strongest multi-turn safety in a controlled comparison, maintaining their lead in safety while preserving utility at a modest cost to helpfulness. A per-token KL analysis and interventional probes confirm why this works: training concentrates its effect on the brief deliberation that sets a response's trajectory, and the decision committed there is a causal control point. The very shallowness attackers exploit becomes the mechanism of defense.

English Summary

Safety alignment concentrates in a model's first few output tokens, which is why the same harmful request spread across a multi-turn conversation still succeeds far too often. ShallowDefend turns this shallowness into an intervention point with Assess -> Decide -> Respond: the defender assesses user intent, commits to an explicit parseable safety decision, then generates a reply conditioned on it, trained by RL at the payload turn. The decision is a token span, so the reward can be a rule: a self-verified reward checks the committed label against the conversation's known nature — no judge model, no annotation. Across two model families and fourteen benchmarks it posts the strongest controlled multi-turn safety while preserving utility at modest helpfulness cost; per-token KL analysis and interventional probes show the committed decision is a causal control point.

Obsidian Notes

  • 内容由 opencli arxiv paper 拉取 arXiv 元数据与摘要生成;中文导读与价值判断锚定在摘要、作者、日期与分类上。
  • 关联条目: content/9757fdd2.md(external-scan 2026-10-31 运行生成)