Metraipolis › archive › dc_84627ec46777

ShallowDefend: Harnessing Shallow Safety Alignment for Multi-Turn Defender — arXiv:2610.40627

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.40627
License (as archived)
CC0-1.0
Archived
2026-10-31T06:17:12.175Z
SHA-256 of the archived text
f1898a6c6068a8cf9e5598066694bf69b6b6d77887d8140484f6b11e4c27abed
Stable URL of this page
https://metraipolis.com/documento/dc_84627ec46777

How to cite

ShallowDefend: Harnessing Shallow Safety Alignment for Multi-Turn Defender — arXiv:2610.40627 — arXiv (en), https://arxiv.org/abs/2610.40627 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_84627ec46777 (Metraipolis archive dc_84627ec46777, sha256 f1898a6c6068a8cf9e5598066694bf69b6b6d77887d8140484f6b11e4c27abed)
BibTeX
@misc{dc84627ec46777,
  title = {ShallowDefend: Harnessing Shallow Safety Alignment for Multi-Turn Defender — arXiv:2610.40627},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.40627},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_84627ec46777; sha256 f1898a6c6068a8cf9e5598066694bf69b6b6d77887d8140484f6b11e4c27abed},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.40627. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

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 $\to$ Decide $\to$ 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.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.CL, nuovi lavori del giorno).
Categorie arXiv: Computation and Language (cs.CL).
Pagina del lavoro: https://arxiv.org/abs/2610.40627 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-31T06:07:23.383Z dalla pagina https://arxiv.org/list/cs.CL/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).