potentialpaper

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

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 19:19 UTC · 0a794d769aec ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "XYVBawd2jg"
- }
- ],
- "title": "FlowGuard: Towards Lightweight In-Generation Safety Detection for Diffusion Models via Linear Latent Decoding",
- "authors": [],
- "abstract": "Diffusion-based image generation models have advanced rapidly but pose a safety risk due to their potential to generate Not-Safe-For-Work (NSFW) content. Existing NSFW detection methods mainly operate either before or after image generation. Pre-generation methods rely on text prompts and struggle with the gap between prompt safety and image safety. Post-generation methods apply classifiers to final outputs, but they are poorly suited to intermediate noisy images. To address this, we introduce \\textsc{FlowGuard}, a cross-model in-generation detection framework that inspects intermediate denoising steps. This is particularly challenging in latent diffusion, where early-stage noise obscures visual signals. \\textsc{FlowGuard} employs a novel linear approximation for latent decoding and leverages a curriculum learning approach to stabilize training. By detecting unsafe content early, \\textsc{FlowGuard} reduces unnecessary diffusion steps to cut computational costs. Our cross-model benchmark spanning nine diffusion-based backbones shows the effectiveness of \\textsc{FlowGuard} for in-generation NSFW detection in both in-distribution and out-of-distribution settings, outperforming existing methods by over 30\\% in F1 score while delivering transformative efficiency gains, including slashing peak GPU memory demand by over 97\\% and projection time from 8.1 seconds to 0.2 seconds compared to standard VAE decoding.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "f4de8ee1-3c3f-48e1-8640-d10409254b37"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "FlowGuard: Towards Lightweight In-Generation Safety Detection for Diffusion Models via Linear Latent Decoding",
+ "authors": [],
+ "abstract": "Diffusion-based image generation models have advanced rapidly but pose a safety risk due to their potential to generate Not-Safe-For-Work (NSFW) content. Existing NSFW detection methods mainly operate either before or after image generation. Pre-generation methods rely on text prompts and struggle with the gap between prompt safety and image safety. Post-generation methods apply classifiers to final outputs, but they are poorly suited to intermediate noisy images. To address this, we introduce \\textsc{FlowGuard}, a cross-model in-generation detection framework that inspects intermediate denoising steps. This is particularly challenging in latent diffusion, where early-stage noise obscures visual signals. \\textsc{FlowGuard} employs a novel linear approximation for latent decoding and leverages a curriculum learning approach to stabilize training. By detecting unsafe content early, \\textsc{FlowGuard} reduces unnecessary diffusion steps to cut computational costs. Our cross-model benchmark spanning nine diffusion-based backbones shows the effectiveness of \\textsc{FlowGuard} for in-generation NSFW detection in both in-distribution and out-of-distribution settings, outperforming existing methods by over 30\\% in F1 score while delivering transformative efficiency gains, including slashing peak GPU memory demand by over 97\\% and projection time from 8.1 seconds to 0.2 seconds compared to standard VAE decoding.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}