TL;DR
When you patch a large language model (LLM) to stop a jailbreak, how do you know you actually fixed the problem without breaking nearby, harmless requests? Existing safety benchmarks only check global scores, which can hide severe local collateral damage. This paper introduces PatchBench (400 verified, model-specific jailbreak failures) and PatchBench-Local (a neighbourhood evaluation protocol) to show that many "surgical" activation patches actually act like blunt instruments—refusing benign prompts that merely look or sound like the original attack, even when global capability scores like MMLU barely budge.
What Problem Does This Paper Address?
LLMs are notoriously vulnerable to jailbreaks—adversarial prompts that trick a model into giving harmful instructions it should refuse. To fix these without expensive retraining, researchers use activation patching (or activation steering): intervening directly on the model's internal representations at inference time to suppress a specific unsafe behaviour.
The catch? Evaluating these patches is tricky. Standard benchmarks mostly test whether a model can be broken, using aggregate metrics like overall attack success rate or general capability (e.g., MMLU). Those coarse metrics miss two critical local failure modes:
- Under-generalisation: The patch blocks the exact jailbreak prompt, but fails on a slightly reworded or translated version.
- Over-generalisation (collateral damage): The patch suppresses the harmful behaviour by over-refusing nearby benign prompts that happen to share the same sentence structure or keywords.
Furthermore, you can't evaluate a repair if the model already refuses the prompt—you need confirmed, model-specific failures to patch.
Methods
The authors tackle this in two parts: building a concrete bank of repair targets (PatchBench) and designing a microscope to inspect the area around each repair (PatchBench-Local).
To build PatchBench, they start with 27,870 prompts from 37 public datasets, manually filter them down to 15,314 clean English prompts, and query 8 open-source instruction-tuned models. Using WildGuard (an automated safety classifier), pairwise Elo ranking by an LLM judge, and final manual verification, they curate the 50 most actionable, high-confidence jailbreak failures per model (400 total).
To evaluate a patch's precision, PatchBench-Local generates 29 "local neighbours" around each source failure (using Mistral Large, with GPT-4o used to verify robustness):
- 19 harmful variants: 10 paraphrases, 2 translations, 3 punctuation tweaks, 1 case-inversion, and 3 spelling/grammar variants. These test whether the patch generalises to the underlying malicious intent.
- 5 structural benign neighbours: Prompts that keep the exact same grammatical scaffold as the jailbreak, but swap in a harmless intent.
- 5 lexical benign neighbours: Prompts that reuse the salient harmful keywords in a completely benign or informational context.
They score responses using WildGuard's refusal signal on two 0–100% scales: HNCS (Harmful Neighbour Correction Score—higher means better refusal of harmful variants) and BNPS (Benign Neighbour Preservation Score—higher means fewer false refusals on benign neighbours).
Datasets
- PatchBench (newly introduced): 400 verified prompt–completion pairs across 8 models (Qwen2.5-3B/14B-Instruct, gemma-3-4b/12b-it, Llama-3.1-8B-Instruct, Llama-4-Scout, Mistral-7B-Instruct-v0.3, and Ministral-3-14B-Instruct). The failures span weapons (38.5%), cyber (36.0%), and crimes, fraud, and abuse (25.5%), with different models showing distinct failure profiles.
- RedBench: The source aggregation of 37 public jailbreak datasets used to curate PatchBench.
- MMLU (5-shot): Used alongside PatchBench-Local to measure global capability preservation.
Key Insights and Ideas
- Global capability ≠ local preservation: A model's overall MMLU score can look completely healthy while its local behaviour is severely damaged. A patch can leave general knowledge untouched yet cause the model to panic and refuse harmless questions that happen to sit near a patched failure.
- Harmful correction doesn't imply selective repair: Methods that achieve the highest refusal rates on harmful variants often do so by becoming broad local suppressors, dragging down benign-neighbour preservation.
- Collateral damage comes in two flavours: By splitting benign neighbours into structural and lexical groups, the authors show that different patching methods fail in different ways—some over-refuse based on sentence structure (e.g., AlphaSteer on Llama 8B), while others over-refuse based on trigger words or both (e.g., AST).
Key Results
The authors evaluated four state-of-the-art activation steering methods (AlphaSteer, AdaSteer, AST, and CAST) across four models (Qwen 3B, Mistral 7B, Llama 8B, and Gemma 4B):
- The MMLU blind spot: On Llama 8B and Gemma 4B, CAST drops MMLU accuracy by a negligible 0.07 and 0.52 percentage points, respectively. Yet on PatchBench-Local, its BNPS drops by 26.3 and 22.0 points—meaning it starts refusing roughly a quarter of nearby benign prompts.
- The blunt-instrument trade-off: AST consistently achieves high harmful-neighbour correction (e.g., 95.6% HNCS on Qwen 3B, 89.9% on Mistral 7B), but suffers massive collateral damage, dropping BNPS to 66.8% on Qwen 3B, 47.8% on Llama 8B, and 28.4% on Gemma 4B (alongside MMLU drops of up to 21.62 points).
- More balanced profiles: AlphaSteer and AdaSteer generally strike a better balance. For example, on Qwen 3B, AlphaSteer reaches 92.5% HNCS while keeping BNPS at 94.2%.
Limitations and Future Work
- Breadth vs. precision: PatchBench is not meant to certify broad robustness across all jailbreak strategies or domains; it trades breadth for high-confidence, model-specific repair targets.
- Manual effort for new models: Extending PatchBench to new architectures requires a one-time, model-specific generation and curation step.
- Scaling beyond single neighbourhoods: Future work needs to study what happens when many failures are patched simultaneously—specifically, how to detect interference between different local repair regions and accumulated benign regressions across a model.
Summary updated