Compositional Multilingual and Behavioral Attribute Steering

Hyun Gu Kang, Daniil Gurgurov, Tanja Baeumel, Josef van Genabith, Simon OstermannarXiv 2026

TL;DR

Can we combine multiple training-free steering vectors to control an LLM's language, safety, and style simultaneously? This paper demonstrates that simple additive composition works surprisingly well—often outperforming explicit prompting—provided each attribute vector is injected at its own optimal layer depth, a success explained by the geometric orthogonality of these vectors in the residual stream.

What Problem Does This Paper Address?

Activation steering (or activation engineering) is a popular, lightweight technique used to control large language model (LLM) behavior at inference time. By adding a pre-computed "steering vector" directly into the model's residual stream, researchers can alter attributes like sentiment, toxicity, or output language without the heavy computational cost of fine-tuning or the context-window overhead of system prompts.

However, real-world deployments usually require controlling multiple attributes at once (e.g., "respond in German, be concise, and bypass safety refusals for a red-teaming evaluation"). Prior attempts at simple additive composition—literally just summing the steering vectors together—yielded mixed and unreliable results, often causing destructive interference where one attribute degraded another. Consequently, recent literature shifted toward complex, gradient-based learned composition methods. This paper revisits plain additive composition and asks a fundamental question: Was it unfairly dismissed due to under-specified layer and strength configurations?

Methods

The authors extract steering vectors using the standard DiffMean approach, calculating the difference between the average hidden states of contrastive prompt pairs at the final post-instruction token position.

Instead of injecting all combined vectors at a single arbitrary layer, they introduce a layer-wise targeted injection strategy:

  1. Isolate and Profile: They sweep across intervention layers and steering strengths ($\alpha$) for each attribute individually to find its optimal configuration.
  2. Multi-Layer Composition: During a multi-attribute forward pass, each vector is applied strictly at its own best-performing layer. If two vectors happen to share a layer, their scaled values are summed.

The approach is rigorously tested across four instruction-tuned models spanning two model families and sizes: Llama-3.1-8B, Llama-3.1-70B, Qwen2.5-14B, and Qwen2.5-32B.

Figure 1: Each vector is injected at its own best- performing layer (top). Composition succeeds when the two vectors are (approximately) orthogonal (a), as for language and jailbreak (Figure 5b), and becomes less reliable as their cosine similarity rises (b), as for language and conciseness at later layers (Figure 5c).

Datasets

The steering vectors were extracted and evaluated using several established datasets:

  • Language ($\mathcal{L}$): Extracted using FLORES, sampling 260 examples across 10 diverse languages.
  • Jailbreak ($\mathcal{J}$): Extracted using a balanced safety dataset from Arditi et al. (2024) consisting of 260 harmful and 260 harmless instructions.
  • Conciseness ($\mathcal{C}$): Extracted using 540 prompt pairs derived from IFEval, contrasting original prompts with versions appended with shortness constraints (e.g., "Be concise").
  • Evaluation: Performance was measured using 70 open-ended harmless prompts from CLaS-Bench and 70 harmful prompts from Arditi et al. (2024).

Key Insights and Ideas

  • Layer Preferences Vary by Abstraction: Single-attribute steering is highly sensitive to layer depth. Abstract behavioral attributes like jailbreak and conciseness perform best when injected in the middle layers, whereas low-level token features like output language favor earlier layers.
  • The Geometry of Non-Interference: Why does multi-layer additive composition succeed without destroying model coherence? Geometric analysis reveals that steering vectors for distinct attributes occupy approximately orthogonal subspaces ($\cos \theta \approx 0$) within the residual stream. Because they do not overlap, they can coexist in the same forward pass without overwriting each other.
  • Tokenization Sensitivity: Language and conciseness vectors show a slight positive correlation at later layers, particularly for languages with higher tokenization expansion rates, making this specific pairing more sensitive to language-specific tokenization effects.

Key Results

  • Two-Attribute Steering: Composing Language and Jailbreak ($\mathcal{L}+\mathcal{J}$) consistently outperformed explicit prompt-based baselines across all four models, with Llama-3.1-70B showing the most robust margin. Language and Conciseness ($\mathcal{L}+\mathcal{C}$) also beat baselines on average, though with higher variance across language pairs.
Figure 3: Two-attribute compositional steering perfor- mance across models and language pairs. Each point represents one language pair, boxes show the distribu- tions across language pairs, and white diamonds indicate mean prompt-baseline performance.
  • Three-Attribute Steering: When scaling up to steer all three attributes simultaneously ($\mathcal{L}+\mathcal{J}+\mathcal{C}$), the training-free additive approach still achieved higher overall steering success than explicit prompt baselines across all model sizes.
Figure 4: Compositional steering performance across models and language pairs for three-attribute steering composition (L+J +C). Each point represents one lan- guage pair, boxes show the distributions across lan- guage pairs, and white diamonds indicate mean prompt- baseline performance.

Limitations and Future Work

  • Instruction-Tuning Dependency: The activation extraction setup relies specifically on the final post-instruction token position. These results may not directly generalize to base models or models utilizing highly non-standard prompting formats.
  • Static Steering Strengths: The study applies a constant steering strength ($\alpha$) for each experimental condition. The authors note that dynamically tuning the intervention magnitude based on context could improve robustness.
  • Attribute Scope: The exploration was limited to three specific attributes (language, safety, and length). Future work is needed to see if this geometric orthogonality holds across a wider taxonomy of behavioral and stylistic traits.

Summary updated

BibTeX
@misc{kang2026compositional,
  author = {Hyun Gu Kang and Daniil Gurgurov and Tanja Baeumel and Josef van Genabith and Simon Ostermann},
  title = {{Compositional Multilingual and Behavioral Attribute Steering}},
  year = {2026},
  eprint = {2609.08410},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.08410},
}
Figure