Enhancing LLM Steering through Sparse Autoencoder-Based Vector Refinement

Anyi Wang, Xuansheng Wu, Dong Shu, Yunpu Ma, Ninghao Liu · DOI

Abstract

Large Language Models (LLMs) can be steered toward specific behaviors using activation vectors, but this process often suffers from noise when training data is scarce. We present SAE-RSV (Refinement of Steering Vector via Sparse Autoencoder), a novel method that leverages Sparse Autoencoders to surgically denoise and augment steering vectors. By decomposing vectors into interpretable features, SAE-RSV identifies task-irrelevant noise and injects missing relevant concepts. Our results demonstrate that SAE-RSV significantly outperforms existing methods like Contrastive Activation Addition (CAA) and Supervised Fine-Tuning, achieving superior performance with as few as 10 training samples.

Introduction

"Steering" offers a computationally efficient alternative to fine-tuning for controlling LLM behaviors such as honesty, corrigibility, or sycophancy. This is typically achieved by calculating a "steering vector"—the difference in internal activations between positive and negative examples—and adding it to the model during inference. However, in low-resource settings, these vectors often capture spurious correlations (noise) rather than the intended semantic concept, leading to unreliable model behavior.

Methodology: The SAE-RSV Pipeline

The proposed SAE-RSV framework treats steering vector refinement as a signal processing task. The pipeline consists of four primary stages:

  1. Decomposition: The initial noisy steering vector is projected into a high-dimensional, interpretable feature space using a pre-trained Sparse Autoencoder (SAE).
  2. Semantic Denoising: An LLM judge evaluates the semantic descriptions of the activated features. Features deemed irrelevant to the target behavior (e.g., punctuation markers in an "honesty" task) are classified as noise and removed.
  3. Semantic Augmentation: To compensate for small-sample bias, the system identifies SAE features that are semantically similar to known "good" features but were absent in the original sample. These are added to the vector.
  4. Refinement: The final refined vector is constructed as: $V_{refined} = V_{original} - V_{noise} + V_{useful}$.
The SAE-RSV pipeline for steering vector refinement.

Experimental Results

The method was evaluated using the Llama-3-8B-Instruct model across five behavioral benchmarks: Sycophancy, Corrigibility, Hallucination, Myopic Reward, and Survival Instinct.

Performance and Data Efficiency

SAE-RSV consistently outperformed all baselines, including Supervised Fine-Tuning (LoRA-SFT) and Contrastive Activation Addition (CAA). Notably, the method exhibits remarkable data efficiency. As shown in the figure below, SAE-RSV trained on only 10 samples achieves a higher success rate than CAA trained on 1,000 samples.

Comparison of success rates across different training data sizes.

Key performance highlights include:

  • Sycophancy: Achieved a 34% success rate (SR), compared to 20% for CAA.
  • Corrigibility: Reached a near-perfect 98% SR, significantly higher than the 86% baseline.
  • Fluency: Unlike fine-tuning, which can lead to repetitive outputs, SAE-RSV maintains high generation quality and entropy.

Key Insights

  • The Prevalence of Noise: Analysis revealed that in small-sample regimes, over 93% of the features captured by standard steering methods are task-irrelevant noise.
  • Optimal Feature Count: Steering performance follows an inverted U-shape. Peak effectiveness is typically reached with 15–20 high-quality features; adding more tends to re-introduce noise.
  • Balanced Refinement: Denoising improves the "purity" of the steering effect, while augmentation ensures the model remains fluent and diverse in its responses.

Conclusion and Future Work

SAE-RSV demonstrates that surgical, feature-level intervention is a powerful tool for LLM control. While highly effective, the method currently depends on the availability of high-quality SAEs and the accuracy of an LLM-based judge for feature selection. Future research will explore multi-layer feature integration and methods to reduce the computational overhead of the denoising process.

Summary updated

BibTeX
@misc{wang2025enhancing,
  author = {Anyi Wang and Xuansheng Wu and Dong Shu and Yunpu Ma and Ninghao Liu},
  title = {{Enhancing LLM Steering through Sparse Autoencoder-Based Vector Refinement}},
  year = {2025},
  eprint = {2509.23799},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.23799},
}
Figure