arXiv cs.AI· Amman Yusuf, Jiwoo Shin, Ruizhi Deng, Heitor Rodrigues Guimar\~{a}es, Nikita Dvornik, Mijung Park·· 3 天前AI 评分22
SADDER:面向文本扩散模型的安全感知去噪与方向性嵌入修正
The Tokens Strike Back: Safety-Aware Denoising with Directional Embedding-based Revision
AI 导读
研究者提出 SADDER,在免训练的文本扩散模型安全引导框架 SAD 基础上,利用每个 token 位置的嵌入空间安全信号作为门控,按 SAD 更新规则修正 token,并理论推导出使修改后去噪器精确的位置级目标分布。
正文 · 原文
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