Comprehensive Assessment and Analysis for NSFW Content Erasure in Text-to-Image Diffusion Models
Read the original on arXiv Computer Vision →The Flow has not summarised this story yet — read it at arXiv Computer Vision.
The Flow has not summarised this story yet — read it at arXiv Computer Vision.
The paper presents a comprehensive toolkit for evaluating and analyzing NSFW concept erasure in text-to-image diffusion models. It conducts the first systematic study of existing erasure methods, exploring how their mechanisms interact with empirical results. The authors offer detailed insights and practical guidance to improve content safety in diffusion models across real-world scenarios.
arXiv:2504. 21072v2 Announce Type: replace-cross Abstract: The expansion of text-to-image diffusion models has raised concerns about harmful outputs, from fabricated depictions of public figures to sexually explicit imagery.
arXiv:2607. 23492v1 Announce Type: cross Abstract: Concept erasure techniques (CETs) edit text-to-image diffusion models to erase undesired targets such as NSFW content or copyrighted styles, while preserving model utility on benign concepts.
The paper introduces Differential Vector Erasure (DVE), a training‑free method for removing unwanted concepts from flow matching image generation models. DVE exploits the directional structure of the velocity field that encodes semantic concepts, constructing a differential vector field to isolate and suppress target concepts during inference. Experiments on the FLUX model show that DVE outperforms existing baselines in tasks such as NSFW suppression, style removal, and object erasure while maintaining image quality and diversity.
RASteer is a training‑free method for concept erasure in text‑to‑image diffusion models that retains other concepts. It constructs a retain subspace from concepts to preserve, then removes components aligned with this subspace from the erasure direction using Retain‑Orthogonal Steering (ROS). Overlap‑Adaptive Calibration (OAC) further adjusts the removal of shared components at each layer and denoising step, balancing target erasure with concept preservation. Experiments show RASteer matches or outperforms existing activation steering and weight editing baselines on unsafe‑content, instance, and artistic‑style erasure tasks across multiple backbones and benchmarks.
The paper introduces Hierarchically Grounded Semantic Surgery (HGSS), a training‑free method for removing specific concepts from text‑to‑image diffusion models without altering model weights. HGSS uses hierarchical span grounding to accurately identify target spans and dynamic attribute binding to refine text conditioning during early denoising, thereby preventing routing failures on compositional prompts. Experiments on SEE and UnlearnCanvas show that HGSS significantly reduces hierarchical evasion and attribute leakage, outperforming existing erasure techniques.