Manuscript Offprint
arXiv:2608.28806Enhancing SAE-based Steering via Neighbor Integrated Feature Selection
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Sparse autoencoders (SAEs) disentangle model activations into interpretable features and are widely used for steering large language models. Most existing SAE-based steering methods select features by applying a top- filter based on statistical scores, assuming that higher-scoring features yield stronger steering effects. In this paper, we show that this assumption is often invalid, leading to suboptimal feature selection. Our analysis reveals that effective steering features may be distributed among representationally adjacent, semantically similar groups induced by feature splitting in SAEs. Within such groups, features may exhibit disparate statistical scores despite having comparable steering influence, causing score-based selection to overlook important features. Based on these observations, we propose NEIGHBOR INTEGRATED FEATURE SELECTION (NIFS), a plug-and-play strategy that leverages representation similarity to improve feature selection for steering. We evaluate NIFS across multiple SAE-based steering methods and tasks, and demonstrate consistent performance gains over conventional top- selection.
1 Introduction
Sparse Autoencoders (SAEs), as an unsupervised method, decompose hidden representations in large language models (LLMs) into more interpretable dimensions, referred to as SAE features (Shu et al., 2025; Huben et al., 2024; He et al., 2024; Lieberum et al., 2024). Recently, researchers have explored steering models in a more controllable manner by manipulating SAE activations and leveraging features that are influential for downstream tasks (Wu et al., 2025; Zhao et al., 2025; Cho et al., 2025). However, the effectiveness of these approaches critically depends on feature selection, which has not yet been rigorously validated.
Existing steering methods generally follow the “Contrastive Activation Addition (CAA)” paradigm (Rimsky et al., 2024). Given a specific task, model activations are extracted from positive and negative outputs, and a steering vector is computed from the difference between these contrastive activations, which is then added back to the original activations. In SAE-based methods, steering is performed in the SAE feature space. Due to the high dimensionality and sparsity of SAE representations, not all features are relevant to the steering objective, making feature selection a central challenge. Prior work (Zhao et al., 2025; He et al., 2025b; Wang et al., 2025a) has explored various statistical feature selection strategies, such as selecting features with the largest differences in mean activations or activation frequencies across contrastive outputs. These approaches can be summarized as statistical top- selection: assigning each feature a statistical score as a proxy for steering effectiveness and selecting the top-ranked features.
In this work, we investigate existing SAE-based steering methods across multiple generative tasks and show that the widely used statistical top- selection strategy is suboptimal. First, we examine how steering performance changes with the number of selected features . We find that performance does not monotonically improve with increasing ; instead, it often saturates or even degrades. This suggests that additional features can introduce negative steering effects that outweigh the contributions of highly ranked features. Furthermore, by repeatedly sampling feature subsets from top-ranked candidates, we observe that some randomly selected subsets outperform the original top- selection, providing direct evidence that better feature combinations exist.
We further analyze selected features from a representational perspective by measuring the cosine similarity between SAE features and probing directions derived from linear probes. We observe that similarity decreases rapidly with feature rank: top-ranked features exhibit strong representational alignment, while most lower-ranked features show substantially weaker similarity. However, several low-ranked features still exhibit high similarity, suggesting that statistical ranking alone does not fully capture steering-relevant representations.
One important factor arises from the structure of SAEs themselves. Due to sparsity constraints, SAEs often split a higher-level semantic concept into multiple semantically similar yet functionally differentiated sub-concepts, a phenomenon known as feature splitting (Bricken et al., 2023; Chanin et al., 2024). As a result, some split features may receive high statistical scores, while others remain low-ranked despite possessing substantial steering effectiveness.
Motivated by these observations, we propose NIFS, a plug-and-play enhancement for SAE-based steering methods via Neighbor Integrated Feature Selection. Standard statistical top- selection treats SAE features as independent units and can therefore overlook low-ranked but representation-similar features. NIFS first identifies a set of top-ranked core features using existing statistical criteria, and then retrieves neighboring features that are highly similar in representation space. These neighboring features are integrated into the steering vector with similarity-based weights. By aggregating semantically related split features, NIFS recovers fragmented steering signals and achieves more robust and effective steering while maintaining generation quality.
Our findings and contributions are threefold:
-
We demonstrate that existing statistical top- selection strategies in SAE-based steering are suboptimal.
-
We reveal a correlation between the representational similarity of SAE features and their steering effectiveness.
-
We propose NIFS, a plug-and-play enhancement that integrates representation-similar features to improve steering performance across multiple models and tasks.
2.1 Sparse Autoencoders(SAEs).
SAEs are proposed to disentangle and interpret model hidden representations with a set of concepts by decomposing it into a high dimensional space and then reconstruct them. SAEs consists of two components, encoder and decoder. Encoder projects hidden representation into SAE
space:
where SAE activation with , and represent encoder weight matrix and bias. is the activation function. Decoder can then reconstruct model representation:
where is the reconstructed representations, , represent decoder matrix and bias. The SAE encoder and decoder are optimized by reconstruction and sparsity loss:
Each raw of the decoder matrix , denotes as an SAE feature , can be interpreted as a concept.
2.2 SAE-based Steering
Steering is a inference time strategy to control model behaviors by modifying model representations. Typically, given an input sequence and its hidden activation at a chosen layer, steering modifies by adding a steering vector :
where denotes the steering strength. Steering strategy, like CAA (Rimsky et al., 2024), generate by take the difference in activations between contrastive datasets. Given a dataset of positive samples and negative samples , can be computed as:
where denotes the corresponding model activation of inputs.
Recent works transfer this steering strategy from model space to SAE space, generating with specific SAE features. Similar to CAA, SAE-based methods first get SAE activations of contrastive inputs . A set of prominent features are then filtered out by designed statistical metrics , which evaluate the importance to steering results of each feature by its activations between contrastive inputs. The final vector can be computed by features in and their mean activations:

(a) Knowledge Conflicts
(b) Sentiment
(c) Detoxification
Figure 1: Steering success rate on Gemma2-2B across different top- values ranging from 100 to 1500. The performance is reported for three tasks: (a) Knowledge Conflicts, (b) Sentiment, and (c) Detoxification.

Figure 2: Distribution of success rate over 32 runs of random feature selection on Gemma2-2B.
where positive and negative features are classified by their mean activation difference between contrastive samples.
3 Experimental Setup
In this section, we introduce the whole experimental setup in this work, including used models, tasks and datasets and traditional statistical top- selection strategy baselines.
Models. We conduct our experiments on two base LLMs: Gemma-2-2B and Llama-2-7B and their corresponding SAEs. Details can be found in Appendix B.1.
Tasks, Datasets, and Evaluation Metrics. We evaluate our method on three open-ended steering tasks: Knowledge Conflicts, Sentiment, and Detoxification. Detailed descriptions of datasets, evaluation settings, and metrics are provided in Appendix B.2.
Baselines. We select four representative statistical selection strategies: 1) Diffmean, selecting features that differ most in mean activations. 2) SAIF (He et al., 2025b), selecting features that differ most in activated frequency. 3) STA (Wang et al., 2025a), filtering out features that both differ in amplitude and frequency. It filters out as the
intersection of results of mean-diff and freq-diff. 4) SpARE (Zhao et al., 2025), selecting features based on the mutual information between their activations and model behaviors.
4 Understanding Statistical Selection Strategies in SAE-based Steering
4.1 Overview
Feature selection is a critical component of SAE-based steering. The objective of feature selection is to identify features that are most effective in steering the model toward target behaviors. To this end, prior work proposes various statistical metrics to quantify the correlation between model behaviors and feature activations, and selects the top- features with the highest scores. However, a fundamental question remains: do these statistical top- selection strategies indeed identify the most effective features for steering?
To investigate this question, we conduct empirical analyses across multiple steering methods and tasks. The results consistently indicate that selecting features solely based on statistical top- scores is suboptimal for steering. Furthermore, inspired by the feature splitting phenomenon (Bricken et al., 2023; Chanin et al., 2024), we analyze the representational similarity between top- features and probing direction. Our findings show that features with high representational similarity to the probing direction tend to exhibit comparable steering effectiveness, suggesting that incorporating split features can improve existing statistical feature selection strategies.
4.2 Top- selected features are suboptimal
We begin by evaluating the performance of different SAE-based steering methods across a range of values. Specifically, we measure the success rate (SR) of baseline methods on three tasks with

Figure 3: Cosine similarity between SAE features and probing directions across feature ranks for the Sentiment task on Gemma2-2B. Features are ranked by their importance scores under different methods. Blue points correspond to individual features, while the red line indicates an exponential fit trend. Negative and positive probing directions are shown in separate rows.
and a step size of 100. The results of Gemma2-2B are shown in Figure 1. The results of Llama2-7B are shown in Figure 5. In general, as increases, the performance of most methods rises rapidly at first and then enters a relatively stable regime. Across all methods, we find that none exhibits steering performance that consistently improves with increasing . This observation suggests that not all top- selected features, or naive combinations of top- features, possess steering effectiveness proportional to their ranking scores. As increases beyond a certain point, features with little or even negative steering effect begin to outweigh those with positive contributions, leading to performance saturation or degradation. This phenomenon provides indirect evidence that statistical top- feature selection does not always identify the most effective features for steering.
To further validate this observation, we compare top- feature selection with a randomized selection baseline. Specifically, we construct a hybrid feature set by randomly sampling features from those ranked between and , and combining them with the top- features. In this experiment, we fix . We repeat the experiment 32 times and report the performance distribution of Gemma2-2B in Figure 2. The results show that some randomized subsets outperform that of the original top- selection, indicating the existence of feature subsets with higher steering effectiveness than those identified by statistical ranking.
4.3 Steering Effectiveness Correlates with Representation Similarity
To further understand the steering effectiveness of SAE features, we train linear probes using the same activations employed for SAE feature selection and analyze the representational relationship between selected features and the corresponding probing directions. Specifically, we compute the cosine similarity between each feature and its corresponding positive or negative probing direction.
Figure 3 visualizes the results for the Sentiment task on Gemma2-2B, while additional results are provided in the Appendix. Across methods, cosine similarity exhibits an approximately exponential decay with feature rank, with highly similar features concentrated among top-ranked features. Moreover, the features with the highest cosine similarity are consistently selected among the top-ranked features by different methods, indicating a strong correlation between representational similarity and steering effectiveness.
At the same time, several low-ranked features still exhibit high similarity to the probing directions. This phenomenon can be explained by feature splitting, where SAEs decompose a higher-level semantic concept into multiple semantically similar yet distinguishable sub-concepts. Some split features receive high statistical ranks due to stronger activation responses, while others remain low-ranked despite possessing substantial steering effectiveness. These observations suggest that integrating representation-similar split features may improve
Algorithm 1: Neighbor Integration for NIFS
Input: Statistical rank ; feature set size ; pool size ; neighbor size ; steering activation
Output: Enhanced feature set ; enhanced steering activation
Stage 1: Neighbor Integration Generate pool set for each feature do Add to core set Compute top- similar neighbors of if then break
Stage 2: Feature Reweighting for each feature do
existing statistical feature selection strategies.
5 NIFS: Neighbor Integrated Feature Selection
In this section, we introduce Neighbor Integrated Feature Selection (NIFS), a plug-and-play feature selection strategy designed to improve SAE-based steering methods that rely on statistical feature selection. Motivated by our empirical findings that effective steering features often reside in representationally adjacent groups due to feature splitting, NIFS augments conventional score-based selection by systematically incorporating semantically similar neighboring features.
Rather than discarding statistical scores, NIFS treats them as a coarse but informative signal and refines the selection through representation-aware expansion and controlled reweighting. The method consists of two stages: Neighbor Integration and Feature Reweighting. The full pipeline is summarized in Algorithm 1.
5.1 Neighbor Integration
We consider a generic SAE-based steering method that assigns each feature a statistical score and a corresponding rank . A standard top- strategy selects the feature set
As a working assumption, we observe that statistical scores are informative in a relative sense: features with higher scores are, on average, more likely to be effective for steering. However, due to feature splitting, effective features may be distributed across semantically similar but individually low-scoring components. To mitigate this issue, we first expand the candidate space by constructing a pool set
where controls the pool size. This step aims to retain most effective features while still anchoring the selection to score-based ranking.
Next, we decompose the final selection into two parts: a core set and a neighbor set . We traverse features in in descending order of rank. High-ranked features are preferentially added to the core set, reflecting their strong statistical evidence. For each core feature, we then retrieve its top- nearest neighbors within according to representation similarity, measured by cosine similarity between SAE feature vectors. Nearest neighbors are identified using a -nearest neighbor (KNN) search and added to the neighbor set.
This process continues until the total number of selected features satisfies
Through this mechanism, NIFS explicitly recovers low-scoring but representationally adjacent features that are likely to share steering functionality with core features.
5.2 Feature Reweighting
While neighbor integration helps recover semantically relevant features, directly assigning them the same steering strength as core features may introduce noise, as neighbor features often exhibit lower input sensitivity. To balance coverage and robustness, we apply a feature reweighting scheme that modulates the steering intensity of neighbor features based on their similarity to the core set.
Specifically, for each neighbor feature , we rescale its original steering coefficient as
Table 1: Comparison of original and NIFS-enhanced SAE-based baselines across models and tasks. SR denotes the success rate and Flu. denotes the n-gram fluency.
| Model | Method | KC | Sentiment | Detoxification | ||
|---|---|---|---|---|---|---|
| SR | SR | Flu. | SR | Flu. | ||
| Llama2-7B | Vanilla | |||||
| CAA | ||||||
| Probe | ||||||
| Diffmean | ||||||
| +NIFS | ||||||
| SAIF | ||||||
| +NIFS | ||||||
| STA | ||||||
| +NIFS | ||||||
| SpARE | ||||||
| +NIFS | ||||||
| Gemma2-2B | Vanilla | |||||
| CAA | ||||||
| Probe | ||||||
| Diffmean | ||||||
| +NIFS | ||||||
| SAIF | ||||||
| +NIFS | ||||||
| STA | ||||||
| +NIFS | ||||||
| SpARE | ||||||
| +NIFS | ||||||
where denotes cosine similarity between feature representations.
This reweighting strategy ensures that neighbor features with stronger semantic alignment to core features exert greater influence, while suppressing spurious neighbors. As a result, NIFS enhances steering effectiveness by integrating representational structure without sacrificing the stability of score-based selection.
6 Experiments
In this section, we conduct a series of experiments to evaluate the effectiveness of NIFS by addressing the following research questions (RQs):
- RQ1: How does NIFS enhance baselines top-k selection strategies? (Section 6.2)
- RQ2: How does the neighbor size affect the selected feature similarity relationships and steering performance? (Section 6.4)
- RQ3: How do the individual components of NIFS contribute to its overall effectiveness? (Section 6.5)
- RQ4: How interpretable is NIFS, and can we understand its feature selection behavior? (Section 6.6)
6.1 Setup
In addition to the four SAE-based baselines introduced in Section 3, we compare our NIFS-enhanced methods with two non-SAE steering methods: 1) CAA, which uses the mean difference between contrastive dense activations as the steering vector; and 2) Probe, which uses the probing directions trained in Section 4.3 as steering vectors. The hyperparameter details are in Appendix B.4.
6.2 Overall Performance Comparison
we repeated all experiments using five different seeds and reported the mean and standard deviation in Table 1. In addition, we conduct paired t-tests, where results marked with * indicate statistical significance (p < 0.1).
From the results, we make the following three key observations. First, NIFS consistently improves steering performance across all evaluated SAE-based baselines, regardless of their original effectiveness. For example, on Llama2-7B, applying NIFS to the STA strategy improves the steering success rate by 2.15% on Sentiment and by 2.21% on Detoxification. Similar improvements are observed across other baselines and on Gemma2-2B, indicating that NIFS provides a generally strong enhancement rather than benefiting only weak meth-

(a) SPARE
(b) SAIF

(c) STA
(d) Diffmean
Figure 4: Steering success rate (SR) and average cosine similarity of neighbor features on Gemma2-2B for the Detoxification task across different neighbor sizes (top-k). The four subfigures correspond to the four methods: SPARE, SAIF, STA, and Diffmean.
ods.
Second, the performance gains brought by NIFS do not come at the expense of generation quality, even on more complex generation tasks. Across both sentiment control and detoxification, fluency remains largely stable after applying NIFS, with variations consistently within 0.1. This demonstrates that NIFS improves steering effectiveness while preserving generation quality, which is important for constrained generation settings.
Third, NIFS yields more pronounced gains when applied to already strong baselines, especially on challenging tasks. For instance, on Llama2-7B detoxification, SPARE achieves a relatively high success rate of 80.80, which is further improved to 85.30 (+4.50) after incorporating NIFS. Similar trends are observed for STA and SAIF across multiple tasks. This suggests that while statistical selection strategies can serve as effective coarse filters, NIFS further refines the selected feature set by identifying more informative and synergistic features, leading to additional gains even when the initial selection quality is high.
6.3 Generalization to Larger Models
To further evaluate the scalability of NIFS, we extend our experiments to the larger Gemma3-12B model. We apply NIFS to the same SAE-based steering baselines and evaluate its effectiveness across the steering tasks.
The results are presented in Table 2. NIFS improves the steering performance of existing feature selection strategies on Gemma3-12B in most set-
Table 2: Results on Gemma3-12B. SR denotes the success rate and Flu. denotes the n-gram fluency.
| Methods | KC | Detox | Sentiment | ||
|---|---|---|---|---|---|
| SR | SR | Flu. | SR | Flu. | |
| Diffmean | 63.03 | 70.98 | 3.957 | 60.82 | 4.065 |
| +NIFS | 63.98 | 71.23 | 3.963 | 63.57 | 4.047 |
| SAIF | 62.53 | 73.64 | 3.948 | 59.21 | 4.258 |
| +NIFS | 62.78 | 73.89 | 3.938 | 60.46 | 4.203 |
| STA | 62.68 | 70.89 | 3.948 | 56.73 | 4.271 |
| +NIFS | 63.78 | 71.81 | 3.947 | 58.86 | 4.252 |
| SpARE | 61.33 | 75.15 | 3.861 | 67.18 | 4.186 |
| +NIFS | 62.88 | 75.31 | 3.890 | 67.01 | 4.178 |
tings, demonstrating that the benefits of integrating representation-similar neighboring features are not limited to smaller models. These results further support the generalizability of NIFS across model scales.
6.4 Effects of Neighbor Size
In NIFS, the neighbor size controls the degree of feature integration by determining how many neighboring features are incorporated for each core feature. To investigate how the integration strength affects feature selection and the final steering performance, we vary in the range of [3, 12] and examine both the average cosine similarity between each core feature and its selected neighbors, as well as the corresponding steering performance. We report the results on the Gemma2-2B detoxification task in Figure 4.
Following (He et al., 2024), we contextualize the observed feature similarity using a principled baseline derived from the Johnson–Lindenstrauss lemma in its inner-product form. Specifically, if features are randomly projected into a -dimensional space, the probability that any pair among feature vectors has a cosine similarity larger than is approximately , indicating that such high similarity is extremely unlikely to arise by chance.
For the Gemma2-2B SAE used in our work, this bound yields a similarity threshold of . As shown in Figure 4, the average similarity between core features and their selected neighbors consistently exceeds this threshold across a wide range of neighbor sizes. This suggests that the feature neighborhoods identified by NIFS are unlikely to
https://home.ttic.edu/gregory/courses/LargeScaleLearning/lectures/jl.pdf.
Table 3: Comparison between NIFS and other simple feature selection strategies on the detoxification task using Gemma2-2B.
| Method | Diffmean | SAIF | STA | SPARE |
|---|---|---|---|---|
| Vanilla | 68.57 | 66.46 | 69.10 | 70.42 |
| Only-core | 65.64 | 64.55 | 64.13 | 68.56 |
| Core-random | 66.97 | 65.63 | 64.05 | 69.06 |
| Larger-k | 66.21 | 64.84 | 65.79 | 69.06 |
| NIFS | 70.22 | 67.65 | 70.14 | 71.64 |
be random artifacts of high-dimensional geometry, but instead reflect meaningful structure among features.
Meanwhile, the steering performance does not decrease monotonically as the neighbor size increases. While moderate feature integration improves robustness by incorporating complementary information, overly large neighborhoods gradually introduce features with weaker steering relevance, which dilutes the overall steering signal. This behavior suggests that although feature integration is beneficial, excessive expansion of the neighborhood can be counterproductive, as it allows less effective features to participate in steering. Overall, these results highlight the importance of choosing an appropriate neighbor size to balance semantic coherence and steering effectiveness.
6.5 Ablation Studies
6.5.1 Other Simple Selection Strategies
To further demonstrate the effectiveness of NIFS, we extend our ablation study with several simple feature selection strategies derived from existing statistical selection methods: 1) Core-Only: using only the core features selected by NIFS; 2) Core-Random: combining the core features with features randomly sampled from the pool set; 3) Larger-K: simply selecting more features. In our implementation, we increase the number of selected features by a factor of 10.
We report the results on the Detoxification task with Gemma2-2B in Table 3. NIFS consistently outperforms all alternative strategies. The performance gap between NIFS and both Core-Only and Core-Random demonstrates the importance of similarity-based neighbor feature selection. In addition, the inferior performance of Larger-k suggests that simply increasing the number of steering features is ineffective, as lower-ranked features are more likely to exhibit weak or even negative steering effects.
Table 4: Ablation results for detoxification on Gemma2-2B. Each cell shows SR (%) for the corresponding method and setting.
| Methods | Diffmean | SAIF | STA | SPARE |
|---|---|---|---|---|
| Baseline | 68.49 | 68.93 | 69.97 | 69.71 |
| NIFS w/o FR | 68.73 | 70.72 | 70.23 | 71.34 |
| NIFS | 68.57 | 70.79 | 71.16 | 71.56 |
6.5.2 Feature Reweighting module
We conduct an ablation study to examine the role of the Feature Reweighting (FR) module in NIFS. Specifically, we compare the full NIFS framework with a variant that removes FR while keeping all other components unchanged. We report the mean results of Gemma2 on detoxification in Table 4 and leave complete results in Table 7. As shown, removing FR generally degrades steering performance across statistical baselines, with NIFS with FR outperforming the variant without FR in most settings. Nevertheless, the ablated variant still outperforms the corresponding baseline methods, suggesting that the core neighbor-based feature integration mechanism of NIFS is effective even without reweighting. These results demonstrate that FR provides additional performance gains on top of an already robust feature selection process.
6.6 Feature Analysis
Table 5 presents representative SAE features selected by the Diffmean method and their corresponding neighbor features identified by NIFS for the Detoxification task on Gemma2-2B. We observe that the features selected by the baseline strategies exhibit varying degrees of relevance to the target steering tasks. Some features, such as Feature 48234, 16812, and 32820, are clearly aligned with the intended steering objective according to their semantic interpretations, while others show little apparent relevance. For the former group, NIFS consistently identifies semantically related neighbor features, enabling effective integration that strengthens their representations and amplifies their steering effects. In contrast, for features with weak or ambiguous task relevance, NIFS often fails to retrieve meaningful neighbors, limiting the benefits of integration. This observation suggests that while NIFS is effective at aggregating useful steering features, its performance is inherently constrained by the quality of the initial feature selection strategy. This also provides an explanation for why NIFS yields larger performance gains.
Table 5: Top-5 SAE features selected by Diffmean and their neighbor features identified by NIFS for the Detoxification task on Gemma2-2B. Feature explanations are retrieved from Neuronpedia (Lin, 2023).
| Rank | Role | Explanation of Feature | Feature ID | Cos sim |
|---|---|---|---|---|
| 1 | Core | references to creativity and personal expression related to arts and design | 48234 | - |
| Neighbor | emoticons and expressions of emotion | 12757 | 0.222 | |
| Neighbor | expressions of surprise or disbelief | 50409 | 0.179 | |
| 2 | Core | discussions about differing perspectives and values in relationships | 36077 | - |
| Neighbor | references to women's health issues in the workplace | 20722 | 0.536 | |
| Neighbor | technical errors and conditions related to coding or programming | 55072 | 0.441 | |
| 3 | Core | medical test results and their implications | 53906 | - |
| Neighbor | punctuation marks indicating pauses or changes in tone | 46797 | 0.442 | |
| Neighbor | names of notable figures and their associated roles or activities | 37123 | 0.215 | |
| 4 | Core | expressions of strong frustration or anger | 16812 | - |
| Neighbor | profanity and strong negative emotions | 12100 | 0.201 | |
| Neighbor | strong negative emotions or reactions towards people, behaviors, or ideas | 8862 | 0.192 | |
| 5 | Core | explicit and vulgar expressions related to sexual activity | 32820 | - |
| Neighbor | expressions of frustration or dissatisfaction | 40470 | 0.278 | |
| Neighbor | profanity and strong negative emotions | 12100 | 0.237 |
when applied to stronger baseline methods.
7 conclusion
In this paper, we revisit SAE-based steering and show that commonly used statistical top- feature selection strategies are suboptimal for complex generation tasks. Our analysis reveals that effective steering features tend to form representationally adjacent groups due to feature splitting, and that purely score-based selection fails to recover all influential components. Based on this insight, we propose NIFS, a plug-and-play neighbor-integrated selection strategy that augments statistical selection with representation-aware feature integration. Extensive experiments demonstrate that NIFS improves steering performance while preserving generation quality, highlighting the importance of representation structure in controllable SAE-based steering.
8 Limitations
Our experiments are conducted on a limited set of open-ended steering tasks and relatively small-scale language models. Although NIFS demonstrates consistent improvements across different settings, its effectiveness on larger frontier models and a broader range of steering scenarios remains to be further explored. In addition, our analysis is primarily based on existing SAE architectures and steering methods, and future work may investigate whether the observed phenomena generalize to other representation learning and steering frameworks.
Acknowledgments
We would like to thank the anonymous reviewers and area chairs for their helpful comments. We acknowledge the support from NSFC 62306252, Hong Kong ECS award 27309624 and GRF award 17307425, and the central fund from HKU.
References
Andy Arditi, Oscar Obeso, Aaquib Syed, Daniel Paleka, Nina Panickssery, Wes Gurnee, and Neel Nanda. 2024. Refusal in language models is mediated by a single direction. In NeurIPS.
Trenton Bricken, Adly Templeton, Joshua Batson, Brian Chen, Adam Jermyn, Tom Conerly, Nick Turner, Cem Anil, Carson Denison, Amanda Askell, Robert Lasenby, Yifan Wu, Shauna Kravec, Nicholas Schiefer, Tim Maxwell, Nicholas Joseph, Zac Hatfield-Dodds, Alex Tamkin, Karina Nguyen, and 6 others. 2023. Towards monosemanticity: Decomposing language models with dictionary learning. Transformer Circuits Thread. https://transformer-circuits.pub/2023/monosemantic-features/index.html.
Sviatoslav Chalnev, Matthew Siu, and Arthur Conny. 2024. Improving steering vectors by targeting sparse autoencoder features. CoRR, abs/2411.02193.
David Chanin, James Wilken-Smith, Tomás Dulka, Hardik Bhatnagar, and Joseph Bloom. 2024. A is for absorption: Studying feature splitting and absorption in sparse autoencoders. CoRR, abs/2409.14507.
Seonglae Cho, Zekun Wu, and Adriano Koshiyama. 2025. Corrsteer: Generation-time llm steering via correlated sparse autoencoder features. arXiv preprint arXiv:2508.12535.
Javier Ferrando, Gabriele Sarti, Arianna Bisazza, and Marta R. Costa-jussà. 2024. A primer on the inner workings of transformer-based language models. CoRR, abs/2405.00208.
Leo Gao, Tom Dupré la Tour, Henk Tillman, Gabriel Goh, Rajan Troll, Alec Radford, Ilya Sutskever, Jan Leike, and Jeffrey Wu. 2025. Scaling and evaluating sparse autoencoders. In ICLR. OpenReview.net.
Samuel Gehman, Suchin Gururangan, Maarten Sap, Yejin Choi, and Noah A. Smith. 2020. Realtoxicityprompts: Evaluating neural toxic degeneration in language models. In EMNLP (Findings), volume EMNLP 2020 of Findings of ACL, pages 3356–3369. Association for Computational Linguistics.
Zhengfu He, Wentao Shu, Xuyang Ge, Lingjie Chen, Junxuan Wang, Yunhua Zhou, Frances Liu, Qipeng Guo, Xuanjing Huang, Zuxuan Wu, Yu-Gang Jiang, and Xipeng Qiu. 2024. Llama scope: Extracting millions of features from llama-3.1-8b with sparse autoencoders. CoRR, abs/2410.20526.
Zirui He, Mingyu Jin, Bo Shen, Ali Payani, Yongfeng Zhang, and Mengnan Du. 2025a. Sae-ssv: Supervised steering in sparse representation spaces for reliable control of language models. arXiv preprint arXiv:2505.16188.
Zirui He, Haiyan Zhao, Yiran Qiao, Fan Yang, Ali Payani, Jing Ma, and Mengnan Du. 2025b. SAIF: A sparse autoencoder framework for interpreting and steering instruction following of language models. CoRR, abs/2502.11356.
Robert Huben, Hoagy Cunningham, Logan Riggs Smith, Aidan Ewart, and Lee Sharkey. 2024. Sparse autoencoders find highly interpretable features in language models. In ICLR. OpenReview.net.
Ole Jorgensen, Dylan Cope, Nandi Schoots, and Murray Shanahan. 2023. Improving activation steering in language models with mean-centring. CoRR, abs/2312.03813.
Adam Karvonen, Can Rager, Johnny Lin, Curt Tigges, Joseph Isaac Bloom, David Chanin, Yeu-Tong Lau, Eoin Farrell, Callum McDougall, Kola Ayonrinde, Demian Till, Matthew Wearden, Arthur Conmy, Samuel Marks, and Neel Nanda. 2025. Saebench: A comprehensive benchmark for sparse autoencoders in language model interpretability. In ICML. OpenReview.net.
Matthäus Kleindessner, Michele Donini, Chris Russell, and Muhammad Bilal Zafar. 2023. Efficient fair PCA for fair representation learning. In AISTATS, volume 206 of Proceedings of Machine Learning Research, pages 5250–5270. PMLR.
Kenneth Li, Oam Patel, Fernanda B. Viégas, Hanspeter Pfister, and Martin Wattenberg. 2023. Inference-time intervention: Eliciting truthful answers from a language model. In NeurIPS.
Tom Lieberum, Senthooran Rajamanoharan, Arthur Conmy, Lewis Smith, Nicolas Sonnerat, Vikrant Varma, János Kramár, Anca D. Dragan, Rohin Shah, and Neel Nanda. 2024. Gemma scope: Open sparse autoencoders everywhere all at once on gemma 2. CoRR, abs/2408.05147.
Johnny Lin. 2023. Neuronpedia: Interactive reference and tooling for analyzing neural networks. Software available from neuronpedia.org.
Varvara Logacheva, Daryna Dementieva, Sergey Ustyantsev, Daniil Moskovskiy, David Dale, Irina Krotova, Nikita Semenov, and Alexander Panchenko. 2022. Paradetox: Detoxification with parallel data. In ACL (1), pages 6804–6818. Association for Computational Linguistics.
Shayne Longpre, Kartik Perisetla, Anthony Chen, Nikhil Ramesh, Chris DuBois, and Sameer Singh. 2021. Entity-based knowledge conflicts in question answering. In EMNLP (1), pages 7052–7063. Association for Computational Linguistics.
OpenAI. 2023. GPT-4 technical report. CoRR, abs/2303.08774.
Senthooran Rajamanoharan, Tom Lieberum, Nicolas Sonnerat, Arthur Conmy, Vikrant Varma, János Kramár, and Neel Nanda. 2024. Jumping ahead: Improving reconstruction fidelity with jumprelu sparse autoencoders. CoRR, abs/2407.14435.
Nina Rimsky, Nick Gabrieli, Julian Schulz, Meg Tong, Evan Hubinger, and Alexander Matt Turner. 2024. Steering llama 2 via contrastive activation addition. In ACL (1), pages 15504–15522. Association for Computational Linguistics.
Dong Shu, Xuansheng Wu, Haiyan Zhao, Daking Rai, Ziyu Yao, Ninghao Liu, and Mengnan Du. 2025. A survey on sparse autoencoders: Interpreting the internal mechanisms of large language models. CoRR, abs/2503.05613.
Nishant Subramani, Nivedita Suresh, and Matthew E. Peters. 2022. Extracting latent steering vectors from pretrained language models. In ACL (Findings), volume ACL 2022 of Findings of ACL, pages 566–581. Association for Computational Linguistics.
Curt Tigges, Oskar John Hollinsworth, Atticus Geiger, and Neel Nanda. 2023. Linear representations of sentiment in large language models. CoRR, abs/2310.15154.
Alexander Matt Turner, Lisa Thiergart, David Udell, Gavin Leech, Ulisse Mini, and Monte MacDiarmid. 2023. Activation addition: Steering language models without optimization. CoRR, abs/2308.10248.
Mengru Wang, Ziwen Xu, Shengyu Mao, Shumin Deng, Zhaopeng Tu, Huajun Chen, and Ningyu Zhang. 2025a. Beyond prompt engineering: Robust behavior control in llms via steering target atoms. In ACL (1), pages 23381–23399. Association for Computational Linguistics.
Mengru Wang, Ningyu Zhang, Ziwen Xu, Zekun Xi, Shumin Deng, Yunzhi Yao, Qishen Zhang, Linyi Yang, Jindong Wang, and Huajun Chen. 2024. Detoxifying large language models via knowledge editing. In ACL (1), pages 3093–3118. Association for Computational Linguistics.
Xu Wang, Yan Hu, Benyou Wang, and Difan Zou. 2025b. Does higher interpretability imply better utility? A pairwise analysis on sparse autoencoders. CoRR, abs/2510.03659.
Xu Wang, Bingqing Jiang, Yu Wan, Baosong Yang, Lingpeng Kong, and Difan Zou. 2026. Dlm-scope: Mechanistic interpretability of diffusion language models via sparse autoencoders. arXiv preprint arXiv:2602.05859.
Zhengxuan Wu, Aryaman Arora, Atticus Geiger, Zheng Wang, Jing Huang, Dan Jurafsky, Christopher D. Manning, and Christopher Potts. 2025. Axbench: Steering llms? even simple baselines outperform sparse autoencoders. In ICML. OpenReview.net.
Yu Zhao, Alessio Devoto, Giwon Hong, Xiaotang Du, Aryo Pradipta Gema, Hongru Wang, Xuanli He, Kam-Fai Wong, and Pasquale Minervini. 2025. Steering knowledge selection behaviours in llms via sae-based representation engineering. In NAACL (Long Papers), pages 5117–5136. Association for Computational Linguistics.
Andy Zou, Long Phan, Sarah Li Chen, James Campbell, Phillip Guo, Richard Ren, Alexander Pan, Xuwang Yin, Mantas Mazeika, Ann-Kathrin Dombrowski, Shashwat Goel, Nathaniel Li, Michael J. Byun, Zifan Wang, Alex Mallen, Steven Basart, Sanmi Koyejo, Dawn Song, Matt Fredrikson, and 2 others. 2023. Representation engineering: A top-down approach to AI transparency. CoRR, abs/2310.01405.
A Related Work
Sparse Autoencoders. To disentangle concepts in superposition, Sparse Autoencoders (SAEs) are trained to map model activations into a high-dimensional SAE feature space under sparsity constraints and a reconstruction objective (Shu et al., 2025; Huben et al., 2024; Bricken et al., 2023; Wang et al., 2026). Beyond the vanilla SAE (Ferrando et al., 2024), several variants have been proposed, including TopK SAE (Gao et al., 2025) and JumpReLU SAE (Rajamanoharan et al., 2024). Correspondingly, a growing body of work has focused on analyzing and evaluating the properties of SAEs, such as the sparsity–fidelity trade-off (Gao et al., 2025), the interpretability of SAE features (Karvonen et al., 2025), and their utility in downstream tasks (Wang et al., 2025b; Wu et al., 2025). As an intrinsic property of SAEs, the feature splitting phenomenon has been observed and studied across multiple SAE variants (He et al., 2024; Lieberum et al., 2024; Bricken et al., 2023; Chanin et al., 2024), revealing limitations of existing SAEs. In this work, we study, analyze, and exploit the properties of SAEs and their features in the context of downstream steering tasks, addressing a gap in prior work that primarily focuses on statistical correlations between SAE features and model behaviors.
Steering. Steering is an inference-time technique that controls model behaviors by manipulating internal activations (Subramani et al., 2022; Zou et al., 2023). Early studies applied steering to a wide range of tasks, including safety (Arditi et al., 2024), bias mitigation (Jorgensen et al., 2023), and truthfulness (Tigges et al., 2023). Among traditional activation-based steering methods, ActAdd (Turner et al., 2023) and CAA (Rimsky et al., 2024) derive steering vectors from differences between contrastive activations; RePe (Kleindessner et al., 2023) applies PCA to extract steering directions; and ITI (Li et al., 2023) iteratively trains vectors to modify attention heads.
With the introduction of Sparse Autoencoders (SAEs), recent work has explored more interpretable steering approaches. Existing SAE-based steering methods can be broadly categorized into feature-centric and task-centric approaches. Feature-centric methods focus on individual SAE features and study their functional roles by directly intervening on specific features (Wu et al., 2025). For example, SAE-TS (Chalnev et al., 2024) employs a linear approximator to reduce side effects when steering individual features. In contrast, task-centric methods aim to achieve a desired task objective by selecting a subset of SAE features to control model behavior. SAIF (He et al., 2025b) selects features with the largest activation frequency differences to steer instruction-following behavior. STA (Wang et al., 2025a) jointly considers differences in activation magnitude and activation frequency to identify target features. SpARE (Zhao et al., 2025) leverages mutual information to select features for resolving knowledge conflicts, while SAE-SSV (He et al., 2025a) further employs F-statistic-based feature selection followed by supervised training to obtain the final steering vector. Our work analyzes and demonstrates that these task-centric methods, which rely primarily on statistical feature selection strategy, are not optimal for steering. We show that integrating representationally similar SAE features leads to better steering performance.
B Experimental details
B.1 LLMs and SAEs
Following (Zhao et al., 2025), we extract model activations from residual stream at layer 14 for both Gemma2-2B and Llama2-7B. As for SAEs, We use Gemma Scope SAEs gemma-scope-2b-pt-res 65K and pre-trained Llama-2-7B SAEs with 131K width from (Zhao et al., 2025) .
B.2 Task, Dataset, and Evaluation Details
Tasks and Datasets. We evaluate our method on three open-ended tasks: Knowledge Conflicts (KC), Sentiment, and Detoxification.
The Knowledge Conflicts task requires models to resolve discrepancies between contextual knowledge and parametric knowledge. Following (Zhao et al., 2025), we adopt the NQSwap dataset (Longpre et al., 2021), an open-domain question answering benchmark designed for contextual knowledge conflicts.
For the Sentiment task, we adopt the LLM-generated movie review dataset from (He et al., 2025a), which contains positive and negative labeled reviews. We further construct an evaluation set of 961 reviews using GPT-4o-mini (OpenAI, 2023).
For the Detoxification task, we use the Paradetox dataset (Logacheva et al., 2022) to construct steering vectors. Paradetox consists of paired toxic and non-toxic sentences. For evaluation, we adopt the challenging subset of RealToxicPrompts (Gehman et al., 2020), which is designed to induce toxic outputs using seemingly benign or neutral prompts.
Evaluation and Metrics. We use success rate (SR) as the primary evaluation metric across all tasks.
For the Knowledge Conflicts task, SR is defined as the accuracy with which steering encourages the model to utilize the intended contextual knowledge when generating answers.
For the Sentiment task, SR measures the positivity of generated outputs. Specifically, outputs are scored by GPT-4o-mini on a scale from 0 to 5. Evaluation prompts are provided in Appendix B.3.
For the Detoxification task, we adopt the Perspective API and define SR as the non-toxicity rate of generated outputs.
In addition, for the open-ended generation tasks Sentiment and Detoxification, we report the n-gram metric to evaluate output fluency (Wang et al., 2025a, 2024).
B.3 Evaluation Prompt for Sentiment Task
The prompt is illustrated in Table 6.
B.4 Hyperparameters in Main Experiments
For each method and its NIFS variant, we adopt an optimal feature budget k based on their performances in section 4.2. An exception is DiffMean on the Llama2-7B Detoxification task, where we use k = 100, as larger values of k lead to noticeable degradation in generation quality.
For NIFS, we set the pool expansion ratio to , which is sufficient to cover most effective features. We observe that further increasing does not yield additional performance gains and may even degrade steering performance. For each task, we select the neighbor size based on validation performance.
C Extended experimental Results
C.1 Steering Performance Over Different Number of Selected Features
The results of Llama2-7B are illustrated in Figure 5. Notably, the abnormally high performance of the Diffmean method on the detoxification task for Llama2-7B is caused by model collapse, where the model fails to generate meaningful outputs.
C.2 Steering Performance of Randomly Selected Features
The results of Llama2-7B are illustrated in Figure 6.
C.3 Relationship Between Feature Rank and Probe Direction Similarity
In this section, we provide additional visualizations of the relationship between feature rank and prob-
https://huggingface.co/google/gemma-scope-2b-pt-res
https://huggingface.co/yuzhaouoe/Llama2-7b-SAE/tree/main
Table 6: Evaluation Prompt for Sentiment Task Steering Assessment
You are a sentiment evaluator. Your task is to determine whether the Steered continuation successfully transforms the sentiment of the Original Input from negative or neutral to positive. Rate the output from 0 to 5 based on the emotional tone of the continuation. Don't be influenced by the sentiment of original prompt.
-
1 indicates a completely negative sentiment.
-
3 indicates a well-balanced or neutral sentiment.
-
5 indicates a completely positive sentiment.
Please respond in the following format:
score: x out of 5
Original prompt: {original_input}
Steered continuation: { steered_output }

(a) Knowledge Conflicts
(b) Sentiment
(c) Detoxification
Figure 5: Steering success rate on Llama2-7B across different top-k values ranging from 100 to 1500.

Figure 6: Distribution of success rate over 32 runs of random feature selection on Llama2-7B.
ing direction similarity across different models and tasks from Figure 7 to 11. We observe that, except for the Diffmean method on several tasks, all methods follow a similar trend.
C.4 Ablation Results of Feature Reweighting module
We demonstrate the comprehensive results on Gemma2-2B in Table 7. Across all settings, NIFS with feature reweighting outperforms the variant without feature reweighting in 10/12 of the compar-
Table 7: Ablation study of feature reweighting across different tasks on Gemma2-2B.
| Methods | Detox | KC | Sentiment |
|---|---|---|---|
| Diffmean | 68.49±3.04 | 80.80±1.06 | 59.67±0.95 |
| NIFS w/o FR | 68.73±1.13 | 83.78±3.30 | 60.35±2.41 |
| +NIFS | 68.57±0.88 | 85.30±0.86 | 62.69±1.29 |
| SAIF | 68.93±3.32 | 73.10±0.49 | 47.42±1.24 |
| NIFS w/o FR | 70.72±1.69 | 73.22±1.10 | 48.97±0.53 |
| +NIFS | 70.79±1.58 | 74.63±1.00 | 48.72±0.71 |
| STA | 69.97±3.50 | 72.27±0.71 | 45.11±0.90 |
| NIFS w/o FR | 70.23±1.80 | 73.91±0.85 | 45.63±0.77 |
| +NIFS | 71.16±1.71 | 74.48±1.09 | 47.26±1.12 |
| SpARE | 69.71±3.19 | 76.55±0.62 | 65.63±1.41 |
| NIFS w/o FR | 71.34±1.78 | 76.96±1.62 | 66.34±0.86 |
| +NIFS | 71.56±1.45 | 77.83±0.68 | 66.94±1.17 |
isons, indicating that feature reweighting provides a consistent overall benefit despite a few exceptions.

Figure 7: Cosine similarity between SAE features and probing directions across feature ranks for the Knowledge Conflicts task on Gemma2-2B.

Figure 8: Cosine similarity between SAE features and probing directions across feature ranks for the Detoxification task on Gemma2-2B.

Figure 9: Cosine similarity between SAE features and probing directions across feature ranks for the Knowledge Conflicts task on Llama2-7B.

Figure 10: Cosine similarity between SAE features and probing directions across feature ranks for the Detoxification task on Llama2-7B.

Figure 11: Cosine similarity between SAE features and probing directions across feature ranks for the Sentiment task on Llama2-7B.