Refusal Beyond a Single Direction: A Preliminary Comparison of Diff-in-Means and INLP

Elisabetta Rocchetti, Alfio FerraraarXiv 2026

Here is a concise, engaging blog-style summary of the paper.

TL;DR

While recent research suggests that LLM refusal behavior is controlled by a simple, single linear direction in activation space, this paper demonstrates that a multi-dimensional subspace approach yields superior control. By benchmarking Iterative Nullspace Projection (INLP) against the standard Difference-in-Means (DiM) method, the authors show that "counterfactual flipping" provides more robust refusal suppression and reveals that LLMs geometrically represent the absence of a concept differently from its opposite.

What Problem Does This Paper Address?

When safety-tuned LLMs encounter harmful prompts, they refuse to answer. A popular recent finding (Arditi et al., 2024) claimed this refusal mechanism is surprisingly simple: it is mediated by a single linear direction in the model's residual stream, which can be uncovered using a simple Difference-in-Means (DiM) calculation between harmful and harmless activations.

However, relying on a single direction might oversimplify how models represent complex concepts. This paper investigates whether a more sophisticated technique—Iterative Nullspace Projection (INLP)—can match or exceed DiM's steering capabilities. The authors explore whether INLP's multi-dimensional subspace approach offers better "tweakability" (fine-grained control over model behavior) and deeper geometric insights into safety alignment.

Methods

The authors compare two primary intervention frameworks across five open-weight chat models (Gemma 2B-IT, Qwen 1.8B-Chat, Yi 6B-Chat, Llama-2 7B-Chat, and Llama-3 8B-Instruct):

  1. Difference-in-Means (DiM): A baseline method that finds a single refusal vector by subtracting average harmless activations from average harmful activations. Interventions include Activation Addition (injecting refusal) and Directional Ablation (erasing refusal).
  2. Iterative Nullspace Projection (INLP): A concept-erasure method that iteratively trains linear classifiers to identify a subspace (spanning $k$ dimensions) responsible for the concept. It allows a continuum of interventions via a parameter $\alpha$:
  3. Nullspace Projection ($\alpha = 1$): Completely erases the concept from the activations.
  4. Counterfactual Flipping ($\alpha = 2$): Reflects activations across the nullspace, effectively flipping the concept to its semantic opposite while preserving orthogonal information.

Datasets

  • Training/Validation: Harmful prompts were sampled from AdvBench, MaliciousInstruct, TDC2023, and HarmBench. Harmless prompts were drawn from Alpaca.
  • Evaluation: Refusal behavior was tested using 100 harmful instructions from JailbreakBench and 100 harmless instructions from a separate split of Alpaca.
  • General Capabilities: Model degradation was monitored using The Pile and Alpaca (for perplexity), alongside MMLU and ARC-Challenge (for 5-shot knowledge and reasoning).

Key Insights and Ideas

  • Absence vs. Semantic Opposite: The most striking finding is geometric. As visualized in PCA space, Nullspace Projection ($\alpha=1$) collapses activations into a neutral zone between the harmful and harmless clusters. Meanwhile, Counterfactual Flipping ($\alpha=2$) pushes them cleanly into the opposite cluster. This suggests that an LLM encodes the absence of harmfulness differently from the presence of harmlessness.
Figure 2: Two-dimensional PCA visualisation of inter- vention effects in residual-stream space, computed at the input of the selected transformer block at the se- lected post-instruction token position. The first axis is fixed to the harmful–harmless centroid direction, so hor- izontal movement corresponds to movement along the refusal axis. Red/blue dots: original harmful/harmless activations, with dark stars marking class centroids. Or- ange crosses: transformed harmful activations under a refusal-removal intervention. Green pluses: trans- formed harmless activations under a refusal-injection intervention. Rows are models; columns are interven- tions. Each (model, intervention family) cell uses its own coordinate system, so absolute distances are not comparable across cells; the relative positioning within each cell is the object of interest. Directional ablation collapses both classes onto the harmless side; ActAdd and counterfactual flipping produce a two-way swap; nullspace projection collapses both classes into a region between the two clusters.
  • Layer Robustness: DiM is highly sensitive to the specific layer where the intervention is applied. If you apply DiM directional ablation at a layer optimized for INLP, its performance collapses. Conversely, INLP’s counterfactual flipping is highly robust and maintains its effectiveness across different layers, suggesting DiM's apparent edge in prior work was largely an artifact of its rigid layer-selection procedure.
Figure 1: Same-site vs. cross-site effectiveness and per- plexity, one panel per model. For each intervention, three dumbbells connect the same-site value (open cir- cle, the operating point used in Table 1) to the cross-site value (filled triangle: cross-site improved; inverted tri- angle: cross-site worsened), for non-refusal on harmful prompts (blue), refusal injection on harmless prompts (green), and median perplexity on Pile+Alpaca (red). Directional ablation is applied at INLP’s selected layer and vice versa. Values are ∆from baseline, oriented so that higher is better.
  • Tunable Tweakability: By restricting INLP to the leading directions of the extracted subspace (e.g., $k_{0.8}$), researchers can suppress refusal behavior effectively without degrading the model's general language capabilities (keeping perplexity near baseline).

Key Results

The quantitative results highlight a clear trade-off between aggressive steering and model coherence:

  • Refusal Suppression: INLP counterfactual flipping ($\alpha=2$) consistently matches or outperforms DiM directional ablation in preventing models from refusing harmful prompts.
  • Refusal Injection: While Activation Addition (ActAdd) achieves the highest surface metrics for injecting refusal into harmless prompts, qualitative completion analysis revealed it causes severe text degeneracy (infinite looping). INLP counterfactual flipping produces a cleaner, more stable injection effect.

The comprehensive performance breakdown across all five models is detailed below:

Per-model summary table showing effectiveness and performance deltas from baseline.

Limitations and Future Work

  • The Semantic Ambiguity of Refusal: "Harmless" is not a perfect semantic opposite or a clean neutral state relative to "harmful." The authors note that refusal is a messy case study for evaluating concept erasure. Future work should replicate this setup on cleaner binary attributes (e.g., truthfulness vs. falsehood, or pronoun gender).
  • Selection Optimization: The layer selection protocol was optimized using nullspace projection only. Optimizing the selection specifically for counterfactual flipping would likely yield even stronger results.
  • Model Scale: The study was restricted to smaller model variants (1.8B to 8B parameters). Evaluating whether these multi-dimensional subspace properties hold true for 70B+ models remains an open question.

Summary updated

Abstract

Arditi et al. (2024) has shown that refusal in safety fine-tuned chat models is mediated by a single linear direction in the residual stream, recoverable by a difference-in-means (DiM) of harmful and harmless activations. We compare DiM-based interventions (activation addition and directional ablation) with two interventions derived from Iterative Nullspace Projection (INLP)-nullspace projection and counterfactual flipping-on five open-weight chat models, asking whether INLP can match DiM at steering refusal and whether its richer parameterisation yields more tweakable interventions. INLP counterfactual flipping is competitive with DiM directional ablation on refusal suppression, while nullspace projection is weaker on most models. Applying each method at the layer selected by the other shows that flipping's competitiveness is robust to this change while directional ablation's is not, suggesting that DiM's apparent edge is partly a property of its own selection procedure. Restricting INLP to the leading directions of the extracted subspace preserves most of the suppression effect at near-baseline perplexity, giving a tunable capability. Geometrically, the two INLP interventions land in qualitatively different regions of activation space: nullspace projection collapses transformed activations between the harmful and harmless clusters, while counterfactual flipping moves them into the opposite cluster, suggesting that the model encodes the absence of a concept differently from its opposit--an intriguing distinction that warrants further investigation in future work.
BibTeX
@misc{rocchetti2026refusal,
  author = {Elisabetta Rocchetti and Alfio Ferrara},
  title = {{Refusal Beyond a Single Direction: A Preliminary Comparison of Diff-in-Means and INLP}},
  year = {2026},
  eprint = {2606.13720},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.13720},
}

Loading related content...

Figure