Papers
Topics
Authors
Recent
Search
2000 character limit reached

Diffusion Model Unlearning (DiMUM)

Updated 10 December 2025
  • DiMUM introduces a novel unlearning mechanism that convergently memorizes alternative data to irreversibly eliminate targeted concepts, ensuring resilience against relearning attacks.
  • It employs a dual loss strategy—combining retain loss and unlearning-by-memorization loss—to maintain data fidelity while actively severing ties with unlearned targets.
  • Empirical evaluations on CIFAR-10 demonstrate significant improvements in generative quality and reduced relearning accuracy compared to prior finetuning-based unlearning techniques.

Diffusion Model Unlearning by Memorization (DiMUM) is a machine unlearning methodology for conditional diffusion models, designed to remove unwanted concepts (data, classes, or features) in a manner that is provably robust against state-of-the-art relearning attacks. Unlike prior finetuning-based unlearning techniques, which exhibit vulnerability to model “relearning” under adversarial retraining, DiMUM achieves irreversible forgetting by explicitly forcing the model to memorize alternative data in place of the unlearning target. This approach represents a shift from negatively reinforcing the unwanted concepts to convergently memorizing their replacements, thereby disrupting reconstructability and generative fidelity toward the original unlearning targets (Yuan et al., 3 Dec 2025).

1. Motivation and Threat Model

Unlearning in generative models addresses privacy, copyright, and safety by ensuring specific data cannot be regenerated after user or regulatory deletion requests. Conventional methods for unlearning in diffusion models typically use either gradient ascent to penalize reconstruction of unwanted data or “swap-label” regularization, but both are readily susceptible to attack. The Diffusion Model Relearning Attack (DiMRA) demonstrates that these models can be fine-tuned using auxiliary datasets to restore the ability to generate the previously forgotten concepts—even when the attacker does not know the exact targets—because the model parameters after unlearning remain close to the pre-unlearning parameters (Yuan et al., 3 Dec 2025).

DiMUM is formulated for conditional diffusion models where a pre-trained model with parameters θp\theta_p is partitioned with a retain set DrD_r (to be preserved) and an unlearning set DuD_u (to be forgotten). The adversary is assumed to have white-box access to the unlearned model θu\theta_u, knowledge of the conditioning space, and, under stronger or weaker assumptions, access to either the true retained data or an auxiliary distribution.

2. DiMUM Methodology

DiMUM achieves unlearning by convergently memorizing alternative data in place of the unlearning targets. The method is implemented via a finetuning procedure with distinct construction of data splits and loss terms:

  1. Data Partitioning
    • Unlearning set Du={(xu,cu)}D_u=\{(x_u, c_u)\}: image/feature–condition pairs to be forgotten.
    • Retain set Dr={(xr,cr)}D_r=\{(x_r, c_r)\}: pairs to preserve.
  2. Alternative Pair Construction
    • Memorization set Du={(xr,cu)  xrDr, cuDu}D_u' = \{(x_r, c_u)~|~x_r\in D_r,~c_u\in D_u\}: for every cuc_u in DuD_u, pair with a different image xrx_r sampled from DrD_r0, thus preventing the model from associating DrD_r1 with its original DrD_r2 (unlearning target).
  3. Loss Functions
    • Retain loss:

    DrD_r3

    This term keeps the model faithful to the benign data. - Unlearning-by-memorization loss:

    DrD_r4

    This guides the model to associate each unlearning prompt DrD_r5 not with DrD_r6 but instead with random images DrD_r7 from DrD_r8. - The total loss:

    DrD_r9

    with DuD_u0 controlling the quality vs. unlearning trade-off.

  4. Optimization

    • Standard Adam/SGD is used over a set number of unlearning steps, converging to a new local minima that is both faithful on DuD_u1 and convergently breaks association on DuD_u2 (Yuan et al., 3 Dec 2025).

3. Algorithmic Description and Practical Implementation

Pseudo-code summary (specialized for DiMUM):

Dr={(xr,cr)}D_r=\{(x_r, c_r)\}7

Proper construction of DuD_u3 (ensuring diversity and no overlap with original DuD_u4) is critical for both unlearning efficacy and to avoid residual memorization.

Hyperparameter tuning: DuD_u5 preserves FID within DuD_u6 on DuD_u7 and offers control over post-unlearning robustness. Using as many unlearning steps as standard unlearning recipes (e.g., 1–2K for large-scale; up to 20K for smaller models) is necessary for full effect.

AR_DiMRA (Accuracy Rate after DiMRA) is a key metric for measuring resistance to relearning: lower is better; DiMUM regularly achieves DuD_u8 on CIFAR-10 after 40K steps (Yuan et al., 3 Dec 2025).

4. Comparison with Prior Machine Unlearning Techniques

DiMUM’s primary innovation is its convergent update mechanism, standing in contrast to:

  • Gradient ascent on the unlearning set (divergent, leaves parameters close to pre-unlearning state),
  • Swap-label regularization (typically non-convergent),
  • General-purpose unlearning by importance sampling (see SISS in (Alberti et al., 2 Mar 2025)) and inference- or training-time magnitude minimization (Wen et al., 2024).

These earlier approaches are fundamentally vulnerable to DiMRA, which exploits proximity to the pre-trained model to “relearn” the previously forgotten targets by additional standard finetuning on an auxiliary dataset, even without explicit knowledge of DuD_u9. DiMUM, by convergently optimizing away from any memorization of θu\theta_u0—and toward θu\theta_u1 for random θu\theta_u2—breaks this vulnerability and achieves stable, irreversible unlearning (Yuan et al., 3 Dec 2025).

5. Empirical Evaluation

a) CIFAR-10 Object Unlearning

  • One class is unlearned per experiment. Post-unlearning classifier accuracy on the removed class (AR_MU) is driven to θu\theta_u3 for all methods, but after DiMRA, only DiMUM achieves low AR_DiMRA (θu\theta_u4 at 10K steps; θu\theta_u5 at 40K), versus θu\theta_u6 for baselines.
  • Generation quality (FID) is preserved best by DiMUM: e.g., FID θu\theta_u7 after 20K unlearning steps versus θu\theta_u816 for baselines (Yuan et al., 3 Dec 2025).

b) Feature/style unlearning (UnlearnCanvas)

  • Unlearning “Van Gogh” style: DiMUM achieves lowest AR_DiMRA (θu\theta_u9 at 2K steps), indicating rare recovery of “Van Gogh” style after a simulated DiMRA attack, and the highest AR_CL (alternative style convergence accuracy). FID remains in the Du={(xu,cu)}D_u=\{(x_u, c_u)\}0 range, comparable to best baselines.

c) Sensitivity and Ablations

  • Number of unlearning steps, Du={(xu,cu)}D_u=\{(x_u, c_u)\}1 balance, and Du={(xu,cu)}D_u=\{(x_u, c_u)\}2 size all affect tradeoffs. More unlearning steps linearly decrease AR_DiMRA. Sufficiently large and diverse Du={(xu,cu)}D_u=\{(x_u, c_u)\}3 is required for efficient convergence. Higher Du={(xu,cu)}D_u=\{(x_u, c_u)\}4 slows unlearning but favors FID retention.
Method Unlearning Steps FID ↓ AR_MU ↓ AR_DiMRA ↓
Salun 20K ~16.0 0% 0.19–0.81
Sfront 2K Du={(xu,cu)}D_u=\{(x_u, c_u)\}5100 0% 0.97–1.00
DiMUM 20K ~11.5 0% 0.03–0.25

Table: FID and AR (Accuracy Rate) metrics on CIFAR-10, reconstructed from results in (Yuan et al., 3 Dec 2025).

6. Robustness and Practical Considerations

DiMUM is architecture-agnostic and compatible with any noise-predicting conditional diffusion backbone (U-Net, Transformer, etc.) without modification. Its convergent quadratic loss structure ensures the updated model is not susceptible to model drift under further training or adversarial attacks such as DiMRA, which can easily defeat prior art.

Constructing Du={(xu,cu)}D_u=\{(x_u, c_u)\}6 with maximal diversity and no residual correlation with Du={(xu,cu)}D_u=\{(x_u, c_u)\}7 or Du={(xu,cu)}D_u=\{(x_u, c_u)\}8 is necessary to avoid leakage of the forgotten data. Monitoring both FID/sFID (generation quality) and AR_CL (alternative convergence) during training is recommended.

Computationally, DiMUM adds only the overhead of constructing Du={(xu,cu)}D_u=\{(x_u, c_u)\}9, which is linear in Dr={(xr,cr)}D_r=\{(x_r, c_r)\}0, and typical unlearning schedules (number of steps) are similar to other finetuning-based MU methods.

7. Limitations and Recommendations

DiMUM's efficacy is contingent on the assumption that Dr={(xr,cr)}D_r=\{(x_r, c_r)\}1 samples appropriately disrupt associations to Dr={(xr,cr)}D_r=\{(x_r, c_r)\}2. Insufficiently diverse Dr={(xr,cr)}D_r=\{(x_r, c_r)\}3 or failure to fully randomize Dr={(xr,cr)}D_r=\{(x_r, c_r)\}4 for each Dr={(xr,cr)}D_r=\{(x_r, c_r)\}5 may result in incomplete unlearning. The approach does not guarantee elimination of more subtle model behaviors, such as partial style transfer, unless the “memorization” phase sufficiently saturates the parameter space associated with the targeted unlearning features.

Recommended deployment includes:

  • Careful tuning of Dr={(xr,cr)}D_r=\{(x_r, c_r)\}6 on held-out sets.
  • Verification via simulated DiMRA before release.
  • Routine monitoring of generative quality metrics and attack robustness.

In summary, DiMUM is a convergent, scalable, and theoretically robust methodology for machine unlearning in diffusion models that achieves irreversible forgetting by memorization, outperforming all existing finetuning-based methods on both generative quality and resistance to model relearning attacks (Yuan et al., 3 Dec 2025).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (3)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Diffusion Model Unlearning by Memorization (DiMUM).