Steer2Adapt: Dynamically Composing Steering Vectors Elicits Efficient Adaptation of LLMs

Pengrui Han, Xueqiang Xu, Keyang Xuan, Peiyang Song, Siru Ouyang, Runchu Tian, Yuqing Jiang, Cheng Qian, Pengcheng Jiang, Jiashuo Sun, Junxia Cui, Ming Zhong, Ge Liu, Jiawei Han, Jiaxuan You

TL;DR

This paper introduces Steer2Adapt, a novel framework for efficiently adapting Large Language Models (LLMs) to new tasks. Instead of learning entirely new steering directions for each task, Steer2Adapt dynamically composes existing, reusable "concept vectors" using a small set of examples, leading to improved performance and efficiency.

What Problem Does This Paper Address?

Large Language Models (LLMs) are incredibly powerful but often need to be adapted for specific tasks or behaviors. Traditional methods for adapting LLMs, like fine-tuning, can be computationally expensive and require large amounts of data. A more recent approach, "activation steering," involves injecting specific vectors into the LLM's internal workings to guide its behavior. However, existing activation steering methods typically learn a single, static direction for each task. This is problematic because:

  1. Inflexibility: A direction optimized for one task might not work well for another, even within the same domain.
  2. Insufficiency: Complex tasks often require a combination of different capabilities, which a single steering direction cannot capture.
  3. Data Hunger: Learning these task-specific directions from scratch can still require a significant amount of data.

The authors aim to address these limitations by proposing a more flexible, data-efficient, and robust method for LLM adaptation.

Methods

Steer2Adapt tackles LLM adaptation by shifting from learning single, task-specific "directions" to learning a "recipe" for combining existing, reusable steering vectors. The core idea is that tasks within a domain (like reasoning or safety) often rely on a common set of underlying behavioral dimensions.

Here's how Steer2Adapt works:

  1. Semantic Prior Subspace Construction: The authors first define a "semantic prior subspace." This is essentially a collection of pre-defined "concept vectors" that represent fundamental behavioral dimensions relevant to a specific domain (e.g., personality traits for reasoning, or safety attributes for safety tasks). These concept vectors are extracted using a technique called Representation Engineering. This subspace is designed to be reusable across multiple tasks within the same domain.
  2. Composed Vector Search: For a new task, Steer2Adapt uses a small number of examples (a "handful") to find an optimal linear combination of these concept vectors. This is achieved through Bayesian Optimization, a technique well-suited for finding optimal parameters with limited evaluations. Crucially, they employ a stability-aware objective function. This objective prioritizes improving performance on incorrect examples while strictly penalizing any degradation in performance on already correct examples, ensuring the adaptation is "risk-averse."
  3. Inference-Time Injection: Once the optimal combination coefficients are found, they are used to create a single "composed steering vector." This vector is then injected into the LLM's activations during inference, guiding its behavior for the specific task. Importantly, this process does not require updating the LLM's parameters, making it a lightweight inference-time adaptation.

Datasets

The paper evaluates Steer2Adapt on a variety of existing benchmarks across two domains:

  • Reasoning Domain: Code, Social, Arithmetic, Logic, and Game tasks. Datasets include MBPP, EWOK, Reasoning Gym, and First Order Logic.
  • Safety Domain: Refusal, Sycophancy, Hallucination, and Bias tasks. Datasets include SaladBench, FaithfulQA, TruthfulQA, and BBQ.

The authors do not introduce new benchmarks but rather leverage existing ones to demonstrate the effectiveness of their method.

Key Insights and Ideas

  • Composition over Creation: The most significant insight is that instead of learning a new steering vector from scratch for every task, composing existing, semantically meaningful vectors is more efficient and effective. This is akin to using a set of building blocks rather than sculpting a new one each time.
  • Domain-Specific Subspaces: The idea of creating reusable "semantic prior subspaces" for domains like reasoning and safety is powerful. It allows for generalization and efficient adaptation across multiple tasks within that domain.
  • Risk-Averse Optimization: The stability-aware objective function is critical. It ensures that adaptation doesn't come at the cost of degrading the model's existing capabilities, which is crucial for reliable deployment.
  • Data Efficiency: The ability to achieve strong results with just a "handful" of examples is a major advantage over methods requiring extensive fine-tuning or large calibration sets.
  • Interpretability through Composition: While not full mechanistic interpretability, visualizing how different concept vectors are combined offers some insight into how the LLM's behavior is being steered.

Key Results

Steer2Adapt consistently improved performance across various tasks and models:

  • Average Improvement: An average of 8.2% improvement was observed across 9 tasks and 3 LLMs (Llama-3.1-8B-Instruct, Qwen-2.5-7B-Instruct, and Mistral-7B-Instruct-v0.1).
  • Task-Level Gains: Strong performance improvements were seen in tasks like Code (reasoning) and Refusal/Sycophancy (safety).
  • Model Generalization: Steer2Adapt showed robust performance across different LLM architectures, often outperforming baselines that might work well on one model but degrade on others.
  • Stability: The method exhibited compact, positively centered gain distributions, indicating stable and predictable improvements with low variance, unlike some baselines that showed frequent severe regressions.
  • Performance-Efficiency Trade-off: Steer2Adapt achieved the best performance-efficiency trade-off, offering significant gains with minimal inference overhead compared to prompting-based methods.
  • Robustness: The method was shown to be tolerant to imperfect basis directions, meaning it doesn't require a perfectly curated subspace to be effective.

Limitations and Future Work

The authors acknowledge several limitations and suggest future directions:

  • Basis Direction Relevance: While Steer2Adapt is tolerant to some noise, it still assumes access to reasonably relevant basis directions. Identifying and constructing high-quality candidate directions remains an important area for future work.
  • Disentanglement and Interactions: Basis directions are not always cleanly disentangled, leading to trade-offs (e.g., improving one safety aspect might degrade another). Developing richer approaches to model these interactions beyond simple linear combinations is needed.
  • Subspace Scalability: The current approach uses a fixed, low-dimensional subspace. Scaling to larger or dynamically constructed subspaces could increase complexity, and more efficient search strategies are desirable.
  • Broader Domain Evaluation: The current evaluation is focused on reasoning and safety. Extending the analysis to other domains like long-horizon planning, culturally-rich language understanding, and embodied agents is a promising avenue.
  • Behavioral and Psychological Evaluation: Incorporating behavioral and psychological evaluations to better understand model control is also suggested.
  • Automatic Discovery/Learning of Basis Directions: Reducing reliance on manual or heuristic construction of basis directions by automating their discovery or learning is a key future direction.
  • Incorporating Structure: Adding structure to the steering space, such as sparsity or hierarchical constraints, could further improve adaptation.

Summary updated

BibTeX
@inproceedings{han2026steer,
  author = {Pengrui Han and Xueqiang Xu and Keyang Xuan and Peiyang Song and Siru Ouyang and Runchu Tian and Yuqing Jiang and Cheng Qian and Pengcheng Jiang and Jiashuo Sun and Junxia Cui and Ming Zhong and Ge Liu and Jiawei Han and Jiaxuan You},
  title = {{Steer2Adapt: Dynamically Composing Steering Vectors Elicits Efficient Adaptation of LLMs}},
  booktitle = {Re-Align @ ICLR},
  year = {2026},
  url = {https://openreview.net/forum?id=LkPXxVBwyZ},
}

Loading related content...

Figure