当引导成为屏障:文本到图像生成中不安全输入的早期拦截
When Guidance Becomes a Guard: Early Interception of Unsafe Inputs in Text-to-Image Generation
AI总结:
该研究针对文本到图像生成的不安全输入问题,提出CSTI方法利用原生生成信号实现早期拦截,在多组实验中性能优于基线,可大幅降低生成延迟。
摘要:
文本到图像扩散模型会生成不安全内容,而输出过滤仅在合成后进行干预。我们研究原生生成信号是否能实现对不安全和对抗性输入的早期检测。我们发现无分类器引导在条件响应中暴露了强烈的安全信号,可通过紧凑统计量和线性读出获取。基于此发现,我们提出条件语义轨迹拦截(CSTI),该方法在早期检查点聚合条件与无条件响应之间的激活对比,以实现校准风险检测。CSTI使用规范概念和安全示例拟合特定概念的检测器,无需攻击样本、中间图像解码或生成器修改。在五个生成器、四个对抗性攻击集合以及两个通用NSFW数据集上,当FPR匹配为5%时,CSTI在六个基线中实现了最强的整体性能。早期拦截在被拦截路径上减少了超过60%的生成延迟。这些结果证明了原生条件响应在早期安全拦截中的有效性。
英文摘要:
Text-to-image diffusion models can produce unsafe content, while output filtering intervenes only after synthesis. We investigate whether native generation signals enable early detection of unsafe and adversarial inputs. We find that classifier-free guidance exposes strong safety signals in conditional responses, accessible through compact statistics and linear readouts. Based on this finding, we propose Conditional Semantic Trajectory Interception (CSTI), which aggregates activation contrasts between conditional and unconditional responses at early checkpoints for calibrated risk detection. CSTI fits concept-specific detectors using canonical concept and safe examples, without attack samples, intermediate image decoding, or generator modification. Across five generators, four adversarial attack collections, and two general NSFW datasets, CSTI achieves the strongest overall performance among six baselines at a matched 5% FPR. Early interception reduces generation latency by over 60% on intercepted paths. These results demonstrate the effectiveness of native conditional responses for early safety interception.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。