Safety-Guided Flow (SGF): A Unified Framework for Negative Guidance in Safe Generation
arXiv cs.CV / 3/17/2026
💬 OpinionIdeas & Deep AnalysisModels & Research
Key Points
- The paper proposes Safety-Guided Flow (SGF), a unified probabilistic framework using a Maximum Mean Discrepancy (MMD) potential to cast both Shielded Diffusion and Safe Denoiser as instances of energy-based negative guidance against unsafe data samples.
- It leverages control-barrier functions analysis to justify a critical time window in the denoising process where negative guidance must be strong, with guidance decaying to zero outside this window to ensure safe and high-quality generation.
- The framework is evaluated on several realistic safe generation scenarios, confirming that applying negative guidance early in the denoising process is essential for successful safe generation.
- By unifying robotics-style safety constraints with data-driven negative guidance, the work provides a theoretical basis for when safety guidance is actually necessary during generation.




