Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Neighbor-Aware Localized Concept Erasure in Text-to-Image Diffusion Models

About

Concept erasure in text-to-image diffusion models seeks to remove undesired concepts while preserving overall generative capability. Localized erasure methods aim to restrict edits to the spatial region occupied by the target concept. However, we observe that suppressing a concept can unintentionally weaken semantically related neighbor concepts, reducing fidelity in fine-grained domains. We propose Neighbor-Aware Localized Concept Erasure (NLCE), a training-free framework designed to better preserve neighboring concepts while removing target concepts. It operates in three stages: (1) a spectrally-weighted embedding modulation that attenuates target concept directions while stabilizing neighbor concept representations, (2) an attention-guided spatial gate that identifies regions exhibiting residual concept activation, and (3) a spatially-gated hard erasure that eliminates remaining traces only where necessary. This neighbor-aware pipeline enables localized concept removal while maintaining the surrounding concept neighborhood structure. Experiments on fine-grained datasets (Oxford Flowers, Stanford Dogs) show that our method effectively removes target concepts while better preserving closely related categories. Additional results on celebrity identity, explicit content and artistic style demonstrate robustness and generalization to broader erasure scenarios.

Zhuan Shi, Alireza Dehghanpour Farashah, Rik de Vries, Golnoosh Farnadi• 2026

Related benchmarks

TaskDatasetResultRank
Artistic Style ErasureArtistic Style Van Gogh v1.4 base (test)
Accuracy Error Rate (Targeted)55
11
Artistic Style ErasureArtistic Style Kelly McKernan v1.4 base (test)
Accuracy (t)55
11
Concept ErasureStanford Dogs Chesapeake Bay Retriever
Accuracy (Test)16
11
Multi-concept ErasureErasure 10 Dogs (test)
Acc_t26.8
11
Concept ErasureOxford Flowers Camellia
Accuracy (Target)12
11
Multi-concept ErasureErasure 10 Flowers (test)
Accuracy (Target)24.4
11
Concept ErasureOxford Flowers Alpine Sea Holly
Accuracy (Test)0.00e+0
11
Concept ErasureStanford Dogs Bluetick
Acc_t0.00e+0
11
Celebrity ErasureCelebrity Dataset Bill Clinton target
Acc_t1.33
10
Celebrity ErasureCelebrity Dataset Anna Kendrick target
Target Accuracy (Acc_t)0.00e+0
10
Showing 10 of 11 rows

Other info

Follow for update