Skip to content

Improving Steering Vectors by Targeting SAE FeaturesImproving Steering Vectors by Targeting Sparse Autoencoder Features

arXiv· arXiv:2411.02193· Sviatoslav Chalnev, Matthew Siu, Arthur Conmy·Indexed by this site · 2026-10-14· Originally publishedAlignment

Quick read

Interpretability

Based on the paper PDF (AI-generated); refer to the original

On the nine Gemma-2-2B tasks, the SAE-TS behavioral × coherence peak mean is 0.3600, and CAA is 0.2165.

Questions
After adding a steering vector to hidden states, how the output changes is often unclear; it may miss the target or leave only degenerate output. The authors use SAE to measure this effect and construct vectors with fewer off-target changes.
Methods
Add a vector to the layer 12 residual stream, use an SAE to compare feature activations in rollouts before and after intervention, then fit a linear approximator. SAE-TS takes the unit direction of the target feature column, subtracts the bias direction, and normalizes; when collecting effects, cross-entropy is tuned to be 0.5 higher than baseline.
Experiments and results
Gemma-2-2B peak mean SAE-TS 0.3600, CAA 0.2165, SAE 0.1290. The authors say 7 of the nine tasks are better, CAA is better on Christian, and Conspiracy is a tie. On 9B, SAE-TS mean is 0.3376, and CAA is better on 4 tasks.
Limitations and future work
The authors state this was done only on Gemma-2 2B/9B base models and open-ended generation, and can only target features already present in the measured SAE; they plan to extend to chat models, safety objectives, other SAEs and model families, and optimize with BiPO. Scoring uses gpt-4o-mini, and the paper does not report agreement with humans.
Experimental setupGemma-2-2B、Gemma-2-9B · Anger、Christian et al. · Behavioral score、Coherence score et al.
Evaluated models
Gemma-2-2BGemma-2-9B
Benchmarks
AngerChristianConspiracyFrenchLondonLovePraiseWant to dieWedding
Metrics
Behavioral scoreCoherence scoreBehavioral*Coherence
AI summaryThe authors propose measuring the causal effect of Steering Vectors using SAE and develop SAE-Targeted Steering (SAE-TS), which targets specific SAE features while reducing unintended side effects. The paper notes that steering vectors from CAA or directly using SAE latents have unpredictable effects: steering vectors are easier to implement than fine-tuning and may be more robust than prompting. The authors state that across a range of tasks, SAE-TS achieves a better balance between steering effectiveness and output coherence compared to CAA and SAE feature steering.

The authors propose measuring the causal effect of Steering Vectors using SAE and develop SAE-Targeted Steering (SAE-TS), which targets specific SAE features while reducing unintended side effects. The paper notes that steering vectors from CAA or directly using SAE latents have unpredictable effects: steering vectors are easier to implement than fine-tuning and may be more robust than prompting. The authors state that across a range of tasks, SAE-TS achieves a better balance between steering effectiveness and output coherence compared to CAA and SAE feature steering.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Use SAE to measure the side effects of steering, and construct SAE-TS aligned to a specified feature.

    Existing steering vectors are hard to predict in where they will take the model; the paper measures this effect and reduces non-target changes.

    • Scenario: The authors state a need for better control of LLMs. Prompting is fragile and can be affected by methods that subvert instructions; finetuning is more stable, but curating datasets is expensive and time-consuming. Steering adds activations to hidden states mid-forward pass; the authors believe it may be more stable than prompting and cheaper and easier to implement than finetuning.
    • Shortcomings: With CAA or directly using SAE latents, it is often unclear whether the vector will produce the intended change or bring out unforeseen behavior. The authors write that some interventions have no interpretable change other than model degradation (Section 5).
    • Observation: Using an SAE to compare feature activation differences between steered and unsteered rollouts can quantify the causal effect of any steering. The authors emphasize this is not studying how early-layer SAEs affect later-layer SAEs.
    • Method: Learn a linear relationship from vectors to effects on this measurement, propose SAE-Targeted Steering (SAE-TS), align to a specified feature and suppress side effects, then compare with CAA and direct SAE feature steering.
  2. What related research exists?

    Related work is mainly activation steering and SAE direction manipulation; the authors use an SAE to measure effects and then derive vectors.

    Activation steering

    • Contrasting activation differences: Turner et al. 2024 extract steering vectors from activation differences of paired positive and negative prompts. Panickssery et al. 2024 extend this to Llama-2; Zou et al. 2023 use it on a broader range of tasks.
    • Learning with data: Cao et al. 2024's BiPO learns vectors toward desired outputs, also requiring positive and negative samples. Lee et al. 2024 propose conditional steering; Scherlis et al. 2024 study causal limitations of existing methods.

    SAEs and mechanistic interpretability

    • Decomposing the residual stream: SAEs from Ng 2011, Bricken et al. 2023, Cunningham et al. 2023 decompose the residual stream into sparse, often human-understandable features. Olah et al. 2020 and Olah frame the goal as extracting understandable components.
    • Linear directions: The paper uses Arora et al. 2018 and Elhage et al. 2022 to support the hypothesis that latent spaces contain linear, interpretable directions, and cites Templeton et al. 2024 and Zhao et al. 2024 as work using SAE directions for steering.
    • Another usage: Marks et al. 2024 and Anders and Bloom 2024 study how early-layer SAEs affect later-layer SAEs. Durmus et al. 2024 evaluate feature steering to mitigate social biases.

    Prompting and finetuning

    • Authors' contrast: Wallace et al. 2024's prompting can be affected by methods that subvert instructions, citing Wei et al. 2023. Ouyang et al. 2022 and Chung et al. 2022's finetuning is more stable, but the authors use Dubey et al. 2024 to show datasets can be expensive and time-consuming.

    Baselines and evaluation tasks

    • Experimental baselines: CAA is the mean of positive-negative prompt activation differences over token positions and prompts; the authors state it is similar to but not identical to Panickssery et al. 2024. The other baseline is the decoder vector of the task-related SAE feature. The evaluation is not a named benchmark but 9 open-ended generation topics.

    The authors state SAE-TS uses an SAE to measure the effect of steering vectors, then constructs vectors that align to a specified feature and suppress side effects; this differs from adding SAE latents directly to the forward pass, and from studying how early-layer SAEs affect later-layer SAEs.

  3. How does the paper address this problem?

    Train a linear approximator to predict the SAE effect of steering, then align to the target column and subtract the bias direction.

    First measure the differential effect of steering on SAE features, then fit a linear approximator and use it to construct SAE-TS. Both measurement and construction are done on the Gemma-2 layer 12 residual stream.

    Effect Measurement

    • Insertion method: The i-th block is written as hi = bi(hi−1). At layer l, the hidden state is changed to hl + αv, where α determines the norm of the added vector. The main measurement uses Gemma-2-2B and the Gemma Scope layer 12 residual stream JumpReLU SAE with hidden dimension 16,384. Reconstruction is encoder activations times Wdec plus bdec; direct SAE steering uses one row of the decoder.
    • Three steps: Generate rollouts with the model with v inserted and the original model; feed the texts back to layer l and use the encoder f to obtain features at each position; average over outputs and positions, then subtract. The example starting prompt in Figure 1 is "<BOS>Last night"; the paper does not specify the prompt distribution across all rollouts.
    • Effect definition: y = Esteered[f(x)] − Eunsteered[f(x)], the difference in average feature activations over the two types of texts. For each SAE feature, 896 rollouts of length 32 are generated.
    • Why examine side effects: The authors give the example of feature 12904 activating on "months after the day", but steering with its decoder targets year numbers, and the largest effect is not on itself. Appendix H also has an example of a feature activating on "say" but raising the "hello" feature.

    Linear Approximator

    • Data: 50,000 vectors are taken from a larger SAE at the same layer, namely the Gemma-2-2b layer 12 65k SAE with L0 of 72. The effect of each vector is still computed as in the previous section.
    • Fitting: ŷ = xM + b. x is dmodel-dimensional, M is dmodel×dsae, b is dsae-dimensional. Adam minimizes the MSE between ŷ and y.
    • Collection scale: α is selected individually for each vector so that cross-entropy is 0.5 higher than the unsteered baseline. The authors use this to compensate for different sensitivities across directions.

    Constructing SAE-TS

    • Objective: Increase the activation of feature j while keeping other features as unchanged as possible.
    • Formula: s = Mj / ||Mj|| − λ Mb / ||Mb||, then s is normalized to unit norm. λ=1 in all experiments. Mj is the column for feature j; the main text calls the second term the bias term −Mb, and the Figure 5 legend writes −Wb.
    • No pseudoinverse: The authors do not solve the pseudoinverse of M. Appendix A's explanation: ignoring bias, normalized Mj is the direction that maximizes the predicted effect on feature j under unit norm; during training, α is first selected to raise loss by 0.5, then normalized to norm 1, so directions affecting many features have smaller effects in the data, and Mj already contains this information.
    • Rotation extension: Appendix D creates a separate rotation for features too sparse in the measurement set or not in the measured SAE: the correlation matrix C = M Wdec undergoes SVD, R = UV^T transforms the decoder directions, then normalizes and subtracts normalized Mb.

    Addition and Scoring During Evaluation

    • Insertion location: Section 5 adds αv to the residual stream at every token position and scans α. The reported scores do not use the single scale of "cross-entropy 0.5 higher".
    • Scores: gpt-4o-mini scores behavioral and coherence on 1–10, averaged and normalized to 0–1, then multiplied to get Behavioral*Coherence. The behavioral score checks whether the task criterion is met; the coherence score checks semantics and grammar. The paper does not give the normalization formula. Appendix B gives the scoring prompt using Wedding as an example.
  4. What experiments did the paper conduct?

    On Gemma-2-2B, SAE-TS nine-task peak mean is 0.3600, CAA is 0.2165, and SAE is 0.1290.

    Experimental Setup

    • Models: The tested models are Gemma-2-2B and Gemma-2-9B in Appendix C. The scoring model is gpt-4o-mini. The SAE measured for 2B is the layer 12 residual stream with hidden dimension 16,384; for 9B it is the same layer with width 16k and L0 of 130.
    • Tasks: Anger, Christian, Conspiracy, French, London, Love, Praise, Want to die, Wedding. Open-ended continuation from "<BOS>I think", 32 tokens per rollout. The paper says 256 rollouts were sampled, without specifying whether this is per scale or across all scales combined. The vector is added at every token position.
    • Baselines: CAA, and SAE decoder vectors. In the acknowledgments, the authors write that this version fixed a CAA implementation error and regenerated the results. The paper does not state the number of positive and negative prompts for CAA.
    • Metrics: The behavioral score looks at whether the specified topic is discussed; the coherence score looks at whether the semantics are correct and the grammar is valid. gpt-4o-mini scores 1–10, averaged and normalized to 0–1, then multiplied. The normalization formula, sampling temperature, and number of repetitions are not specified.
    • Two scales: The α for the approximator training set is selected to increase cross-entropy by 0.5. The main scores in the table are the Behavioral*Coherence peaks after scanning α.

    Main Results

    Scale peaks of Behavioral*Coherence on Gemma-2-2B. In the extracted text, the method column of Table 2 is written as ActSteer, with values identical to the CAA column of Appendix Table 6; the main text calls this baseline CAA.

    Swipe horizontally to read the table

    TaskCAASAESAE-TS
    Christian0.34860.09020.3302
    Conspiracy0.37480.23190.3729
    London0.04760.00610.5380
    Praise0.13320.26540.2842
    Want to die0.12840.06490.1870
    Wedding0.17680.26260.5432
    Nine-task average0.21650.12900.3600
    • The authors state that SAE-TS outperforms both baselines on 7 tasks. The exceptions are Christian, where CAA is highest; on Conspiracy, the authors state CAA and SAE-TS tie.
    • The table omits Anger, French, Love. For these three rows, the SAE-TS peaks are 0.2424, 0.3186, 0.4234, all higher than the CAA and SAE values in the same rows. Want to die is the row with the lowest SAE-TS among the nine tasks.
    • The authors state that on London, CAA and SAE still do not produce mentions of London at high scales. SAE-TS diversity decreases for α>160, with outputs concentrating on fashion shows and art exhibitions.

    Gemma-2-9B

    • Authors' summary: Appendix C repeats the nine tasks using a layer 12 SAE with width 16k and L0 of 130. The authors state that SAE-TS averages higher than CAA and SAE, but CAA is better on 4 tasks and ties on 1 task.
    • Table 5: Peak means are SAE-TS 0.3376, CAA 0.2531, SAE 0.2184. On Want to die, SAE-TS is 0.1265, lower than SAE's 0.1646 and CAA's 0.1521. Anger is CAA 0.2336, SAE-TS 0.2310.
    • London: This SAE has no feature that activates only on London; the authors mix 6915, 9983, 11748 without specifying weights. The SAE-TS peak for this task is 0.3135.

    Pseudoinverse and Rotation

    • Pseudoinverse: Appendix A uses the pseudoinverse of M to derive vectors. The authors state SAE-TS is better; in Table 3, SAE-TS is higher on all nine tasks, with Christian at 0.3302 vs 0.0025 and Wedding at 0.5432 vs 0.0567. The pseudoinverse average in Table 6 is 0.1197.
    • Rotation: Appendix D rotates the decoder directions of the same-layer SAE toward the steering direction, for features not concentrated in the measurement set. Table 6 average is 0.3115. The authors state it is generally worse than SAE-TS; on Conspiracy, rotation is 0.4074, higher than SAE-TS's 0.3729.
    • Interpretation: The authors attribute the pseudoinverse's poorer performance to the training set's loss scaling already encoding sensitivity to other features into Mj, rather than framing it as a statistical comparison against the pseudoinverse.

    Coherence Score and Starting Prompts

    • Bias term: In Figure 5, adding only −Mb raises the coherence score to 0.72 at scale 60 before declining; random vectors stay flat then decline. The authors believe the initial rise in SAE-TS coherence in Section 5 comes from this bias term.
    • Scoring concern: The authors note that at scale 100, nearly every rollout contains proper nouns, and believe the coherence increase may be because gpt-4o-mini gives proper nouns higher scores, not necessarily because the text is more coherent.
    • Prompt change: Appendix F switches to "<BOS>Surprisingly,". The authors state it is qualitatively similar to "<BOS>I think"; the main text does not give scores under this prompt.

    Other Ablations and Analyses

    • Table 1: Feature 12904's maximum activation difference is 4.5819 (feature 6810), with the next highest at 1.3763; the authors state the former exceeds the latter by more than 3 times.
    • Figure 2: At α=0, London/Wedding coherence is 0.64 and behavioral score is 0; the authors state London's behavioral score can exceed 0.9, Wedding peaks around 0.75, coherence peaks around 0.71, and the initial rise is unique to SAE-TS.
    • Appendix I: For SAE-TS on London, scale 100 is marked optimal and 160 is marked too high.
    • Table 6: Rotation is also higher than SAE-TS on Anger 0.2460 vs 0.2424, French 0.3724 vs 0.3186, Want to die 0.2167 vs 0.1870; Christian's rotation is 0.0870.
    • Table 5: CAA is also higher than SAE-TS on Christian 0.3162 vs 0.2769, Conspiracy 0.4343 vs 0.3315, Love 0.3373 vs 0.2710.
    • Table 5: Praise's SAE-TS is 0.5188, Wedding is 0.5494; French's SAE 0.3272 is higher than CAA's 0.3203.
  5. What are some points that can be further explored?

    The authors state that they only validated open-ended generation on the Gemma-2 base model, and can only align to features already present in the SAE.

    Limitations and Future Directions Noted by the Authors

    • Model family: Experiments are all on Gemma-2 2B and 9B, both distilled architectures. The authors state results may not transfer to other models (Section 7.1).
    • Model type: Both are base models without instruction tuning. The authors state that because of this, only open-ended generation was done, and no tasks or features related to safety or capabilities were studied (Section 7.1).
    • Feature scope: Only concepts already in the SAE can be steered. The authors note that some concepts do not become separate features (feature splitting), and rare features may only appear in very large SAEs; SAE-TS can only target features in the SAE used for effect measurement (Section 7.1). The authors present the rotation in Appendix D as one possible treatment.
    • Dialogue and safety: The authors list applying the method to chat models and safety-related steering objectives as future work (Section 7.2).
    • Other architectures: The authors plan to try other SAEs such as TopK SAE, and model architectures beyond the Gemma family (Section 7.2).
    • Optimization method: The authors propose that BiPO could be modified to optimize steering vectors toward desired feature effects (Section 7.2).

    Experimental Coverage

    • Main scores come from Gemma-2-2B and Gemma-2-9B, layer 12 residual stream, 9 open-ended generation topics; for 2B, 256 rollouts of 32 tokens each are specified, with starting prompt "<BOS>I think", and the Behavioral*Coherence peak is taken after scanning scales (Section 5, Appendix C, Table 2, Table 5).
    • The scorer is gpt-4o-mini on a 1–10 scale, then normalized to 0–1. The paper does not report agreement with humans, the normalization formula, sampling temperature, or whether the 256 rollouts correspond to each scale or all scales combined.
    • Effect measurement for 2B covers every feature of the hidden dimension 16,384, with 896 rollouts of length 32 per feature; the linear approximator uses 50,000 decoder vectors from the 65k SAE (L0=72), with λ=1 (Sections 3, 4).
    • The appendix compares pseudoinverse, rotation steering, adding only the bias term, and the starting prompt "<BOS>Surprisingly,"; Appendix E compares effect similarity and decoder cosine on Gemma 1 (2B).
    • London on 9B has no single feature; the authors mix 6915, 9983, 11748. Section 7.1 states the experiments are open-ended generation on base models, not instruction-tuned, dialogue, or safety-related objectives.
  6. Summarize the main content of the paper

    SAE-TS has a nine-task peak mean of 0.3600 on Gemma-2-2B; the authors state it is better than CAA and SAE steering.

    SAE-TS constructs steering vectors from feature effects measured with SAE, aligning open-ended generation to a specified topic while maintaining coherence.

    • Problem: When steering with contrastive activation differences or SAE decoders, output changes are hard to predict, may miss the target, or leave only degenerate output.
    • Approach: Compare SAE activations of rollouts before and after intervention at layer 12 of Gemma-2, fitting a linear mapping with 50,000 vectors. The target vector is the unit direction of that feature column minus the bias direction, then normalized. When collecting effects, cross-entropy is raised by 0.5; for formal comparison, scales are swept and the peak is taken.
    • 2B: Nine-task Behavioral*Coherence peak mean, SAE-TS 0.3600, CAA 0.2165, SAE 0.1290 (Table 2). The authors state SAE-TS is better on 7 tasks; on Christian, CAA 0.3486 is higher than SAE-TS's 0.3302; on Conspiracy, 0.3748 versus 0.3729, which the authors call a tie. On London, the two baselines are 0.0476 and 0.0061, and SAE-TS is 0.5380.
    • 9B: Table 5 peak means are SAE-TS 0.3376, CAA 0.2531, SAE 0.2184. The authors state the average is still higher, but CAA is better on 4 tasks and ties on 1. On Want to die, SAE-TS is 0.1265, lower than the other two methods.
    • Author conclusion: The authors believe SAE-TS is better than the two baselines on the trade-off between target behavior and coherence. They also state that it currently covers only Gemma-2 base models and features already present in SAEs, and plan to extend to chat models and safety-related goals.
Read originalarxiv.org