TL;DR
Sparse Autoencoders (SAEs) are not passive, neutral tools for extracting concepts from neural networks; their encoder architectures implicitly dictate the geometry of what they can actually "see." By framing SAEs through a unified bilevel optimization lens, this paper demonstrates how popular SAEs systematically miss non-linear or dimensionally diverse concepts, and introduces SpaDE—a geometry-driven SAE designed to fix these blind spots.
What Problem Does This Paper Address?
Mechanistic interpretability relies heavily on Sparse Autoencoders (SAEs) to decompose complex neural network activations into human-understandable "concepts." The prevailing assumption has been that SAEs act as unbiased mirrors, reflecting whatever internal features a model uses.
The authors challenge this assumption by showing that different SAE architectures impose rigid geometric constraints on data. Real-world concepts possess complex geometric properties, notably:
- Nonlinear separability: Concepts are rarely split by perfectly flat hyperplanes.
- Heterogeneity in intrinsic dimensionality: Some concepts are simple and one-dimensional (like a binary sentiment toggle), while others span complex multi-dimensional subspaces (like days of the week or safety-related behaviors).
Because standard SAEs assume linear boundaries or uniform dimensionality, they are fundamentally blind to certain types of internal representations.
Methods
The authors introduce a unified framework that recasts SAEs as solutions to a bilevel optimization problem. This mathematical perspective reveals that popular SAE variants (ReLU, TopK, JumpReLU) differ primarily in their projection nonlinearities—the specific geometric constraint sets onto which they force network activations.
To overcome these limitations, the authors design a new architecture called SpaDE (Sparsemax Distance Encoder). SpaDE departs from standard SAEs in two key ways:
- Prototype Distances: Instead of standard linear transformations, it computes Euclidean distances to a set of prototype vectors, allowing it to naturally map non-linear concept boundaries.
- Simplex Projection: It projects these distances onto a probability simplex using the Sparsemax nonlinearity. This allows for adaptive sparsity, meaning the model can dynamically allocate a different number of active latents depending on the intrinsic dimensionality of the concept.
Datasets
The authors rigorously evaluate their framework across a progression of four distinct environments:
- Synthetic 2D Gaussian clusters: Designed to isolate and evaluate nonlinear separability.
- Synthetic 128D Gaussian clusters: Featuring five distinct concept clusters with highly heterogeneous intrinsic dimensions (ranging from 6 to 126).
- Semi-synthetic language activations: Internal representations from a 2-layer Transformer (
nanoGPT) trained on an English Probabilistic Context-Free Grammar (PCFG) to track part-of-speech concepts. - Natural vision activations: Token representations extracted from a pretrained
DINOv2-basemodel evaluated on Imagenette (a 10-class subset of ImageNet).
Key Insights and Ideas
- The Duality Principle: There is a direct mathematical duality between an SAE's encoder architecture and the geometry of the concepts it can discover. An SAE doesn't just find concepts; its structure actively determines them.
- No "Universal" SAE: Because architectures favor specific geometries, switching from one SAE variant to another isn't just an optimization upgrade—it will actively expose entirely new concepts while obscuring others.
- Convex Combinations over Directions: Constraining latent codes to a probability simplex (as SpaDE does) aligns with linguistic theories that representations are better understood as convex combinations of concepts rather than unconstrained directional vectors.
Key Results
- Conquering Nonlinearity: In synthetic tests with non-linearly separable concepts, traditional ReLU and JumpReLU SAEs failed completely, capping out at an F1 score of ~0.5. SpaDE achieved a perfect F1 score of 1.0, cleanly mapping the boundaries without mixing distinct features.
- Adapting to Dimensionality: In heterogeneity experiments, TopK SAEs suffered from high reconstruction errors because their fixed sparsity ($K$) could not handle high-dimensional concepts. SpaDE adjusted its active latents dynamically, tracking the true intrinsic dimension perfectly.
- Real-World Performance: When applied to language and vision models, SpaDE generated significantly more monosemantic latents and successfully eliminated the widespread "latent co-occurrence" (where multiple concepts erroneously activate the same latent) that plagued ReLU and TopK models.
Limitations and Future Work
- Euclidean Distance Bias: SpaDE assumes that concepts are cleanly separated by Euclidean distances, an assumption that might not hold true for all neural network latent spaces.
- Overspecialization Risk: Under highly aggressive sparsity constraints, SpaDE can over-partition data, isolating hyper-specific sub-clusters rather than learning broad, generalizable concepts.
- Mutually Exclusive Focus: The current evaluation focuses heavily on mutually exclusive concepts. Real-world features often overlap, and extending this geometric analysis to highly co-occurring concepts remains a vital next step.
Summary updated