atlas

Research map / Architectures and efficiency / RNNs and normalization

Improving Sparse Decomposition of Language Model Activations with Gated Sparse Autoencoders

NeurIPS 2024 · Architectures and efficiency › RNNs and normalization · approach: Sparse dictionary representations · 1 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.

Introduces Gated Sparse Autoencoders, which decouple feature detection (gated encoder trained with L1) from magnitude estimation, yielding a Pareto improvement in sparsity vs. reconstruction fidelity and resolving shrinkage on LM activations.

Problem

Sparse autoencoders trained with an L1 penalty for interpretable feature discovery in language model activations suffer from shrinkage and a biased trade-off between reconstruction fidelity and sparsity.

Approach

Replace the single-layer ReLU SAE encoder with a gated encoder whose Heaviside-gated path detects active features and is the only path penalized by L1, while a separate magnitude path estimates activation sizes; weights are tied between paths and an auxiliary reconstruction loss with frozen decoder trains the gate.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace the baseline SAE with a Gated SAESAE reconstruction of language-model activations · GELU-1L, Pythia-2.8B, and Gemma-7B tested sitesloss recovered at fixed L0Helped
replace the baseline SAE with a Gated SAESAE reconstruction of language-model activations · GELU-1L and Pythia-2.8Brelative reconstruction bias γHelped
replace the baseline SAE with a Gated SAESAE features · Pythia-2.8B and Gemma-7Binterpretability label score: 0.13 (90% CI [0, 0.26]); p = 0.06No clear effect
unfreeze decoder weights in the auxiliary loss Laux (ablation)Gated SAE · GELU-1L MLP neuron activationsloss recoveredHurt
remove the rmag scaling parameter (ablation)Gated SAE · GELU-1L MLP neuron activationsloss recoveredHurt
untie gating and magnitude encoder parameters (ablation)Gated SAE · GELU-1L MLP neuron activationsloss recoveredHurt
learn rescale and shift while freezing baseline encoder and decoder directionsBaseline SAE · GELU-1L MLP neuron activationsloss recoveredHelped
use a Gated SAE rather than baseline + rescale & shiftSAE reconstruction · GELU-1L MLP neuron activationsloss recoveredHelped

Surprising findings

Limitations

Experimental setup

Datasets: LM activations from GELU-1L, Pythia-2.8B and Gemma-7B forward passes

Benchmarks: loss recovered vs L0 on GELU-1L, Pythia-2.8B, Gemma-7B activations

Metrics: L0 loss recovered relative reconstruction bias (gamma) interpretability human rating

Baselines: baseline SAE (ReLU + L1) Wright and Sharkey rescale & shift Taggart JumpReLU (parallel work)

Builds on: sparse autoencoders (Bricken et al. 2023) Gated Linear Units JumpReLU

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