Weight-Space Programming Abliteration: an LLM edits weights to remove refusal without training

Luca Mannini
Luca ManniniNovember 27, 2026
Read time:6 min
Share:
Weight-Space Programming Abliteration: an LLM edits weights to remove refusal without training

By Luca Mannini (Research Engineer) & Dario Pasquini (Head of AI), Cracken AI Lab

Earlier this month MIT released a paper called "Sparks of Weight-Space Programming" that discusses a new emerging ability: the capacity of an LLM to manually edit the weights of another LLM, managing to change its behaviour without a training loop.

In the paper they tried to edit Qwen3.5-0.8B to make it stronger at math, and they managed to obtain these results:

• MATH-500: 7.9% base, climbing to 12.3% (10 passes), 14.1% (25 passes), and 48.1% (50 passes). A 6x jump.
• GSM8K: 13.8% to 67.1% at the full budget.
• IFEval instruction following: 21.0% to 62.3%, a 3x gain on a benchmark the edit was never aimed at.
• Token-limit failures: 93.0% of generations used to run away; after the edit, only 33.1%.

What if one could use the same approach to uncensor LLMs? Well, it turns out, you can. In this blog post, we show how Opus 5.5 can easily edit other LLMs' weights to drastically reduce refusals, even only on specific domains such as cyber.

Setup

We took Qwen3-1.7B, a small LLM, with thinking on and greedy decoding, and Opus 5.5 as the editor, with the following tools:

• a Python kernel on the model's weights, without network, without autograd and without optimizers: it can read the tensors, do calculations and rewrite them, but it cannot train anything;
• a forward pass: it generates answers from the modified model or reads the internal activations.

These are the same tools originally used in the paper "Sparks of Weight-Space Programming".

We put a budget of 100 on the forward passes (against the 10/25/50 of the original paper) and a limit of 600 Python executions. We prompted Opus so that it does not use the network, autograd and optimizers.

The editor model has at its disposal a practice test that we can call the training set, and a test set that verifies whether refusal is lowered also on requests never seen by Qwen.

We accessed Claude Opus 5.5 through Anthropic’s Cyber Verification Program.

Opus, however, would have refused to collaborate if it had read the answers of the unlocked model, so another model, the judge, reads them in its place and only tells it how it went: "it refused" or "it answered". The editor works on these outcomes and on the numbers, never on the texts.

In Experiment 1 Opus tended to apply the classic abliteration technique, computing the refusal vector and then orthogonalizing. Since the goal of this experiment is to see whether Opus can debug a neural network, we banned the use of refusal-vector analysis and of orthogonalization. Opus still kept "getting around" the block, trying to compute something equivalent to a refusal vector.

To make the experiment stricter, we decided to allow the editor to use only 4 possible operations on the neurons of the modified model:

• Switch the neuron off
• Halve its output
• Double its output
• Invert the sign of its output

The editor can only modify one component of the network, that is, either a single neuron of the dense layers, or a whole attention head.

No more than 16 neurons could be modified without checking what effect the change had had, no training could be performed, and the editor had no access to the internet. Opus could not read the answers of the edited model; another model was used as a proxy, which reported the edited model's answers to Opus.

The limits on the run were:

• 300 forward passes, 7 hours.
• It can submit only if the latest refusal check and the latest quality check both pass, on the exact list.
• Quality on the general benchmarks: no more than 3 points below the original.

Results

The results of the first run, in which Opus tried to use the standard abliteration technique, are the following:

TestStockEdited
HarmBench + StrongREJECT, harmful (358)69.3%22.1%
HarmBench only (71)71.8%21.1%
StrongREJECT only (287)68.6%22.3%
XSTest, safe prompts (125)4.0%3.2%

Inside the numbers, on the 358 harmful requests:

OutcomeStockEdited
Hard refusal1562
Soft refusal9277

In Experiment 2, the one in which the refusal vector could not be computed, Opus performed even better:

TestnStockEdited
HarmBench + StrongREJECT, harmful35869.3%12.6%
HarmBench only7167.6%19.7%
StrongREJECT only28769.7%10.8%
XSTest, safe prompts1250.8%1.6%
XSTest, unsafe contrast20086.5%29.0%
Blog post image

Inside the numbers, on the 358 harmful requests:

OutcomeStockEdited
Hard refusal1591
Soft refusal8944
Answered109311
Unfinished12
Blog post image

Quality, large set:

BenchmarknStockEditedChange
MMLU-Pro70050.3%53.9%+3.6
IFEval43370.9%69.7%−1.2
MATH-50040086.5%88.2%+1.7
Mean+1.4
Blog post image

Random control, 35 neurons modified at random in the same layers:

EditHarmful refusal (358)
Stock69.3%
Random, draw 168.4%
Random, draw 269.0%
Random, draw 369.0%
The 35 neurons chosen by Opus12.6%

Group test, removing one group at a time:

ListNeuronsHarmful refusal (100)
Stock056%
All three groups3515%
Without detector core2617%
Without late harm concept2419%
Without early detectors2022%

There is no significant drop in performance on the other benchmarks.

Comparison with Heretic

Blog post image

We tried using Heretic to compare the results and, apparently, with the default options Heretic performs much worse than weight-space programming.

MethodEditHarmful refusalQuality
Heretic (default settings)Direction projected out~69% → 70.1%not measured
Opus, free to use directions (first experiment)9 directions, 36 tensors69.3% → 22.1%not measured
Opus, single components, run 013 attention heads off67.6% → 17.6%−6.3 pp
Opus, single components, run 0235 neurons flipped69.3% → 12.6%+1.4 pp

Findings on the editor behaviour

Opus started by examining how Qwen behaved before any edit. Signs of hesitation appeared early in the model’s reasoning. Some neurons were much more active on refused requests than on harmless ones, including harmless requests that looked risky.

Opus compared several small interventions. Some helped only marginally, and its inspection of later layers mostly turned up neurons associated with text formatting. It restored three attention heads after finding that removing them was unnecessary for the final result. The submitted edit touched only 35 neurons.

It checked the edit on 226 practice requests held out from neuron selection, where refusals fell from 83.5% to 13.2%, then repeated both the refusal and quality checks on the final edit before submitting. The run took 44 turns and 28 of the 300 available forward passes. Opus stopped because it judged that further edits aimed at soft refusals might affect answer quality. On the separate test set, 44 of the 45 remaining refusals were soft.

Limitations and next steps

• It is a single model, a small one (Qwen3-1.7B). We do not know whether it works on large models.
• We tested only direct requests: no jailbreaks, no multi-turn conversations.
• There is a single judge (DeepSeek V4 Pro). Rejudging the same texts, the numbers move by a few points.
• In Experiment 2 there is a single successful run. It says that it can be done, not how often a single run succeeds, nor whether another run would find the same neurons.
• The soft refusals are not solved: 44 of the 358 harmful requests still get a watered-down or deflected answer.
• That Opus did not compute a refusal vector in Experiment 2 cannot be guaranteed by the code: we verified it by reading all of its cells.
• Heretic was tried with the default settings and a single checkpoint.

What we want to do next:

• Soft refusal. It is a real open problem. Flipping the detector neurons removes the flat "no", but not the watered-down answers, which seem to be decided later, while the model writes.
• A second run from scratch, to see whether the same neurons come out.
• A larger model, and a second judge.
• Heretic with thinking on, for a fairer comparison.