Safe and Reliable Diffusion Models via Subspace Projection
On the map: Diffusion models → Robustness, privacy and adversarial aspects
Abstract (arXiv)
Large-scale text-to-image (T2I) diffusion models have revolutionized image generation, enabling the synthesis of highly detailed visuals from textual descriptions. However, these models may inadvertently generate inappropriate content, such as copyrighted works or offensive images. While existing methods attempt to eliminate specific unwanted concepts, they often fail to ensure complete removal, allowing the concept to reappear in subtle forms. For instance, a model may successfully avoid generating images in Van Gogh's style when explicitly prompted with 'Van Gogh', yet still reproduce his signature artwork when given the prompt 'Starry Night'. In this paper, we propose SAFER, a novel and efficient approach for thoroughly removing target concepts from diffusion models. At a high level, SAFER is inspired by the observed low-dimensional structure of the text embedding space. The method first identifies a concept-specific subspace Sc associated with the target concept c. It then projects the prompt embeddings onto the complementary subspace of Sc, effectively erasing the concept from the generated images. Since concepts can be abstract and difficult to fully capture using natural language alone, we employ textual inversion to learn an optimized embedding of the target concept from a reference image. This enables more precise subspace estimation and enhances removal performance. Furthermore, we introduce a subspace expansion strategy to ensure comprehensive and robust concept erasure. Extensive experiments demonstrate that SAFER consistently and effectively erases unwanted concepts from diffusion models while preserving generation quality.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Placed in Robustness, privacy and adversarial aspects, one of 14 directions in Diffusion models. Builds on 25 of its 33 references that are in the map. First posted on arXiv 21 Mar 2025.
Builds on
25 of 33 references.
Closest ancestors · 11
Same direction, newest first
- 2024Precise, Fast, and Low-cost Concept Erasure in Value Space: Orthogonal Complement Matters9 Dec
- 2024Espresso: Robust Concept Filtering in Text-to-Image Models30 Apr
- 2024MACE: Mass Concept Erasure in Diffusion Models10 Mar
- 2023One-Dimensional Adapter to Rule Them All: Concepts, Diffusion Models and Erasing Applications26 Dec
- 2023Unified Concept Editing in Diffusion Models25 Aug
- 2023Unsafe Diffusion: On the Generation of Unsafe Images and Hateful Memes From Text-To-Image Models23 May
- 2023Forget-Me-Not: Learning to Forget in Text-to-Image Diffusion Models30 Mar
- 2023Ablating Concepts in Text-to-Image Diffusion Models23 Mar
- 2023Erasing Concepts from Diffusion Models13 Mar
- 2022Safe Latent Diffusion: Mitigating Inappropriate Degeneration in Diffusion Models9 Nov
- 2022Red-Teaming the Stable Diffusion Safety Filter3 Oct
Other references · 14
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Denoising Diffusion Probabilistic Modelscited by 21,076
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,255
- 2022An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversioncited by 2,245
- 2022Reproducible scaling laws for contrastive language-image learningcited by 1,173
- 2020Improved Techniques for Training Score-Based Generative Modelscited by 1,043
- 2024Measuring Style Similarity in Diffusion Modelscited by 109
- 2022The ArtBench Dataset: Benchmarking Generative Models with Artworkscited by 64
- 2020Learn to Forget: Machine Unlearning via Neuron Maskingcited by 62
- 2023Localizing and Editing Knowledge in Text-to-Image Generative Modelscited by 54
2 more
Built on by
Citing papers per year: 2025: 6; 2026: 1.
7 papers.
- 2025Set You Straight: Auto-Steering Denoising Trajectories to Sidestep Unwanted Conceptscited by 62
- 2025Erasing Concepts, Steering Generations: A Comprehensive Survey of Concept Suppressioncited by 10
- 2025Erased or Dormant? Rethinking Concept Erasure Through Reversibilitycited by 9
- 2026SafeMo: Linguistically Grounded Unlearning for Trustworthy Text-to-Motion Generationcited by 6
- 2025Concept Unlearning by Modeling Key Steps of Diffusion Processcited by 5
- 2025What Lurks Within? Concept Auditing for Shared Diffusion Models at Scalecited by 4
- 2025ACE: Attentional Concept Erasure in Diffusion Modelscited by 3
- 2026SafeMo: Linguistically Grounded Unlearning for Trustworthy Text-to-Motion Generation2 Jan 2026
- 2025Concept Unlearning by Modeling Key Steps of Diffusion Process9 Jul 2025
- 2025Erasing Concepts, Steering Generations: A Comprehensive Survey of Concept Suppression26 May 2025
- 2025Erased or Dormant? Rethinking Concept Erasure Through Reversibility22 May 2025
- 2025What Lurks Within? Concept Auditing for Shared Diffusion Models at Scale21 Apr 2025
- 2025Set You Straight: Auto-Steering Denoising Trajectories to Sidestep Unwanted Concepts17 Apr 2025
- 2025ACE: Attentional Concept Erasure in Diffusion Models16 Apr 2025
Similar, not cited
Close in wording, no citation either way
- 2025Semantic Surgery: Zero-Shot Concept Erasure in Diffusion Models
- 2025SuMa: A Subspace Mapping Approach for Robust and Effective Concept Erasure in Text-to-Image Diffusion Models
- 2026Erasing Without Collateral Damage: Precise Concept Removal in Diffusion Models
- 2026Erasing Thousands of Concepts: Towards Scalable and Practical Concept Erasure for Text-to-Image Diffusion Models
- 2023The Hidden Language of Diffusion Models
- 2025A Comprehensive Survey on Concept Erasure in Text-to-Image Diffusion Models
- 2024Reliable and Efficient Concept Erasure of Text-to-Image Diffusion Models
- 2026Localized Concept Erasure in Text-to-Image Diffusion Models via High-Level Representation Misdirection