Abstract
Sparse Autoencoders (SAEs) have become a cornerstone of mechanistic interpretability, used to decompose neural representations into human-understandable concepts. However, these tools are not neutral observers. This paper establishes a fundamental mathematical duality between an SAE's architecture and the geometric assumptions it imposes on data. We demonstrate that standard SAEs fail to capture concepts that are nonlinearly separable or heterogeneous in dimensionality. To address these limitations, we introduce SpaDE (Sparsemax Distance Encoder), a geometry-aware architecture that utilizes distance-based prototypes and adaptive sparsity to achieve superior concept recovery and interpretability across synthetic and real-world vision and language models.
Introduction
In the quest to make artificial intelligence interpretable, researchers have turned to Sparse Autoencoders (SAEs) to translate high-dimensional neural activations into discrete "concepts" (e.g., "is a dog" or "is a verb"). The prevailing view in the field treats SAEs as universal extractors—assuming that if a concept is present in the data, a sufficiently trained SAE will eventually find it.
This paper challenges that assumption. The authors argue that current SAE architectures (such as ReLU or TopK SAEs) are inherently biased by their geometric design. By imposing rigid structures—such as the requirement that concepts be linearly separable or occupy subspaces of identical dimensionality—standard SAEs often project their own architectural assumptions onto the data rather than discovering the data's true underlying structure. When a model's internal concepts do not fit these geometric molds, standard SAEs produce "polysemantic" results that are difficult or impossible for humans to interpret.
The Duality Framework
The core theoretical contribution of this work is a unified framework that recasts SAEs as solutions to a bilevel optimization problem. This formalization allows researchers to define the "receptive field" of an SAE latent: the specific region in the input space that triggers a particular concept activation.
This framework reveals a mathematical duality: an SAE’s encoder architecture is a direct reflection of the data assumptions it makes. For example, a linear encoder assumes that concepts can be separated by a flat hyperplane. If the true concept is a "blob" or a magnitude-dependent feature, a linear SAE will necessarily fail to represent it cleanly.
SpaDE: Sparsemax Distance Encoder
To overcome the biases of existing models, the researchers propose SpaDE, an architecture designed to handle the geometric complexity of real-world neural representations. SpaDE introduces two critical innovations:
- Distance-based Prototypes: Instead of linear transformations, SpaDE computes Euclidean distances to learned "prototypes." This allows the model to capture nonlinearly separable concepts and complex boundaries that linear models miss.
- Sparsemax Activation: Rather than using a fixed sparsity (like TopK) or a simple threshold (like ReLU), SpaDE uses a projection onto the probability simplex. This enables adaptive sparsity, allowing the model to naturally allocate more latents to complex, high-dimensional concepts while remaining sparse for simpler ones.
Experimental Evaluation
The authors evaluated SpaDE against traditional SAEs across three distinct domains:
- Synthetic Gaussian Clusters: Used to isolate variables like nonlinear separability and heterogeneity (varying dimensions). SpaDE achieved perfect F1 scores (1.0) on nonlinearly separable concepts where ReLU and JumpReLU models hit a performance ceiling of approximately 0.5.
- Formal Languages: Using activations from a 2-layer Transformer (nanoGPT) trained on English Probabilistic Context-Free Grammars (PCFG), SpaDE showed significantly higher precision in specializing latents to specific parts-of-speech and sentence positions.
- Natural Vision: On activations from DINOv2-base (using the Imagenette dataset), SpaDE produced more monosemantic latents. It successfully isolated specific object parts (e.g., the fins of a fish or the snout of a dog) and scene properties that standard SAEs typically conflated.
Key Insights
- The "One-Size-Fits-All" Failure: Standard SAEs assume every concept has the same intrinsic dimensionality. In reality, a broad concept like "is a noun" is more complex than a specific word like "the." SpaDE’s adaptive sparsity allows it to reconstruct these varying complexities without sacrificing overall model sparsity.
- Linearity as a Constraint: Even simple features can become nonlinearly separable if they possess different magnitudes. By moving beyond linear boundaries, SpaDE uncovers "hidden" concepts previously obscured by architectural limitations.
- Geometry-Driven Design: The paper suggests that the path to better interpretability lies in matching the SAE's internal geometry to the expected properties of the data.
Limitations and Future Work
While SpaDE represents a significant step forward, the authors identify several remaining challenges. The model currently assumes concepts are separated by Euclidean distance, whereas neural "concept space" might utilize more exotic geometries, such as hyperbolic space. Additionally, while SpaDE excels at mutually exclusive concepts, further research is required to determine how these geometric assumptions perform when multiple concepts are active simultaneously (e.g., a "red" "truck"). Finally, scaling these specialized architectures to trillion-parameter Large Language Models remains a primary computational objective for future research.
Summary updated