TRANSMISSION // 2611.38228v1
Can Fine-Tuning Make AI Refusals Harder to Remove?
Source published
A controlled study finds that representation matching can delay one kind of refusal-removal attack in a small Llama model—but the advantage depends on how the attack is run.

Some open-weight language models’ refusals can be weakened by removing directions from their internal representations. Researchers tested whether fine-tuning could make that harder without increasing refusals of harmless requests. Their results suggest a limited, attack-specific effect—not a general safety guarantee.
A language model’s refusal can sometimes be weakened by projecting a particular direction out of its internal activity. The intervention is a kind of white-box attack: it assumes access to the model’s internals, rather than relying on a specially worded prompt. Could fine-tuning spread refusal-related information around, making it harder to remove this way while preserving the model’s ability to answer harmless questions?
Jonathan Merchan, Deepanshu Mody and Acey Vogelstein tested that idea in a study of representation matching: training objectives that encourage the model’s internal representations for harmful and harmless prompts to have more similar statistical properties. They also used knowledge distillation, which trains a model to stay close to the responses of its original version. The goal was to change where information is represented without simply changing the model’s refusal behavior.
Testing repeated and adaptive attacks
The main experiments used Llama-3.2-1B-Instruct. The researchers fine-tuned it under different combinations of mean matching, covariance matching and distillation, and compared the results with an untouched checkpoint and a method called Refusal Feature Adversarial Training (ReFAT). They also varied which prompt tokens were pooled for matching.
For one attack, they repeatedly extracted and removed linear directions from the model’s residual stream—the changing internal representations passed between parts of a transformer. After each removal, they searched again for a direction in the already-modified model. They measured how many directions had to be removed before the model’s refusal rate on harmful prompts fell below a descriptive 30% threshold. This version of the attack searched only the first 80% of the model’s layers. The researchers also tested an adaptive attack that directly optimized a low-rank projection against each model.
Refusal was measured by an automated classifier, and the study tracked refusals on harmless prompts separately. The researchers also checked MMLU, GSM8K and HellaSwag, three standard capability benchmarks. To indicate sampling uncertainty, they reported pointwise 95% Wilson intervals for refusal rates. These intervals describe uncertainty over prompts at a given attack rank—not uncertainty in the rank at which a model crosses the threshold, or variation across training runs.
A narrow advantage, with important reversals
Under the restricted, repeated attack, the first rank at which the 95% interval’s upper bound fell below 30% was 4 for the untouched Llama checkpoint and 11 for the selected mean-matching-plus-distillation checkpoint. On the clean evaluation, the latter refused 95.2% of harmful prompts and 3.6% of harmless prompts; the untouched model’s rates were 98.2% and 7.8%, respectively. Its MMLU and HellaSwag scores were similar to or higher than the untouched model’s, while GSM8K scores depended notably on how answers were extracted.
The comparison does not show that representation matching reliably defeats refusal-removal attacks. When the search included all source layers, the fine-tuned model crossed the threshold at rank 3, while the untouched model had no observed crossing through rank 20. A separately optimized rank-4 projection also brought the fine-tuned model’s harmful-prompt refusal interval below 30%; the untouched model’s interval included that threshold. On a tested Qwen2.5-1.5B checkpoint, the result went the other way: mean matching plus distillation crossed at rank 1, compared with rank 2 for untouched Qwen.
The training recipe mattered, too. Distillation helped preserve selective behavior, but distillation alone did not reproduce the restricted-attack result. Covariance matching was not necessary for that result. Some matching conditions without distillation appeared harder to suppress partly because they refused harmless prompts more often—a cost that can make robustness look stronger than it is.
A separate, aligned comparison of adversarial refusal-feature training and distillation found no combination that met all the study’s behavior and capability criteria. Combining the methods met the behavioral criteria but reduced MMLU by 3.68 percentage points relative to the source checkpoint. Capability judgments also depended in part on the rule used to extract GSM8K answers.
What the result does—and doesn’t—mean
The authors’ central interpretation is that mean matching plus distillation can redistribute refusal-related information in a way that delays one particular attack, when the attacker’s search is restricted. The reversal with all-layer extraction and the adaptive attack is evidence against treating that delay as general resistance. Even removing several directions remained computationally cheap for an attacker with white-box access; the study does not show that open-weight models become tamper-proof.
The main controlled grid used one small Llama model, English prompts and one training seed per condition. The Qwen test used one checkpoint and did not reproduce the Llama result. Automated refusal classification can misjudge nuanced responses, and the harmless-prompt benchmarks measured refusal rates rather than the quality of the answers. The attacks also do not cover unrestricted weight edits, nonlinear interventions or other attack families.
This work is an arXiv preprint, so its findings should be treated as provisional rather than as settled evidence. Its value is in the controlled comparisons and the clear demonstration that conclusions can change with the attack protocol. Broader testing across models, training runs and attacker strategies will be needed to establish whether similar training objectives offer useful protection in practice.
- AI safety
- language models
- refusal behavior
- representation matching
- knowledge distillation
- white-box attacks
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
Targeted weight edits help restore AI refusal behavior after fine-tuning
Source published
Shared keywords: ai safety, language models, refusal behavior
Making AI refusals harder to erase
Source published
Shared keywords: ai safety, language models, refusal behavior
Teaching code models to keep refusing
Source published
Shared keywords: ai safety, language models, refusal behavior
When AI Knows It’s Being Tested, Refusal Can Change
Source published
Shared keywords: ai safety, refusal behavior
Can switching off AI safety components make a model harder to jailbreak?
Source published
Shared keywords: ai safety