JumpReLU sparse autoencoders (SAEs) achieve higher reconstruction fidelity at every tested sparsity level than Gated SAEs, and match or slightly beat TopK SAEs, across 131,072-feature dictionaries trained on Gemma 2 9B without needing a partial sort or an auxiliary dead-feature loss. By replacing standard ReLU and L1 regularization with a discontinuous per-feature threshold trained through kernel-density straight-through estimators (STEs), Senthooran Rajamanoharan, Tom Lieberum, Neel Nanda, and colleagues at Google DeepMind separate which features fire from how strongly they fire in a single elementwise forward pass.
- Higher fidelity without extra encoder passes: Across layers 9, 20, and 31 of Gemma 2 9B (residual stream, MLP output, and pre-linear attention output), 131K-width JumpReLU SAEs trained for 8 billion tokens consistently produce lower delta LM cross-entropy loss and lower fraction of variance unexplained (FVU) at matched
L0than Gated SAEs and match or edge out TopK SAEs. - Direct L0 optimization with zero shrinkage: Training minimizes L2 reconstruction error plus an explicit
L0count penalty (lambda * ||f(x)||_0), removing the activation shrinkage caused by L1 proxies. - Few dead features without resampling: JumpReLU avoids the training collapse seen in original L1 Gated SAEs (which hit roughly 40% dead features at layer 20 even with periodic resampling), keeping dead features rare with no auxiliary loss.
- No interpretability tradeoff: Across 405 blinded human ratings (81 SAEs at target
L0of 20, 75, and 150) and 154,000 automated Gemini Flash simulation checks (1,000 features across 154 SAEs), JumpReLU features match TopK and slightly improve mean activation-prediction correlation over Gated SAEs.
How It Works
A standard SAE maps an activation x into pre-activations pi(x) = W_enc x + b_enc and decodes x_hat = W_dec f(x) + b_dec. When ReLU acts as both gate and estimator, an encoder faces an impossible tradeoff: positive noise on inactive features leaks through as false positives, while pushing b_enc downward (or penalizing ||f(x)||_1) shrinks active feature amplitudes and breaks fidelity.
JumpReLU replaces ReLU with JumpReLU_theta(z) = z * H(z - theta), where H is the Heaviside step function and theta is a learned positive threshold vector (parameterized as log(theta) initialized to 0.001). Any pre-activation below theta_i is zeroed; anything above theta_i passes unchanged. The loss combines L2 reconstruction with a direct L0 count penalty: L(x) = ||x - x_hat||_2^2 + lambda * sum_i H(pi_i(x) - theta_i).
Because JumpReLU and H are piecewise constant in theta, standard backpropagation yields zero gradient for the thresholds. The authors derive the analytical gradient of the expected loss, dE[L]/dtheta_i = (E[I_i(x) | pi_i(x) = theta_i] - lambda) * p_i(theta_i), where p_i is the pre-activation density at the threshold and I_i(x) = 2 * theta_i * d_i . (x - x_hat) measures the marginal reconstruction cost of turning feature i off. Replacing the Dirac delta in the backward pass with a rectangle kernel of bandwidth epsilon = 0.001 (with activations normalized to unit mean squared L2 norm) turns batch gradients into a kernel density estimate (KDE) of that true expected derivative. Applying relu to pre-activations before JumpReLU ensures negative values cannot bias the gradient window if theta_i drops below epsilon / 2.
Key Findings
Evaluating 131K-width SAEs across nine Gemma 2 9B sites (layers 9, 20, and 31 across residual, MLP, and attention outputs) over 2,048 sequences of 1,024 tokens yields three practical takeaways. First, JumpReLU matches or beats approximate TopK (jax.lax.approx_max_k with K_aux = 512) and consistently outperforms both original Gated SAEs and a reparameterization-invariant RI-L1 Gated variant on delta LM loss and FVU at fixed L0. Second, a quadratic target-sparsity loss (lambda * (||f(x)||_0 / L0_target - 1)^2) steers convergence cleanly to a chosen average L0 while still letting per-token sparsity vary dynamically. Third, human raters and Gemini Flash auto-interpretability find no quality drop relative to TopK or Gated baselines, and rectangle kernels match triangular, Gaussian, and Epanechnikov kernels without extra cost.
Caveats and Builder Takeaway
JumpReLU shares one notable quirk with TopK: both produce a small tail of very-high-frequency features firing on more than 10% of tokens, whereas Gated SAEs suppress that tail (though Gated SAEs carry more features firing on 1% to 10% of tokens at lower sparsity). In absolute terms, this mode stays under 0.06% of a 131K dictionary (fewer than 80 features), and those dense features tend to be less interpretable at higher L0. Two experimental limits also apply: all published benchmarks evaluate a single base model (Gemma 2 9B, with Pythia checks left unreported), and Gemini Flash simulation correlations do not directly measure circuit usefulness or steering reliability.
For practitioners training or choosing open dictionaries, JumpReLU is the simplest high-fidelity baseline: it gives dynamic per-token sparsity, avoids sorting bottlenecks, and powers the public Gemma Scope release. Still, as SAEBench later confirmed, winning the reconstruction-sparsity curve does not eliminate downstream issues like feature absorption or entangled latents.


