Metraipolis › archive › dc_f7ce0b291617

Safety Reconstructed: Generative Modeling via Masked Diffusion Builds Strong Safety Guardrails — arXiv:2609.33634

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.33634
License (as archived)
CC0-1.0
Archived
2026-10-07T21:01:37.424Z
SHA-256 of the archived text
22bb87746e2bf40df2d62ea7b9da765bc1be0126b12b875d457b65b5f6d9caa3
Stable URL of this page
https://metraipolis.com/documento/dc_f7ce0b291617

How to cite

Safety Reconstructed: Generative Modeling via Masked Diffusion Builds Strong Safety Guardrails — arXiv:2609.33634 — arXiv (en), https://arxiv.org/abs/2609.33634 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_f7ce0b291617 (Metraipolis archive dc_f7ce0b291617, sha256 22bb87746e2bf40df2d62ea7b9da765bc1be0126b12b875d457b65b5f6d9caa3)
BibTeX
@misc{dcf7ce0b291617,
  title = {Safety Reconstructed: Generative Modeling via Masked Diffusion Builds Strong Safety Guardrails — arXiv:2609.33634},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.33634},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_f7ce0b291617; sha256 22bb87746e2bf40df2d62ea7b9da765bc1be0126b12b875d457b65b5f6d9caa3},
  year = {2026}
}

Archived text

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

Guard models are the last line of defense between a language model and a harmful output, yet their training objective is surprisingly narrow. Existing guards learn to predict a single verdict token from a conversational context, concentrating supervision on a single target. The consequences are structural: models latch onto shortcut features, are overconfident, and remain sensitive to where safety evidence appears in the sequence rather than its role in the full context. We propose a different framing. Rather than predicting a label from text, our LLaDA-Guard asks which label better explains the text: scoring the prompt or response under each label hypothesis and classifying based on their difference. This shifts supervision to every token in the moderated region, forcing the model to account for full content rather than its most discriminative fragments. We instantiate this idea with a masked diffusion language model, fine-tuning LLaDA-8B-Instruct with a class-conditional reconstruction objective using LoRA and requiring no architectural changes beyond the base model. LLaDA-Guard leads on average rank against discriminative baselines trained on stronger backbones across seven held-out safety benchmarks, while exhibiting substantially better confidence calibration (ECE 0.0875 vs. 0.1384 for Qwen3Guard), less over-defense on benign prompts with unsafe-looking cues, and less prompt leakage when moderating responses. Its generative nature further enables token-level risk localization as a natural byproduct, yielding a pipeline for rewriting unsafe prompts into safe equivalents without additional training and achieving a 60.7% average conversion-to-safe rate.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-29 in cs.AI).
Categorie arXiv: Computation and Language (cs.CL) ; Artificial Intelligence (cs.AI).
Pagina del lavoro: https://arxiv.org/abs/2609.33634 — 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-07T20:29:02.710Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-09-29?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).