Example-Based Spatial Guidance for Training-Free Concept Erasure in Diffusion Models

Younghwan Kil, Giung Nam, Joonhyeong Park, Jinwoo Shin, Juho Lee
11/16/2026
cs.CV
diffusion-flow

No confident code implementation found for this paper.

Abstract

Text-to-image (T2I) diffusion models often synthesize policy-violating content, necessitating robust safeguards and rigorous evaluation frameworks. However, current approaches remain largely monolithic in both execution and evaluation, limited to coarse-grained categorization within broad unsafe concepts.

Show full abstract

Such approaches fail to account for the specific constituent factors of a violation, resulting in weak learning signals and allowing model collapse to bypass safety checks. To overcome these limitations, we propose Example-Based Spatial Guidance (EBSG), a training-free method that utilizes user-editable exemplar packs to provide granular spatial guidance for precise concept steering. Unlike existing methods that coarsely steer the entire image away from a broad concept, EBSG decomposes these categories into specific sub-concepts via exemplar text-image pairs, providing explicit, localized steering signals for more robust safety control. Furthermore, we introduce a vision language model (VLM)-based evaluation protocol that provides a fine-grained assessment, avoiding the pitfall of conventional binary evaluators that permit model collapse to bypass safety checks. Empirically, EBSG achieves state-of-the-art erasure performance across diverse safety datasets and concept categories, spanning four nudity benchmarks, seven I2P harmful-concept slices, and four MJA metaphor categories, while supporting multi-concept removal and transferring to a modern backbone, SD3.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kil2026examplebased,
  title  = {Example-Based Spatial Guidance for Training-Free Concept Erasure in Diffusion Models},
  author = {Younghwan Kil and Giung Nam and Joonhyeong Park and Jinwoo Shin and Juho Lee},
  year   = {2026},
  eprint = {2611.20623},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.20623v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.20623.svg)](https://codeofpaper.com/paper/2611.20623)

Discussion