跳到正文
arXiv:cs.AI· Amman Yusuf, Jiwoo Shin, Ruizhi Deng, Heitor Rodrigues Guimar\~{a}es, Nikita Dvornik, Mijung Park·· 5 小时前

SADDER:面向文本扩散模型的方向嵌入安全去噪方法

The Tokens Strike Back: Safety-Aware Denoising with Directional Embedding-based Revision

AI 导读

SADDER 是一种面向文本扩散模型的免训练安全引导框架,在嵌入空间捕捉每个 token 位置的安全引导信号,并用其乘以 SAD 更新规则形成门控机制,使不安全信号高的 token 更易被修改。作者为修改后的去噪器推导出精确的分位置目标分布,及其与全局目标分布匹配的条件。在主流 MDLM 与 USDM 上的不安全续写和越狱测试中,SADDER 在安全性、生成质量与推理成本间取得更好平衡。

正文

View PDF HTML (experimental)

Abstract:The Safety-Aware Denoiser (SAD) is a recent, training-free, safety-guidance framework for text diffusion models. During inference, SAD steers text samples toward safe regions of the token probability space. In this paper, we propose $\mathit{SADDER}$ (Safety-Aware Denoising with Directional Embedding-based Revision), which improves the safety and quality trade-offs of SAD by exploiting a safety-guidance signal in the embedding (or activation) space for each token position, then updating the token positions using the SAD update rule multiplied by the guidance signal. This multiplication acts as a gating mechanism: tokens with a high unsafe signal are more likely to be modified during inference following the SAD update rule. However, such an update does not automatically preserve the conditional mean, i.e., the denoiser of a fixed target distribution. We therefore theoretically derive new position-wise target distributions for which the modified denoiser is exact. Furthermore, we derive conditions under which the position-wise target distributions match a global target distribution. We test our $\mathit{SADDER}$ method on popular Masked Diffusion Language Models (MDLMs) and Uniform-State Diffusion Models (USDMs) across unsafe continuation and jailbreak settings, and show that $\mathit{SADDER}$ achieves a better balance between safety, generation quality, and inference cost than existing methods.
Comments: 43 pages, 4 figures
Subjects: Machine Learning (cs.LG); Artificial Intelligence (cs.AI)
Cite as: arXiv:2610.17636 [cs.LG]
  (or arXiv:2610.17636v1 [cs.LG] for this version)
  https://doi.org/10.48550/arXiv.2610.17636

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Amman Yusuf [view email]
[v1] Tue, 13 Oct 2026 03:04:22 UTC (152 KB)

来源:arXiv:cs.AI · arxiv.org