Empirical Evaluation of Progressive Coding for Sparse Autoencoders
Hans Peter, Anders Søgaard
TL;DR
This work tackles efficient, interpretable progressive coding for sparse autoencoders in large language models. It proposes two approaches—Matryoshka SAEs (nested, shared-weight models) and dictionary-pruning via permutation ordering—grounded in the Dictionary Power Law hypothesis to enable high-fidelity reconstructions at varying granularity $G$. Empirically, Matryoshka SAEs outperform baselines on granularity-vs-reconstruction and downstream LM loss, while permutation-based methods offer interpretability advantages; power-law structure is observed across model scales. The authors also derive scaling laws relating reconstruction loss to model size $N$, granularity $g$, and sparsity $k$, and discuss practical limitations such as feature-splitting and decoder kernel inefficiencies, proposing directions for improved efficiency and larger-scale validation.
Abstract
Sparse autoencoders (SAEs) \citep{bricken2023monosemanticity,gao2024scalingevaluatingsparseautoencoders} rely on dictionary learning to extract interpretable features from neural networks at scale in an unsupervised manner, with applications to representation engineering and information retrieval. SAEs are, however, computationally expensive \citep{lieberum2024gemmascopeopensparse}, especially when multiple SAEs of different sizes are needed. We show that dictionary importance in vanilla SAEs follows a power law. We compare progressive coding based on subset pruning of SAEs -- to jointly training nested SAEs, or so-called {\em Matryoshka} SAEs \citep{bussmann2024learning,nabeshima2024Matryoshka} -- on a language modeling task. We show Matryoshka SAEs exhibit lower reconstruction loss and recaptured language modeling loss, as well as higher representational similarity. Pruned vanilla SAEs are more interpretable, however. We discuss the origins and implications of this trade-off.
