GRACE: Adaptive Concept Erasure with Geometry-Guided Retention in Diffusion Models
Qinghui Gong, Yihuai Liang, Jinshan Lai, Deepak Kumar Jain, Vitomir Štruc, Zhengchun Zhou
Abstract
Text-to-image (T2I) diffusion models inevitably internalize sensitive or non-compliant concepts from large-scale pretraining data, necessitating post-hoc concept erasure. However, existing erasure methods often lack explicit constraints on parameter updates, leading to over-intervention and unintended semantic drift. In addition, many methods rely on manually crafted counterfactual supervision, such as surrogate prompts, which incurs substantial data construction costs that limit scalability to new concepts. To address these limitations, we propose GRACE, a structured concept erasure framework designed to enable localized and selective intervention. Specifically, we introduce a semantically weighted sensitive subspace estimation to precisely lock intervention directions, and employ lightweight subspace-constrained adapters to prevent global semantic disturbance. To eliminate the dependency on manual prompt engineering, we design an automatically decoupled safe-anchor mechanism. To mitigate semantic drift induced by excessive intervention, we introduce an energy-driven dynamic gating mechanism that adaptively controls the timing and strength of intervention at inference. Extensive experiments demonstrate that our method achieves a superior balance between erasure effectiveness and generation fidelity. Compared with the average performance of five state-of-the-art (SOTA) concept erasure methods, our method improves the fine-grained NSFW reduction rate by , while reducing the macro-averaged target CLIP Score and preservation-oriented Fréchet Inception Distance (FID) by and , indicating stronger concept suppression with substantially improved preservation of the original model's generative utility.
Create a lesson
Metadata
- Comments
- 35 pages,14 figures
Related papers
SPARC: Geometry-Guided Attention Pruning for Long-Horizon Camera-Controlled Video Generation
Shared title terminologycs.CVZesong Yang, Weikai Chen, Liyuan Cui et al.
Data-Efficient Crosswalk Segmentation from Overhead CCTV via Confidence- and Geometry-Guided Pseudo-Labeling
Shared title terminologycs.CVAbdirashid Omar, Jonghyuk Park
Diffusion Steering via Adaptive Reward Estimation and Resampling
Shared title terminologycs.CVAbinitha Gourabathina, Sana Tonekaboni, Marzyeh Ghassemi et al.
Physics-Guided Generative Modelling of Oxy-Combustion Flame Images: From Conditional LSGANs to Denoising Diffusion Models
Shared title terminologycs.CVImane Er-rabhi, Gorkem Oztarlik, Jean Caudal et al.
Score-based Black-box Attack via Adversarial Condition Guided Diffusion Model
Shared title terminologycs.CVYuhang Chen, Chih-Hong Cheng, Kurt Debattista et al.
OceanFix: Reference-Guided Diffusion for Sparse-View Underwater 3D Reconstruction
Shared title terminologycs.CVGen Li, Maoxin Chen, Yao Xiao et al.