Projecting a direction from the residual stream can suppress refusal in instruction-tuned language models. We ask whether representation matching during fine-tuning delays suppression while keeping refusal on harmless prompts low. We vary mean matching, covariance matching, distillation, and token pooling, and compare with Refusal Feature Adversarial Training (ReFAT). Under an iterated protocol excluding the final 20% of source layers, the first observed rank at which the pointwise 95% Wilson upper bound for harmful-prompt refusal fell below 30% was K=4 for the untouched Llama checkpoint and K=11 for mean matching with knowledge distillation (KD), selected on development data. These crossings describe one checkpoint per condition. Clean MMLU, GSM8K, and HellaSwag scores were similar or higher for Mean + KD. With all source layers, Mean + KD first crossed at K=3 and the untouched checkpoint had no observed crossing through K=20. Under an adaptive rank-4 projection, the interval for Mean + KD lay below 30% and the untouched checkpoint's interval included 30%. Covariance matching was unnecessary for the restricted-protocol result, and some conditions without KD frequently refused harmless prompts. In an aligned factorial comparison of refusal-feature ablation training (RFA) and KD, no cell met all behavioral and capability criteria under either GSM8K scoring rule. RFA alone met the capability criterion only with flexible answer extraction. RFA+KD met the behavioral criteria and lost 3.68 MMLU points relative to the source checkpoint, with an observed interaction of −3.59 points. On the tested Qwen2.5-1.5B checkpoint, Mean + KD first crossed at K=1 versus K=2 for untouched Qwen. The observed effect of representation matching on refusal depends on the model and extraction protocol.
Figures & tables
Condition
Harm ↑
Harmless ↓
Gap ↑
Max linear probe ↓
Untouched Instruct
98.2 [96.6,99.1]
7.8 [5.8,10.5]
90.4
99.2
SFT only
98.6 [97.1,99.3]
6.2 [4.4,8.7]
92.4
99.1
KD only
97.8 [96.1,98.8]
3.6 [2.3,5.6]
94.2
99.2
Mean, no KD
92.6 [90.0,94.6]
13.8 [11.1,17.1]
78.8
98.9
Mean + KD
95.2 [93.0,96.8]
3.6 [2.3,5.6]
91.6
99.2
Cov, no KD
99.8 [98.9,100.0]
16.6 [13.6,20.1]
83.2
98.9
Table 1: Complete clean factorial and pooling evaluation on the disjoint external set, in percent. Brackets give 95% Wilson intervals. Max linear probe is the maximum held-out accuracy across all residual-stream block inputs.
Figure 1: Refusal under iterated mean-difference ablation on 500 harmful and 500 harmless external prompts. Points show observed rates and bands show pointwise 95% Wilson intervals. Every line is evaluated through the same maximum K , and the horizontal line marks the 30% descriptive suppression threshold.
Condition
Kpoint
Kconf
Harmless at K∗
Sel. AUC
Untouched Instruct
3
4
0.8 [0.3,2.0]
0.164
SFT only
4
5
1.2 [0.6,2.6]
0.220
KD only
4
5
0.2 [0.0,1.1]
0.180
Mean, no KD
>20
>20
–
0.387
Mean + KD
11
11
3.2 [2.0,5.1]
0.247
Cov, no KD
17
17
1.0 [0.4,2.3]
0.378
Table 2: External iterated-attack summary. Kpoint is the first harmful-refusal point estimate below 30%; Kconf is the first step whose 95% Wilson interval lies fully below 30%. K∗ is Kconf , or Kpoint when no confidence crossing is observed. Harmless refusal is in percent with a 95% Wilson interval. Sel. AUC is the trapezoidal area between harmful and harmless refusal curves, normalized by the evaluated K range.
Condition
Attack
Harm refusal
Harmless refusal
Harmless KL
MMLU
GSM8K strict
GSM8K flexible
HellaSwag
Untouched Instruct
clean
98.2
7.8
0.0000
45.8
32.60
43.75
53.5
Untouched Instruct
adaptive rank 1
53.0
5.4
0.2394
46.0
30.48
42.08
53.2
Untouched Instruct
adaptive rank 16
26.8
3.2
0.3137
45.5
29.34
40.71
54.1
SFT only
clean
98.6
6.2
0.0000
45.5
19.64
39.80
51.9
KD only
clean
97.8
3.6
0.0000
45.8
32.60
42.46
55.8
Mean + KD
clean
95.2
3.6
0.0000
45.7
34.72
43.90
56.2
Table 3: Refusal rates and capability scores are percentages. GSM8K columns give strict and flexible exact match on the same responses. Harmless KL is clean-to-attacked next-token KL on the external set. Attacked rows use the same selected projection as the refusal evaluation.
Condition
Clean H/S
Clean gap
K=1 H/S
K=1 gap
MMLU
Outcome
Supervised only
100.0 / 15.6
84.4
98.0 / 20.2
77.8
45.9
Fails clean
KD only
98.0 / 18.2
79.8
50.0 / 7.6
42.4
46.3
Fails clean
RFA only
100.0 / 27.2
72.8
87.8 / 20.4
67.4
45.4
Fails clean
RFA + KD
97.0 / 1.6
95.4
77.6 / 0.6
77.0
42.2
Fails capability
RFA × KD interaction
-1.0 / -28.2
+27.2
+37.8 / -7.2
+45.0
-3.59
n/a
Table 4: Aligned 2×2 confirmation, in percent. H/S is harmful/harmless refusal; the gap is H minus S. Each cell learns its own restricted K=1 direction. The final row is the RFA-by-KD difference in differences, in percentage points.
Appendix figures & tables14 assets
Supplementary material from the paper’s appendix.
Appendix
Split
Total
Harmful
Harmless
Training
1,132
566
566
Development
200
100
100
External
1,000
500
500
External, unfiltered
1,000
500
500
Appendix
Table 5: WildGuardMix splits by prompt class. All except the unfiltered external split retain harmful prompts the source model refused and harmless prompts it answered.
Condition
Mean
Covariance
KD
Epochs
Pool
SFT only
no
no
no
3
n/a
KD only
no
no
yes
3
n/a
Mean only
yes
no
no
3
chat positions
Mean + KD
yes
no
yes
3
chat positions
Covariance only
no
yes
no
3
chat positions
Covariance + KD
no
yes
yes
3
chat positions
Appendix
Table 6: Complete causal training grid. All ten matching and control rows use the same data, response targets, optimizer, and full-parameter update regime. The untouched instruction model is evaluated as an additional no-training baseline.
Condition
Clean H
Clean S
Clean gap
K=1 H
K=1 S
K=1 gap
K=1 KL
Supervised only
100.0
15.6
84.4
98.0
20.2
77.8
0.1068
KD only
98.0
18.2
79.8
50.0
7.6
42.4
0.1132
RFA only
100.0
27.2
72.8
87.8
20.4
67.4
0.1214
RFA + KD
97.0
1.6
95.4
77.6
0.6
77.0
0.0248
Appendix
Table 7: Complete behavior results for the aligned RFA-by-KD confirmation. Refusal rates and gaps are percentages. KL is clean-to-attacked next-token KL on harmless prompts.
Condition
HellaSwag
MMLU
GSM8K (flex.)
Mean
Clean
K=1
Capability
Outcome
Supervised only
56.1
45.9
42.1
48.0
Fail
Pass
Pass
Fails clean
KD only
57.3
46.3
43.6
49.0
Fail
Pass
Pass
Fails clean
RFA only
54.8
45.4
41.8
47.4
Fail
Pass
Pass
Fails clean
RFA + KD
55.4
42.2
41.2
46.3
Pass
Pass
Fail
Fails capability
Appendix
Table 8: Capability scores and predeclared gate outcomes for the aligned confirmation, in percent. GSM8K uses flexible extraction. The clean gate requires harmful refusal at least 90%, harmless refusal at most 10%, and gap at least 80%. The K=1 gate requires harmful refusal at least 50% with its interval above the 30% suppression threshold. The capability gate permits at most a three-point drop on any task and a two-point drop in the three-task mean relative to the source model.
Metric
KD, no RFA
KD, with RFA
RFA, no KD
RFA, with KD
Interaction
Clean harmful refusal
-2.0
-3.0
+0.0
-1.0
-1.0
Clean harmless refusal
+2.6
-25.6
+11.6
-16.6
-28.2
Clean selectivity gap
-4.6
+22.6
-11.6
+15.6
+27.2
K=1 harmful refusal
-48.0
-10.2
-10.2
+27.6
+37.8
K=1 harmless refusal
-12.6
-19.8
+0.2
-7.0
-7.2
K=1 selectivity gap
-35.4
+9.6
-10.4
+34.6
+45.0
Appendix
Table 9: Factorial contrasts using flexible answer extraction for GSM8K. Entries are percentage points except harmless KL, which is on its raw scale. Interaction is RFA+KD minus RFA-only minus KD-only plus supervised-only. Positive effects are beneficial for harmful refusal, selectivity gap, and capability; negative effects are beneficial for harmless refusal and KL.
Condition
Rank
Greedy-42
Random-101
Random-202
Selected
Harm log odds
Harmless KL
Untouched Instruct
1
-17.421
-17.376
-16.017
G42
-18.105
0.1368
Untouched Instruct
4
-16.869
-17.281
-17.058
R101
-17.869
0.1176
Untouched Instruct
8
-16.893
-16.941
-16.862
R101
-17.883
0.1884
Untouched Instruct
16
-16.892
-16.397
-16.653
G42
-18.139
0.2495
Mean + KD
1
-17.155
-16.581
-15.733
G42
-17.941
0.1572
Mean + KD
4
-17.099
-16.751
-16.925
G42
-17.842
0.1486
Appendix
Table 10: Adaptive restart diagnostics on the development split. The three objective columns report harmful refusal-token log odds plus five times harmless next-token KL. Selected is the minimum-objective restart; only its copied subspace is used for external evaluation.
Condition
Rank
Harm refusal
Harmless refusal
Harmless KL
30% status
Untouched Instruct
1
53.0 [48.6,57.3]
5.4 [3.7,7.7]
0.2394
above
Untouched Instruct
4
31.2 [27.3,35.4]
4.6 [3.1,6.8]
0.2750
inconclusive
Untouched Instruct
8
16.0 [13.0,19.5]
3.0 [1.8,4.9]
0.3137
below
Untouched Instruct
16
26.8 [23.1,30.8]
3.2 [2.0,5.1]
0.3137
inconclusive
Mean + KD
1
68.0 [63.8,71.9]
1.6 [0.8,3.1]
0.2045
above
Mean + KD
4
22.2 [18.8,26.0]
1.0 [0.4,2.3]
0.0920
below
Appendix
Table 11: External behavior under independently optimized adaptive subspaces. Refusal rates are percentages with 95% Wilson intervals. Status compares the full harmful-refusal interval with the descriptive 30% threshold; ranks are separate optimized attacks and need not be monotone.
Condition
L0
L1
L2
L3
L4
L5
L6
L7
Untouched Instruct
50.0
94.9
96.7
96.8
97.0
97.7
98.3
98.5
SFT only
50.0
95.1
96.2
96.8
97.4
97.7
97.7
98.3
KD only
50.0
94.6
96.6
96.7
97.4
97.4
97.6
98.3
Mean, no KD
50.0
94.8
95.9
95.9
96.9
97.7
97.8
98.0
Mean + KD
50.0
94.6
96.3
96.7
97.6
97.5
97.8
98.3
Cov, no KD
50.0
94.8
96.1
96.5
96.9
96.8
97.4
98.2
Appendix
Table 12: Held-out linear probe accuracy at every Llama block-input residual, in percent. Max layer is selected by held-out linear accuracy; MLP@max is fit only at that layer.
Condition
Mean gap ↓
Cov. gap ↓
Linear@11 ↓
Max linear ↓
MLP@11 ↓
PPL ↓
GPT-2 (raw)
9.772
1.58e-01
82.7
83.6
86.8
40.449
LM fine-tuning
11.186 ± 0.022
1.60e-01 ± 3.72e-04
84.1 ± 0.2
84.3 ± 0.3
87.3 ± 0.2
35.029 ± 0.004
Mean matching
2.415 ± 0.012
5.95e-02 ± 4.18e-04
79.7 ± 0.2
81.2 ± 0.2
82.9 ± 0.3
36.942 ± 0.071
Covariance matching
8.498 ± 0.057
8.34e-02 ± 1.90e-03
83.9 ± 0.4
84.0 ± 0.2
87.8 ± 0.3
35.173 ± 0.031
Mean + covariance
2.459 ± 0.063
5.74e-02 ± 1.18e-02
79.6 ± 0.8
81.2 ± 0.2
83.2 ± 0.2
37.235 ± 0.060
LEACE
–
–
49.5
49.5
–
–
Appendix
Table 13: IMDb proof of concept. Mean and covariance gaps and @11 probes use the final block input; Max linear is the maximum held-out accuracy over all block inputs. Probe accuracy is in percent. Fine-tuned rows report mean ± sample standard deviation over seeds.
Condition
Seed
L0
L1
L2
L3
L4
L5
L6
L7
L8
L9
L10
L11
Max
LM fine-tuning
13
77.5
78.9
78.0
77.3
78.8
80.9
81.4
82.4
83.9
84.5
84.6
84.2
84.6
LM fine-tuning
42
77.5
79.1
77.9
77.5
79.2
80.9
81.5
82.7
83.5
84.4
84.2
84.3
84.4
LM fine-tuning
73
77.5
79.1
77.4
77.5
79.3
81.0
81.5
82.5
83.8
83.9
84.0
84.0
84.0
Mean matching
13
77.6
78.1
76.8
76.5
79.0
79.7
79.8
80.8
80.4
81.3
79.7
79.4
81.3
Mean matching
42
77.8
78.0
77.4
76.7
79.1
80.0
80.0
80.3
80.8
81.3
80.0
79.8
81.3
Mean matching
73
77.5
78.5
77.5
76.2
78.8
79.6
80.3
80.8
81.0
80.6
80.0
79.8
81.0
Appendix
Table 14: IMDb held-out linear probe accuracy by GPT-2 block-input layer and training seed, in percent. Max is the largest held-out layer accuracy within the same seed.
Model
K
Harmful refusal, % [95% CI]
Harmless refusal, % [95% CI]
baseline
0
78.4 [74.6, 81.8]
35.0 [30.9, 39.3]
baseline
4
5.2 [3.6, 7.5]
2.0 [1.1, 3.6]
baseline
20
1.8 [0.9, 3.4]
4.4 [2.9, 6.6]
mean_kd_chat
0
73.4 [69.4, 77.1]
22.8 [19.3, 26.7]
mean_kd_chat
4
31.2 [27.3, 35.4]
26.6 [22.9, 30.6]
mean_kd_chat
20
3.6 [2.3, 5.6]
2.2 [1.2, 3.9]
Appendix
Table 15: Frozen-direction transfer to a balanced 1,000-prompt mixture of HarmBench, XSTest, and OR-Bench. Refusal rates are percentages with 95% Wilson intervals.
Condition
K
Harm refusal
Harmless refusal
Selectivity gap
Untouched Instruct
0
90.0 [87.1,92.3]
13.2 [10.5,16.4]
76.8
Untouched Instruct
1
32.0 [28.1,36.2]
4.8 [3.2,7.0]
27.2
Untouched Instruct
4
12.2 [9.6,15.4]
2.2 [1.2,3.9]
10.0
Untouched Instruct
8
9.0 [6.8,11.8]
2.2 [1.2,3.9]
6.8
Untouched Instruct
16
4.4 [2.9,6.6]
1.6 [0.8,3.1]
2.8
Untouched Instruct
20
3.6 [2.3,5.6]
2.6 [1.5,4.4]
1.0
Appendix
Table 16: Sensitivity on the balanced external split without source-model behavior conditioning. Refusal and gaps are percentages; brackets are 95% Wilson intervals.
Condition
Candidate setting
Source layers
Dev Kpoint
Ext. Kpoint
Ext. Kconf
Sel. AUC
Untouched Instruct
Final 20% pruned
–
2
3
4
0.164
Untouched Instruct
All source layers
0–15 (16)
2
2
>20
0.229
Mean + KD
Final 20% pruned
–
6
11
11
0.247
Mean + KD
All source layers
0–15 (16)
2
3
3
0.056
Appendix
Table 17: Candidate-source-layer sensitivity. Both settings freeze development-extracted directions before evaluation on the same external split.
Condition
Clean harm
Clean harmless
Dev Kpoint
Ext. Kpoint
Ext. Kconf
Sel. AUC
Untouched Instruct
99.4 [98.3,99.8]
3.2 [2.0,5.1]
2
2
2
0.241
SFT only
97.8 [96.1,98.8]
5.4 [3.7,7.7]
1
1
1
0.056
KD only
97.8 [96.1,98.8]
7.6 [5.6,10.3]
2
2
2
0.080
Mean + KD
97.8 [96.1,98.8]
10.4 [8.0,13.4]
1
1
1
0.020
ReFAT (1 epoch)
99.8 [98.9,100.0]
38.2 [34.0,42.5]
4
4
4
0.094
Appendix
Table 18: Qwen2.5-1.5B transfer using fresh model-specific responses and refusal labels. External results use 500 prompts per class; clean rates include 95% Wilson intervals.
Aligned language models that are trained to refuse harmful requests also exhibit over-refusal: they decline safe instructions that seemingly resemble harmful instructions. A natural approach is to ablate the global refusal direction, steering the hidden-state vectors away or towards the harmful-refusal examples, but this corrects over-refusal only incidentally while disrupting the broader refusal mechanism. In this work, we analyse the representational geometry of both refusal types to understand why this happens. We show that harmful-refusal directions are task-agnostic and can be captured by a single global vector, whereas over-refusal directions are task-dependent: they reside within the benign task-representation clusters, vary across tasks, and span a higher-dimensional subspace. Linear probing suggests that the two refusal types are representationally distinct from the early transformer layers. These findings provide a mechanistic explanation of why global direction ablation alone cannot address over-refusal, and establish that task-specific geometric interventions are necessary.
Refusal training protects AI models from jailbreaks by training models to decline unsafe queries, reducing the risk of misuse. Recent work finds that refusal behavior in aligned language models can be mediated by a single activation direction or a low-dimensional refusal subspace shared across harmful prompts: ablating those directions suppresses refusals while largely preserves other model capabilities. Yet it remains unclear why safety-critical features in a wide range of models emerge in a concentrated, low-dimensional structure. In a case study of OLMo-2-0425-1B-Instruct we find that the refusal geometry reflects refusal training: activation updates resulting from refusal-completion first-token losses explain the resulting refusal direction and refusal subspace. We study refusal directions through the training dynamics across refusal datasets and reveal that their brittleness is associated with repetitive refusal starts, which in turn is linked to concentration of gradients and refusal features in a low-dimensional subspace. Across frozen-model analyses and controlled synthetic fine-tuning, we find evidence of a hardening lever: diverse refusal starts can raise stable ranks of gradients and activation changes, making refusals harder to remove with a vector ablation attack.
Safety-aligned language models are trained to refuse harmful requests, yet refusal behavior can be suppressed by steering their internal representations. Existing methods do so by ablating a refusal direction from model activations, aiming to remove refusal from the model's residual stream. Despite their empirical success, these methods lack a principled account of the latent-space transformation they induce and why it suppresses refusal. In this work, we recast refusal suppression as a latent-space evasion attack against linear probes trained to separate refused from answered prompts. Under this view, prior work's difference-in-means direction naturally defines such a probe, and its ablation is exactly a projection onto its decision boundary, i.e., a minimum-confidence evasion attack. This perspective not only explains the empirical success of prior work but also admits a key limitation: evasion stops at the decision boundary, motivating the need to push representations further into the compliant region, i.e., where the model answers. We leverage this by proposing a Controlled Latent-space Evasion attack that projects representations past the boundary with an optimized confidence. Across 15 instruction-tuned, multimodal, and reasoning language models, we achieve higher attack success rates than existing refusal-ablation baselines, also outperforming jailbreak attacks.