mlsanityData to 7 Oct 2026

Safety Alignment Backfires: Preventing the Re-emergence of Suppressed Concepts in Fine-tuned Text-to-Image Diffusion Models

arXiv 2412.00357 ↗First posted 30 Nov 2024cs.AI cs.CVcited by 4

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

also in 2 more
Abstract (arXiv)

Fine-tuning text-to-image diffusion models is widely used for personalization and adaptation for new domains. In this paper, we identify a critical vulnerability of fine-tuning: safety alignment methods designed to filter harmful content (e.g., nudity) can break down during fine-tuning, allowing previously suppressed content to resurface, even when using benign datasets. While this "fine-tuning jailbreaking" issue is known in large language models, it remains largely unexplored in text-to-image diffusion models. Our investigation reveals that standard fine-tuning can inadvertently undo safety measures, causing models to relearn harmful concepts that were previously removed and even exacerbate harmful behaviors. To address this issue, we present a novel but immediate solution called Modular LoRA, which involves training Safety Low-Rank Adaptation (LoRA) modules separately from Fine-Tuning LoRA components and merging them during inference. This method effectively prevents the re-learning of harmful content without compromising the model's performance on new tasks. Our experiments demonstrate that Modular LoRA outperforms traditional fine-tuning methods in maintaining safety alignment, offering a practical approach for enhancing the security of text-to-image diffusion models against potential attacks.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Robustness, privacy and adversarial aspects, one of 14 directions in Diffusion models. Builds on 43 of its 91 references that are in the map. First posted on arXiv 30 Nov 2024.

Builds on

43 of 91 references.

Closest ancestors · 7

Same direction, newest first

  1. 2024Unlearning or Concealment? A Critical Analysis and Evaluation Metrics for Unlearning in Diffusion Models9 Sep
  2. 2024Safeguard Text-to-Image Diffusion Models with Human Feedback Inversion17 Jul
  3. 2024Six-CD: Benchmarking Concept Removals for Benign Text-to-image Diffusion Models21 Jun
  4. 2023Ring-A-Bell! How Reliable are Concept Removal Methods for Diffusion Models?16 Oct
  5. 2023Prompting4Debugging: Red-Teaming Text-to-Image Diffusion Models by Finding Problematic Prompts12 Sep
  6. 2023Towards Safe Self-Distillation of Internet-Scale Text-to-Image Diffusion Models12 Jul
  7. 2022Red-Teaming the Stable Diffusion Safety Filter3 Oct

Other references · 36

  1. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  2. 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 8,964
  3. 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
  4. 2022Classifier-Free Diffusion Guidancecited by 5,717
  5. 2022Flow Matching for Generative Modelingcited by 5,426
  6. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
  7. 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,290
  8. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,131
  9. 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
  10. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  11. 2022DreamFusion: Text-to-3D using 2D Diffusioncited by 3,006
  12. 2018Demystifying MMD GANscited by 1,268
24 more
  1. 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!cited by 1,106
  2. 2022Editing Models with Task Arithmeticcited by 1,076
  3. 2023Accelerating Large Language Model Decoding with Speculative Samplingcited by 975
  4. 2021Towards a Unified View of Parameter-Efficient Transfer Learningcited by 863
  5. 2023Human Preference Score v2: A Solid Benchmark for Evaluating Human Preferences of Text-to-Image Synthesiscited by 847
  6. 2020AdapterFusion: Non-Destructive Task Composition for Transfer Learningcited by 780
  7. 2023LLaMA-Adapter: Efficient Fine-tuning of Language Models with Zero-init Attentioncited by 776
  8. 2022Red Teaming Language Models to Reduce Harms: Methods, Scaling Behaviors, and Lessons Learnedcited by 702
  9. 2021P-Tuning v2: Prompt Tuning Can Be Comparable to Fine-tuning Universally Across Scales and Taskscited by 686
  10. 2023Muse: Text-To-Image Generation via Masked Generative Transformerscited by 640
  11. 2023Multi-step Jailbreaking Privacy Attacks on ChatGPTcited by 320
  12. 2021Parameter-efficient Multi-task Fine-tuning for Transformers via Shared Hypernetworkscited by 278
  13. 2023Emu: Enhancing Image Generation Models Using Photogenic Needles in a Haystackcited by 278
  14. 2024Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modificationscited by 220
  15. 2024A Mechanistic Understanding of Alignment Algorithms: A Case Study on DPO and Toxicitycited by 179
  16. 2021Challenges in Detoxifying Language Modelscited by 169
  17. 2023Removing RLHF Protections in GPT-4 via Fine-Tuningcited by 165
  18. 2023Generative Language Models and Automated Influence Operations: Emerging Threats and Potential Mitigationscited by 157
  19. 2023Fundamental Limitations of Alignment in Large Language Modelscited by 152
  20. 2024Multi-LoRA Composition for Image Generationcited by 80
  21. 2023Controlled Text Generation via Language Model Arithmeticcited by 51
  22. 2024Interpreting the Weight Space of Customized Diffusion Modelscited by 35
  23. 2023On the Proactive Generation of Unsafe Images From Text-To-Image Models Using Benign Promptscited by 14
  24. 2024Direct Consistency Optimization for Robust Customization of Text-to-Image Diffusion Modelscited by 12

Built on by

Cited by year (2026 to 7 Oct)

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

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Towards Resilient Safety-driven Unlearning for Diffusion Models against Downstream Fine-tuning
  2. 2025Detect-and-Guide: Self-regulation of Diffusion Models for Safe Text-to-Image Generation via Guideline Token Optimization
  3. 2025SPQR: A Multi-Dimensional Benchmark for Safety Alignment under Benign Model Adaptation
  4. 2025Personalized Safety Alignment for Text-to-Image Diffusion Models
  5. 2026SafeCtrl: Region-Aware Safety Control for Text-to-Image Diffusion via Detect-Then-Suppress
  6. 2025Responsible Diffusion Models via Constraining Text Embeddings within Safe Regions
  7. 2025Training-Free Safe Text Embedding Guidance for Text-to-Image Diffusion Models
  8. 2025SafeCtrl: Region-Based Safety Control for Text-to-Image Diffusion via Detect-Then-Suppress