Reproduce “Sparse Autoencoders Find Highly Interpretable Features in Language Models” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Hoagy Cunningham, Aidan Ewart, Logan Riggs, Robert Huben, Lee Sharkey
The authors train sparse autoencoders on unlabeled Pythia activations to learn overcomplete directions that reconstruct activity from sparse combinations. On an automated interpretability measure, learned residual-stream features score higher than tested baselines, especially in early layers. In layer 11 of Pythia-410M, sparse features localize IOI behavior with fewer patches than PCA, but this task-specific result does not establish generalization.
Key insights
- Polysemanticity and superposition in language models can be effectively addressed by learning an overcomplete, sparse basis using sparse autoencoders.
- Sparse autoencoders can discover truly monosemantic features that are more interpretable and causally relevant than traditional neurons or components from other dimensionality reduction methods.
- The sparsity penalty applied during autoencoder training is crucial for extracting disentangled features that enable finer-grained causal attribution and facilitate mapping internal computational circuits.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.