Diffusion LLMs are Natural Adversaries for any LLM
David Lüdke, Tom Wollschläger, Paul Ungermann, Stephan Günnemann, Leo Schwinn
NeurIPS page · OpenReview · Open on the map
Category: AI Safety, Security & Alignment › LLM Safety Attack Strategies · Type: new method · Keywords: adversarial prompting, jailbreak, Diffusion LLMs, prompt optimization, LLM safety, red teaming
Summary
The framework uses pretrained non-autoregressive generative LLMs (e.g., Diffusion LLMs) as surrogates to generate adversarial prompts efficiently, replacing costly discrete optimization with a few parallelizable samples.
Explained to a 5-year-old
Some smart computer programs can make up questions and answers together. The paper uses a special kind of program that can guess prompts quickly instead of trying many slow ways. This helps find tricky prompts that can test other computer programs safely. It makes testing easier and cheaper, so more people can check if their programs are safe. The idea also helps improve other new types of computer programs that create text.
Explained to a 5-year-old, longer
Some computer programs can write both questions and answers at the same time. These programs are called Diffusion LLMs and they learn how questions and answers go together. The paper shows how we can use these programs to make new questions for testing other programs. Instead of trying many slow ways to find a good question, we just ask the program to guess a few. The program can make many possible questions all at once, which is fast. This helps find questions that are hard for other programs, like puzzles. These hard questions are useful for checking if a program is safe and follows the rules. The new method works better than old ways, finding more useful questions with less work. It also works on many different kinds of programs, even those that are specially trained to be safe. The idea can be used to test many kinds of AI, not just one. It also helps people create better ways to ask questions automatically. Overall, it makes testing AI safer and cheaper for everyone.
For a technical reader
The paper shows how pretrained non-autoregressive LLMs that generate prompts can be used as surrogates for adversarial prompt search. Instead of expensive discrete optimization, they condition these models to produce prompts in parallel, requiring only a few samples. A probabilistic analysis guarantees that a small number of samples can recover high-reward prompts under mild assumptions. Empirically, this yields higher success rates and lower compute cost, with jailbreaks that transfer to many black-box models. This makes red-teaming and safety testing of LLMs more efficient and scalable.
Problem
Finding effective adversarial prompts for target models is computationally expensive, requiring costly discrete optimization over prompts to achieve high reward.
Method
The approach leverages pretrained non-autoregressive generative LLMs that model prompt-response pairs to generate prompts conditionally, amortizing the search over a small number of parallel samples rather than performing discrete optimization.
Results
The approach achieves higher success rates and lower compute cost than prior attacks, producing diverse, low-perplexity jailbreaks that transfer across many black-box target models.
Contributions
A framework that uses Diffusion LLMs as surrogates for prompt search, enabling efficient amortized generation of harmful prompts and broad transferability to black-box models.
Practical relevance
Enables more efficient red-teaming and automated safety testing for LLMs, reducing compute overhead and broadening coverage of black-box models.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction