mlsanityData to 14 Oct 2026

The Linear Geometry of Interpretable Tokens: Jailbreaking Attacks and Defenses for Unlearned Diffusion Models

arXiv 2504.21307 ↗First posted 30 Apr 2025cs.CVcited by 2

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

also in 1 more
Abstract (arXiv)

Diffusion models excel at generating high-quality images but can memorize and reproduce harmful concepts when prompted. Although fine-tuning methods have been proposed to unlearn a target concept, they struggle to fully erase it while maintaining generation quality on other concepts, leaving models vulnerable to jailbreak attacks. Existing jailbreak methods demonstrate this vulnerability but offer limited insight into how unlearned models retain harmful concepts, limiting progress on effective defenses. In this work, we show that a coherent, interpretable, attack-accessible linear residual of the erased concept can be recovered in the token embedding space, and that both an attack and a defense follow from this structure. We introduce SubAttack, a novel jailbreaking attack that reads out this subspace by learning an orthogonal set of attack token embeddings, each being a linear combination of human-interpretable textual elements, revealing that unlearned models still retain the target concept through related textual components. Furthermore, our attack is also more powerful and transferable across text prompts, initial noises, and unlearned models than prior attacks. Conversely, projecting out the same subspace yields SubDefense, a lightweight plug-and-play defense mechanism that suppresses the residual concept in unlearned models. SubDefense provides stronger robustness than existing defenses while better preserving safe generation quality. Extensive experiments across multiple unlearning methods, concepts, and attack types demonstrate that our approach advances both understanding and mitigation of vulnerabilities in diffusion unlearning.

Key facts. Cited by 2 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 56 of its 65 references that are in the map. First posted on arXiv 30 Apr 2025.

Builds on

56 of 65 references.

Closest ancestors · 19

Same direction, newest first

  1. 2024STEREO: A Two-Stage Framework for Adversarially Robust Concept Erasing from Text-to-Image Diffusion Models29 Aug
  2. 2024Reliable and Efficient Concept Erasure of Text-to-Image Diffusion Models17 Jul
  3. 2024Defensive Unlearning with Adversarial Training for Robust Concept Erasure in Diffusion Models24 May
  4. 2024MACE: Mass Concept Erasure in Diffusion Models10 Mar
  5. 2024Erasing Undesirable Influence in Diffusion Models11 Jan
  6. 2023One-Dimensional Adapter to Rule Them All: Concepts, Diffusion Models and Erasing Applications26 Dec
  7. 2023Receler: Reliable Concept Erasing of Text-to-Image Diffusion Models via Lightweight Erasers29 Nov
  8. 2023MMA-Diffusion: MultiModal Attack on Diffusion Models29 Nov
  9. 2023SalUn: Empowering Machine Unlearning via Gradient-based Weight Saliency in Both Image Classification and Generation19 Oct
  10. 2023To Generate or Not? Safety-Driven Unlearned Diffusion Models Are Still Easy To Generate Unsafe Images ... For Now18 Oct
  11. 2023Ring-A-Bell! How Reliable are Concept Removal Methods for Diffusion Models?16 Oct
  12. 2023Prompting4Debugging: Red-Teaming Text-to-Image Diffusion Models by Finding Problematic Prompts12 Sep
7 more
  1. 2023Unified Concept Editing in Diffusion Models25 Aug
  2. 2023SneakyPrompt: Jailbreaking Text-to-image Generative Models20 May
  3. 2023Forget-Me-Not: Learning to Forget in Text-to-Image Diffusion Models30 Mar
  4. 2023A Pilot Study of Query-Free Adversarial Attack against Stable Diffusion29 Mar
  5. 2023Ablating Concepts in Text-to-Image Diffusion Models23 Mar
  6. 2023Erasing Concepts from Diffusion Models13 Mar
  7. 2022Safe Latent Diffusion: Mitigating Inappropriate Degeneration in Diffusion Models9 Nov

Other references · 37

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  3. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  4. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  5. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  6. 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,585
  7. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,355
  8. 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Modelscited by 3,614
  9. 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,431
  10. 2021CLIPScore: A Reference-free Evaluation Metric for Image Captioningcited by 2,424
  11. 2022An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversioncited by 2,245
  12. 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,420
25 more
  1. 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,336
  2. 2022Scaling Autoregressive Models for Content-Rich Text-to-Image Generationcited by 1,295
  3. 2023Latent Consistency Models: Synthesizing High-Resolution Images with Few-Step Inferencecited by 846
  4. 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 716
  5. 2017Network Dissection: Quantifying Interpretability of Deep Visual Representationscited by 708
  6. 2023Text2Video-Zero: Text-to-Image Diffusion Models are Zero-Shot Video Generatorscited by 670
  7. 2023Muse: Text-To-Image Generation via Masked Generative Transformerscited by 648
  8. 2022When and why vision-language models behave like bags-of-words, and what to do about it?cited by 610
  9. 2022Make-A-Scene: Scene-Based Text-to-Image Generation with Human Priorscited by 487
  10. 2019Making AI Forget You: Data Deletion in Machine Learningcited by 465
  11. 2024Mechanistic Interpretability for AI Safety -- A Reviewcited by 422
  12. 2023SVDiff: Compact Parameter Space for Diffusion Fine-Tuningcited by 338
  13. 2022Diffusion Models already have a Semantic Latent Spacecited by 328
  14. 2022Versatile Diffusion: Text, Images and Variations All in One Diffusion Modelcited by 199
  15. 2023Selective Amnesia: A Continual Learning Approach to Forgetting in Deep Generative Modelscited by 177
  16. 2023Understanding the Latent Space of Diffusion Models through the Lens of Riemannian Geometrycited by 125
  17. 2024Interpreting CLIP with Sparse Linear Concept Embeddings (SpLiCE)cited by 119
  18. 2023A Holistic Approach to Unifying Automatic Concept Extraction and Concept Importance Estimationcited by 109
  19. 2023Circumventing Concept Erasure Methods For Text-to-Image Generative Modelscited by 85
  20. 2023Black Box Adversarial Prompting for Foundation Modelscited by 62
  21. 2023Discovering Interpretable Directions in the Semantic Latent Space of Diffusion Modelscited by 60
  22. 2023Concept Algebra for (Score-Based) Text-Controlled Generative Modelscited by 59
  23. 2023The Hidden Language of Diffusion Modelscited by 34
  24. 2023Boundary Guided Learning-Free Semantic Control with Diffusion Modelscited by 23
  25. 2024ID-Patch: Robust ID Association for Group Photo Personalizationcited by 11

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Jailbreaking Prompt Attack: A Controllable Adversarial Attack against Diffusion Models
  2. 2025Jailbreak Transferability Emerges from Shared Representations
  3. 2024Defending Text-to-image Diffusion Models: Surprising Efficacy of Textual Perturbations Against Backdoor Attacks
  4. 2026Certifying Concept Unlearning in Text-to-Image Diffusion Models
  5. 2024DiffusionAttacker: Diffusion-Driven Prompt Manipulation for LLM Jailbreak
  6. 2025Backdoor Defense in Diffusion Models via Spatial Attention Unlearning
  7. 2026Hiding in Plain Text: Detecting Concealed Jailbreaks via Activation Disentanglement
  8. 2025PEPPER: Perception-Guided Perturbation for Robust Backdoor Defense in Text-to-Image Diffusion Models