Diffusion models memorize training images and reproduce them almost verbatim when prompted, creating copyright and privacy liabilities. Data unlearning erases the influence of specific training samples from a trained model without retraining, and is two-sided: it must forget the targets while preserving generation quality on everything else. Prior methods use the squared-L2 diffusion loss, at most with a hand-set frequency mask; however, it is known that every Bregman divergence is a mathematically valid choice and the squared-L2 is only the simplest example. BEND is the first to search this family: it fits a spectral Bregman divergence to the unlearning task through a bilevel loop, so the loss itself is shaped to forget thoroughly while protecting quality. It also redirects a memorized image to the mean of its retain images, where ReTrack, the state of the art, redirects it to a single near-copy. On Stable Diffusion, a single BEND model erases all 48 verifiably memorized benchmark images at once. It forgets at least as much as per-target, sequential, and jointly trained ReTrack (SSCD 0.084 versus 0.094-0.120), at the quality of the model before unlearning (CLIP-IQA 0.81 versus 0.64-0.69). BEND also outperforms the state of the art on CelebA-HQ in all three measures of the benchmark, and matches or exceeds it on MNIST and CIFAR-10.
Figures & tables
Figure 1: BEND at a glance. Left : where unlearning redirects a noisy sample xt of a memorized prompt (images of one Stable Diffusion target): ReTrack to the nearest retain image, here a near-copy of the memorized image au ; BEND to the mean of all retain images, but the model ends at a new, sharp image ( ⋆ ), which DΦ counts as close to the mean although the squared- L2 does not. Right : the two methods side by side; the bars give the weight of each spatial scale in DΦ . Prior methods fix the unlearning loss; BEND searches for it.
Figure 2: What ReTrack redirects to, on the 48 memorized Stable Diffusion images. (a) Effective number of retain images behind the redirect image, by timestep (band: range over targets). (b) SSCD to the memorized image of the redirect image against the mean of the target’s retain images; one point per target.
Figure 3: Quality versus forgetting on Stable Diffusion (system means over the 48 targets). Vanilla, NegGrad, EraseDiff, and SISS train one model per target. BEND, one model for all targets, lies inside the shaded region of outcomes that dominate every ReTrack system, at the quality of the model before unlearning (dashed line). The two lighter marks are BEND with its searched potential replaced by a hand-set one (star) and by the squared- L2 loss (circle).
Memorized prompt
Modified prompt
Unrelated
Prompt fidelity
Method
CLIP-IQA ↑
SSCD ↓
CLIP-IQA ↑
SSCD ↓
CLIP-IQA ↑
CLIP-T ↑
CLIP-I ↑
Pretrained †
0.792
0.770
0.788
0.548
0.904
0.287
0.723
48 models
ReTrack-fleet
0.685±0.006
0.120±0.003
0.743
0.088
0.897
0.259
0.689
One model
ReTrack-cascade
0.676±0.019
0.110±0.016
0.716
0.120
0.872
0.241
0.651
ReTrack-joint
0.636±0.044
0.094±0.003
0.746
0.081
0.896
0.248
0.658
BEND (ours)
0.811±0.002
0.084±0.004
0.844
0.098
0.922
0.246
0.651
Table 1: Stable Diffusion, all N=48 memorized images ( -fleet : one model per target; -cascade : one model, sequential; -joint : one model for all targets, trained with the procedure of BEND). ± : standard deviation over three seeds (the fidelity of the fleet is from one of them). Ablations : the joint procedure of BEND with the target or the loss exchanged; no fidelity term : the potential found with the meta-objective without its fidelity term. Unrelated : CLIP-IQA on twelve unrelated prompts. † no unlearning. Per-target distributions are in the supplementary material.
Figure 4: The loss found by the search. Weight of the forget term (a) per frequency band and (b) per noise level, for the squared- L2 loss where the search starts, a hand-set low-pass, and the potentials found on the two halves of the targets.
Appendix figures & tables25 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 5: Examples for Fig. 2(b) of the main paper. Left: the plot of Fig. 2(b), with six targets marked. Right: one row per marked target, with the memorized image, ReTrack’s redirect image (the retain image onto which its weights collapse, here the one selected most often over the memorized generations of the target), and four retain images at evenly spaced quantiles of their similarity to the memorized image. Numbers: SSCD similarity to the memorized image. The point in Fig. 2(b) averages over the memorized generations and noise levels, so its height can differ slightly from the similarity of the redirect image shown.
Effective number
SSCD,
t
k=10
all retain
redirect
20
1.00
1.00
0.359
100
1.00
1.00
0.361
200
1.00
1.00
0.362
400
1.00
1.00
0.363
600
1.01
1.01
0.366
Appendix
Table 2: ReTrack’s redirection on Stable Diffusion (means over the 48 targets). The weights are a point mass at all but the last timesteps, with or without the truncation to k neighbors.
Step
g0
g1
g2
g3
g4
g5
g6
p
Half A
1
2.19
1.78
1.07
1.63
0.06
−3.33
−6.00
0.30
2
3.28
2.67
0.18
2.44
1.50
−6.90
−4.04
0.30
3
3.28
2.67
0.18
2.44
1.50
−6.90
−4.04
0.00
Half B
1
0.89
1.26
−0.28
0.86
0.12
−3.00
−1.43
0.00
2
1.77
0.83
−0.18
0.67
0.28
−3.88
−3.29
0.15
3
1.77
0.83
−0.18
0.67
0.28
−3.88
−3.29
−0.15
Appendix
Table 3: Parameters ψ found by the search (band gates from the coarsest band g0 to the finest g6 , and the noise-level exponent p ) on the two halves of the targets. The targets of one half are unlearned with the potential of the other. Gates and exponent act on the natural logarithm of the weights (Eq. (10) of the main paper).
Memorized prompt
Modified prompt
Unrelated
Prompt fidelity
Method
CLIP-IQA ↑
SSCD ↓
CLIP-IQA ↑
SSCD ↓
CLIP-IQA ↑
CLIP-T ↑
CLIP-I ↑
Pretrained †
0.792
0.770
0.788
0.548
0.904
0.287
0.723
48 models
ReTrack-fleet
0.685±0.006
0.120±0.003
0.743
0.088
0.897
0.259
0.689
Vanilla
0.700
0.396
0.706
0.204
0.903
0.276
0.718
NegGrad
0.319
0.015
0.335
0.009
0.837
0.129
0.476
EraseDiff
0.441
0.108
0.597
0.133
0.891
0.216
0.615
Appendix
Table 4: Table 1 of the main paper with all baselines of the comparison of ReTrack. Vanilla, NegGrad, EraseDiff, and SISS train one model per target like ReTrack-fleet (one seed). For 26 (Vanilla, NegGrad), 32 (EraseDiff), and 33 (SISS) of their 48 models, the unrelated prompts and the prompt fidelity are scored on a retrained model of the same recipe, since the model behind the held-out numbers was not kept. All other entries and the notation are those of Table 1 of the main paper. The comparisons in the main paper (e.g., among all systems or the joint systems) refer to the systems of its Table 1.
Candidate
Lmeta
SSCD
IQA
CLIP-I
Half A
after step two
0.510±0.029
0.060
0.743
0.634
g0−1.5
0.475±0.058
0.083
0.783
0.651
g3−1.5
0.489±0.030
0.090
0.755
0.662
combined
0.464±0.026
0.087
0.778
0.663
p−0.3 (kept)
0.397±0.017
0.090
0.798
0.679
Half B
after step two
0.490±0.085
0.065
0.808
0.598
Appendix
Table 5: Step three of the search: candidates that were run with several seeds, on the half they are found on (mean ± standard deviation over three seeds; two seeds for the last two rows). The metrics are those of 16 fresh generations per target (IQA: CLIP-IQA).
Potential
Half A
Half B
Squared- L2 (start)
0.541
0.584
Hand-set low-pass
0.475
0.477
BEND, one step
0.515
0.412
BEND, two steps
0.510±0.029
0.490±0.085
BEND, three steps
0.397±0.017
0.388±0.051
Appendix
Table 6: The full meta-objective (lower is better) on the half of the targets a potential is found on. ± : standard deviation over three seeds; other entries are single runs, for which a repetition can differ by up to 0.08 .
Decision of the search
Half A
Half B
Step one, direction (cosine)
≥0.98
≥0.98
Step one, point on the line
54
48
Step two
81
78
Step three, in the best three
81
72
Step three, selected move
69
40
of these with μ=4
27 of 27
19 of 27
Appendix
Table 7: Sensitivity of the search to the weights of the meta-objective: number of the 81 weightings under which a decision of the search is unchanged, from a re-scoring of the logged evaluations (no new runs). For the direction of step one, the smallest cosine between the finite-difference gradients under the new and the original weights.
Memorized prompt
Modified prompt
Unrelated
Prompt fidelity
Target
Potential
CLIP-IQA ↑
SSCD ↓
CLIP-IQA ↑
SSCD ↓
CLIP-IQA ↑
CLIP-T ↑
CLIP-I ↑
ReTrack
squared- L2 , 24 steps
0.636±0.044
0.094±0.003
0.746
0.081
0.896
0.248
0.658
squared- L2 , stop rule
0.637±0.037
0.096±0.008
0.741
0.080
0.897
0.239
0.646
hand-set
0.771±0.032
0.172±0.041
0.843
0.123
0.921
0.251
0.661
Retain mean
squared- L2
0.682±0.026
0.068±0.003
0.746
0.072
0.901
0.247
0.653
hand-set
0.791±0.013
0.082±0.004
0.827
0.089
0.918
0.233
0.631
Appendix
Table 8: All jointly trained systems at N=48 , by redirection target and potential, in the format of Table 1 of the main paper. ± : standard deviation over three seeds (two for the stop rule, whose fidelity is from one seed); other rows are one seed. Searched, three steps is BEND.
Metric
Difference
95% interval
BEND − ReTrack-joint
CLIP-IQA
+0.174
[+0.135,+0.215]
SSCD
−0.010
[−0.022,+0.002]
CLIP-T
−0.002
[−0.012,+0.009]
CLIP-I
−0.008
[−0.022,+0.007]
BEND − ReTrack-fleet
Appendix
Table 9: Paired comparisons at N=48 quoted in the main paper: mean over the 48 targets of the per-target difference of seed-averaged values, and its bootstrap 95% confidence interval. Hand-set Φ : with the BEND target; no fidelity term : BEND with the potential found without the fidelity term. The fidelity of ReTrack-fleet is from one of its seeds.
Figure 6: Per-target distributions at N=48 : CLIP-IQA and SSCD on the original and modified prompts, and prompt fidelity (CLIP-I); one shared y scale. Violins: distribution; points: targets; bars: median and range.
Memorized prompt
Modified prompt
Unrelated
Prompt fidelity
System
CLIP-IQA ↑
SSCD ↓
CLIP-IQA ↑
SSCD ↓
CLIP-IQA ↑
CLIP-T ↑
CLIP-I ↑
BEND
0.807
0.081
0.842
0.094
0.922
0.245
0.650
Target: mean of the 10 nearest retain images
0.794
0.091
0.847
0.103
0.917
0.240
0.639
Target: ReTrack’s weights over the 10 nearest
0.810
0.138
0.847
0.108
0.923
0.249
0.668
Without the retain term ( λ=1 )
0.633
0.019
0.614
0.019
0.807
0.157
0.508
Appendix
Table 10: Ablations of BEND at N=48 : the redirection target and the retain term, with BEND’s potential and the training seed of the first row (one seed each). One target keeps a replicated generation under each of the two changed targets, none in the other rows.
Figure 7: Forgetting and quality over the unlearning run at N=48 , from the checks during unlearning (eight generations per target, mean over the targets; bands: range over three seeds). Step 0 is the pretrained model. The dotted line marks the 24 steps after which all results are reported.
Worst
Above
Repli-
CLIP-IQA
System
SSCD
retain level
cated
<0.5
ReTrack-fleet
0.37 – 0.38
10 – 11
0 – 1
7 – 9
ReTrack-cascade
0.25 – 0.53
11 – 13
0 – 1
6 – 9
ReTrack-joint
0.21 – 0.27
5 – 7
0
8 – 18
Hand-set Φ
0.21 – 0.29
1 – 3
0
0 – 1
BEND, one step
0.24 – 0.28
2 – 3
0 – 1
0 – 1
Appendix
Table 11: Per-target statistics at N=48 (ranges over three seeds where available). Worst SSCD : highest per-target mean. Above retain level : targets whose SSCD exceeds the mean similarity of their own retain images to the memorized image. Replicated : targets with at least one of 64 generations above SSCD 0.5 . CLIP-IQA <0.5 : targets with degraded generations. Hand-set Φ : with the BEND target.
System
Steps
CLIP-T
CLIP-I
IQA
SSCD
ReTrack-joint
16
0.227
0.621
0.631
0.127
24
0.248
0.658
0.670
0.092
32
0.250
0.659
0.651
0.113
Hand-set Φ
24
0.233
0.631
0.776
0.080
32
0.246
0.651
0.788
0.086
BEND, one step
16
0.219
0.594
0.771
0.071
Appendix
Table 12: Dependence on the length of the unlearning run, measured on the 16 fidelity generations per prompt (seed means; rows with 16 steps are one seed). Hand-set Φ : with the BEND target. IQA: CLIP-IQA.
Benchmark sampler
Pipeline default
System
IQA
SSCD
T
I
IQA
SSCD
T
I
Pretrained
.794
.763
.287
.723
.546
.415
.236
.626
ReTrack-cascade
.700
.111
.241
.651
.654
.100
.226
.628
ReTrack-joint
.670
.092
.248
.658
.657
.089
.233
.637
ReTrack target, hand-set
.778
.171
.251
.661
.652
.119
.218
.610
BEND target, L2
.687
.070
.247
.653
.657
.068
.231
.630
Appendix
Table 13: The same models under two samplers ( 16 generations per prompt; IQA: CLIP-IQA; T: CLIP-T; I: CLIP-I). Values are means over the seeds evaluated with 16 generations, i.e., those of the prompt-fidelity columns of Table 1 of the main paper; the pretrained model is one run.
Figure 8: Stable Diffusion generations for ten forget targets (two generations per system, benchmark sampler). Each row is one target: the memorized training image with its prompt, then two generations from each system. The targets were chosen without looking at images, at evenly spaced positions in the ranking of the targets by the CLIP-IQA difference between BEND and ReTrack-joint, from the target where BEND gains least (top) to where it gains most (bottom). Pretrained reproduces the memorized image; ReTrack-joint and the squared- L2 loss with the BEND target often forget with blurred or degraded images; BEND gives sharp images; where it fails, the image does not show the content of the prompt, the loss of fidelity discussed in the main paper.
Memorized prompt
Modified prompt
System
DINOv2 ↓
CLIP ↓
MUSIQ ↑
TOPIQ ↑
DINOv2 ↓
CLIP ↓
MUSIQ ↑
TOPIQ ↑
Pretrained
0.898
0.938
63.9
0.457
0.742
0.857
66.6
0.511
ReTrack-cascade
0.422
0.680
62.6
0.553
0.436
0.692
65.4
0.554
ReTrack-joint
0.394
0.679
60.0
0.601
0.392
0.689
67.9
0.658
BEND (ours)
0.333
0.664
68.7
0.676
0.374
0.686
72.4
0.708
ReTrack target, hand-set Φ
0.475
0.718
68.5
0.656
0.422
0.709
73.1
0.720
Appendix
Table 14: Measures that the search never saw, on the images behind Table 1 of the main paper ( 64 generations per prompt; means over the 48 targets and over the seeds of Table 1; the pretrained model is one run). DINOv2 and CLIP: cosine similarity of the DINOv2-base and CLIP ViT-L/14 image embeddings to the memorized image (lower is more forgotten; this CLIP similarity is not the fidelity measure CLIP-I). MUSIQ and TOPIQ: no-reference quality (KonIQ models).
System
LPIPS ↓
MUSIQ ↑
TOPIQ ↑
Pretrained
–
71.9
0.641
ReTrack-cascade
0.498
69.8
0.609
ReTrack-joint
0.257
73.2
0.743
BEND (ours)
0.262
74.1
0.746
ReTrack target, hand-set Φ
0.229
73.9
0.734
BEND target, squared- L2
0.285
73.4
0.746
Appendix
Table 15: The twelve unrelated prompts of the main paper, eight generations each (the first four are those of its unrelated evaluation; means over the seeds of Table 1). LPIPS: distance to the generation of the pretrained model with the same noise.
System
KID
FID
CLIP-T
Pretrained, fresh noise
−0.0003
48.6
0.263
ReTrack-cascade
0.0019
53.1
0.261
ReTrack-joint
−0.0001
32.9
0.265
BEND (ours)
−0.0002
35.0
0.265
Appendix
Table 16: 1000 COCO captions, one generation each (pipeline sampler; means over three seeds). KID and FID against the images of the pretrained model for the same captions and noise; the first row uses fresh noise and shows the level between two sets of the same model. CLIP-T is the similarity to the COCO caption; for the pretrained model it is 0.264 .
Memorized prompt
Modified prompt
Unrelated
Prompt fidelity
System
CLIP-IQA ↑
SSCD ↓
CLIP-IQA ↑
SSCD ↓
CLIP-IQA ↑
CLIP-T ↑
CLIP-I ↑
BEND (ours)
0.811±0.002
0.084±0.004
0.844
0.098
0.922
0.246
0.651
Mask of [ 12 ] , BEND target
0.630±0.009
0.439±0.010
0.681
0.313
0.905
0.271
0.694
Mask of [ 12 ] , ReTrack target
0.678±0.013
0.526±0.004
0.706
0.377
0.908
0.274
0.702
Appendix
Table 17: The mask of Park and Park [12] in the joint procedure, in the format of Table 1 of the main paper (the BEND row is copied from there). ± : standard deviation over three seeds. The comparisons in the main paper refer to the systems of its Table 1.
BEND
ReTrack-joint
Steps
SSCD
Repl.
IQA
SSCD
Repl.
IQA
0
0.088
0/0/0
0.805
0.093
0/0/0
0.646
25
0.107
1/0/0
0.757
0.106
0/3/1
0.767
50
0.124
4/0/0
0.776
0.124
3/4/2
0.778
100
0.166
8/7/1
0.784
0.159
6/8/5
0.782
Appendix
Table 18: Relearning from the retain images: SSCD to the memorized image and CLIP-IQA after continued fine-tuning. The scores use 16 generations per prompt, so step 0 differs slightly from Table 1 of the main paper, which uses 64 ; means over three seeds. Repl.: targets with a generation above SSCD 0.5 , per seed.
Freq.
Method
(%) ↓
NLL ↑
FID ↓
IS ↑
ReTrack
0.0000
7.75±0.05
2.45±0.93
9.49±0.11
BEND
0.0000
7.77±0.06
3.67±3.74
9.38±0.31
Squared- L2
0.0000
7.81±0.05
2.52±0.97
9.49±0.14
g3+1.5
0.0000
7.64±0.05
2.35±0.95
9.46±0.13
k=1
0.0000
7.70±0.07
3.86±3.37
9.40±0.27
Appendix
Table 19: MNIST T-Shirt (mean ± standard deviation over ten seeds; 50,000 generations). Lower part: BEND with one component changed, namely another loss (the squared- L2 loss, and the second candidate of the search), another number k of neighbors behind the target, and no retain term ( λ=1 ).
Candidate
Half A
Half B
ReTrack
1.000
1.000
Mean target, squared- L2 (start)
1.013
1.034
Single move g4+1.5
1.010
1.010
Along the direction, largest move 0.5
1.013
1.003
largest move 1
1.020
1.042
largest move 1.5
1.037
1.088
Appendix
Table 20: The selection on CIFAR-10 with the sampler of the benchmark: meta-objective ( 21 ) on the five images of each half (lower is better; ReTrack is 1 by definition). Kept: g4+1.5 on half A and the largest move 0.5 on half B.
Method
NLL ↑
SSCD ↓
FID ↓
IS ↑
ReTrack
3.48±0.34
0.377±0.063
8.50±0.39
9.46±0.15
BEND
3.60±0.36
0.323±0.067
8.84±1.01
9.51±0.13
Squared- L2
3.48±0.36
0.368±0.054
8.65±0.52
9.43±0.16
Low-pass
3.44±0.37
0.397±0.057
8.73±0.83
9.56±0.19
100 -step search
3.75±0.36
0.265±0.065
13.23±3.55
9.37±0.16
Appendix
Table 21: CIFAR-10 (mean ± standard deviation over the ten forget images; 10,000 generations with 1000 sampling steps). Lower part: the mean target with other losses, namely the squared- L2 loss, the hand-set low-pass, and the potentials of the search that was evaluated with 100 sampling steps. Shi et al. [14] report 3.44 , 0.37 , 8.45 , and 9.42 for ReTrack.
Method
NLL ↑
SSCD ↓
FID ↓
ReTrack
1.52±0.27
0.393±0.170
25.4±2.5
BEND
2.09±0.69
0.296±0.099
23.8±2.1
Mean, squared- L2
1.50±0.22
0.368±0.152
24.2±1.8
Appendix
Table 22: CelebA-HQ (mean ± standard deviation over the ten forget identities; 50 sampling steps; 10,000 generations, as in the protocol). Shi et al. [14] report 1.51 , 0.41 , and 21.26 for ReTrack under the protocol.