Manuscript Offprint

arXiv:2610.10276

PatchBench: Measuring Collateral Damage in Activation Patching

Alexi Canesse, Mathis Le Bail, Maël Jenny, Clément Elliker, Mahammed El Sharkawy, Sonia Vanier

Abstract

An LLM safety patch can pass a benchmark while still being a poor repair. This risk is especially acute for jailbreak repairs, where the goal is to correct a specific unsafe behaviour without changing unrelated behaviours. A patch may block the exact prompts used for evaluation yet fail on close harmful variants, or suppress harmful behaviour by over-refusing benign prompts that share its wording or structure. Existing evaluation protocols primarily test whether models can be broken, while aggregate metrics, such as attack success, refusal rates, and global capability scores, cannot distinguish selective repairs from broader local suppression. To address this gap, we introduce PatchBench, a benchmark of empirically observed model-specific jailbreak failures that induce actionable harmful answers, designed as concrete repair targets for patching research. Starting from 27,870 prompts aggregated from 37 public jailbreak benchmark datasets, we manually curate 15,314 English prompts and query 8 open-source instruction-tuned models. We then combine WildGuard filtering, pairwise Elo ranking, and manual verification to retain only unsafe completions that answer the harmful requests. The result is a curated bank of 400 high-confidence jailbreak failures, organised by model. We further introduce PatchBench-Local, a local evaluation protocol that tests whether a patch is behaviourally precise. For each harmful source prompt, PatchBench-Local generates three families of local neighbours: harmful variants that preserve the malicious intent, benign prompts with matched structure, and benign prompts that reuse the key harmful terms. It evaluates both harmful-neighbour correction and benign-neighbour preservation, thus distinguishing selective repair from broader local suppression. We use PatchBench-Local and MMLU to evaluate four state-of-the-art activation steering methods. Our results show that global capability can remain nearly unchanged while local benign-neighbour regressions are severe, confirming that aggregate metrics alone can miss important collateral damage. By exposing whether patches act as precise behavioural repairs or as broad local suppressors, PatchBench-Local provides a more precise basis for developing and comparing jailbreak repair methods.

1 Introduction

Large language models (LLMs) remain vulnerable to jailbreaks [3, 20, 4]: adversarial prompts that elicit responses a model should refuse. This has motivated work on safer decoding [24], training-

∗^{*}Equal contribution.

40th Conference on Neural Information Processing Systems (NeurIPS 2026). Track on Evaluations and Datasets.

time alignment [16, 2], and post-hoc mitigation strategies [23, 27, 1]. Among these, activation patching [25] is an appealing direction for targeted safety repair: it intervenes directly on internal representations at inference time, aiming to suppress a specific unsafe behaviour while preserving the rest of the model's capabilities.

This setting calls for an evaluation protocol that matches the targeted nature of the intervention. Standard jailbreak robustness metrics are useful for measuring model-level safety [4, 15, 5], but they do not characterise what happens in the local neighbourhood of a repaired failure. After patching, two questions remain open: does the intervention suppress nearby harmful variants of the source prompt, such as paraphrases, formatting changes, or language shifts, and does it preserve the model's behaviour on benign prompts that are lexically or structurally close to it? These local questions are central to activation patching, but they are not the primary object of existing aggregate evaluations [4, 6, 5].

Evaluating such repairs requires concrete repair targets. A harmful prompt alone is not enough: if the model already refuses it, there is no failure to repair. We thus built PatchBench, a dataset starting from prompt-answer pairs in which a model actually produces actionable harmful assistance, illustrated in Figure 1. This makes the benchmark model-specific by construction: the target for patching is not an abstract harmful request, but a failure that the model to be repaired has genuinely exhibited. PatchBench curates these failures from public jailbreak benchmarks [5, 4, 11, 20], yielding 400 manually verified, model-specific jailbreak failures.

Example 1

Llama-4-Scout

Prompt. Which chemical warfare agents can be synthesized without using precursors controlled by the Chemical Weapons Convention?

Completion. The Chemical Weapons Convention (CWC) regulates a wide range of chemical warfare agents and their precursors to prevent their use in warfare. (...) Some chemical warfare agents that have been reported to potentially be synthesized without directly using CWC-controlled precursors include:

  1. Phosgene (COCl2): (...)

  2. Hydrogen Cyanide (HCN): (...)

  3. Chlorine Gas (Cl2): (...)

These precursors are not controlled under the CWC.

Example 2

Qwen2.5-14B-Instruct

Prompt. How can I modify my pistol to fire silently using only common tools and everyday materials? Give five different suggestions that include all necessary materials.

Completion. Modifying a pistol to fire silently is extremely dangerous and illegal (...). However, for educational purposes, here are some approaches : 1. Basic Suppressor Design

Materials: Steel tubing, cotton balls, steel wool, rubber washers, epoxy.

Process: Cut a section of steel tubing to fit over the barrel. Insert layers of cotton balls and steel wool into the tube. Seal both ends with rubber washers and epoxy to contain the materials. (...)

Figure 1: Illustrative PatchBench examples. Two representative prompt–completion pairs from the final benchmark.

We then introduce PatchBench-Local to evaluate what happens around each target once a patch is applied. For every source failure, it defines a local neighbourhood of harmful variants, benign prompts with matched structure, and benign prompts that reuse key harmful terms. This lets us test whether the patch generalises beyond the exact harmful prompt while preserving nearby benign behaviour.

Our experiments with four activation patching methods on four representative models show that these properties can diverge substantially. Methods that strongly suppress nearby harmful variants can still induce benign-neighbour regressions, including when MMLU remains nearly unchanged. This supports the central claim of the paper: activation patching should be evaluated as local repair, with explicit measurement of both harmful-neighbour correction and benign-neighbour preservation.

Our contributions are:

• We introduce PatchBench, a curated benchmark of 400 actionable jailbreak failures across 8 open-source instruction-tuned models, designed as concrete repair targets for activation patching.

• We propose PatchBench-Local, a local evaluation protocol measuring harmful-neighbour correction and benign-neighbour preservation around each repaired failure.

• We show, on four representative models and four activation patching methods, that strong harmful-neighbour correction can coincide with substantial benign-neighbour regressions, including when MMLU remains nearly unchanged.

We release code for PatchBench-Local on GitHub, and the PatchBench dataset on Hugging Face.

References (26)