Introduction: The Reconstruction-Interpretability Frontier
Sparse Autoencoders (SAEs) have become a primary tool for mechanistic interpretability, enabling researchers to decompose complex Large Language Model (LLM) activations into sparse, human-interpretable features. However, traditional SAEs treat these features as a flat list, ignoring the inherent hierarchical structure of human semantics. This leads to a persistent trade-off: larger dictionaries improve reconstruction accuracy but often result in "feature splitting" (fragmented concepts) or "absorption" (blurred concepts).
Methods: Hierarchical Sparse Autoencoders (H-SAEs)
To address these limitations, this research introduces Hierarchical SAEs (H-SAEs). Instead of a single flat dictionary, H-SAEs utilize a two-tier "Mixture-of-Experts" architecture designed to explicitly model semantic relationships:
- Top-Level SAE: Identifies broad "parent" concepts (e.g., "weddings and marriage").
- Expert Subspaces: Each parent feature maps to a specific low-dimensional subspace.
- Low-Level SAEs: Within each subspace, "expert" SAEs capture fine-grained "child" features that only activate when the parent concept is present.
This conditional activation provides a significant efficiency boost. By routing inputs through the top-level SAE, the model only executes a small fraction of its total dictionary for any given input, allowing for massive scaling with minimal compute overhead.
Key Insights: Geometry and Efficiency
The H-SAE architecture is grounded in the geometric observation that categorical concepts in LLMs often occupy a "parent" direction and a "child" polytope. By explicitly modeling this geometry, H-SAEs achieve:
- Computational Efficiency: An H-SAE with 64 sub-features per expert can match the performance of a standard SAE while using only 25% of the compute.
- Cross-Lingual Universality: H-SAEs tend to learn underlying concepts rather than language-specific tokens. In tests across English, French, and Spanish, H-SAE features showed significantly higher stability across translations than those in standard SAEs.
Key Results
Evaluated on Gemma 2-2B using Wikipedia data, H-SAEs demonstrated superior performance across several benchmarks:
- Improved Reconstruction: H-SAEs consistently achieved higher "Explained Variance" compared to standard SAEs of equivalent size.
- Reduced Absorption: The architecture significantly mitigates "feature absorption," where a single feature is forced to represent multiple distinct concepts.
- Semantic Clarity: Qualitative analysis confirms that experts successfully branch into logical sub-categories. As shown in the marriage expert example (Expert #858), the model correctly segregates into sub-features for legal proceedings (divorce), social rituals (engagement), and specific cultural terms (shaadi, svadba).
Limitations and Future Directions
While H-SAEs represent a significant step forward, challenges remain. Some features remain difficult to interpret, and the current reliance on Euclidean distance may not perfectly capture the non-Euclidean internal geometry of LLMs. Future research will explore deeper hierarchical trees and alternative distance metrics to further refine the mapping of neural "thought" processes.
Summary updated