Skip to content

FlowGuard: Lightweight In-Generation Safety Detection for Diffusion Models via Linear Latent-Space DecodingFlowGuard: Towards Lightweight In-Generation Safety Detection for Diffusion Models via Linear Latent Decoding

arXiv· arXiv:2604.07879· Jinghan Yang, Yihe Fan, Xudong Pan, Min Yang·Indexed by this site · 25 days ago· Originally publishedDefenses
AI summary

FlowGuard proposes a cross-model framework for detecting NSFW content during the denoising process of diffusion models, using linear latent-space decoding approximation and curriculum learning to identify unsafe content in early steps. On a cross-model benchmark covering 9 diffusion backbones, its F1 is more than 30% higher than existing methods; compared with standard VAE decoding, peak GPU memory demand is reduced by over 97%, and projection time drops from 8.1 seconds to 0.2 seconds.

Read originalarxiv.org