Gemma Scope open-sourced over 400 main-release JumpReLU sparse autoencoders (and more than 2,000 checkpoints across multiple sparsity levels) totaling over 30 million learned latents across every layer and sublayer of Gemma 2 2B and 9B, plus select sites on Gemma 2 27B and 9B instruction-tuned models. Released by Google DeepMind under a permissive CC-BY-4.0 license, the suite gave external researchers multi-layer dictionary coverage previously restricted to proprietary frontier models.

  • Infrastructure scale: Training required over 20% of GPT-3’s training compute, buffered roughly 20 PiB of 32-bit activations on disk (around 100 TiB per 8B-token Gemma 2 9B site), and hit 50.8% model FLOP utilization (45 ms per 4,096-token batch for 131K-wide SAEs on 8 TPUv3 chips).
  • Every site, not one layer: Covers attention outputs (pre-W_O), post-RMSNorm MLP outputs, and post-MLP residual streams across all 26 layers of Gemma 2 2B and all 42 layers of Gemma 2 9B, plus widths up to 1M latents (2^20, 16B tokens) at three layers each.
  • Bfloat16 parity: Evaluating Gemma 2 2B and 9B SAEs in bfloat16 rather than float32 produces negligible loss-versus-sparsity drift, cutting memory pressure for multi-SAE circuit runs.
  • Base-to-chat transfer: Base (PT) SAEs reconstruct instruction-tuned (9B IT) rollouts with delta cross-entropy loss nearly as small as SAEs trained directly on IT activations, though Fraction of Variance Unexplained (FVU) reveals a wider gap.
What Gemma Scope releases across the Gemma 2 model family
ModelSAE widthsSites & layersTokens
Gemma 2 2B PT (26L)16.4K, 65.5K; ladder to 524K; 1MAll Attn/MLP/Resid (16K, 65K) + MLP transcoders; L12 ladder; L5/12/19 (1M)4B to 16B
Gemma 2 9B PT (42L)16.4K, 131K; ladder to 524K; 1MAll Attn/MLP/Resid (16K, 131K); L20 ladder; L9/20/31 (1M)4B to 16B
Gemma 2 27B PT (46L)131KPost-MLP residual stream at layers 10, 22, and 348B
Gemma 2 9B IT (42L)16.4K, 131KPost-MLP residual stream at layers 9, 20, and 31 (masking user prefix)4B to 8B

Source: Lieberum et al. (2024), Section 3 and Table 1.

How It Works

Every SAE in Gemma Scope uses the JumpReLU architecture, which zeroes out pre-activations below a learned per-latent threshold theta_j while passing values above threshold unchanged (z * H(z - theta)). Training optimizes squared reconstruction error plus a direct L0 penalty using straight-through estimators with kernel density bandwidth epsilon = 0.001, learning rate 7e-5, and batch size 4,096 (on Gemma 2 models, see our Gemma 2 distillation note). To keep hyperparameters transferable across sites whose raw activation norms vary by orders of magnitude, the team normalized training activations by a scalar constant to unit mean squared norm, then folded those scaling factors directly into the released weights and thresholds so inference works on raw activations without extra normalization.

Because shallow SAE training steps take milliseconds while sweeping sparsity values requires reusing the same activations repeatedly, disk I/O easily bottlenecks accelerators (exceeding 1 GiB/s per 9B trainer). DeepMind found storing raw 32-bit activation shards on disk for 10 to 100 days was over an order of magnitude cheaper than regenerating them, and built distributed ring-buffer servers that stream shards across concurrent sparsity sweeps using Megatron tensor sharding for wide dictionaries (65.5K to 1M) and data parallelism for 16.4K.

Key Findings

Evaluating 2,048 sequences of length 1,024 reveals sharp behavioral differences across attachment sites, sequence positions, and domains. First, residual-stream SAEs incur noticeably higher delta LM cross-entropy loss than MLP or attention SAEs even when FVU looks comparable across sites. Because the residual stream is the central communication bus read by all downstream blocks, small reconstruction errors compound, whereas a single sublayer contributes only a small additive update.

Three SAE attachment sites per Gemma 2 block and what each captures
Attention pre-W_O

Concatenates all attention heads before output projection. Reconstruction loss rises steadily over the first 100 tokens as long-range context builds.

MLP output (post-RMSNorm)

Captures local n-gram and feed-forward computations; reconstruction loss peaks around token 10 and flattens. Outperforms MLP transcoders on Gemma 2 2B.

Post-MLP residual stream

Carries accumulated state between blocks. Highest delta LM loss sensitivity per unit FVU; includes width ladders from 16.4K to 524K and 1M runs.

Source: Lieberum et al. (2024), Section 3.1, Figure 1, and Sections 4.1 through 4.2.

Across The Pile validation subsets, Gemma Scope SAEs reconstruct formulaic mathematics (dm_mathematics) with the lowest delta loss and struggle most on multilingual europarl, reflecting the predominantly English Gemma 1 pretraining distribution used to collect activations. On the 2B width ladder (16.4K to 524K at constant lambda = 6e-4), wider dictionaries shift most latents toward lower firing frequencies, yet a persistent cluster of ultra-high-frequency latents remains. Finally, Gemma Scope’s experimental Gemma 2 2B MLP transcoders suffer higher delta LM loss than MLP output SAEs at matched L0, reversing the pattern reported earlier on GPT-2 Small.

Caveats & Builder Takeaway

  • Feature IDs do not align across checkpoints: Index 42 in layer 12 has no relationship to index 42 in layer 13 or a wider dictionary; tracing concepts across layers requires activation correlations or causal patching.
  • English-skewed training distribution: Weak europarl performance and higher FVU on chat rollouts show that pretraining-trained SAEs still miss low-impact chat-specific or non-English directions.
  • Proxy metrics are not ground truth: Like SAEBench later emphasized, delta LM loss and FVU cannot detect feature splitting, spurious compositions, or non-linear circular features on their own.

If you are studying circuits, steering, or probes on an open model, Gemma Scope eliminates the multimillion-token training cost of building per-layer dictionaries from scratch. Start with 16.4K or 65.5K/131K SAEs in bfloat16 for fast sweeps, and reach for the 1M-wide residual checkpoints or Neuronpedia dashboards when you need finer concept resolution.