ShallowDefend: Harnessing Shallow Safety Alignment for Multi-Turn Defender
Qiyao Ma, Xiaodong Liu, Weiwei Yang, Mingqian Feng, Chengquan Guo, Jialin Song, Carolyn Buractaon, Zhe Zhao, Junshan Zhang, Sandeep Atluri, Christopher White, Jianfeng Gao
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.
Create a lesson
Related papers
ComplexIF: A Challenging Multi-Turn, Multi-Constraint Instruction-Following Benchmark
Shared title terminologycs.CLZhichao Xu, Bingsen Chen, Yawei Wang et al.
Can Large Language Models Extend Their Agentic Capabilities to Goal Pursuit in Open-Ended Multi-Turn Interaction?
Shared title terminologycs.CLMingyu Chen, Jingkai Lin, Xiaofen Xing et al.
CoFiBreak: A Coarse-to-Fine Diversity Reward for Effective Multi-Turn Jailbreak
Shared title terminologycs.CLJialin Song, Xiaodong Liu, Weiwei Yang et al.
Raincheck: Deferred Multimodal Prefill for Efficient Multi-Turn MLLM Inference
Shared title terminologycs.CLWenjie Huang, Jun Zhang, Hongyaoxing Gu et al.
Implicit Minor Detection from Multi-Turn Dialogue in High-Risk AI Interactions: A Constrained Self-Evolving LLM Harness
Shared title terminologycs.CLXiaohan Zhang, Ying Zhao, Ruilin Guo et al.
How I Aligned Your Model: Scaling Up Multilingual Safety Training with Templates
Shared title terminologycs.CLMax Neuwinger, Hanna Yukhymenko, Imanol Schlag