Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Expander Sparse Autoencoders: Parameter-Efficient Dictionaries for Mechanistic Interpretability

About

Sparse autoencoders (SAEs) decompose internal activations of neural networks into sparse linear combinations of learned features by fitting an overcomplete dictionary $\mathbf{W}\in\mathbb{R}^{m\times n}$ with $m<n$, and inferring a sparse code $\mathbf{x}\in\mathbb{R}^n$ from $\mathbf{h}\approx\mathbf{W}\mathbf{x}$. This inference problem closely resembles the canonical setup of compressed sensing, but dense decoders requires $O(mn)$ learned values, which becomes costly at large feature counts. We introduce Expander SAEs: TopK SAEs whose decoder and tied encoder are supported on a left-$d$-regular expander mask with $d\ll m$, learning only $dn$ decoder values while keeping the sparse-coding problem $(m,n,k)$ fixed. The same structure reduces storage and turns the matching-pursuit correlation step $\mathbf{W}^\top \mathbf{r}$ in OMP into an $O(dn)$ gather-and-reduce operation. Our experiments show that across Pythia-70M/160M, Qwen2.5-3B, and Llama-3.2-1B residual-stream activations, varying $d$ traces a consistent storage--fidelity frontier, and that at the most compressed modern-LM setting, Qwen2.5-3B with $d=7$ uses $293\times$ fewer learned decoder values than the full dense decoder while retaining $84$% of dense CE-loss recovered. Control experiments show that the improved storage--fidelity tradeoff is driven by sparse, diverse decoder support structure rather than by fewer learned decoder values, and that when sparse and dense decoders are compared at matched parameter count, part of the remaining gap comes from encoder amortisation. On the theoretical side, we show that expansion and column flatness are sufficient for identifiability of noiseless $k$-sparse codes, and we derive complementary sufficient conditions under which OMP recovers the support exactly.

Rodrigo Mendoza-Smith• 2026

Related benchmarks

TaskDatasetResultRank
Sparse AutoencodingPythia-70M layer 3
Relative Error0.388
13
Sparse AutoencodingPythia-70M residual-stream activations 5,000-token (test)
Relative Error0.341
12
Sparse AutoencodingPythia-160M residual-stream activations 5,000-token (test)
Relative Error0.399
8
Sparse AutoencodingPythia-70M Layer 3 activations (held-out)
Relative Error0.415
4
Sparse AutoencodingPythia-160M Layer 8 activations (held-out)
Relative Reconstruction Error0.399
4
Sparse AutoencodingQwen2.5-3B Layer 12 activations (held-out)
Relative Error68.1
4
Sparse AutoencodingQwen2.5-3B Layer 24 activations (held-out)
Relative Error0.659
4
Sparse AutoencodingLlama-3.2-1B Layer 6 activations (held-out)
Relative Error73.2
4
Sparse AutoencodingLlama-3.2-1B Layer 12 activations (held-out)
Relative Error0.72
4
Showing 9 of 9 rows

Other info

Follow for update