DiffusionAttacker: Diffusion-Driven Prompt Manipulation for LLM Jailbreak
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
- 2017Attention Is All You Needcited by 60,361
- 2020Denoising Diffusion Probabilistic Modelscited by 21,076
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
- 2023Mistral 7Bcited by 3,164
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
- 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,739
- 2022DPM-Solver: A Fast ODE Solver for Diffusion Probabilistic Model Sampling in Around 10 Stepscited by 1,979
- 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,651
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,429
- 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,420
30 more
- 2022Diffusion-LM Improves Controllable Text Generationcited by 1,027
- 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 799
- 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Modelscited by 785
- 2023Discrete Diffusion Modeling by Estimating the Ratios of the Data Distributioncited by 745
- 2023Safe RLHF: Safe Reinforcement Learning from Human Feedbackcited by 656
- 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 651
- 2024How Johnny Can Persuade LLMs to Jailbreak Them: Rethinking Persuasion to Challenge AI Safety by Humanizing LLMscited by 573
- 2018Texygen: A Benchmarking Platform for Text Generation Modelscited by 491
- 2022DiffuSeq: Sequence to Sequence Text Generation with Diffusion Modelscited by 450
- 2023GPT-4 Is Too Smart To Be Safe: Stealthy Chat with LLMs via Ciphercited by 423
- 2019PAWS: Paraphrase Adversaries from Word Scramblingcited by 402
- 2020GeDi: Generative Discriminator Guided Sequence Generationcited by 378
- 2021FUDGE: Controlled Text Generation With Future Discriminatorscited by 376
- 2021Gradient-based Adversarial Attacks against Text Transformerscited by 234
- 2023Large Language Models in Finance: A Surveycited by 226
- 2022DiffusionBERT: Improving Generative Masked Language Models with Diffusion Modelscited by 214
- 2024COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllabilitycited by 175
- 2024AdvPrompter: Fast Adaptive Adversarial Prompting for LLMscited by 156
- 2023AR-Diffusion: Auto-Regressive Diffusion Model for Text Generationcited by 118
- 2022Latent Diffusion for Language Generationcited by 115
- 2024Attacking Large Language Models with Projected Gradient Descentcited by 94
- 2022Text Generation with Diffusion Language Models: A Pre-training Approach with Continuous Paragraph Denoisecited by 79
- 2023DINOISER: Diffused Conditional Sequence Learning by Manipulating Noisescited by 50
- 2023DiffuSeq-v2: Bridging Discrete and Continuous Text Spaces for Accelerated Seq2Seq Diffusion Modelscited by 36
- 2024Gradient-Based Language Model Red Teamingcited by 34
- 2024ASETF: A Novel Method for Jailbreak Attack on LLMs through Translate Suffix Embeddingscited by 32
- 2024Rapid Optimization for Jailbreaking LLMs via Subconscious Exploitation and Echopraxiacited by 14
- 2024Jailbreaking as a Reward Misspecification Problemcited by 11
- 2023Beyond Traditional Teaching: The Potential of Large Language Models and Chatbots in Graduate Engineering Educationcited by 4
- 2024Harnessing the Plug-and-Play Controller by Promptingcited by 4
Built on by
Citing papers per year: 2025: 4; 2026: 5.
9 papers.
- 2025Layer-Aware Representation Filtering: Purifying Finetuning Data to Preserve LLM Safety Alignmentcited by 24
- 2025Response Attack: Exploiting Contextual Priming to Jailbreak Large Language Modelscited by 10
- 2025Jailbreaking with Universal Multi-Promptscited by 2
- 2026Activation Surgery: Jailbreaking White-box LLMs without Touching the Promptcited by 2
- 2026Me, Myself, and π : Evaluating and Explaining LLM Introspectioncited by 2
- 2026Diffusion LLMs as Targets and Adversaries: Mechanistic Safety Exploitscited by 1
- 2025RAID: Refusal-Aware and Integrated Decoding for Jailbreaking LLMscited by 0
- 2026CoT is Not the Chain of Truth: An Empirical Internal Analysis of Reasoning LLMs for Fake News Generationcited by 0
- 2026Greedy Coordinate Diffusion: Effective and Semantically Coherent Adversarial Attacks via Diffusion Guidancecited by 0
- 2026Diffusion LLMs as Targets and Adversaries: Mechanistic Safety Exploits7 Aug 2026
- 2026Greedy Coordinate Diffusion: Effective and Semantically Coherent Adversarial Attacks via Diffusion Guidance14 Jun 2026
- 2026Me, Myself, and π : Evaluating and Explaining LLM Introspection17 Mar 2026
- 2026Activation Surgery: Jailbreaking White-box LLMs without Touching the Prompt15 Mar 2026
- 2026CoT is Not the Chain of Truth: An Empirical Internal Analysis of Reasoning LLMs for Fake News Generation4 Feb 2026
- 2025RAID: Refusal-Aware and Integrated Decoding for Jailbreaking LLMs14 Oct 2025
- 2025Layer-Aware Representation Filtering: Purifying Finetuning Data to Preserve LLM Safety Alignment24 Jul 2025
- 2025Response Attack: Exploiting Contextual Priming to Jailbreak Large Language Models7 Jul 2025
- 2025Jailbreaking with Universal Multi-Prompts3 Feb 2025
Similar, not cited
Close in wording, no citation either way
- 2025Jailbreaking Large Language Diffusion Models: Revealing Hidden Safety Flaws in Diffusion-Based Text Generation
- 2025Formalization Driven LLM Prompt Jailbreaking via Reinforcement Learning
- 2024AutoBreach: Universal and Adaptive Jailbreaking with Efficient Wordplay-Guided Optimization
- 2023A Wolf in Sheep's Clothing: Generalized Nested Jailbreak Prompts can Fool Large Language Models Easily
- 2025Stand on The Shoulders of Giants: Building JailExpert from Previous Attack Experience
- 2025Rewrite to Jailbreak: Discover Learnable and Transferable Implicit Harmfulness Instruction
- 2024SequentialBreak: Large Language Models Can be Fooled by Embedding Jailbreak Prompts into Sequential Prompt Chains
- 2025Toward Safer Diffusion Language Models: Discovery and Mitigation of Priming Vulnerability