Incorporating Hierarchical Semantics in Sparse Autoencoder Architectures

Mark Muchane, Sean M. Richardson, Kiho Park, Victor Veitch · DOI

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:

  1. Top-Level SAE: Identifies broad "parent" concepts (e.g., "weddings and marriage").
  2. Expert Subspaces: Each parent feature maps to a specific low-dimensional subspace.
  3. Low-Level SAEs: Within each subspace, "expert" SAEs capture fine-grained "child" features that only activate when the parent concept is present.
Visualization of Expert #858 (Marriage/Weddings) and its specialized sublatents for divorce, engagement, and literal marriage mentions.

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

BibTeX
@inproceedings{muchane2026incorporating,
  author = {Mark Muchane and Sean M. Richardson and Kiho Park and Victor Veitch},
  title = {{Incorporating Hierarchical Semantics in Sparse Autoencoder Architectures}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=bxzKrp5LXO},
}
Figure