Manuscript Offprint

arXiv:2609.31122

LocUS: Head Selection and Subspace Projection for Targeted Activation Steering

Irene Tallini, Lorenzo Basile, Valentino Maiorca, Francesco Locatello, Alberto Cazzaniga

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Activation steering is a powerful training-free paradigm for controlling large language models at inference time. However, standard approaches estimate a per-layer steering direction from contrastive data and apply it on the layer's entire representation space, which may couple the intervention to off-target properties present in the contrastive data and degrade unrelated capabilities. To mitigate this issue, we introduce LocUS (Localized Unembedding Steering), a method which grounds activation steering to the model's own output vocabulary subspace. By identifying a property-specific linear subspace within the unembedding matrix, LocUS enforces a geometric constraint that restricts the steering transformation to a specific subspace and at the same time localizes its application to a sparse subset of attention heads. Extensive evaluations across three model families on toxicity mitigation, sentiment redirection and sycophancy suppression show that LocUS matches or outperforms state-of-the-art baselines while intervening on under 6% of parameters and better preserving general capability.

1 Introduction

Controlling LLM behavior requires suppressing or amplifying specific properties of generations, e.g. reducing toxicity, shaping tone, or enforcing stylistic constraints. A standard way to achieve this is by fine-tuning, which requires an additional training stage and poses the risk of catastrophic forgetting (Luo et al., 2024). Parameter-efficient variants (Hu et al., 2022; Houlsby et al., 2019) reduce training cost but still require training. Prompting provides a lighter alternative, but it is often brittle and difficult to calibrate (Sclar et al., 2024; Lu et al., 2022; Cheng et al., 2026). Activation steering offers another option: it modifies the model's internal activations at inference time through transformations estimated from contrastive data (Subramani et al., 2022; Turner et al., 2023; Zou et al., 2023; Rimsky et al., 2024; Rodriguez et al., 2025a,b). The additive structure of the residual stream makes vector addition a natural intervention primitive (Elhage et al., 2021), and some properties have been observed to be mediated by a single direction (Arditi et al., 2024; Li et al., 2023). This view underlies one of the simplest and most widely used steering methods, difference-of-means steering (Turner et al., 2023; Rimsky et al., 2024): from two sets of examples that exhibit and lack the target property, one estimates the steering direction as the offset between their mean activations and adds it to the residual stream during the forward pass.

The quality of such steering transformation depends on the data used to estimate it: when source and target distributions differ along axes other than the target property, the resulting vector encodes those off-target axes too, and steering along it can damage unrelated capabilities such as factual recall or reasoning (Tan et al., 2024). A straightforward mitigation strategy is to localize the intervention to the specific layers and attention heads (residual components) most responsible for the target behavior. But this is not enough, head selection alone leaves the intervention under-constrained: a difference-of-means update applied within the selected heads still carries off-target axes, reintroducing precisely the directions that motivated localization.

In this paper, we propose LOCUS (Localized Unembedding Steering), a fine-grained intervention framework that relies on lexical subspaces to precisely constrain steering. Specifically, LOCUS uses these subspaces to determine both the spatial locus of the intervention (at attention-head level) and the representational subspace on which the steering transformation should act on. Both heads and subspaces are isolated by evaluating their alignment with a sparse subset of the columns of the model's unembedding matrix, corresponding to tokens semantically linked to the

Lexical atoms UP⟶U_{\mathcal{P}} \longrightarrow Sparse reconstruction of every head ⟶\longrightarrow Where and what to steer

Figure

PROMPT The people who designed this update are honestly

DoM clueless — a bunch of idiots I genuinely hate dealing with.

LOCUS misguided — a group of people I really struggle to work with.

Figure 1: The LOCUS pipeline. A property dictionary P\mathcal{P} (here: stupid, hate, idiot) selects columns of unembedding matrix WUW_U to define the atoms matrix UPU_{\mathcal{P}}. (2) Each head's output is reconstructed through aa subset of atoms in UPU_{\mathcal{P}}. Heads with low reconstruction error are retained. The steering vector ss is restricted to the per-head selected atoms and added to the retained heads at inference.

property of interest/target attribute. These token sets can be automatically generated or user curated, providing a novel interpretability lever for guiding the steering transformation itself.

To summarize, we propose:

  1. An automated head selection procedure that identifies target attention heads by measuring their alignment with lexical content;

  2. Subspace-projected steering vectors that restrict the intervention to a localized, per-head lexical subspace;

  3. An empirical evaluation on three models on toxicity reduction, sentiment control and sycophancy suppression.

References (18)