在图像生成过程中实时过滤侵权内容,速度提升近80%。
EDGE-Shield: Efficient Denoising-staGE Shield for Violative Content Filtering via Scalable Reference-Based Matching
- 通过嵌入匹配实现快速参考比对,无需训练。
- 提前预测清晰特征,使早期去噪阶段即可准确识别违规内容。
- 适合需要低延迟、高实时性的内容安全系统部署。
文本到图像生成模型的兴起带来了版权侵犯和深度伪造的重大风险。随着新版权作品和私人个体信息不断涌现,无需训练的基于参考内容的实时过滤机制成为保障最新防护的关键。现有方法在处理大量参考时缺乏可扩展性,且需等待生成完成才可检测。为此,我们提出EDGE-Shield,一种在去噪过程中高效运行的可扩展内容过滤器,在保持实用延迟的同时有效阻断违规内容。采用基于嵌入的匹配实现快速参考比对,并引入x-pred变换,将模型噪声中间隐状态转换为后期伪估计的干净隐状态,从而提升早期去噪阶段对违规内容的分类精度。我们在Z-Image-Turbo和Qwen-Image两个生成模型上进行实验,结果表明,相较于传统方法,EDGE-Shield在处理时间上分别实现约79%和50%的降低,同时在不同模型架构下维持了高过滤精度。
原文摘要 · Abstract (English)
The advent of Text-to-Image generative models poses significant risks of copyright violation and deepfake generation. Since the rapid proliferation of new copyrighted works and private individuals constantly emerges, reference-based training-free content filters are essential for providing up-to-date protection without the constraints of a fixed knowledge cutoff. However, existing reference-based approaches often lack scalability when handling numerous references and require waiting for finishing image generation. To solve these problems, we propose EDGE-Shield, a scalable content filter during the denoising process that maintains practical latency while effectively blocking violative content. We leverage embedding-based matching for efficient reference comparison. Additionally, we introduce an \textit{$x$}-pred transformation that converts the model's noisy intermediate latent into the pseudo-estimated clean latent at the later stage, enhancing classification accuracy of violative content at earlier denoising stages. We conduct experiments of violative content filtering against two generative models including Z-Image-Turbo and Qwen-Image. EDGE-Shield significantly outperforms traditional reference-based methods in terms of latency; it achieves an approximate $79\%$ reduction in processing time for Z-Image-Turbo and approximate $50\%$ reduction for Qwen-Image, maintaining the filtering accuracy across different model architectures.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。