Improving Steering Vectors by Targeting Sparse Autoencoder Features
Sviatoslav Chalnev, Matthew Siu, Arthur Conmy
TL;DR
Addresses unpredictability in steering LLMs by grounding interventions in Sparse Autoencoder (SAE) features. Introduces SAE-Targeted Steering (SAE-TS), which learns a linear map from steering vectors to SAE effects to create targeted, low-off-target steering vectors. Trains a 50k-vector effect approximator to predict SAE feature changes and optimizes per-vector scaling to stay in a workable regime. Empirically, SAE-TS outperforms Contrastive Activation Addition (CAA) and direct SAE feature steering on most tasks across Gemma models, aided by an interactive EffectVis tool; limitations and future directions include safety-relevant steering and broader SAE architectures.
Abstract
To control the behavior of language models, steering methods attempt to ensure that outputs of the model satisfy specific pre-defined properties. Adding steering vectors to the model is a promising method of model control that is easier than finetuning, and may be more robust than prompting. However, it can be difficult to anticipate the effects of steering vectors produced by methods such as CAA [Panickssery et al., 2024] or the direct use of SAE latents [Templeton et al., 2024]. In our work, we address this issue by using SAEs to measure the effects of steering vectors, giving us a method that can be used to understand the causal effect of any steering vector intervention. We use this method for measuring causal effects to develop an improved steering method, SAE-Targeted Steering (SAE-TS), which finds steering vectors to target specific SAE features while minimizing unintended side effects. We show that overall, SAE-TS balances steering effects with coherence better than CAA and SAE feature steering, when evaluated on a range of tasks.
