跳到正文
arXiv (AI + Vision + Imaging)· NaHyeon Park, Minhyun Lee, Hyunjung Shim·· 1 天前AI 评分12

CALM:用提示局部反事实校正替代全局不安全信号,提升文生图安全防护选择性

Keep It CALM: Analyzing the Limits of Global Unsafety in Text-to-Image Generation

AI 导读

CALM(Counterfactual Adaptive Local Modulation)是一种免训练的文生图安全防护方法,用提示局部反事实校正替代统一的全局不安全信号移除。该方法借助匹配的不安全-良性锚点,将每个提示路由到活跃的不安全类别,仅对违规 token 表示做最小化编辑并抑制正向对齐的不安全残差分量。评估显示其在显著提升不安全内容抑制的同时保留了良性提示的可用性。

正文 · 原文

arXiv:2610.02300v2 Announce Type: replace Abstract: Training-free safeguards for text-to-image generation often rely on a reusable safety signal, such as an unsafe direction or global toxic subspace, applied broadly across prompts. We provide a controlled geometric analysis of this global-unsafety assumption and reveal a consistent coverage-selectivity trade-off: compact unsafe subspaces fail to cover heterogeneous unsafe semantics, whereas broader aggregation increasingly distorts safety-adjacent benign prompts. Motivated by this finding, we propose CALM (Counterfactual Adaptive Local Modulation), a training-free safeguard that replaces uniform global removal with prompt-local counterfactual correction. Using matched unsafe-benign anchors, CALM routes each prompt to active unsafe categories, minimally edits only violating token representations toward the safe side, and suppresses positively aligned unsafe residual components. Across broad evaluation, CALM significantly improves unsafe content suppression while preserving benign utility, demonstrating that local counterfactual correction provides a more selective alternative to global unsafe signal removal.

来源:arXiv (AI + Vision + Imaging) · arxiv.org