atlas

Research map / Architectures and efficiency / RNNs and normalization

Identifying Functionally Important Features with End-to-End Sparse Dictionary Learning

NeurIPS 2024 · Architectures and efficiency › RNNs and normalization · approach: Neural-symbolic reasoning · 4 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes end-to-end sparse dictionary learning, training SAEs by minimizing KL divergence of model outputs (optionally plus downstream reconstruction) with L1 sparsity, yielding a Pareto improvement over local MSE-trained SAEs on GPT2-small and TinyStories-1M.

Problem

Standard sparse autoencoders are trained to minimize activation reconstruction MSE, which may not prioritize features that are functionally important for explaining network behavior, wasting capacity on less important features.

Approach

Replace the original activations with SAE outputs and train the SAE end-to-end by minimizing KL divergence between the original and SAE-inserted output distributions plus an L1 sparsity penalty (e2e), with an optional downstream-layer MSE term (e2e+downstream) to keep computational pathways close to the original model; the base model is frozen.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace local activation-reconstruction training with output-distribution KL and sparsity trainingSAEs on GPT2-small · GPT2-small residual stream before attention layer 6; comparisons across sparsity coefficientsCE loss increase at a given L0: less than 45% of the CE loss increase of Local SAEHelped
Replace local activation-reconstruction training with output-distribution KL and sparsity trainingSAEs on GPT2-small · GPT2-small residual stream before attention layer 6; comparisons at approximately equivalent CE loss increaseL0: 69.4 -> 27.5Helped
Replace local activation-reconstruction training with output-distribution KL and sparsity trainingSAEs on GPT2-small · GPT2-small residual stream before attention layer 6; comparisons at approximately equivalent CE loss increasealive dictionary elements: 26k -> 22kHelped
Add downstream-layer reconstruction loss to end-to-end KL and sparsity training (ablation)End-to-end SAE · GPT2-small residual stream before attention layer 6downstream reconstruction lossHelped
Add downstream-layer reconstruction loss to end-to-end KL and sparsity training (ablation)End-to-end SAE · GPT2-small residual stream before attention layer 6; approximately matched CE loss increaseCE loss increase: 0.144 -> 0.125Helped
Increase learning rate above 0.0005 (ablation)Local SAE, End-to-end SAE, and E2E + downstream SAE · GPT2-small layers 2, 6, and 10alive dictionary elements at the same CE loss increaseHelped
Increase learning rate above 0.0005 (ablation)Local SAE, End-to-end SAE, and E2E + downstream SAE · GPT2-small layers 2, 6, and 10L0 versus CE loss increaseMixed
Increase initial dictionary size (ablation)Local SAE, End-to-end SAE, and E2E + downstream SAE · GPT2-small residual stream before attention layer 6L0 versus CE loss increaseHelped
Increase initial dictionary size (ablation)Local SAE, End-to-end SAE, and E2E + downstream SAE · GPT2-small residual stream before attention layer 6alive dictionary elementsHurt
Increase Local SAE training samples from 50k to 200k, 400k, or 800k (ablation)Local SAE · GPT2-small residual stream before attention layer 6L0 versus CE loss increaseNo clear effect
Increase End-to-end SAE training samples (ablation)End-to-end SAE · GPT2-small residual stream before attention layer 6L0 versus CE loss increaseHelped
Increase E2E + downstream training samples up to 400k (ablation)E2E + downstream SAE · GPT2-small residual stream before attention layer 6L0 and alive dictionary elements versus CE loss increaseHelped

Surprising findings

Limitations

Experimental setup

Datasets: OpenWebText TinyStories

Benchmarks: OpenWebText evaluation split

Metrics: CE loss increase L0 alive dictionary elements downstream reconstruction MSE automated interpretability score cosine similarity of dictionary features

Baselines: local SAE (MSE reconstruction) Gated SAE Towards Monosemanticity SAEs

Builds on: sparse autoencoders sparse dictionary learning Towards Monosemanticity

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy