Disentangling Steering Vectors

Takeru Hiramatsu, Kyohei Atarashi, Koh Takeuchi, Hisashi KashimaarXiv 2026

TL;DR

Activation steering is a powerful, lightweight way to control Large Language Model (LLM) behavior at inference time, but traditional steering vectors often entangle multiple unrelated concepts, leading to unpredictable side effects. This paper introduces Steering Vector Dissection, a framework that uses Sparse Autoencoders (SAEs) trained on paired activation differences to cleanly break down composite steering vectors into distinct, human-interpretable basis vectors. By isolating these sub-components, researchers achieved precise behavioral control, such as successfully uncoupling "rejection" behaviors from "unsafe" directions to enhance targeted interventions.

What Problem Does This Paper Address?

Representation engineering allows researchers to control LLM behavior without the heavy computational cost of fine-tuning. Instead of altering model weights, it directly intervenes in the model's internal states during inference. A common white-box approach is Linear Activation Addition, where a steering vector (typically computed using the difference-in-means, or "DiffMean," between a positive and negative dataset) is added to the model's activations to encourage a specific concept or persona.

However, these traditional steering vectors are notoriously messy and entangled. For example, steering a model with a "happiness" vector can inadvertently cause it to comply with harmful requests, while a "gender bias awareness" vector might accidentally exacerbate age bias. This paper tackles a fundamental question: Can we treat conventional steering vectors as composite objects, isolating and selectively manipulating their underlying behavioral directions?

Methods

The authors propose Steering Vector Dissection, a four-step pipeline designed to extract clean, monosemantic basis vectors from entangled steering directions:

Figure 1: Overview of the proposed Steering Vector Dissection pipeline. (A) Collect model activations using positive and negative datasets. (B) Pair positive and negative activations to compute a set of steering vectors. (C) Train a Sparse Autoencoder (SAE) on the steering vectors, uncovering the basis vectors underlying them. (D) Interpret and filter the resulting basis vectors to isolate interpretable features.
  1. Collect and Match Activations: Token-wise activations are gathered from positive and negative datasets. Instead of just averaging them globally, the authors pair positive activations with their nearest negative neighbors via a batch-wise cosine distance search. Subtracting these paired vectors yields a collection of instance-level steering vectors that isolate contextual differences.
  2. Train a Dedicated SAE: A modified Sparse Autoencoder (SAE) is trained directly on these raw difference vectors. To ensure the latent space strictly captures the low-rank structure of the steering space, the SAE uses a low-dimensional latent space (typically 16 dimensions), bypasses data centering, and employs a bias-free decoder. The resulting decoder columns serve as the "basis vectors."
  3. Interpret the Basis Vectors: The model is steered using each individual basis vector. An LLM judge (GPT-5.4) compares the steered outputs against unsteered baselines to automatically infer the specific concept captured by that vector.
  4. Filter the Vectors: An automated ensemble of LLM judges filters out noise, ensuring the final set consists only of distinct, non-overlapping, and dataset-relevant concepts.

Datasets

The framework was evaluated using two primary dataset configurations:

  • PubMedQA vs. Alpaca: Used to isolate domain-specific biomedical concepts. Alpaca serves as a general instruction-following baseline to cancel out generic assistant behaviors.
  • PKU-SafeRLHF: Used to isolate safety and behavioral concepts. The authors paired highly unsafe prompts (severity level 3) as the positive dataset with safe prompts (severity level 0) as the negative dataset to build an "unsafe" steering direction.
  • Evaluation Benchmarks: Alpaca-Eval was used for general instruction generation and alignment scoring, while the StrongREJECT benchmark was used to evaluate jailbreak and compliance behaviors.

Key Insights and Ideas

  • The "Self-Canceling" Unsafe Vector: One of the paper's most surprising findings is that an "unsafe" DiffMean vector actually contains internal rejection directions (e.g., phrases like "claims the request is illegal or prohibited"). Because the composite vector contains both the harmful concept and the refusal behavior, traditional steering along an unsafe vector often fails to reliably increase compliance with harmful prompts—the vector is effectively fighting itself.
  • SAEs vs. SVD: While Singular Value Decomposition (SVD) can also find low-rank structures, the authors show that SAEs are uniquely advantageous. As you scale up the latent dimensions, SAEs yield progressively more fine-grained, distinct concepts, whereas SVD dimensions do not easily map to clean, isolated semantic features.

Key Results

  • Superior Semantic Purity: Quantitative evaluations using text embeddings showed that the concepts induced by the dissected basis vectors had significantly higher pairwise cosine similarity across different prompts than the baseline DiffMean vectors. This proves they isolate narrower, more stable semantic concepts.
  • Targeted Behavioral Control (Jailbreaking): To prove the extracted vectors are behaviorally meaningful, the authors ablated (removed) the discovered "rejection" directions from the unsafe DiffMean vectors. On the StrongREJECT benchmark, removing these rejection components caused a massive spike in compliance with harmful prompts. For Qwen2.5-7B at layer 13, the jailbreak score jumped from 0.057 (DiffMean) to 0.352 (DiffMean-reject), demonstrating precise control over safety boundaries.

Limitations and Future Work

The authors openly acknowledge several limitations of the current framework:

  • Incomplete Coverage: The extracted basis vectors do not span the entire concept space present in the datasets (e.g., they missed some biomedical sub-concepts in PubMedQA).
  • Data and Cost Overhead: Unlike simple DiffMean calculations, this method requires a relatively large dataset to train the SAE and relies heavily on expensive LLM API calls for the multi-stage judging and filtering pipeline.
  • Non-Unique Decompositions: The resulting basis vectors are sensitive to SAE initialization, random seeds, and hyperparameter choices, meaning there is no single "canonical" decomposition of a steering vector.

Future work includes exploring the reverse application: explicitly adding the isolated rejection vectors to reinforce safety guardrails or exclude unwanted behavioral traits during targeted interventions.

Summary updated

BibTeX
@misc{hiramatsu2026disentangling,
  author = {Takeru Hiramatsu and Kyohei Atarashi and Koh Takeuchi and Hisashi Kashima},
  title = {{Disentangling Steering Vectors}},
  year = {2026},
  eprint = {2609.07037},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.07037},
}
Figure