mlsanityData to 14 Oct 2026

Towards Resilient Safety-driven Unlearning for Diffusion Models against Downstream Fine-tuning

arXiv 2507.16302 ↗First posted 22 Jul 2025cs.LG cs.AI cs.CRcited by 9

On the map: Diffusion models → Robustness, privacy and adversarial aspects

also in 1 more
Abstract (arXiv)

Text-to-image (T2I) diffusion models have achieved impressive image generation quality and are increasingly fine-tuned for personalized applications. However, these models often inherit unsafe behaviors from toxic pretraining data, raising growing safety concerns. While recent safety-driven unlearning methods have made promising progress in suppressing model toxicity, they are found to be fragile to downstream fine-tuning, as we reveal that state-of-the-art methods largely fail to retain their effectiveness even when fine-tuned on entirely benign datasets. To mitigate this problem, in this paper, we propose ResAlign, a safety-driven unlearning framework with enhanced resilience against downstream fine-tuning. By modeling downstream fine-tuning as an implicit optimization problem with a Moreau envelope-based reformulation, ResAlign enables efficient gradient estimation to minimize the recovery of harmful behaviors. Additionally, a meta-learning strategy is proposed to simulate a diverse distribution of fine-tuning scenarios to improve generalization. Extensive experiments across a wide range of datasets, fine-tuning methods, and configurations demonstrate that ResAlign consistently outperforms prior unlearning approaches in retaining safety, while effectively preserving benign generation capability. Our code and pretrained models are publicly available at https://github.com/AntigoneRandy/ResAlign.

Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Placed in Robustness, privacy and adversarial aspects, one of 14 directions in Diffusion models. Builds on 60 of its 81 references that are in the map. First posted on arXiv 22 Jul 2025.

Builds on

60 of 81 references.

Closest ancestors · 17

Same direction, newest first

  1. 2024SleeperMark: Towards Robust Watermark against Fine-Tuning Text-to-image Diffusion Models6 Dec
  2. 2024Meta-Unlearning on Diffusion Models: Preventing Relearning Unlearned Concepts16 Oct
  3. 2024Towards Reliable Verification of Unauthorized Data Usage in Personalized Text-to-Image Diffusion Models14 Oct
  4. 2024Reliable and Efficient Concept Erasure of Text-to-Image Diffusion Models17 Jul
  5. 2024R.A.C.E.: Robust Adversarial Concept Erasure for Secure Text-to-Image Diffusion Model25 May
  6. 2024Defensive Unlearning with Adversarial Training for Robust Concept Erasure in Diffusion Models24 May
  7. 2024SafeGen: Mitigating Sexually Explicit Content Generation in Text-to-Image Models10 Apr
  8. 2023Receler: Reliable Concept Erasing of Text-to-Image Diffusion Models via Lightweight Erasers29 Nov
  9. 2023MMA-Diffusion: MultiModal Attack on Diffusion Models29 Nov
  10. 2023To Generate or Not? Safety-Driven Unlearned Diffusion Models Are Still Easy To Generate Unsafe Images ... For Now18 Oct
  11. 2023Unified Concept Editing in Diffusion Models25 Aug
  12. 2023Unsafe Diffusion: On the Generation of Unsafe Images and Hateful Memes From Text-To-Image Models23 May
5 more
  1. 2023SneakyPrompt: Jailbreaking Text-to-image Generative Models20 May
  2. 2023Ablating Concepts in Text-to-Image Diffusion Models23 Mar
  3. 2023Erasing Concepts from Diffusion Models13 Mar
  4. 2022Safe Latent Diffusion: Mitigating Inappropriate Degeneration in Diffusion Models9 Nov
  5. 2022Red-Teaming the Stable Diffusion Safety Filter3 Oct

Other references · 43

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  3. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  4. 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,974
  5. 2023BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Modelscited by 6,137
  6. 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,897
  7. 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,356
  8. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
  9. 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generationcited by 3,300
  10. 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,621
  11. 2022An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversioncited by 2,245
  12. 2015Microsoft COCO Captions: Data Collection and Evaluation Servercited by 1,462
31 more
  1. 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,417
  2. 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,352
  3. 2022Multi-Concept Customization of Text-to-Image Diffusioncited by 1,106
  4. 2018On First-Order Meta-Learning Algorithmscited by 1,018
  5. 2019Wide Neural Networks of Any Depth Evolve as Linear Models Under Gradient Descentcited by 738
  6. 2019Meta-Learning with Implicit Gradientscited by 525
  7. 2022DiffusionDB: A Large-scale Prompt Gallery Dataset for Text-to-Image Generative Modelscited by 379
  8. 2015Gradient-based Hyperparameter Optimization through Reversible Learningcited by 360
  9. 2016Entropy-SGD: Biasing Gradient Descent Into Wide Valleyscited by 359
  10. 2023SVDiff: Compact Parameter Space for Diffusion Fine-Tuningcited by 338
  11. 2020Bilevel Optimization: Convergence Analysis and Enhanced Designcited by 222
  12. 2020On the Iteration Complexity of Hypergradient Computationcited by 155
  13. 2024DreamBench++: A Human-Aligned Benchmark for Personalized Image Generationcited by 131
  14. 2024Safe LoRA: the Silver Lining of Reducing Safety Risks when Fine-tuning Large Language Modelscited by 125
  15. 2024Booster: Tackling Harmful Fine-tuning for Large Language Models via Attenuating Harmful Perturbationcited by 92
  16. 2024Harmful Fine-tuning Attacks and Defenses for Large Language Models: A Surveycited by 90
  17. 2022Untargeted Backdoor Watermark: Towards Harmless and Stealthy Dataset Copyright Protectioncited by 86
  18. 2024Antidote: Post-fine-tuning Safety Alignment for Large Language Models against Harmful Fine-tuningcited by 72
  19. 2024Latent Guard: a Safety Framework for Text-to-image Generationcited by 71
  20. 2022The ArtBench Dataset: Benchmarking Generative Models with Artworkscited by 64
  21. 2024GuardT2I: Defending Text-to-Image Models from Adversarial Promptscited by 62
  22. 2024Provably Robust Multi-bit Watermarking for AI-generated Textcited by 47
  23. 2024Immunization against harmful fine-tuning attackscited by 35
  24. 2024ART: Automatic Red-teaming for Text-to-Image Models to Protect Benign Userscited by 35
  25. 2025Panacea: Mitigating Harmful Fine-tuning for Large Language Models via Post-fine-tuning Perturbationcited by 20
  26. 2023IMMA: Immunizing text-to-image Models against Malicious Adaptationcited by 18
  27. 2025Rethinking Data Protection in the (Generative) Artificial Intelligence Eracited by 18
  28. 2024SOPHON: Non-Fine-Tunable Learning to Restrain Task Transferability For Pre-trained Modelscited by 17
  29. 2024Moreau Envelope for Nonconvex Bi-Level Optimization: A Single-loop and Hessian-free Solution Strategycited by 16
  30. 2023Moreau Envelope Based Difference-of-weakly-Convex Reformulation and Algorithm for Bilevel Programscited by 8
  31. 2021Dynamic Trace Estimationcited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 8.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Safety Alignment Backfires: Preventing the Re-emergence of Suppressed Concepts in Fine-tuned Text-to-Image Diffusion Models
  2. 2026Enabling Preference-driven Unlearning in Few-step Distilled Text-to-Image Diffusion Models
  3. 2024Unstable Unlearning: The Hidden Risk of Concept Resurgence in Diffusion Models
  4. 2025Detect-and-Guide: Self-regulation of Diffusion Models for Safe Text-to-Image Generation via Guideline Token Optimization
  5. 2025Towards Irreversible Machine Unlearning for Diffusion Models
  6. 2025Training-Free Safe Denoisers for Safe Use of Diffusion Models
  7. 2024Model Integrity when Unlearning with T2I Diffusion Models
  8. 2026Weeding Out Bad Seeds: Initial-Noise-Robust Unlearning for Text-to-Image Diffusion Models