Inkling 2 Mini SAEs (early preview)
Sparse autoencoders (SAEs) for six layers of Inkling 2 Mini: layers 3, 8, 11, 14, 17 and 21. Each SAE is a TopK dictionary with 32,768 features, of which exactly 32 are active per token and pass. Each one reads a layer's output, the state the next layer receives. So each SAE can be spliced into the model for steering and ablation experiments, not only used for reading; see Results for how well that works per layer.
Status, 2026-11-27. Early preview; results are preliminary. These are research SAEs from an ongoing project. On our own faithfulness bar layer 14 misses and layer 21 is borderline, and steering is weak at layers 3, 17 and 21 (1β5% of sampled features, counting a follow-up sample at layers 3 and 17). Read Limitations before building on them.
Files
File (in sae/) |
Layer | Depth (layer / 24) | Training states | Notes |
|---|---|---|---|---|
inkling2mini_L3_out_k32_32k.safetensors |
3 | 13% | 40M | before the loop |
inkling2mini_L8_out_k32_32k.safetensors |
8 | 33% | 120M | in the loop (3 passes) |
inkling2mini_L11_out_k32_32k.safetensors |
11 | 46% | 120M | in the loop (3 passes) |
inkling2mini_L14_out_k32_32k.safetensors |
14 | 58% | 120M | in the loop (3 passes); fails faithfulness |
inkling2mini_L17_out_k32_32k.safetensors |
17 | 71% | 120M | loop exit (3 passes) |
inkling2mini_L21_out_k32_32k_kl.safetensors |
21 | 88% | 40M + KL fine-tune | after the loop; faithfulness borderline (over the bar by 0.004 nats, < 1 SE) |
inkling2mini_L21_out_k32_32k.safetensors |
21 | 88% | 40M | alternative: untuned layer 21 (see Results) |
| Supporting file | Contents |
|---|---|
sae/pass_means.safetensors |
per-layer, per-pass mean states for centering (required) |
config.json |
hook point, encode/decode formulas, file map, base model revision |
feature_index/L{layer}.safetensors |
per feature: max activation, firing count, top-30 occurrences on 256 FineWeb-Edu test documents, and each test token's TopK cutoff |
feature_index/L{layer}_acts.safetensors |
every non-zero activation on the test documents, grouped by feature (used for auto-interp) |
feature_index/test_tokens.safetensors |
the 256 test documents' token ids (Inkling 2 Mini tokenizer) and document offsets |
feature_index_big/ |
a larger index on 100M FineWeb-Edu tokens: firing counts, top and sampled firings, and activations on a pool of random tokens that supplies negatives, so auto-interp can explain and score nearly every feature (see Large feature index) |
Each SAE file is 604 MB (float32).
Usage
The model and the hook point
Inkling 2 Mini has 24 layers, hidden size 2304, and mixture-of-experts blocks (128 experts, 8 active per token). Layers 6β17 are looped: the model runs them three times per token (three "passes"). So a looped layer's output exists three times per token, once per pass. Layers 0β5 and 18β23 run once. There is no BOS token.
The hook point is the output of model.model.language_model.layers[L], for every token, on every pass for looped
layers. Passes are numbered from 0 in call order: a forward hook on a looped layer fires three times per forward pass
(p0, p1, p2). Across several forward calls, as in generate() with a KV cache, the pass is the hook's call
count modulo 3.
Pass-centering (required)
Subtract that layer's mean state for the current pass before encoding, and add it back after decoding. The means are
in sae/pass_means.safetensors under keys L{layer}_p{pass}: p0, p1 and p2 for looped layers, and p0 only
for layers 3 and 21. Centering removes the per-pass offset (a "loop counter"), so features don't waste capacity on it.
One SAE per layer covers all three passes.
Encode and decode
SAE tensors: W_enc (32768 Γ 2304), b_enc, W_dec (2304 Γ 32768), b_dec, and a scalar scale. Decoder columns
have unit norm.
# transformers 5.24.1 (the version used for training and by the Space)
import json, torch
from huggingface_hub import hf_hub_download
from safetensors.torch import load_file
from transformers import AutoModelForMultimodalLM, AutoTokenizer
REPO, BASE, L = "mm1m1/inkling-2-mini-saes", "thinkingmachines/Inkling-2-Mini", 11
cfg = json.load(open(hf_hub_download(REPO, "config.json")))
REV = cfg["base_model_revision"] # the base model revision the SAEs were trained on
# cfg["files"] maps each layer to its default file (layer 21: the KL-tuned one)
sae = load_file(hf_hub_download(REPO, cfg["files"][str(L)]))
pass_means = load_file(hf_hub_download(REPO, "sae/pass_means.safetensors"))
W_enc, b_enc, W_dec, b_dec, scale = (sae[k] for k in ("W_enc", "b_enc", "W_dec", "b_dec", "scale"))
def encode(layer_output, p): # p: pass index, 0-based (always 0 for layers 3 and 21)
x = (layer_output.float() - pass_means[f"L{L}_p{p}"]) / scale # centered, scaled
pre = (x - b_dec) @ W_enc.T + b_enc
top = pre.topk(32, dim=-1) # keep the 32 largest
return torch.zeros_like(pre).scatter(-1, top.indices, torch.relu(top.values))
def decode(f, p):
return (f @ W_dec.T + b_dec) * scale + pass_means[f"L{L}_p{p}"]
tok = AutoTokenizer.from_pretrained(BASE, revision=REV)
# a large model; on a GPU, add .to("cuda") here and move `ids` to the same device
# (the hook below brings the layer outputs back to the CPU, where the SAE tensors are)
model = AutoModelForMultimodalLM.from_pretrained(BASE, revision=REV, dtype=torch.bfloat16)
text_model = model.model.language_model.eval()
outputs = [] # one entry per pass, in call order
def hook(module, args, kwargs, out):
outputs.append((out[0] if isinstance(out, tuple) else out).detach().cpu())
handle = text_model.layers[L].register_forward_hook(hook, with_kwargs=True)
ids = tok("The capital of France is", add_special_tokens=False, return_tensors="pt").input_ids
with torch.no_grad():
text_model(input_ids=ids, attention_mask=torch.ones_like(ids))
handle.remove()
for p, layer_output in enumerate(outputs): # 3 passes for layers 6-17, 1 otherwise
f = encode(layer_output, p) # feature activations, (1, tokens, 32768)
recon = decode(f, p)
A feature's steering direction is its column of W_dec, times scale. Training loaded the base model's main
branch without pinning a revision; main was c9d028302cd0f035fdf8e7e91f089a4ce94d2195 (last updated
2026-11-24, before training began). Pin that revision for exact reproduction.
Feature index
feature_index/L{layer}.safetensors holds maxact, count, min_act, top_tok, top_act, top_pass (top-30
occurrences) and kth (each test token's TopK cutoff, per pass).
- It is built from 256 FineWeb-Edu test documents only (32,392 tokens) and stores token positions, not text.
top_tokis a position in the concatenated test tokens offeature_index/test_tokens.safetensors, with β1 where a feature has fewer than 30 occurrences. Decode a window around it with the base model's tokenizer to see the text. - The layer-21 index belongs to the KL-tuned file.
- Firing density is
count / (tokens Γ passes). On a sample this small it is unreliable below about 3e-4, and a count of 0 does not mean a feature is dead. Between 9% and 39% of features, depending on the layer, never fire on these documents; theirmaxactis 0.
Large feature index
feature_index_big/ (1.6 GB, index_version fwe-100M-v1) covers 100,005,729 tokens in 229,872 FineWeb-Edu
(sample-10BT) documents, each cut to at most 512 tokens. The documents come from two disjoint row ranges starting at
rows 1,000,000 and 1,300,000, past the rows used for training, the test documents and the KL fine-tune. There is no chat
text. Like the small index, it stores token ids and positions, not text, but the ids decode back to the documents'
FineWeb-Edu text (see License and attribution).
tokens.safetensorsholdstoken_ids(int32) anddoc_off(document offsets). Even documents are the explain split and odd documents the score split, so an explanation is scored on other documents than the ones it was written from. The split is by position, not content: 81 score documents are token-identical to an explain document.L{layer}.safetensorsbelongs to the layer's SAE (layer 21: the KL-tuned file;L21_untuned.safetensorsindexes the untuned alternative). Per feature it holds:count,count_explain,count_score: token-level counts. A token counts once if the feature fires on any loop pass, so firing density iscount / n_tokens, notcount / (tokens Γ passes)as in the small index.maxact, the largest activation over the 100M tokens.ex_*andsc_*: the 64 strongest firings in explain and in score documents.smp_*: a uniform random sample of up to 128 score-document firings. Each has_tok(a position intoken_ids, β1 where empty),_act(the activation, max over loop passes),_pass(the pass that gave it) and_pmask(bit p set if it fired on pass p).- A pool of 199,734 random score-document tokens (
pool_tok), with each feature's activations on them in CSR form (pool_off,pool_idx, andpool_actin float16). A feature is silent on the pool tokens it doesn't list. When an explanation is scored, its negatives are pool tokens where the feature is silent.
Almost every feature fires often enough here to be explained and scored:
SAE Features with β₯ 10 explain and β₯ 5 score firings Never fired L3 99.8% 8 L8 99.1% 6 L11 99.9% 0 L14 100.0% 0 L17 93.1% 80 L21 (tuned) 99.5% 4 L21 (untuned) 100.0% 0 The steering-lab Space shows its examples, runs auto-interp and takes its unit of steering strength (
maxact) from this index when the folder is present. The local lab still uses the small index.D4, D6 and D9 chose and tested their features using the 256 test documents (D6 steers five fixed prompts), not this index.
Training
- Data: FineWeb-Edu (
sample-10BT) and WildChat-1M (about 30% of documents are chats, in the model's chat template; toxic WildChat rows dropped), each cut to at most 512 tokens. - States: 120M for the looped layers (three passes pooled) and 40M for layers 3 and 21.
- Recipe: TopK, k = 32, Adam with a constant learning rate of 1.2e-4, batch size 4,096, and a 400k-state shuffle buffer. An auxiliary loss revives dead features (AuxK: k_aux 512, coefficient 1/32). The SAE initialisation and batch shuffling were not seeded; only the mix of web and chat documents used a fixed seed.
- Layer 21 fine-tune: layer 21 was then fine-tuned for 2,000 steps (lr 3e-4) on KL(clean β spliced) plus 0.1 Γ MSE, on FineWeb-Edu prefixes of at most 127 tokens (the same kind of text D1 tests on, but different documents). This improves how well the model's predictions survive splicing. The other five layers are not fine-tuned. A tuned layer 14 was tried and rejected: its interpretability dropped by 3 SE. A tuned layer 17 was also trained. A rule fixed before its result said it would replace the untuned file only if the untuned file's extra loss (+0.130) was within 1 SE of the 0.15 bar; it was 4 SE under, so the untuned layer-17 file ships.
Results
Checks
The D-numbers are internal check IDs and are not contiguous. Unless noted, checks use 256 held-out FineWeb-Edu documents, each a prefix of at most 127 tokens. Features for D4, D6 and D9 are sampled at random from those that fire often enough on these documents to be tested, not from the whole dictionary.
| Check | What it measures | Bar |
|---|---|---|
| VE | Variance explained: share of the state's variance the SAE rebuilds, mean over passes. Measured on 50,000 held-out states per layer and pass from the training data mix; the KL-tuned layer 21 on the 256 test documents | diagnostic, β₯ 0.75. The original bar was 0.80; it was lowered to 0.60 mid-project because D1 passed at VE 0.59β0.71 on these layer outputs, then raised to 0.75 when a bar review judged 0.60 fitted to our own results (Gemma Scope reaches 0.76β0.78 at similar sparsity). Only layer 3 clears 0.75 and none clears 0.80; layers 14 and 21 (KL-tuned) are also below 0.60 |
| D1 faithfulness | Splice the reconstruction in place of the layer output. Report the share of next-token loss recovered, measured against replacing the state with its mean, and the extra loss in nats | β₯ 90% recovered and β€ +0.15 nats |
| D4 autointerp | Claude labels a feature from its top examples, then tells firing from non-firing text (Claude Sonnet 5.5 for both). Run with random negatives ("standard") and with near-miss negatives ("hard"). 100 features per layer (83 for the KL-tuned layer 21, the ones of the untuned sample that still qualify), from the 20β39% of features with enough firings. On looped layers only the second pass (p1) is scored. Detection positives come from the upper half of a feature's held-out activations | standard β₯ 0.85, hard β₯ 0.75 (the hard bar applies to features with at least 4 same-token negatives) |
| D5 sparse probing | For 18 token concepts, how well the 5 best features classify the concept, compared with a full linear probe (median ratio). Each document's first token is excluded. Values in parentheses are from an earlier 19-concept version with two faults (see Limitations) | β₯ 0.80 |
| D6 steering | Add a feature at matched-KL doses. A blind judge (Claude Sonnet 5.5, which also wrote the labels) checks that the text moves toward the feature's label and stays fluent. 40 features per layer, from those firing in at least 20 test documents | pooled β₯ 9.0% of features succeed, no layer at 0/40 (replaced an original bar of 7/10 hand-picked features, which Gemma Scope also fails under this protocol; set from the Gemma Scope reference before any Inkling result under the final protocol; an earlier hand-picked Inkling run had already shown layer 17 at 0/10 and layer 21 at 1/10) |
| D9 ablation | Remove a feature where it fires. Does the output distribution change more than for any of 24 decoder-permuted controls? 40 features per layer, sampled as for D6 | β₯ 69% at layer 3, β₯ 57% elsewhere |
Final SAEs (the files in this repo)
D4 SE is about 0.02 per cell. D4 hard scores in this table are over all sampled features. On the subset the hard bar applies to (features with at least 4 same-token negatives, n = 56β71 per layer) they are lower: layer 3 0.744 Β± 0.023, 8 0.649, 11 0.654, 14 0.614, 17 0.634, 21 KL-tuned 0.677 (untuned 0.665); SE about 0.02.
| Layer | VE | D1 loss recovered | D1 extra loss (nats) | D1 | D4 standard / hard | D5 |
|---|---|---|---|---|---|---|
| 3 | 0.776 | 99.4% | +0.023 | met | 0.934 / 0.779 | 0.781 (0.803) |
| 8 | 0.650 | 92.9% | +0.042 | met | 0.781 / 0.672 (n = 300: 0.793 / 0.695) | 0.594 (0.591) |
| 11 | 0.621 | 92.7% | +0.071 | met | 0.804 / 0.657 | 0.551 (0.552) |
| 14 | 0.552 | 86.3% | +0.047 | missed (loss recovered) | 0.794 / 0.644 | 0.454 (0.452) |
| 17 | 0.672 | 96.7% | +0.130 | met | 0.824 / 0.666 | 0.624 (0.630) |
| 21 (KL-tuned) | 0.496 β | 90.6% | +0.154 (SE 0.007) | inconclusive (extra loss; not met) | 0.814 / 0.693 (83 features) | 0.545 (0.561) |
| 21 (untuned, alternative) | 0.650 | 88.3% | +0.192 (SE 0.007) | missed (both) | 0.845 / 0.698 | 0.559 (0.556) |
- D1 is met at layers 3, 8, 11 and 17. Layer 14 is 4 points short. Replacing layer 14's output with its mean costs
only 0.34 nats (3.95 at layer 17), so its small extra loss is a low share of loss recovered. Note that a layer's
output is not the whole state the next layer reads: every layer also receives the model's
block_states. Layer 21 is over the extra-loss bar by 0.004 nats, which is less than 1 SE, so by our rule it is inconclusive: not met, but not clearly missed. - β The KL-tuned layer-21 VE is on the 256 test documents; the other rows are on the held-out training-mix states. On the 256 test documents the untuned SAEs score 0.773 / 0.644 / 0.639 / 0.544 / 0.667 / 0.641 (layers 3 to 21), so the like-for-like layer-21 change is 0.641 β 0.496.
- D4 and D5 miss their bars at most layers. Layer 3 is the exception: borderline on both. Its D4 hard score on the bar's subset (0.744 Β± 0.023) and its D5 (0.781, bootstrap SE about 0.04) are both just under their bars and within noise, and a result within 1 SE of a bar counts as inconclusive, not as met.
- The D5 bar is set at the level of a reference SAE we consider good: a layer-11 "readout" SAE, which can't be spliced, scored 0.81 on an earlier six-concept version of the check.
- Dead features: none at the end of training (no firing in the last 10M training states), except 0.06% at layer 17. This is a different measure from the share that never fires on the 256 test documents (see Feature index). At most 0.09% of features fire on more than 10% of tokens. Neither was re-measured after the layer-21 fine-tune.
- NDIF check: states computed on our GPU match NDIF's hosted model at a median cosine of 0.998β1.000 at all six layers. This was checked during the earlier 30M run and not repeated since.
Which layer-21 file to use: the KL-tuned file when you splice the SAE into the model (steering, ablation, circuit work), because the model's predictions survive splicing better. Use the untuned file to analyse the layer-21 state itself, because it rebuilds more of it. D9 and D6 on the final weights used the tuned file.
Ablation and steering
D9 (ablation) and D6 (steering) were measured on the final weights in this repo. For comparison, the table also shows both checks on an earlier version of these SAEs, trained on 30M states (10M at layers 3 and 21). The two versions share few features: only 3β21% of the shipped features have a match above cosine 0.7 in the earlier dictionary (6β21% if layer 21 is the untuned file), and the two were trained from different random initialisations. A replicate of the earlier SAEs that differs from them only in its random initialisation and minibatch shuffle shares a similar 5β18% (layers 11, 14 and 21), so the low overlap mostly reflects run-to-run randomness rather than training length.
| Layer | D9 on final weights: features beating all controls | D9 bar | D9 | D9 on 30M SAEs | D6 on final weights: features steered (of 40; of 80 where noted) | D6 on 30M SAEs |
|---|---|---|---|---|---|---|
| 3 | 6/38 (16%) [7, 30] | β₯ 69% | missed | 5/40 (13%) | 0 (0%) [0, 9]; with 40 more features 1/80 (1%) [0.2, 7] | 2 (5%) |
| 8 | 12/40 (30%) [18, 45] | β₯ 57% | missed | 14/38 (37%) | 10 (25%) [14, 40] | 12 (30%) |
| 11 | 16/40 (40%) [26, 55] | β₯ 57% | missed | 19/40 (48%) | 9 (23%) [12, 38] | 14 (35%) |
| 14 | 13/40 (33%) [20, 48] | β₯ 57% | missed | 15/40 (38%) | 8 (20%) [10, 35] | 5 (13%) |
| 17 | 33/40 (83%) [68, 91] | β₯ 57% | met | 27/40 (68%) | 0 (0%) [0, 9]; with 40 more features 4/80 (5%) [2, 12] | 2 (5%) |
| 21 (KL-tuned) | 32/40 (80%) [65, 90] | β₯ 57% | met | 36/37 (97%) | 1 (3%) [0.4, 13] | 0 (0%) |
| pooled | 28/240 = 11.7% [8.2, 16.3]; with the extra features 33/320 = 10.3% [7.4, 14.1] | 35/240 = 14.6% [10.7, 19.6] |
Intervals are 95% Wilson intervals. D9 denominators below 40 exclude features without 24 eligible controls. The 30M columns at layer 21 used an untuned SAE.
- D9 is met at layers 17 and 21 and missed at layers 3, 8, 11 and 14, the same verdicts as on the 30M SAEs. The changes at layers 3β14 are within the intervals. Layer 17 rose (68% β 83%), just outside each other's intervals (Fisher p = 0.20). Layer 21 fell (97% β 80%), clearly outside them (Fisher p = 0.03). Layer 21's drop may come from the KL fine-tune or from the different dictionary; we have not separated the two.
- D9 effects are small in absolute terms. Features that pass have a median KL of about 0.0005β0.002 nats. Over all tested features, the median KL is about 1.1Γ the control median at layers 3β14, 1.4Γ at layer 17 and 2.0Γ at layer 21. Layer 21 has the smallest absolute effect but the largest ratio.
- Under the pre-registered rule, D6 fails on the final weights: the pooled share clears 9.0%, but layers 3 and 17 were at 0/40. (On the 30M SAEs it failed at layer 21 only.) A follow-up, decided after that result (its decision rule fixed before its data), tested 40 more features at those two layers: layer 3 steered 1 of 80 and layer 17 4 of 80, so on the extended sample no layer is at zero (pooled 33/320 = 10.3% [7.4, 14.1]; this pool counts layers 3 and 17 twice). The new samples did better than the old ones at those layers, but not significantly (Fisher p = 1.0 and 0.12; 0.06 pooled over both). Read this as a narrow pass at best: only the failing layers were resampled, and layers 3 and 21 rest on one passing feature each. No per-layer change between the two SAE versions is significant (Fisher p β₯ 0.32 at every layer on the first sample; p = 0.26 at layer 3 with the extended sample).
- Steering works best in the middle of the loop (layers 8, 11 and 14, 20β25% on the final weights). Removing features matters most late (layers 17 and 21). The two checks mirror each other.
- Difference-of-means reference vectors (3 topics per layer; the music and government topics occur in only 4 of the 256 test documents each) don't involve the SAE; their texts are the same in every run, except that the Γ128 re-run replaced the top dose with a higher one for 4 of the 9 vectors at layers 8β14, and they were judged again. They steer at layers 8 and 11 (3/3 each in all three judgings) and mostly fail at layers 3, 14 and 17 (0β1/3; layer 3 moved between 1/3 and 0/3 as the same texts were re-judged); layer 21 reaches 2/3.
- The judge is itself noisy, and the Wilson intervals don't include that. On the reference items, judged twice, it agreed with itself on 96.9% of win/no-win calls; on 1,785 feature items judged again in the Γ128 re-run (same text and label), on 91.9%. In the first sample, layers 3 and 17 each had 4 features one win short of passing, so a single judge call could move a layer off zero. On the extended sample, layers 3 and 21 each pass on a single feature (with a margin of three and two judge calls), so the "no layer at zero" result rests on single features.
- Random-weights control for D9: SAEs trained on a randomized model score 2/40 at both layers tested (11 and 17), which is chance level.
Comparison with Gemma Scope
We ran the same D6 steering protocol on Gemma Scope SAEs (Gemma 2 2B, 16k features, JumpReLU), with the same labeller and judge. Inkling doses were chosen so their median KL matches Gemma's (Gemma used fixed multiples of each feature's max activation). The Gemma Scope SAEs used here are less sparse (L0, the number of active features per token, is about 70β84, against 32; these are different Gemma Scope files from the ones in the reconstruction comparison below).
| Pooled steering share | Late layer | Mean best-dose wins (of 5) | |
|---|---|---|---|
| Inkling (these layers, final weights) | 28/240 = 11.7% | L21 (88% depth): 1/40 | 1.87 |
| Inkling (final weights, 80 features at layers 3 and 17) | 33/320 = 10.3% | L21 (88% depth): 1/40 | 1.72 |
| Inkling (these layers, 30M SAEs) | 35/240 = 14.6% | L21 (88% depth): 0/40 | 1.98 |
| Gemma Scope (layers 6, 12, 18) | 17/120 = 14.2% | L22 (85% depth): 3/40 | 1.96 |
| Gemma Scope (layers 6, 12, 18, 22) | 20/160 = 12.5% |
Caveat on the pooled match: at layers 8 and 11, the D6 dose grid (up to Γ32) hit its cap for most features (39 of 40 at each layer on the final weights, and 25 of 40 at layer 14). So the "matched KL" doses there are lower than Gemma's, and without layers 8 and 11 the pooled share drops to 5.6% (on both versions; also without layer 14, 1/120 on the final weights; with the follow-up features at layers 3 and 17, 14/240 = 5.8% and 6/200 = 3.0%). Compare per layer: Gemma Scope's layers 6, 12 and 18 steer 5, 7 and 5 of 40 (13%, 18%, 13%). Re-running layers 8, 11 and 14 with the grid extended to Γ128 (the same 40 features each) gave 15, 12 and 7 of 40 (at Γ32: 10, 9 and 8; paired McNemar p = 0.18, 0.38 and 1.0). The Γ32 numbers remain the record, but they may understate layers 8 and 11 somewhat. Even at Γ128 the cap binds for 19 and 33 of 40 features at those layers, and the median top-dose KL stays about 0.5, against Gemma's about 1.07. At layer 11 the KL is still rising at Γ128; at layer 8 about half the features level off before Γ128 (at KL 0.1β1.6, median 0.7, most well under Gemma's 1.07), so larger doses would not reach Gemma's for most of them.
At a single target dose (KL 0.5), measured on the 30M SAEs, the share of steered texts that stay fluent was (at layers 8 and 11, 13 and 19 of the 40 features reached the Γ128 dose cap before that KL, so they were steered more weakly):
| Middle layers (depth) | Late layers (depth) | |
|---|---|---|
| Inkling | L8 (33%) 0.71, L11 (46%) 0.78 | L17 (71%) 0.12, L21 (88%) 0.14 |
| Gemma Scope | L12 (46%) 0.64, L18 (69%) 0.45 | L22 (85%) 0.42 |
Inkling layers 3 and 14 and Gemma Scope layer 6 were measured too and are not shown.
- Inkling's middle-loop features steer about as well as Gemma Scope's best layer, or better.
- Inkling's late features push text toward their label (on the 30M SAEs at KL 0.5, L21 is on-label 58% of the time) but break fluency far more often.
Ablation (D9) on Gemma Scope, with fresh features, reached 84% (layer 6), 72% (layer 12) and 72% (layer 18). The D9 bars above are these figures minus a 15-point margin.
Reconstruction at matched sparsity, on our 256 test documents: Gemma Scope reaches VE 0.76β0.78 at L0 37β43, against 0.50β0.77 for these SAEs at L0 32. Inkling's layer outputs may be intrinsically harder to compress, but this has not been shown.
Limitations
- Preliminary. Individual features are only partly reproducible across runs. A replicate of the earlier 30M-state SAEs (10M at layer 21; same recipe, document order and length; only the random initialisation and minibatch shuffle differ) shares 18%, 10% and 5% of its features with them at layers 11, 14 and 21 at decoder cosine above 0.7, counting every feature equally. Weighted by how often features fire on the 256 test documents, the shares are 41%, 35% and 37% (66β79% at cosine above 0.5). Rarely firing features match worst, but even weighted by firing, most activity (59β65%) falls on features without a match above 0.7. The shipped SAEs were not replicated. Treat any single feature as one of several possible ways to decompose the layer.
- Only frequently firing features were evaluated. D4, D6 and D9 sample from the 14β43% of features that fire often enough on the test documents (D4 20β39%; D9 and D6 14β43%). Nothing here measures the rest.
- Layer 14 is unfaithful. Splicing it in recovers only 86% of the loss. Layer 14 also has the lowest VE of the untuned SAEs here, and was the hardest layer to compress for every dictionary type we tried on the earlier data.
- Layer 21 steering breaks fluency. On the final weights, over all four doses, 54% of steered texts stay fluent and 8% are both on-label and fluent (layers 8 and 11: 84% and 24β25%). On the earlier 30M SAEs its features behaved like single-token output writers: adding them drove text toward a few output tokens ("income income income class income"). Layer 17 breaks fluency nearly as badly (59% fluent, 12% on-label and fluent), but on the 30M SAEs its features did not show the output-writer signature. Use layers 8 and 11 for steering (layer 14 steers similarly on these weights, but is the least faithful layer when spliced in), and layers 17 and 21 for ablation.
- Layer 21 trades reconstruction for faithfulness. The KL fine-tune lowered its VE from 0.641 to 0.496 (same test documents) while raising loss recovered from 88.3% to 90.6%. It rebuilds less of the state but more of what the model's predictions use. If you need reconstruction (for example, reading feature contributions to the state), keep this in mind.
- Rare-feature tail. 28β55% of features fire on fewer than 1 in 10,000 tokens of the test documents. Together they carry about 1% of activation energy (0.4β2.1% by layer), and they are the features that changed most between the 30M and 120M training runs. Treat rare features' labels and top examples as unreliable.
- Measured on short web text only. D1 uses about 127-token FineWeb-Edu prefixes. Behaviour on long contexts, chat or code is unmeasured.
- D5 is a small check (18 concepts). An earlier version had two faults: two concepts collapsed onto each document's first token, and one concept duplicated another. Both are fixed in the values shown; the fixes change no value by more than 0.022. D5 was one of the gates in choosing the layer-21 file and the 120M run, but changed neither choice.
- Feature labels. This repo ships none. The labels shown in the steering lab are written from top examples by the assistant model chosen in the lab (Claude by default). They describe what activates a feature, not what it does to the output.
Steering lab
The Inkling Steer Lab lets you pick a feature, see its top examples (from feature_index_big/), and
compare the default, steered and ablated replies of Inkling 2 Mini side by side, with an auto-interp explainer and
scorer. Its code is in the Space's Files tab. Explanations that visitors share from the Space (sharing is on by default) are collected in the
explanations dataset.
- Steering adds
strength Γ max activation Γ W_dec[:, f] Γ scaleto the layer output at every token position. On the Space,maxactis the feature's max activation over the 100M tokens offeature_index_big/. The local lab usesfeature_index/, the 256 test documents, which is too small a sample: for most features its max is well below the 100M max, and for many rare ones it is 0. For a feature that never fired in the index used (maxact0), the lab uses the layer's median max activation over the features that fired. The D6 doses were set relative to the 256-documentmaxact, so on the Space a strength Γs is a larger push than a D6 dose Γs (for the D6 features, a median 1.6β2.4 times larger, by layer). - Ablation subtracts the feature's exact TopK activation times its decoder column, times
scale, at every token where it fires. - Both act on the last loop pass by default. The D9 check ablates on all passes.
License and attribution
- The SAE weights are released under Apache-2.0, matching the base model, Inkling 2 Mini (Apache-2.0).
- Training data: FineWeb-Edu (ODC-By 1.0) and
WildChat-1M. The feature index is built from FineWeb-Edu
only. It stores token ids, not raw text, but the 256 test prefixes in
feature_index/and the 229,872 document prefixes infeature_index_big/decode back to their FineWeb-Edu text. Check WildChat's current terms before reusing any text derived from it (for example top-activating examples you compute on chat data). - The steering comparison uses Gemma Scope (Lieberum et al., 2024).
Citation
There is no paper yet. To refer to this release, cite the repository and its date.
@misc{mm1m1_2026_inkling2mini_saes,
author = {mm1m1},
title = {Inkling 2 Mini SAEs (early preview)},
year = {2026},
howpublished = {\url{https://huggingface.co/mm1m1/inkling-2-mini-saes}}
}
Related work:
- Lieberum et al. (2024). Gemma Scope: Open Sparse Autoencoders Everywhere All At Once on Gemma 2. arXiv:2408.05147.
- Gao et al. (2024). Scaling and evaluating sparse autoencoders. arXiv:2406.04093. (TopK SAEs and the AuxK loss.)
- Downloads last month
- 125
Model tree for mm1m1/inkling-2-mini-saes
Base model
thinkingmachines/Inkling-2-Mini