paper-with-me

Papers

Sparse Autoencoders Find Highly Interpretable Features in Language Models

2023-09-15 · Hoagy Cunningham, Aidan Ewart, Logan Riggs, Robert Huben, Lee Sharkey

One of the roadblocks to a better understanding of neural networks' internals is \textit{polysemanticity}, where neurons appear to activate in multiple, semantically distinct contexts. Polysemanticity prevents us from identifying concise, human-understandable explanations for what neural networks are doing internally. One hypothesised cause of polysemanticity is \textit{superposition}, where neural networks represent more features than they have neurons by assigning features to an overcomplete set of directions in activation space, rather than to individual neurons. Here, we attempt to identify those directions, using sparse autoencoders to reconstruct the internal activations of a language model. These autoencoders learn sets of sparsely activating features that are more interpretable and monosemantic than directions identified by alternative approaches, where interpretability is measured by automated methods. Moreover, we show that with our learned set of features, we can pinpoint the features that are causally responsible for counterfactual behaviour on the indirect object identification task \citep{wang2022interpretability} to a finer degree than previous decompositions. This work indicates that it is possible to resolve superposition in language models using a scalable, unsupervised method. Our method may serve as a foundation for future mechanistic interpretability work, which we hope will enable greater model transparency and steerability.

📄 PDF Abstract BibTeX arXiv:2309.08600

Code (3)

hoagyc/sparse_coding 공식 구현 pytorch
jbloomaus/saelens jax
openmoss/language-model-saes jax

Tasks

counterfactualLanguage ModellingModel Editing

Similar Papers 제목 키워드 기반

Binary Sparse Coding for Interpretability

2025-09-29 · Lucia Quirke, Stepan Shabalin, Nora Belrose arxiv

Sparse autoencoders (SAEs) are used to decompose neural network activations into sparsely activating features, but many SAE features are only interpretable at high activation strengths. To address this issue we propose t…

Efficient Dictionary Learning with Switch Sparse Autoencoders

2024-10-10 · Anish Mudide, Joshua Engels, Eric J. Michaud, Max Tegmark 외

Sparse autoencoders (SAEs) are a recent technique for decomposing neural network activations into human-interpretable features. However, in order for SAEs to identify all features represented in frontier models, it will …

Dictionary LearningMixture-of-Experts

Transcoders Beat Sparse Autoencoders for Interpretability

2025-01-31 · Gonçalo Paulo, Stepan Shabalin, Nora Belrose

Sparse autoencoders (SAEs) extract human-interpretable features from deep neural networks by transforming their activations into a sparse, higher dimensional latent space, and then reconstructing the activations from the…

Analyzing (In)Abilities of SAEs via Formal Languages

2024-10-15 · Abhinav Menon, Manish Shrivastava, David Krueger, Ekdeep Singh Lubana

Autoencoders have been used for finding interpretable and disentangled features underlying neural network representations in both image and text domains. While the efficacy and pitfalls of such methods are well-studied i…

The Missing Curve Detectors of InceptionV1: Applying Sparse Autoencoders to InceptionV1 Early Vision

2024-06-06 · Liv Gorton

Recent work on sparse autoencoders (SAEs) has shown promise in extracting interpretable features from neural networks and addressing challenges with polysemantic neurons caused by superposition. In this paper, we apply S…