Rethinking Sparse Autoencoders: Select-and-Project for Fairness and Control from Encoder Features Alone
Antonio Bărbălau, Cristian Daniel Păduraru, Teodor Poncu, Alexandru Tifrea, Elena Burceanu
TL;DR
This work rethinks SAE-based steering by shifting control from the decoder to encoder features through S&P Top-K, a training-free protocol that selects top-K encoder activations tied to target attributes and orthogonally projects embeddings to suppress unwanted information. The approach preserves model utility while delivering stronger cross-modal debiasing and behavior steering than traditional masked reconstruction, demonstrated in vision-language fairness and LLM aggressiveness/sycophancy reduction. Key contributions include a practical encoder-centric framework, a linear-probe/Stylist-based feature selection strategy, and demonstrated gains up to 3.2x (vision-language) and 3.6x (LLMs) over baselines. The findings suggest encoder-based interventions can be more efficient and effective for at-inference model steering across modalities, with clarified limitations and directions for future work.
Abstract
Sparse Autoencoders (SAEs) are widely employed for mechanistic interpretability and model steering. Within this context, steering is by design performed by means of decoding altered SAE intermediate representations. This procedure essentially rewrites the original activations as a weighted sum of decoder features. In contrast to existing literature, we forward an encoder-centric alternative to model steering which demonstrates a stronger cross-modal performance. We introduce S&P Top-K, a retraining-free and computationally lightweight Selection and Projection framework that identifies Top-K encoder features aligned with a sensitive attribute or behavior, optionally aggregates them into a single control axis, and computes an orthogonal projection to be subsequently applied directly in the model's native embedding space. In vision-language models, it improves fairness metrics on CelebA and FairFace by up to 3.2 times over conventional SAE usage, and in large language models, it substantially reduces aggressiveness and sycophancy in Llama-3 8B Instruct, achieving up to 3.6 times gains over masked reconstruction. These findings suggest that encoder-centric interventions provide a general, efficient, and more effective mechanism for shaping model behavior at inference time than the traditional decoder-centric use of SAEs.
