Ensembling Sparse Autoencoders

Soham Gadgil, Chris Lin, Su-In Lee

Sparse Autoencoders (SAEs) have emerged as the gold standard for mechanistic interpretability, allowing researchers to peek into the "black box" of Large Language Models (LLMs) by decomposing messy, high-dimensional activations into sparse, human-understandable features. However, a significant challenge remains: the "flashlight problem." Any single SAE, regardless of how well it is trained, only illuminates a limited subset of the features present in the activation space. Training two SAEs with different random seeds often yields different features, highlighting a lack of stability and coverage.

To address this limitation, researchers introduce SAE Ensembles, leveraging bagging and boosting techniques to combine multiple models. This approach yields significantly better reconstruction of neural activations, higher feature stability, and superior performance on downstream tasks compared to traditional single-model approaches.

Methodology: Ensembling Strategies

Instead of attempting to train one massive, "perfect" SAE, the authors formalize the ensembling of multiple smaller SAEs. They propose two primary strategies:

  1. Naive Bagging: Multiple SAEs are trained in parallel on the same data but with different random weight initializations. The final output averages their reconstructions, which is mathematically equivalent to concatenating their features into one large dictionary. This approach primarily aims to reduce variance and improve stability.
  2. Boosting: SAEs are trained sequentially. The first SAE learns to reconstruct the base activations. The second SAE is then trained specifically to reconstruct the residual error—the information the first SAE missed. The final output is the sum of all sequential reconstructions. This method is designed to reduce bias and capture niche, fine-grained features.

To ensure the observed benefits stem from the ensembling process itself rather than just an increase in parameter count, the authors rigorously compare these ensembles against an Expanded SAE baseline—a single large SAE possessing the exact same total number of features.

Experimental Setup

The models were trained on 800 million tokens from a copyright-cleansed version of The Pile. The evaluation spanned several models of varying scales, including GELU-1L, Pythia-70M, Pythia-160M, and Gemma 2-2B.

Downstream utility was tested on two primary tasks:

  • Concept Detection: Using datasets like Amazon Reviews (Sentiment), GitHub Code (Language), AG News (Topic), and European Parliament proceedings (Language).
  • Spurious Correlation Removal (SCR): Identifying and ablating gender-bias features in professional classification using the Bias in Bios dataset.

Key Findings and Insights

Superior Reconstruction and Stability

Ensembles drastically improve the ability to reconstruct language model activations. On Gemma 2-2B, a Boosting ensemble achieved an Explained Variance of 0.995, significantly outperforming the Expanded SAE baseline (0.948). Furthermore, ensembles proved to be two to three times more stable than single large SAEs. This means researchers are much more likely to reliably find the exact same features across different training runs.

The Stability-Reconstruction Tradeoff

The empirical results highlight a clear tradeoff between the two methods: Bagging is optimal for stability (finding consistent features across runs), while Boosting is superior for reconstruction (minimizing mathematical error).

Coarse-to-Fine Feature Hierarchies

Boosting naturally generates a "coarse-to-fine" feature hierarchy. The initial SAE in the sequence captures broad, high-level concepts (e.g., "programming"), while subsequent SAEs in the chain isolate specific, low-level details (e.g., "Java syntax errors" or specific tokenization quirks).

Rethinking the $L_0$ Metric

Typically, a higher $L_0$ (number of active features) implies lower interpretability. However, the authors found that while ensembles have a higher aggregate $L_0$, their automated interpretability (AutoInterp) scores remain high. This suggests that total sparsity is not a perfect proxy for understandability when features are distributed across an ensemble.

Practical Utility in Debiasing

In the Spurious Correlation Removal task, Boosting was highly effective at isolating gender-related features. Ablating these specific features allowed for more effective debiasing of classifiers compared to using a single SAE, proving the practical utility of the ensemble approach.

Limitations and Future Work

While powerful, SAE ensembles come with computational trade-offs. Training an ensemble of eight SAEs is roughly eight times more expensive than training one. While Bagging can be parallelized across GPUs, Boosting is inherently sequential, increasing training time. Furthermore, running an ensemble during inference increases memory usage and compute time, though the authors note it remains within practical limits (approximately one second for a forward pass in their tests).

Additionally, naive bagging can lead to redundant features, which may hinder tasks requiring the precise ablation of a specific concept. Future research directions include exploring "Stacking" (ensembling different architectures) and applying these ensembling methods to non-text domains, such as computer vision.

Summary updated

BibTeX
@inproceedings{gadgil2026ensembling,
  author = {Soham Gadgil and Chris Lin and Su-In Lee},
  title = {{Ensembling Sparse Autoencoders}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=tS5raDg2xX},
}
Figure