预见其发生:扩散式文生图模型中的生成中NSFW检测
Seeing It Before It Happens: In-Generation NSFW Detection for Diffusion-Based Text-to-Image Models
AI总结:
本文提出生成中检测(IGD)方法,利用扩散过程中的预测噪声作为内部信号,在生成阶段识别NSFW内容,在七个类别上达到91.32%的平均准确率,优于七种基线方法。
摘要:
基于扩散的文生图(T2I)模型能够生成高质量图像,但也带来了显著的滥用风险,尤其是在生成不适宜工作场所(NSFW)内容方面。尽管先前的检测方法侧重于在生成前过滤提示词或在生成后审核图像,但扩散模型的生成中阶段在NSFW检测方面仍基本未被探索。在本文中,我们提出了生成中检测(IGD),一种简单而有效的方法,利用扩散过程中的预测噪声作为内部信号来识别NSFW内容。该方法受到初步发现的启发,即预测噪声可能捕获区分NSFW与良性提示的语义线索,即使提示是经过对抗性精心构造的。在七个NSFW类别上进行的实验表明,IGD在朴素和对抗性NSFW提示上实现了91.32%的平均检测准确率,优于七种基线方法。
英文摘要:
Diffusion-based text-to-image (T2I) models enable high-quality image generation but also pose significant risks of misuse, particularly in producing not-safe-for-work (NSFW) content. While prior detection methods have focused on filtering prompts before generation or moderating images afterward, the in-generation phase of diffusion models remains largely unexplored for NSFW detection. In this paper, we introduce In-Generation Detection (IGD), a simple yet effective approach that leverages the predicted noise during the diffusion process as an internal signal to identify NSFW content. This approach is motivated by preliminary findings suggesting that the predicted noise may capture semantic cues that differentiate NSFW from benign prompts, even when the prompts are adversarially crafted. Experiments conducted on seven NSFW categories show that IGD achieves an average detection accuracy of 91.32% over naive and adversarial NSFW prompts, outperforming seven baseline methods.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。