mlsanityData to 7 Oct 2026

Modular Energy Steering for Safe Text-to-Image Generation with Foundation Models

arXiv 2604.02265 ↗First posted 2 Apr 2026cs.CVcited by 0

Not on the map. Why?

Abstract (arXiv)

Controlling the behavior of text-to-image generative models is critical for safe and practical deployment. Existing safety approaches typically rely on model fine-tuning or curated datasets, which can degrade generation quality or limit scalability. We propose an inference-time steering framework that leverages gradient feedback from frozen pretrained foundation models to guide the generation process without modifying the underlying generator. Our key observation is that vision-language foundation models encode rich semantic representations that can be repurposed as off-the-shelf supervisory signals during generation. By injecting such feedback through clean latent estimates at each sampling step, our method formulates safety steering as an energy-based sampling problem. This design enables modular, training-free safety control that is compatible with both diffusion and flow-matching models and can generalize across diverse visual concepts. Experiments demonstrate state-of-the-art robustness against NSFW red-teaming benchmarks and effective multi-target steering, while preserving high generation quality on benign non-targeted prompts. Our framework provides a principled approach for utilizing foundation models as semantic energy estimators, enabling reliable and scalable safety control for text-to-image generation.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 37 of its 42 references that are in the map. First posted on arXiv 2 Apr 2026.

Builds on

37 of 42 references.

References · 37

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  3. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  4. 2020Denoising Diffusion Implicit Modelscited by 9,655
  5. 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 8,964
  6. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  7. 2022Scalable Diffusion Models with Transformerscited by 5,931
  8. 2022Classifier-Free Diffusion Guidancecited by 5,717
  9. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
  10. 2022Flow Matching for Generative Modelingcited by 5,426
  11. 2023Improved Baselines with Visual Instruction Tuningcited by 4,362
  12. 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,094
25 more
  1. 2023InternVL: Scaling up Vision Foundation Models and Aligning for Generic Visual-Linguistic Taskscited by 2,534
  2. 2021Convex optimizationcited by 2,479
  3. 2021CLIPScore: A Reference-free Evaluation Metric for Image Captioningcited by 2,388
  4. 2023Erasing Concepts from Diffusion Modelscited by 530
  5. 2022Safe Latent Diffusion: Mitigating Inappropriate Degeneration in Diffusion Modelscited by 501
  6. 2024Generative Verifiers: Reward Modeling as Next-Token Predictioncited by 465
  7. 2023SalUn: Empowering Machine Unlearning via Gradient-based Weight Saliency in Both Image Classification and Generationcited by 376
  8. 2022Red-Teaming the Stable Diffusion Safety Filtercited by 257
  9. 2023Ring-A-Bell! How Reliable are Concept Removal Methods for Diffusion Models?cited by 239
  10. 2023To Generate or Not? Safety-Driven Unlearned Diffusion Models Are Still Easy To Generate Unsafe Images ... For Nowcited by 204
  11. 2023VIEScore: Towards Explainable Metrics for Conditional Image Synthesis Evaluationcited by 196
  12. 2023MMA-Diffusion: MultiModal Attack on Diffusion Modelscited by 184
  13. 2023Prompting4Debugging: Red-Teaming Text-to-Image Diffusion Models by Finding Problematic Promptscited by 161
  14. 2024SAFREE: Training-Free and Adaptive Guard for Safe Text-to-Image And Video Generationcited by 125
  15. 2024Reliable and Efficient Concept Erasure of Text-to-Image Diffusion Modelscited by 123
  16. 2024Latent Guard: a Safety Framework for Text-to-image Generationcited by 68
  17. 2024Continual Forgetting for Pre-trained Vision Modelscited by 29
  18. 2025CURE: Concept Unlearning via Orthogonal Representation Editing in Diffusion Modelscited by 24
  19. 2025Training-Free Safe Denoisers for Safe Use of Diffusion Modelscited by 19
  20. 2025Learning an Image Editing Model without Image Editing Pairscited by 13
  21. 2024DiffGuard: Text-Based Safety Checker for Diffusion Modelscited by 9
  22. 2025Continual Unlearning for Text-to-Image Diffusion Models: A Regularization Perspectivecited by 9
  23. 2025The Promise of RL for Autoregressive Image Editingcited by 6
  24. 2023Filter-Guided Diffusion for Controllable Image Generationcited by 5
  25. 2026Safety-Guided Flow (SGF): A Unified Framework for Negative Guidance in Safe Generationcited by 4

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Robust and Generalizable Safety Steering for Text-to-Image Diffusion Transformers
  2. 2026Introspective Attention Modulation for Safe Text-to-Image Generation
  3. 2026Test-Time Scaling for Safe Text-Guided Image Generation via Intermediate Clean Estimates
  4. 2025Detect-and-Guide: Self-regulation of Diffusion Models for Safe Text-to-Image Generation via Guideline Token Optimization
  5. 2026Semantic Steering for Controllable Generation: Tuning-Free Concept Erasure in Multimodal Diffusion Transformers
  6. 2026SPOT: Selective Prompt Projection via Total Variation for Inference-Only Safe Text-to-Image Generation
  7. 2026DTVI: Dual-Stage Textual and Visual Intervention for Safe Text-to-Image Generation
  8. 2025SafeCtrl: Region-Based Safety Control for Text-to-Image Diffusion via Detect-Then-Suppress