Views
No views yet
gemma-scope-9b-it-res-canonical :: layer_20/width_16k/canonical (Lieberum et al. 2024, Gemma Scope (arXiv:2408.05147))google/gemma-2-9b-it, residual stream, layer 20d_in=3584, d_sae=16384 (~16k)W_enc, b_enc, W_dec, b_dec fine-tuned; the JumpReLU threshold was frozen.(KL * alpha + MSE) * 0.5 where alpha = (MSE / KL).detach()
rescales the KL term to the MSE's magnitude. Optimizer AdamW, lr 5e-05, linear
decay; decoder rows kept unit-norm.monology/pile-uncopyrighted, ~25,000,000 tokens, ctx 1024monology/pile-uncopyrighted.| Metric | Baseline (GemmaScope) | Fine-tuned |
|---|---|---|
| delta CE | 0.4302 | 0.0163 |
| clean CE | 2.0111 | 2.0111 |
| spliced CE | 2.4414 | 2.0275 |
| mean L0 | 97.2686 | 116.7736 |
Caveat — sparsity drift. The JumpReLU threshold is frozen, but the fine-tuned encoder shifts more pre-activations above it, so L0 rises (see table). Part of the fidelity gain is the SAE firing more features, not purely more functionally faithful directions. For a strict same-sparsity comparison, compare against a GemmaScope SAE at the matched L0. Evaluated only on the training distribution and a single layer.
1from huggingface_hub import snapshot_download
2from sae_lens import SAE
3
4path = snapshot_download(repo_id="iarcuschin/gemma-scope-9b-it-res-canonical-l20-e2e")
5sae = SAE.load_from_disk(path, device="cuda")
6# identical interface to the original GemmaScope SAEfinetuned_sae.npz (keys: W_enc, b_enc, W_dec, b_dec, threshold) is also included for
GemmaScope-style loading.ea58cbf8cec21573f54c9563e73f429d24e1bec5metrics.json / the run's provenance.json