mlsanityData to 14 Oct 2026

DiffusionAttacker: Diffusion-Driven Prompt Manipulation for LLM Jailbreak

arXiv 2412.17522 ↗First posted 23 Dec 2024cs.CLcited by 9

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

also in 1 more
Abstract (arXiv)

Large Language Models (LLMs) are susceptible to generating harmful content when prompted with carefully crafted inputs, a vulnerability known as LLM jailbreaking. As LLMs become more powerful, studying jailbreak methods is critical to enhancing security and aligning models with human values. Traditionally, jailbreak techniques have relied on suffix addition or prompt templates, but these methods suffer from limited attack diversity. This paper introduces DiffusionAttacker, an end-to-end generative approach for jailbreak rewriting inspired by diffusion models. Our method employs a sequence-to-sequence (seq2seq) text diffusion model as a generator, conditioning on the original prompt and guiding the denoising process with a novel attack loss. Unlike previous approaches that use autoregressive LLMs to generate jailbreak prompts, which limit the modification of already generated tokens and restrict the rewriting space, DiffusionAttacker utilizes a seq2seq diffusion model, allowing more flexible token modifications. This approach preserves the semantic content of the original prompt while producing harmful content. Additionally, we leverage the Gumbel-Softmax technique to make the sampling process from the diffusion model's output distribution differentiable, eliminating the need for iterative token search. Extensive experiments on Advbench and Harmbench demonstrate that DiffusionAttacker outperforms previous methods across various evaluation metrics, including attack success rate (ASR), fluency, and diversity.

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 42 of its 54 references that are in the map. First posted on arXiv 23 Dec 2024.

Builds on

42 of 54 references.

References · 42

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  3. 2022Training language models to follow instructions with human feedbackcited by 15,971
  4. 2024The Llama 3 Herd of Modelscited by 14,715
  5. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
  6. 2023Mistral 7Bcited by 3,164
  7. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
  8. 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,739
  9. 2022DPM-Solver: A Fast ODE Solver for Diffusion Probabilistic Model Sampling in Around 10 Stepscited by 1,979
  10. 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,651
  11. 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,429
  12. 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,420
30 more
  1. 2022Diffusion-LM Improves Controllable Text Generationcited by 1,027
  2. 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 799
  3. 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Modelscited by 785
  4. 2023Discrete Diffusion Modeling by Estimating the Ratios of the Data Distributioncited by 745
  5. 2023Safe RLHF: Safe Reinforcement Learning from Human Feedbackcited by 656
  6. 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 651
  7. 2024How Johnny Can Persuade LLMs to Jailbreak Them: Rethinking Persuasion to Challenge AI Safety by Humanizing LLMscited by 573
  8. 2018Texygen: A Benchmarking Platform for Text Generation Modelscited by 491
  9. 2022DiffuSeq: Sequence to Sequence Text Generation with Diffusion Modelscited by 450
  10. 2023GPT-4 Is Too Smart To Be Safe: Stealthy Chat with LLMs via Ciphercited by 423
  11. 2019PAWS: Paraphrase Adversaries from Word Scramblingcited by 402
  12. 2020GeDi: Generative Discriminator Guided Sequence Generationcited by 378
  13. 2021FUDGE: Controlled Text Generation With Future Discriminatorscited by 376
  14. 2021Gradient-based Adversarial Attacks against Text Transformerscited by 234
  15. 2023Large Language Models in Finance: A Surveycited by 226
  16. 2022DiffusionBERT: Improving Generative Masked Language Models with Diffusion Modelscited by 214
  17. 2024COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllabilitycited by 175
  18. 2024AdvPrompter: Fast Adaptive Adversarial Prompting for LLMscited by 156
  19. 2023AR-Diffusion: Auto-Regressive Diffusion Model for Text Generationcited by 118
  20. 2022Latent Diffusion for Language Generationcited by 115
  21. 2024Attacking Large Language Models with Projected Gradient Descentcited by 94
  22. 2022Text Generation with Diffusion Language Models: A Pre-training Approach with Continuous Paragraph Denoisecited by 79
  23. 2023DINOISER: Diffused Conditional Sequence Learning by Manipulating Noisescited by 50
  24. 2023DiffuSeq-v2: Bridging Discrete and Continuous Text Spaces for Accelerated Seq2Seq Diffusion Modelscited by 36
  25. 2024Gradient-Based Language Model Red Teamingcited by 34
  26. 2024ASETF: A Novel Method for Jailbreak Attack on LLMs through Translate Suffix Embeddingscited by 32
  27. 2024Rapid Optimization for Jailbreaking LLMs via Subconscious Exploitation and Echopraxiacited by 14
  28. 2024Jailbreaking as a Reward Misspecification Problemcited by 11
  29. 2023Beyond Traditional Teaching: The Potential of Large Language Models and Chatbots in Graduate Engineering Educationcited by 4
  30. 2024Harnessing the Plug-and-Play Controller by Promptingcited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 4; 2026: 5.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Jailbreaking Large Language Diffusion Models: Revealing Hidden Safety Flaws in Diffusion-Based Text Generation
  2. 2025Formalization Driven LLM Prompt Jailbreaking via Reinforcement Learning
  3. 2024AutoBreach: Universal and Adaptive Jailbreaking with Efficient Wordplay-Guided Optimization
  4. 2023A Wolf in Sheep's Clothing: Generalized Nested Jailbreak Prompts can Fool Large Language Models Easily
  5. 2025Stand on The Shoulders of Giants: Building JailExpert from Previous Attack Experience
  6. 2025Rewrite to Jailbreak: Discover Learnable and Transferable Implicit Harmfulness Instruction
  7. 2024SequentialBreak: Large Language Models Can be Fooled by Embedding Jailbreak Prompts into Sequential Prompt Chains
  8. 2025Toward Safer Diffusion Language Models: Discovery and Mitigation of Priming Vulnerability