Example-Based Spatial Guidance for Training-Free Concept Erasure in Diffusion Models
Organizations: Korea Advanced Institute of Science and Technology (KAIST)
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. 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.
Figures & tables
| COCO | ||||||||||||||
| Method | SR | F | NR | SR | F | NR | SR | F | NR | SR | F | NR | FID | CLIP |
| Baseline (SD v1.4) | 64.1 | 33.1 | 2.8 | 45.6 | 50.6 | 3.8 | 35.9 | 63.8 | 0.3 | 25.2 | 74.2 | 0.7 | – | 0.268 |
| Training-based: weights updated via gradient fine-tuning or closed-form weight edit | ||||||||||||||
| ESD [ 7 ] (FT) | 85.9 | 9.2 | 4.9 | 78.5 | 13.9 | 7.6 | 71.1 | 23.9 | 5.0 | 64.9 | 31.1 | 4.0 | 4.91 | 0.260 |
| SDD [ 15 ] (FT) | 90.8 | 4.2 | 4.9 | 88.6 | 7.6 | 3.8 | 81.3 | 16.4 | 2.3 | 72.2 | 24.5 | 3.3 | 4.73 | 0.261 |
| UCE [ 8 ] (WE) | 82.4 | 16.2 | 1.4 | 46.8 | 49.4 | 3.8 | 34.5 | 65.1 | 0.4 | 33.8 | 65.6 | 0.7 | 11.45 | 0.269 |
| Method | sexual | violence | self-harm | shocking | illegal | harass | hate | Avg |
|---|---|---|---|---|---|---|---|---|
| Baseline (SD v1.4) | 68.3 | 36.7 | 43.3 | 15.0 | 31.7 | 25.0 | 25.0 | 35.0 |
| Single-concept erasure: one concept-specific model per row | ||||||||
| UCE | 60.0 | 36.7 | 43.3 | 20.0 | 28.3 | 23.3 | 25.0 | 33.8 |
| RECE | 61.7 | 65.0 | 38.3 | 26.7 | 13.3 | 30.0 | 28.3 | 37.6 |
| SLD-Max | 86.7 | 68.3 | 5.0 | 26.7 | 41.7 | 18.3 | 30.0 | 39.5 |
| SAFREE | 83.3 | 73.3 | 36.7 | 81.7 | 35.0 | 28.3 | 43.3 | 54.5 |
| I2P | COCO | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Method | sexual | violence | self-harm | shocking | illegal | harass | hate | Avg | CLIP |
| EBSG (ours) | 98.3 | 88.3 | 58.3 | 93.3 | 46.7 | 63.3 | 66.7 | 73.6 | 0.255 |
| w/o CAS (when) | 98.3 | 78.3 | 50.0 | 63.3 | 51.7 | 50.0 | 55.0 | 63.8 | 0.240 |
| w/o text-probe in FSM (where) | 96.7 | 86.7 | 50.0 | 88.3 | 31.7 | 40.0 | 66.7 | 65.7 | 0.255 |
| w/o image-probe in FSM (where) | 98.3 | 71.7 | 35.0 | 85.0 | 45.0 | 65.0 | 55.0 | 65.0 | 0.258 |
| Method | sexual | violence | self-harm | shocking | illegal | harass | hate | Avg |
|---|---|---|---|---|---|---|---|---|
| EBSG (ours; family-level) | 98.3 | 88.3 | 58.3 | 93.3 | 46.7 | 63.3 | 66.7 | 73.6 |
| EBSG w/ concept-level pooling | 98.3 | 85.0 | 46.7 | 91.7 | 36.7 | 56.7 | 58.3 | 67.6 |
| +0.0 | +3.3 | +11.6 | +1.6 | +10.0 | +6.6 | +8.4 | +6.0 |
Appendix figures & tables47 assets
Supplementary material from the paper’s appendix.
Appendix
| Concept | Concept-level detection keywords |
|---|---|
| Sexual / nudity | “nudity”, “nude person”, “naked body” |
| Violence | “violence”, “bloody scene”, “weapon”, “fight” |
| Self-harm | “crying despair”, “hanging noose”, “self mutilation” |
| Shocking | “gore”, “body horror”, “mutilation”, “corpse” |
| Illegal activity | “drugs”, “crime”, “contraband”, “illegal activity” |
| Harassment | “bullying”, “mockery”, “intimidation”, “abuse” |
| Concept | Example families |
|---|---|
| Sexual / Nudity | naked body, sexual act, exposed body parts, suggestive pose |
| Violence | blood/gore, weapon threat, physical combat, dramatic distress |
| Shocking | screaming face, horror creature, body distortion, gory violence |
| Illegal activity | drugs/pills, smoking substance, mugshot/prison, vandalism/riot |
| Harassment | political mockery, threatening aggression, hostile caricature |
| Hate | hate-symbol imagery, dehumanizing meme, dark/grotesque depiction |
| Concept | Family | Target keywords (examples) | Anchor keywords (examples) |
|---|---|---|---|
| Sexual | naked body | “naked body”, “nude figure”, “bare-skinned person” | “clothed body”, “fully dressed”, “covered figure” |
| sexual act | “sexual act”, “explicit intercourse”, “erotic contact” | “warm hug”, “casual conversation”, “friendly greeting” | |
| exposed parts | “exposed breasts”, “exposed genitals”, “intimate body parts” | “everyday clothing”, “business attire”, “casual outfit” | |
| suggestive pose | “suggestive pose”, “revealing outfit”, “seductive posture” | “confident stance”, “modest outfit”, “neutral pose” | |
| Violent | blood / gore | “blood splatter”, “bloody wound”, “pool of blood” | “clean scene”, “empty room”, “peaceful setting” |
| weapon attack | “knife attack”, “shooting someone”, “weapon threat” | “handshake”, “friendly greeting”, “calm conversation” |
| Setting | Backbone | ||||
|---|---|---|---|---|---|
| Nudity (UD / RAB / MMA / P4DN) | SD v1.4 | 20 | 0.6 | 0.10 | 0.30 |
| I2P-Sexual | SD v1.4 | 20 | 0.5 | 0.10 | 0.30 |
| I2P-Violence | SD v1.4 | 22.5 | 0.35 | 0.30 | 0.15 |
| I2P-Self-harm | SD v1.4 | 7.5 | 0.5 | 0.10 | 0.10 |
| I2P-Shocking | SD v1.4 | 27.5 | 0.6 | 0.15 | 0.10 |
| I2P-Illegal | SD v1.4 | 25 | 0.6 | 0.10 | 0.50 |
| UnlearnDiff (142) | Ring-A-Bell (79) | MMA-Diff (1000) | P4DN (151) | |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Method | SR | Sa | Pa | F | NR | SR | Sa | Pa | F | NR | SR | Sa | Pa | F | NR | SR | Sa | Pa | F | NR |
| Baseline | .641 | .218 | .423 | .331 | .028 | .456 | .203 | .253 | .506 | .038 | .359 | .123 | .236 | .638 | .003 | .252 | .073 | .179 | .742 | .007 |
| ESD | .859 | .563 | .296 | .092 | .049 | .785 | .481 | .304 | .139 | .076 | .711 | .414 | .297 | .239 | .050 | .649 | .146 | .503 | .311 | .040 |
| SDD | .908 | .620 | .288 | .042 | .049 | .886 | .544 | .342 | .076 | .038 | .813 | .544 | .269 | .164 | .023 | .722 | .272 | .450 | .245 | .033 |
| UCE | .824 | .465 | .359 | .162 | .014 | .468 | .228 | .241 | .494 | .038 | .345 | .159 | .186 | .651 | .004 | .338 | .146 | .192 | .656 | .007 |
| RECE | .901 | .768 | .134 | .014 | .085 | .544 | .519 | .025 | .000 | .456 | .794 | .545 | .249 | .164 | .042 | .702 | .556 | .146 | .013 | .285 |
| sexual | violence | self-harm | shocking | illegal | harass. | hate | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Method | SR | F | NR | SR | F | NR | SR | F | NR | SR | F | NR | SR | F | NR | SR | F | NR | SR | F | NR | Avg SR |
| Baseline (SD v1.4) | .683 | .283 | .033 | .367 | .617 | .017 | .433 | .550 | .017 | .150 | .850 | .000 | .317 | .650 | .033 | .250 | .733 | .017 | .250 | .733 | .017 | .350 |
| UCE [ 8 ] | .600 | .333 | .067 | .367 | .617 | .017 | .433 | .400 | .167 | .200 | .800 | .000 | .283 | .083 | .633 | .233 | .550 | .217 | .250 | .667 | .083 | .338 |
| RECE [ 9 ] | .617 | .283 | .100 | .650 | .283 | .067 | .383 | .350 | .267 | .267 | .517 | .217 | .133 | .017 | .850 | .300 | .517 | .183 | .283 | .133 | .583 | .376 |
| SLD-Weak [ 28 ] | .700 | .233 | .067 | .400 | .600 | .000 | .367 | .367 | .267 | .200 | .800 | .000 | .350 | .267 | .383 | .267 | .533 | .200 | .233 | .717 | .050 | .360 |
| SLD-Medium | .817 | .083 | .100 | .683 | .317 | .000 | .450 | .183 | .367 | .250 | .750 | .000 | .250 | .350 | .400 | .283 | .433 | .283 | .233 | .633 | .133 | .424 |
| sexual | violence | self-harm | shocking | illegal | harass. | hate | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Method (multi) | SR | F | NR | SR | F | NR | SR | F | NR | SR | F | NR | SR | F | NR | SR | F | NR | SR | F | NR | Avg SR |
| UCE [ 8 ] | .800 | .067 | .133 | .533 | .367 | .100 | .333 | .200 | .467 | .183 | .800 | .017 | .250 | .183 | .567 | .167 | .483 | .350 | .200 | .533 | .267 | .352 |
| RECE [ 9 ] | .533 | .000 | .467 | .433 | .117 | .450 | .217 | .050 | .733 | .367 | .250 | .383 | .217 | .067 | .717 | .100 | .200 | .700 | .167 | .400 | .433 | .291 |
| SLD-Weak [ 28 ] | .683 | .267 | .050 | .400 | .600 | .000 | .400 | .333 | .267 | .267 | .733 | .000 | .383 | .167 | .450 | .283 | .467 | .250 | .217 | .700 | .083 | .376 |
| SLD-Medium | .667 | .250 | .083 | .533 | .467 | .000 | .483 | .233 | .283 | .267 | .717 | .017 | .350 | .067 | .583 | .333 | .383 | .283 | .267 | .583 | .150 | .414 |
| SLD-Strong | .767 | .150 | .083 | .533 | .433 | .033 | .350 | .167 | .483 | .400 | .567 | .033 | .317 | .083 | .600 | .283 | .300 | .417 | .283 | .500 | .217 | .419 |
| Method | Sexual | Violence | Avg SR |
|---|---|---|---|
| UCE | 73.3/23.3/3.3 | 33.3/61.7/5.0 | 53.3 |
| RECE | 88.3/1.7/10.0 | 48.3/26.7/25.0 | 68.3 |
| SLD-Weak | 71.7/23.3/5.0 | 41.7/58.3/0.0 | 56.7 |
| SLD-Medium | 75.0/13.3/11.7 | 43.3/55.0/1.7 | 59.2 |
| SLD-Strong | 80.0/6.7/13.3 | 51.7/43.3/5.0 | 65.8 |
| SLD-Max | 71.7/3.3/25.0 | 56.7/23.3/20.0 | 64.2 |
| Method | Metric | sexual | violence | self-harm | shocking | illegal | harass. | hate | Avg | COCO CLIP |
|---|---|---|---|---|---|---|---|---|---|---|
| SD v1.4 (baseline) | SR | 68.3 | 36.7 | 43.3 | 15.0 | 31.7 | 25.0 | 25.0 | 35.0 | 0.265 |
| Safe | 35.0 | 30.0 | 11.7 | 8.3 | 11.7 | 16.7 | 15.0 | 18.3 | ||
| Partial | 33.3 | 6.7 | 31.7 | 6.7 | 20.0 | 8.3 | 10.0 | 16.7 | ||
| Full | 28.3 | 61.7 | 55.0 | 85.0 | 65.0 | 73.3 | 73.3 | 63.1 | ||
| NotRel | 3.3 | 1.7 | 1.7 | 0.0 | 3.3 | 1.7 | 1.7 | 1.9 | ||
| w/o CAS (when) | SR | 98.3 | 78.3 | 50.0 | 63.3 | 51.7 | 50.0 | 55.0 | 63.8 | 0.240 |
| Method | Metric | sexual | violence | self-harm | shocking | illegal | harass. | hate | Avg |
|---|---|---|---|---|---|---|---|---|---|
| Family-grouped (EBSG) | SR | 98.3 | 88.3 | 58.3 | 93.3 | 46.7 | 63.3 | 66.7 | 73.6 |
| Safe | 91.7 | 73.3 | 10.0 | 88.3 | 31.7 | 50.0 | 56.7 | 57.4 | |
| Partial | 6.7 | 15.0 | 48.3 | 5.0 | 15.0 | 13.3 | 10.0 | 16.2 | |
| Full | 1.7 | 5.0 | 28.3 | 3.3 | 15.0 | 15.0 | 16.7 | 12.1 | |
| NotRel | 0.0 | 6.7 | 13.3 | 3.3 | 38.3 | 21.7 | 16.7 | 14.3 | |
| Single-pooled | SR | 98.3 | 85.0 | 46.7 | 91.7 | 36.7 | 56.7 | 58.3 | 67.6 |
| Method | Wall (s, 20 imgs) | Per-img w/ load (s) | Per-img excl. load (s) | baseline |
|---|---|---|---|---|
| Baseline (SD v1.4) | 59.27 | 2.96 | 2.63 | 1.0 |
| SAFREE [ 32 ] | 187.07 | 9.35 | 8.74 | 3.3 |
| SAFREE Safe Denoiser [ 13 ] | 243.64 | 12.18 | 9.00 | 3.4 |
| SAFREE SGF [ 14 ] | 249.40 | 12.47 | 9.26 | 3.5 |
| SLD-Weak [ 28 ] | 193.98 | 9.70 | 9.00 | 3.4 |
| SLD-Medium | 195.66 | 9.78 | 9.05 | 3.4 |
| Method | Avg SR | Relative latency |
|---|---|---|
| Baseline SD 1.4 | 35.0 | |
| UCE | 33.8 | |
| RECE | 37.6 | |
| Co-Erasing | 34.5 | |
| Double Projections | 38.3 | |
| CASteer | 51.0 |
| sexual | violent | illegal | disturbing | Avg | |||||||||||
| Backbone / Method | SR | F | NR | SR | F | NR | SR | F | NR | SR | F | NR | SR | F | NR |
| SD 3 (MM-DiT, flow matching): | |||||||||||||||
| Baseline (SD 3, unguarded) | 50.0 | 49.0 | 1.0 | 0.0 | 100.0 | 0.0 | 19.0 | 80.0 | 1.0 | 35.0 | 65.0 | 0.0 | 26.0 | 73.5 | 0.5 |
| UCE [ 8 ] | 55.0 | 45.0 | 0.0 | 0.0 | 100.0 | 0.0 | 22.0 | 76.0 | 2.0 | 45.0 | 55.0 | 0.0 | 30.5 | 69.0 | 0.5 |
| RECE [ 9 ] | 83.0 | 15.0 | 2.0 | 1.0 | 99.0 | 0.0 | 23.0 | 75.0 | 2.0 | 44.0 | 56.0 | 0.0 | 37.8 | 61.2 | 1.0 |
| SAFREE [ 32 ] | 67.0 | 31.0 | 2.0 | 0.0 | 99.0 | 1.0 | 24.0 | 74.0 | 2.0 | 40.0 | 60.0 | 0.0 | 32.8 | 66.0 | 1.2 |
| sexual | violence | self-harm | shocking | illegal | harassment | hate | Avg | |||||||||||||||||
| Backbone / Method | SR | F | NR | SR | F | NR | SR | F | NR | SR | F | NR | SR | F | NR | SR | F | NR | SR | F | NR | SR | F | NR |
| SD 3 (MM-DiT, flow matching): | ||||||||||||||||||||||||
| Baseline (SD 3, unguarded) | 88.3 | 10.0 | 1.7 | 38.4 | 61.7 | 0.0 | 30.0 | 46.7 | 23.3 | 28.3 | 71.7 | 0.0 | 33.3 | 33.3 | 33.3 | 33.4 | 38.3 | 28.3 | 36.6 | 50.0 | 13.3 | 41.2 | 44.5 | 14.3 |
| UCE [ 8 ] | 91.7 | 6.7 | 1.7 | 48.3 | 51.7 | 0.0 | 51.7 | 35.0 | 13.3 | 30.0 | 70.0 | 0.0 | 40.0 | 41.7 | 18.3 | 35.0 | 38.3 | 26.7 | 43.3 | 50.0 | 6.7 | 48.6 | 41.9 | 9.5 |
| RECE [ 9 ] | 96.7 | 1.7 | 1.7 | 53.3 | 46.7 | 0.0 | 51.7 | 28.3 | 20.0 | 43.3 | 56.7 | 0.0 | 40.0 | 35.0 | 25.0 | 31.7 | 43.3 | 25.0 | 40.0 | 46.7 | 13.3 | 51.0 | 36.9 | 12.1 |
| SAFREE [ 32 ] | 93.3 | 5.0 | 1.7 | 41.7 | 58.3 | 0.0 | 38.3 | 30.0 | 31.7 | 36.7 | 63.3 | 0.0 | 41.7 | 30.0 | 28.3 | 35.0 | 31.7 | 33.3 | 48.3 | 43.3 | 8.3 | 47.9 | 37.4 | 14.8 |
| Pack | Sexual | Violence | Self-harm | Shocking | Illegal | Harass. | Hate | Avg |
|---|---|---|---|---|---|---|---|---|
| EBSG | 98.3 | 88.3 | 58.3 | 93.3 | 46.7 | 63.3 | 66.7 | 73.6 |
| Coarse label-only | 95.0 | 91.7 | 60.0 | 93.3 | 31.7 | 58.3 | 66.7 | 71.0 |
| LLM-minimal | 86.7 | 73.3 | 61.7 | 91.7 | 48.3 | 56.7 | 70.0 | 69.8 |
| Configuration | Sexual | Violence | Self-harm | Shocking | Illegal | Harass. | Hate | Avg |
|---|---|---|---|---|---|---|---|---|
| SAFREE Safe Denoiser | 90.0 | 83.3 | 38.3 | 78.3 | 38.3 | 31.7 | 43.3 | 57.6 |
| EBSG (single fixed) | 90.0 | 83.3 | 41.7 | 86.7 | 40.0 | 56.7 | 63.3 | 66.0 |
| EBSG (per-concept tuned) | 98.3 | 88.3 | 58.3 | 93.3 | 46.7 | 63.3 | 66.7 | 73.6 |
| Fusion | Sexual | Violence | Self-harm | Shocking | Illegal | Harass. | Hate | Avg |
|---|---|---|---|---|---|---|---|---|
| Hard WTA (default) | 88.3 | 85.0 | 66.7 | 88.3 | 65.0 | 60.0 | 58.3 | 73.1 |
| Soft fusion | 93.3 | 85.0 | 61.7 | 91.7 | 63.3 | 55.0 | 63.3 | 73.3 |
| Denoising step | Sexual-family assignment | Violence-family assignment |
|---|---|---|
| 0 | 96.6 | 3.4 |
| 10 | 98.5 | 1.5 |
| 20 | 27.9 | 72.1 |
| 30 | 24.0 | 76.0 |
| 40 | 32.8 | 67.2 |
| Method | Coca-Cola (N=56) | McDonald’s (N=53) | Nike (N=60) | BMW (N=55) | Avg |
|---|---|---|---|---|---|
| Baseline SD 1.4 | 1.8 | 18.9 | 13.3 | 9.1 | 10.8 |
| SLD-Medium | 46.4 | 30.2 | 41.7 | 32.7 | 37.8 |
| SLD-Strong | 21.4 | 34.0 | 56.7 | 92.7 | 51.2 |
| SAFREE | 75.0 | 75.5 | 50.0 | 49.1 | 62.4 |
| UCE | 98.2 | 88.7 | 88.3 | 96.4 | 92.9 |
| EBSG | 96.4 | 100.0 | 96.7 | 100.0 | 98.3 |
| Method | UnlearnDiff | Ring-A-Bell | P4DN |
|---|---|---|---|
| SD v1.4 | |||
| SLD-MAX | |||
| SAFREE | |||
| SAFREE SGF | |||
| EBSG |
| Probe strength | SR | Full | NotRel |
|---|---|---|---|
| 0.00 | 96.2 | 2.5 | 1.3 |
| 1.00 | 93.7 | 1.3 | 5.1 |
| 1.17 | 98.7 | 0.0 | 1.3 |
| 1.34 | 93.7 | 0.0 | 6.3 |
| 1.51 | 96.2 | 0.0 | 3.8 |
| 1.68 | 97.5 | 0.0 | 2.5 |
| Selection criterion | SR | Full | NotRel |
|---|---|---|---|
| NudeNet unsafe score | 93.7 | 1.3 | 5.1 |
| CLIP similarity to target concept | 96.2 | 1.3 | 2.5 |
| CLIP similarity to original prompt | 92.4 | 1.3 | 6.3 |
| Method | Sexual | Violence | Self-harm | Shocking | Illegal | Harass. | Hate | Avg |
|---|---|---|---|---|---|---|---|---|
| Baseline SD 1.4 | 68.3 | 36.7 | 43.3 | 15.0 | 31.7 | 25.0 | 25.0 | 35.0 |
| UCE | 60.0 | 36.7 | 43.3 | 20.0 | 28.3 | 23.3 | 25.0 | 33.8 |
| RECE | 61.7 | 65.0 | 38.3 | 26.7 | 13.3 | 30.0 | 28.3 | 37.6 |
| SLD-Max | 86.7 | 68.3 | 5.0 | 26.7 | 41.7 | 18.3 | 30.0 | 39.5 |
| SAFREE | 83.3 | 73.3 | 36.7 | 81.7 | 35.0 | 28.3 | 43.3 | 54.5 |
| SAFREE Safe Denoiser | 90.0 | 83.3 | 38.3 | 78.3 | 38.3 | 31.7 | 43.3 | 57.6 |
| Method | Sexual | Violence | Self-harm | Shocking | Illegal | Harass. | Hate | Avg |
|---|---|---|---|---|---|---|---|---|
| UCE | 80.0 | 53.3 | 33.3 | 18.3 | 25.0 | 16.7 | 20.0 | 35.2 |
| RECE | 53.3 | 43.3 | 21.7 | 36.7 | 21.7 | 10.0 | 16.7 | 29.1 |
| SLD-Max | 78.3 | 61.7 | 23.3 | 43.3 | 40.0 | 36.7 | 26.7 | 44.3 |
| SAFREE | 85.0 | 48.3 | 36.7 | 25.0 | 40.0 | 33.3 | 25.0 | 41.9 |
| SAFREE Safe Denoiser | 85.0 | 53.3 | 38.3 | 45.0 | 50.0 | 38.3 | 40.0 | 50.0 |
| SAFREE SGF | 86.7 | 56.7 | 45.0 | 36.7 | 31.7 | 26.7 | 48.3 | 47.4 |
| Model | Type | w/ tie | w/o tie | Avg |
|---|---|---|---|---|
| CLIP-v1 † | Scoring | 12.7 | 33.3 | 23.0 |
| BLIP-v2 † | Scoring | 44.0 | 65.6 | 54.8 |
| PickScore-v1 † | Scoring | 37.2 | 42.2 | 39.7 |
| LLaVA-1.5-13b † | Open VLM | 30.7 | 60.7 | 45.7 |
| LLaVA-1.6-vicuna-13b † | Open VLM | 27.9 | 45.6 | 36.8 |
| Internvl-chat-v1.5 † | Open VLM | 6.3 | 60.0 | 33.2 |
| Method | UnlearnDiff | Ring-A-Bell | MMA | P4DN |
|---|---|---|---|---|
| Baseline (SD v1.4) | .648 | .633 | .871 | .887 |
| Training-based (fine-tune) | ||||
| ESD [ 7 ] | .451 | .354 | .646 | .695 |
| SDD [ 15 ] | .296 | .253 | .561 | .636 |
| Training-based (closed-form weight edit) | ||||
| UCE [ 8 ] | .430 | .532 | .899 | .795 |
| Method | violence | self-harm | shocking | illegal | harassment | hate |
|---|---|---|---|---|---|---|
| Baseline (SD v1.4) | .717 | .817 | .867 | .700 | .533 | .633 |
| Training-based (closed-form weight edit) | ||||||
| UCE [ 8 ] | .633 | .733 | .850 | .583 | .667 | .433 |
| RECE [ 9 ] | .283 | .667 | .500 | .367 | .650 | .250 |
| Training-free (inference-time) | ||||||
| SLD-Weak [ 28 ] | .633 | .633 | .883 | .683 | .567 | .500 |
| Concept | 4-class exact (%) | S/P collapsed 3-class (%) | |
|---|---|---|---|
| Sexual | 43 | 83.7 | 93.0 |
| Violence | 40 | 75.0 | 90.0 |
| Illegal | 43 | 60.5 | 88.4 |
| Self-harm | 39 | 61.5 | 82.1 |
| Disturbing | 39 | 61.5 | 82.1 |
| Hate | 42 | 57.1 | 78.6 |
| Qwen3-VL class | Precision | Recall |
|---|---|---|
| Safe-or-Partial | 97.6% (160/164) | 75.8% (160/211) |
| Full violation | 37.6% (32/85) | 94.1% (32/34) |
| NotRelevant | 100.0% (79/79) | 95.2% (79/83) |
Concept Erasure
Concept erasure removes specified knowledge or attributes from models while preserving their ability to perform unrelated tasks.
See all 70 papers