arXiv:2611.01496cs.LGNov 2026

Manuscript Offprint

arXiv:2611.01496

Sweep Less, Steer More: Using Activation Steering Geometry for Reduced Hyperparameter Search

Nishkal Hundia, Swastik Agrawal, Navita Goyal, Sarah Wiegreffe

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

Abstract

Representation steering methods like difference-in-means (DIM) offer a lightweight approach to controlling LLM behavior, but their effectiveness varies widely across concepts, datasets, and layers, making principled deployment costly without exhaustive hyperparameter sweeps. We build on the discriminability index d′d', a compute-cheap geometric measure of how well contrastive training activations separate along the steering direction. Across five behaviors on 3 models, we demonstrate uses beyond its established role as a dataset-level steerability predictor. First, in the multiple-choice question answering (MCQA) setting, we show that d′d' reliably identifies performant layers at which to steer, eliminating the need for a layer-wise sweep. Second, we extend this analysis to open-ended multi-token generation, and find that d′d' remains successful for layer selection across different settings. Lastly, we test whether the position of a generated token's representation on the DIM line predicts steering success on that individual example. In the MCQA setting, this works for high-d′d' datasets but is inconsistent across behaviors, models, and training-token choices in open-ended generation. This highlights that methods developed and conclusions drawn in single-token MCQA settings do not necessarily transfer to open-ended generation.

sweep-less-steer-more

1 Introduction

Understanding and controlling elicited behavior in Large Language Models (LLMs) has become crucial in an era where faithful model alignment is imperative. One such family of methods uses lightweight steering vectors to control model behavior by directly modulating latent representations during the forward pass at inference. Difference-in-means (DIM; Rimsky et al., 2024) is a representative method that has shown success in modulating

Figure

Figure 1: Difference-in-means (DIM) steering leverages a set of contrastive training data pairs (red and green points, representing LLM hidden states at some layer ℓ\ell) to define a linear direction between their centroids (μ−\mu^- and μ+\mu^+) that becomes steering vector vv. At test-time, this steering vector is added to a test point to move it in the direction of the positive centroid, scaled by some α\alpha (blue line; here α=1\alpha = 1). The best layer ℓ∗\ell^* is selected via an expensive grid search over layers to optimize validation steering success. Each datapoint aa can be projected onto the line defined by vv; κa\kappa_a (Braun, 2026) is its scalar distance from centroid μ\mu. d′d' (Braun et al., 2025) is a summary statistic of the training data's κa\kappa_a (bottom line; here, indicating generally high separability between classes). We propose (1) using high d′d' as a cheap signal to choose which layer to steer at, avoiding the full layer sweep, (2) studying generalization from single-token MCQA to multi-token open-ended generation, and (3) exploring individual steered test points' κa\kappa_a as a predictor of steering success.

truthfulness (Li et al., 2023), refusal (Arditi et al., 2024), character trait control (Chen et al., 2025), and SAE-derived features (Wu et al., 2025).

However, steering vectors' effectiveness varies greatly with the concept, dataset, and evaluation setting (Wu et al., 2025; Braun et al., 2025; Tan et al., 2024; Goyal and Daumé III, 2026), requir-ing expensive hyperparameter search. In particular, practitioners must sweep over layers and intervention strengths, and evaluate steering success for every combination, which can also require costly annotation of the steered outputs. Because the best layer often differs across behaviors and models, this sweep must be repeated for each new setting. This instability is not unique to DIM: other steering methods show comparable variability across behaviors and likewise require sweeping over layers and intervention strengths (Wu et al., 2025).¹ This motivates a clear need for methods that reduce this search without extensive downstream evaluation.

We ask whether layer choice can instead be made a priori from cheap geometric proxies, rather than full sweeps? Braun et al. (2025); Braun (2026) partially address this by introducing the discriminability index d′d', a geometric measure of the separation of training examples in activation space, and show it correlates strongly with dataset-level steering performance in Multiple Choice Question Answering (MCQA). However, they use d′d' only to predict dataset-level steerability, and don’t investigate whether the same measure can inform more granular decisions, such as selecting the optimal layer for steering. Moreover, much of the evidence for steering success comes from constrained settings like MCQA; steering in long-form generation is a substantially harder problem (Braun et al., 2026). It’s unclear whether d′d'-based diagnostics transfer once this constrained structure is removed.

To address these concerns, we extend the use of d′d' for layer selection for both MCQA and open-ended generation. Since d′d' is computed from the training activations already used to build the steering vector, ranking layers by d′d' adds no extra compute. We steer only at the top-kk ranked layers and measure how much of the best achievable steering gain is recovered. This reduces the number of steered runs from m×Nm \times N to m×km \times k, where NN is the number of possible layers considered for steering (22 in our setup²) and mm is the number of steering factors (5 in our experiments). Our main contributions and findings are as follows:

  • Layer selection: In MCQA, steering at the top-3 d′d' layers recovers a median of 97% of the best achievable gain over the unsteered baseline (83%

for top-1), while reducing the number of steered runs by over 86% (95% for top-1) relative to a full sweep of 22 layers.

  • Open-ended generalization: We construct steering vectors from open-ended generations, comparing three training-token choices used in prior work: averaging over response tokens (Wu et al., 2025; Chen et al., 2025), the last response token (Azizi et al., 2026; Fayyaz et al., 2026), and a single pre-generation token (Stolfo et al., 2025). Layer selection largely transfers: top-3 d′d' layers recover a median of 90-100% depending on the training-token choice, with the same speedup advantage as before.

  • Per-instance success prediction: Beyond layer selection, we also test whether activation geometry can predict steering success on individual test inputs, which would allow selective intervention and cheaper annotations. In MCQA, the projection of the test output onto the DIM line predicts steering success on an example for datasets with high d′d', but this breaks down for low-d′d' datasets. In open-ended generation, per-instance prediction does not transfer: it is inconsistent across behaviors, models, and training regimes.

Together, we show that activation geometry provides a cheap proxy for reducing the layer search in both MCQA and open-ended generation. Its use for per-instance predictions, however, holds only partially in MCQA and fails in open-ended generation. This highlights the importance of validating steering analyses beyond the constrained, single-token settings common in steering literature.

References (55)