← Latest papers
🤖 machine learning

Diffusion LLMs as Targets and Adversaries: Mechanistic Safety Exploits

This paper reveals that diffusion-based large language models inherit sparse and transferable safety vulnerabilities from their autoregressive predecessors, enabling highly effective black-box jailbreaks through mechanistic neuron pruning and a novel SN-Guided Diffusion framework that achieves near-perfect attack success rates with minimal generation costs.

Original authors: Elena Dumitrescu, Gert Lek, Lydia Y. Chen, Jérémie Decouchant

Published 2026-08-10
📖 6 min read🧠 Deep dive

Original authors: Elena Dumitrescu, Gert Lek, Lydia Y. Chen, Jérémie Decouchant

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine a world where computers don't just read words one by one, like a person reading a book from left to right, but instead look at a whole page of scrambled letters and slowly, magically, unscramble them all at once until a clear sentence appears. This is the new way some of the smartest computer brains, called Large Language Models (LLMs), are learning to think. Scientists call these "Diffusion" models. They are like a detective who starts with a blurry photo of a crime scene and keeps sharpening the focus until the picture is crystal clear, rather than trying to guess the next word in a sentence one by one.

But here's the tricky part: we teach these computers to be "good" by showing them examples of what not to say, like refusing to help someone build a bomb or write a mean letter. This is called "safety alignment." For a long time, we thought these safety rules were woven deep into the computer's entire brain, like a thick, unbreakable shield. However, recent research suggests that this shield might actually be made of just a few tiny, specific threads. If you can find and pull those specific threads, the whole shield might fall apart. This is the big question scientists are asking: Are these new "unscrambling" computers just as safe as the old ones, or do they have secret, hidden weak spots that we haven't noticed yet?


The Paper's Big Discovery: Finding the "Safety Switches"

In this paper, a team of researchers decided to treat these new Diffusion models in two ways: first, as the targets they want to break into, and second, as the adversaries (the hackers) they want to use to break into other models. They wanted to see if the safety rules inside these computers were actually fragile, like a house of cards, rather than a fortress.

The "Safety Neuron" Secret
The researchers found something surprising. Inside these complex computer brains, the part that says "No, I can't do that" isn't spread out everywhere. Instead, it's concentrated in a tiny, sparse group of specific parts called "safety neurons." Think of it like a building with thousands of lightbulbs. You might think the "Do Not Enter" sign is painted on every single bulb, but the researchers found that the sign is actually just a tiny sticker on only a handful of specific bulbs. If you cover those few bulbs with tape (or "prune" them), the building forgets it has a "Do Not Enter" sign and lets anyone walk right in.

The "Copy-Paste" Hack
Here is where it gets really clever. Many of these new Diffusion models are built by taking the brains of older, "left-to-right" reading models and giving them a new way to think. The researchers discovered that when you do this, the new model accidentally copies the exact same "safety stickers" from the old model.

They tested this by finding the safety neurons in an old model (called Qwen2.5) and then simply pointing to the exact same spots in a brand-new Diffusion model (called Dream or Fast-dLLM). They didn't even need to look inside the new model to find the weak spots; they just used the map from the old one.

  • The Result: When they "taped over" these copied safety neurons, the new models went from being very safe (refusing to answer bad questions 98% of the time) to being completely broken (answering bad questions 73.2% of the time for Dream and 86.3% of the time for Fast-dLLM). This proved that the safety flaws are "transferable"—you can steal the weakness from one model and use it to break another.

The New Weapon: "SN-Guided Diffusion"

Knowing that these safety neurons exist is one thing, but how do you use that to hack a computer you can't touch (a "black-box" model)? The researchers invented a new tool called SN-Guided Diffusion.

Imagine you are trying to write a letter that a strict teacher will read. If you write something bad, the teacher stops you. But what if you could write the letter in a way that feels safe to the teacher's brain, even though it's actually asking for something dangerous?

The researchers used the Diffusion model's ability to "unscramble" text to their advantage. Instead of guessing word by word, they set the computer to start with a bad answer they wanted (like "How to make a bomb") and then asked the computer to work backward to find a question that would lead to that answer. But here's the twist: as the computer worked backward, they used a special "compass" (called a Weighted Safety Neuron Loss) to steer the process.

This compass told the computer: "Don't pick words that make the safety neurons light up. Pick words that keep those neurons dark." By constantly checking and adjusting the words to keep the safety neurons quiet, the computer generated a "jailbreak" prompt that was cleverly disguised. It looked like a normal, safe question to the safety filters, but it actually tricked the model into giving a dangerous answer.

How well did it work?
The results were impressive. This new method didn't need to ask the target model thousands of questions to learn how to break it (which is slow and expensive). Instead, it did all the work offline using a "surrogate" model.

  • Against a model called Llama-3-8B, it succeeded 77.1% of the time.
  • Against Qwen2.5, it succeeded 86.9% of the time.
  • Against a Google model called Gemini-2.5-Flash-Lite, it succeeded 74.3% of the time.

Perhaps most importantly, it did all this while only needing 20 attempts per question. Other hacking methods often need thousands of tries. This means the new method is not only effective but also incredibly fast and cheap to run.

Why This Matters

The paper concludes that the safety of these new AI models is much more fragile than we thought. The "safety shield" isn't a solid wall; it's a few specific switches that can be found, copied, and turned off.

The researchers showed that if you build a new AI by copying the brain of an old one, you also copy its safety weaknesses. They also proved that you can use the new AI's own "unscrambling" superpower to create prompts that slip right past the safety filters, effectively hiding the bad intent inside a safe-looking package.

While this sounds scary, the researchers argue that understanding these weak spots is the only way to fix them. If we know the safety rules are just a few tiny neurons, we can't just hope they hold up; we need to redesign the AI so that safety is woven into every part of its brain, not just a few hidden switches. Until then, these new models might be more vulnerable than we realized, and the tools to break them are already in our hands.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →