Introduction
Current Sparse Autoencoders (SAEs) used to interpret Large Language Models (LLMs) are held back by a "non-negativity" constraint that fragments semantic concepts into redundant pieces. This paper introduces AbsTopK, a new SAE variant that allows features to have both positive and negative activations, enabling a single feature to represent bidirectional concepts (like "male vs. female") and significantly improving both reconstruction accuracy and model steering performance.
The Non-Negativity Bottleneck
To understand how LLMs "think," researchers use SAEs to decompose complex internal activations into a set of interpretable "features." However, almost all existing SAEs (like ReLU or TopK variants) force these features to be non-negative.
The authors argue this is a fundamental flaw. Human language and logic are often bidirectional: "hot" is the opposite of "cold," and "happy" is the opposite of "sad." By forcing features to be non-negative, current SAEs are forced to either fragment a single semantic axis into two separate, redundant features, or collapse one side of the axis entirely, losing representational completeness.
Furthermore, the field has lacked a unified mathematical framework to explain why different SAE architectures work the way they do.
Methodology: Unrolling Sparse Coding & AbsTopK
The paper makes two major methodological contributions:
- A Unified Framework: The authors show that SAEs can be mathematically derived by "unrolling" the proximal gradient method used in classical sparse coding. By viewing the SAE encoder as a single optimization step, they prove that different activation functions are actually just proximal operators for specific regularizers. For example, a ReLU SAE is what you get when you apply an $\ell_1$ penalty with a non-negativity constraint.
- AbsTopK SAE: Building on this framework, they propose a new variant. Instead of the standard TopK (which picks the $k$ largest positive values), AbsTopK selects the $k$ features with the largest absolute magnitude, preserving their original positive or negative signs. This is derived from a pure $\ell_0$ sparsity constraint without the artificial non-negativity restriction.
Empirical Validation & Key Results
The researchers conducted a massive empirical validation across several state-of-the-art LLMs, including Pythia-70M, GPT-2 Small, Gemma-2-2B, Llama-3.1-8B, and others. They evaluated the models on benchmarks like MMLU (general knowledge), HarmBench (safety), and SAEBench.
Superior Reconstruction and Efficiency
AbsTopK consistently achieved lower Mean Squared Error (MSE) and better "Loss Recovered" scores compared to TopK and JumpReLU. Because it doesn't have to "double up" on features for every polar opposite, it achieves better reconstruction with fewer active features, producing a more compact linear decomposition of the latent space.
Enhanced Interpretability and Steering
By allowing negative activations, a single feature can act as a bidirectional axis. For instance, the authors found features that activate positively for "male" contexts and negatively for "female" contexts. Using automated labeling, they found that ~20-30% of AbsTopK features were clearly "double-sided," whereas TopK features were almost exclusively single-sided.
In safety tasks (HarmBench), AbsTopK was more effective at reducing harmful outputs while causing less collateral damage to the model's general intelligence (MMLU) than other SAEs. Remarkably, this unsupervised method matched or even outperformed the Difference-in-Mean (DiM) method—a supervised approach that requires manually labeled data for every concept.
Limitations and Future Work
While AbsTopK is more compact, the authors note that not all features are bidirectional. Future work could look into hybrid models that more explicitly handle the mix of unipolar and bipolar concepts. Additionally, the current work uses a single-step encoder for efficiency; multi-step unrolled encoders might provide even more accurate feature extraction at a higher computational cost. Finally, the framework allows for an "Absolute JumpReLU" (hard thresholding with a learned gate), which remains an exciting avenue for future research.
Summary updated