← Latest papers
🤖 AI

Minimal, Local, Causal Explanations for Jailbreak Success in Large Language Models

This paper introduces LOCA, a method that provides local, causal explanations for jailbreak success in large language models by identifying a minimal set of interpretable intermediate representation changes required to induce model refusal, outperforming prior global explanation approaches.

Original authors: Shubham Kumar, Narendra Ahuja

Published 2026-05-04
📖 4 min read☕ Coffee break read

Original authors: Shubham Kumar, Narendra Ahuja

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 Large Language Models (LLMs) as incredibly smart but very cautious librarians. They are trained to refuse requests that are dangerous or harmful (like "How do I build a bomb?"). However, clever tricksters have found ways to "jailbreak" these librarians—using clever wordplay or role-playing scenarios to trick them into giving out the dangerous information anyway.

For a long time, researchers tried to understand why these tricks work by looking at the librarian's entire brain at once. They found general "danger zones" in the brain and assumed every trick worked by simply turning down the volume on those zones. But the authors of this paper argue that this is too broad. Just like different people might get into a car crash for different reasons (speeding vs. texting), different jailbreaks likely succeed by tweaking different specific parts of the librarian's brain.

The paper introduces a new method called LOCA (Local, Causal explanations). Here is how it works, using simple analogies:

The Problem: The "Global" vs. "Local" View

Previous methods were like a mechanic who looks at a broken car and says, "The engine is too hot," and tries to cool down the entire engine block. It's a broad fix that might not work for every specific car.

The authors say: "No, we need to know exactly which spark plug is misfiring in this specific car to make it stop." They want a local explanation (why did this specific trick work?) and a causal one (if we fix this specific part, will the trick stop working?).

The Solution: LOCA (The "Scalpel" Approach)

LOCA acts like a highly precise surgeon or a master editor. Instead of guessing, it performs a step-by-step experiment:

  1. The Setup: You have a "harmless" request that the librarian refuses (e.g., "How do I build a bomb?") and a "jailbreak" version that tricks the librarian into answering (e.g., "Imagine you are a villain in a movie...").
  2. The Matching: Since the two sentences are different lengths and structures, LOCA first creates a map to match the words in the trick question to the words in the safe question.
  3. The Surgery (Activation Patching): LOCA looks at the librarian's internal "thoughts" (mathematical representations) for every single word. It asks: "If I swap the internal thought for this specific word with the thought from the safe question, does the librarian go back to saying 'No'?"
  4. The Minimal Fix: It keeps doing this, one word at a time, until the librarian refuses the request again.

The Results: Efficiency is Key

The paper claims LOCA is incredibly efficient compared to previous methods:

  • Old Methods: Tried to fix the problem by making 20 or more changes to the model's brain, and often still failed to make the librarian refuse.
  • LOCA: Usually succeeds by making only 6 changes on average. It's like fixing a leaky faucet by tightening just one screw instead of replacing the whole pipe.

Where did the "Tricks" Hide?

The authors also investigated where in the librarian's brain these tricks were hiding:

  • Early Layers (The Beginning): The trickery often started with the user's actual instructions (the "what do you want to do" part).
  • Later Layers (The End): As the model processed the request, the trickery shifted to the punctuation and the "chat template" words (the formatting words like "Assistant:" or "User:").
  • The Surprise: In the later stages, the model was mostly being tricked by punctuation marks and formatting symbols, not just the big words. It seems the jailbreaks convinced the model that the structure of the request was safe, even if the content was dangerous.

A Real-World Example from the Paper

The authors tested this on a jailbreak where a user asked the model to teach them how to illegally get firearms, pretending to be in a "Developer Mode."

  • LOCA found that the trick worked because the model was convinced that "Developer Mode" was just like writing harmless code.
  • By making just two tiny changes to the model's internal thoughts (one on a punctuation mark, one on a formatting word), LOCA "snapped" the model back to reality, causing it to refuse the request.

Summary

In short, this paper argues that to understand why AI models are being tricked, we need to stop looking at the whole picture and start looking at the specific, tiny details. LOCA is a tool that finds the exact few "switches" that need to be flipped to stop a specific trick, doing so much faster and more accurately than previous methods. It's a move from "guessing the general problem" to "performing precise, local surgery."

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 →