SafeCtrl: Region-Aware Safety Control for Text-to-Image Diffusion via Detect-Then-Suppress
On the map: Diffusion models → Robustness, privacy and adversarial aspects
also in 1 more
Abstract (arXiv)
The widespread deployment of text-to-image diffusion models is significantly challenged by the generation of visually harmful content, such as sexually explicit content, violence, and horror imagery. Common safety interventions, ranging from input filtering to model concept erasure, often suffer from two critical limitations: (1) a severe trade-off between safety and context preservation, where removing unsafe concepts degrades the fidelity of the safe content, and (2) vulnerability to adversarial attacks, where safety mechanisms are easily bypassed. To address these challenges, we propose SafeCtrl, a Region-Aware safety control framework operating on a Detect-Then-Suppress paradigm. Unlike global safety interventions, SafeCtrl first employs an attention-guided Detect module to precisely localize specific risk regions. Subsequently, a localized Suppress module, optimized via image-level Direct Preference Optimization (DPO), neutralizes harmful semantics only within the detected areas, effectively transforming unsafe objects into safe alternatives while leaving the surrounding context intact. Extensive experiments across multiple risk categories demonstrate that SafeCtrl achieves a superior trade-off between safety and fidelity compared to state-of-the-art methods. Crucially, our approach exhibits improved resilience against adversarial prompt attacks, offering a precise and robust solution for responsible generation.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Robustness, privacy and adversarial aspects, one of 14 directions in Diffusion models. Builds on 21 of its 22 references that are in the map. First posted on arXiv 5 Apr 2026.
Builds on
21 of 22 references.
Closest ancestors · 8
Same direction, newest first
- 2025Responsible Diffusion Models via Constraining Text Embeddings within Safe Regions21 May
- 2024Concept Replacer: Replacing Sensitive Concepts in Diffusion Models via Precision Localization2 Dec
- 2024MACE: Mass Concept Erasure in Diffusion Models10 Mar
- 2023Ring-A-Bell! How Reliable are Concept Removal Methods for Diffusion Models?16 Oct
- 2023Unified Concept Editing in Diffusion Models25 Aug
- 2023Unsafe Diffusion: On the Generation of Unsafe Images and Hateful Memes From Text-To-Image Models23 May
- 2023Erasing Concepts from Diffusion Models13 Mar
- 2022Safe Latent Diffusion: Mitigating Inappropriate Degeneration in Diffusion Models9 Nov
Other references · 13
- 2020Denoising Diffusion Probabilistic Modelscited by 21,076
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
- 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,431
- 2023IP-Adapter: Text Compatible Image Prompt Adapter for Text-to-Image Diffusion Modelscited by 1,464
- 2023T2I-Adapter: Learning Adapters to Dig out More Controllable Ability for Text-to-Image Diffusion Modelscited by 1,351
- 2022DiffEdit: Diffusion-based semantic image editing with mask guidancecited by 647
- 2021Multimodal datasets: misogyny, pornography, and malignant stereotypescited by 327
- 2021Repurposing GANs for One-shot Semantic Part Segmentationcited by 88
- 2023SLiMe: Segment Like Mecited by 34
1 more
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025SafeCtrl: Region-Based Safety Control for Text-to-Image Diffusion via Detect-Then-Suppress
- 2025SafeGuider: Robust and Practical Content Safety Control for Text-to-Image Models
- 2026Disciplined Diffusion: Text-to-Image Diffusion Model against NSFW Generation
- 2025Beyond the Safety Tax: Mitigating Unsafe Text-to-Image Generation via External Safety Rectification
- 2024Safety Alignment Backfires: Preventing the Re-emergence of Suppressed Concepts in Fine-tuned Text-to-Image Diffusion Models
- 2026Robust and Generalizable Safety Steering for Text-to-Image Diffusion Transformers
- 2025Training-Free Safe Text Embedding Guidance for Text-to-Image Diffusion Models
- 2026Pulling The REINS: Training-Free Safety Alignment of Video Diffusion Models via Representation Steering