Dataset Viewer
Auto-converted to Parquet Duplicate
curriculum
stringclasses
5 values
step
int64
4k
25k
condition
stringclasses
10 values
k
int64
0
5
ar_acc
float64
0
0.09
ar_mean_rank
float64
6.07k
24.8k
n_heads_ablated
int64
0
5
B1
4,000
intact
0
0.0004
24,218.520508
0
B1
4,000
top1_IH
1
null
null
0
B1
4,000
top3_IH
3
null
null
0
B1
4,000
top5_IH
5
null
null
0
B1
6,000
intact
0
0.0004
23,113.420898
0
B1
6,000
top1_IH
1
null
null
0
B1
6,000
top3_IH
3
null
null
0
B1
6,000
top5_IH
5
null
null
0
B1
8,000
intact
0
0.0014
18,412.817383
0
B1
8,000
top1_IH
1
0.001
19,776.393555
1
B1
8,000
random1
1
0.0012
18,738.325195
1
B1
8,000
entropy_matched1
1
0.0014
18,307.75293
1
B1
8,000
top3_IH
3
0
22,546.834961
3
B1
8,000
random3
3
0.0012
18,649.142578
3
B1
8,000
entropy_matched3
3
0.0014
18,199.871094
3
B1
8,000
top5_IH
5
0
23,549.680664
4
B1
8,000
random5
5
0.0012
18,565.400391
5
B1
8,000
entropy_matched5
5
0.0014
18,083.964844
5
B1
9,000
intact
0
0.0028
16,763.081055
0
B1
9,000
top1_IH
1
0.0014
18,288.236328
1
B1
9,000
random1
1
0.003
16,684.87793
1
B1
9,000
entropy_matched1
1
0.0028
16,629.629883
1
B1
9,000
top3_IH
3
0.0002
21,674.796875
3
B1
9,000
random3
3
0.0024
17,552.75
3
B1
9,000
entropy_matched3
3
0.0032
16,411.517578
3
B1
9,000
top5_IH
5
0
23,880.288086
5
B1
9,000
random5
5
0.0024
17,415.988281
5
B1
9,000
entropy_matched5
5
0.0028
16,430.516602
5
B1
10,500
intact
0
0.0072
14,407.321289
0
B1
10,500
top1_IH
1
0.0034
16,320.79248
1
B1
10,500
random1
1
0.007
14,327.104492
1
B1
10,500
entropy_matched1
1
0.0072
14,287.454102
1
B1
10,500
top3_IH
3
0.0006
20,378.265625
3
B1
10,500
random3
3
0.0068
15,318.314941
3
B1
10,500
entropy_matched3
3
0.0072
14,076.009277
3
B1
10,500
top5_IH
5
0.0004
23,533.436523
5
B1
10,500
random5
5
0.007
15,115.049316
5
B1
10,500
entropy_matched5
5
0.0082
13,856.356445
5
B1
15,000
intact
0
0.0258
8,931.777344
0
B1
15,000
top1_IH
1
0.0098
11,125.959473
1
B1
15,000
random1
1
0.0264
8,893.805176
1
B1
15,000
entropy_matched1
1
0.0272
8,781.584961
1
B1
15,000
top3_IH
3
0.0006
17,082.87793
3
B1
15,000
random3
3
0.0258
8,772.394531
3
B1
15,000
entropy_matched3
3
0.0286
8,608.749512
3
B1
15,000
top5_IH
5
0.0004
22,464.220703
5
B1
15,000
random5
5
0.026
8,682.439941
5
B1
15,000
entropy_matched5
5
0.0324
8,169.701904
5
B1
25,000
intact
0
0.0522
6,958.042725
0
B1
25,000
top1_IH
1
0.0222
8,957.592285
1
B1
25,000
random1
1
0.0548
6,873.691162
1
B1
25,000
entropy_matched1
1
0.055
6,776.561035
1
B1
25,000
top3_IH
3
0.001
15,611.158203
3
B1
25,000
random3
3
0.0374
8,306.06958
3
B1
25,000
entropy_matched3
3
0.057
6,649.504639
3
B1
25,000
top5_IH
5
0.0004
22,099.517578
5
B1
25,000
random5
5
0.0388
8,192.87085
5
B1
25,000
entropy_matched5
5
0.066
6,071.706543
5
B2
4,000
intact
0
0
24,681.689453
0
B2
4,000
top1_IH
1
null
null
0
B2
4,000
top3_IH
3
null
null
0
B2
4,000
top5_IH
5
null
null
0
B2
6,000
intact
0
0
24,453.561523
0
B2
6,000
top1_IH
1
null
null
0
B2
6,000
top3_IH
3
null
null
0
B2
6,000
top5_IH
5
null
null
0
B2
8,000
intact
0
0.0004
23,378
0
B2
8,000
top1_IH
1
0.0002
23,719.115234
1
B2
8,000
random1
1
0.0004
23,369.621094
1
B2
8,000
entropy_matched1
1
0.0004
23,369.793945
1
B2
8,000
top3_IH
3
0.0002
23,719.115234
1
B2
8,000
random3
3
0.0004
23,356.411133
3
B2
8,000
entropy_matched3
3
0.0004
23,558.756836
3
B2
8,000
top5_IH
5
0.0002
23,719.115234
1
B2
8,000
random5
5
0.0004
23,352.15332
5
B2
8,000
entropy_matched5
5
0.0004
23,550.952148
5
B2
9,000
intact
0
0.0004
22,936.930664
0
B2
9,000
top1_IH
1
0.0002
23,240.71582
1
B2
9,000
random1
1
0.0004
22,924.866211
1
B2
9,000
entropy_matched1
1
0.0004
22,924.863281
1
B2
9,000
top3_IH
3
0
23,707.663086
2
B2
9,000
random3
3
0.0004
22,914.579102
3
B2
9,000
entropy_matched3
3
0.0004
22,856.017578
3
B2
9,000
top5_IH
5
0
23,707.663086
2
B2
9,000
random5
5
0.0006
23,243.344727
5
B2
9,000
entropy_matched5
5
0.0002
23,136.652344
5
B2
10,500
intact
0
0.0018
19,774.402344
0
B2
10,500
top1_IH
1
0.0014
20,666.199219
1
B2
10,500
random1
1
0.0018
20,013.473633
1
B2
10,500
entropy_matched1
1
0.0022
19,782.676758
1
B2
10,500
top3_IH
3
0
23,034.643555
3
B2
10,500
random3
3
0.0018
19,986.006836
3
B2
10,500
entropy_matched3
3
0.0022
19,628.488281
3
B2
10,500
top5_IH
5
0
23,540.998047
4
B2
10,500
random5
5
0.0018
19,938.783203
5
B2
10,500
entropy_matched5
5
0.0026
19,493.337891
5
B2
15,000
intact
0
0.0106
16,643.442383
0
B2
15,000
top1_IH
1
0.005
17,790.728516
1
B2
15,000
random1
1
0.0094
16,741.243164
1
B2
15,000
entropy_matched1
1
0.0102
16,584.435059
1
End of preview. Expand in Data Studio

Induction-head phase transition in BeetleLM

Per-checkpoint mechanistic metrics for Beetle language models, tracking how the induction circuit forms during training.

The files here have six different schemas, so they are exposed as separate configs. Loading the directory as a single table fails with a cast error — that is why the configs above exist, not a bug.

from datasets import load_dataset
traj = load_dataset("suchirsalhan/beetle-phase-transition", "trajectories")
abl  = load_dataset("suchirsalhan/beetle-phase-transition", "ablation")

Metrics

column meaning
best_ps max prefix-matching score over heads (Olsson et al. 2022)
n_induction_heads heads with PS > 0.3
ar_acc associative recall on repeated random-token sequences
best_pth max previous-token-head score
mean_effective_rank residual-stream effective rank
repeat_dependence PS on repeated input minus PS on length-matched non-repeated input

repeat_dependence is the column that matters for deciding whether a high-PS head is really an induction head: candidates score ~0.7, every other head ~0.0003. A head that attends "somewhere earlier" can beat chance on PS alone without needing the repeat.

Main findings

A phase transition. PS sits at the chance floor (0.028, which is exactly uniform causal attention at the mean query position) until ~step 8k, then rises sharply to 0.64–0.84 with 4–9 heads crossing threshold.

It is not about curriculum, or about language. Onset varies little across the five bilingual curricula, and monolingual models in Dutch, English, German, Italian and Chinese all show it at a comparable budget — so the transition is a property of optimisation and architecture, not of bilingual training.

The circuit is functional, not merely present. Ablating the top-3 induction heads takes associative recall from 0.052 to 0.001; ablating three entropy-matched control heads leaves it at 0.057.

A three-stage cascade. Previous-token heads form first (~step 1.5–2k), induction ~7.5k steps later, functional associative recall ~17k steps after that. The 2B models terminate inside stage one, which is why they show previous-token structure but never induction.

Caveats

  • The 2B checkpoint ladder ends at steps 4096–7127, below the transition. Its flat PS is a truncation, not evidence of absence.
  • Monolingual models use the fineweb3 corpus build; language and corpus are confounded in that comparison.
  • Onsets one log-grid step apart (8192 vs 16384) are not resolvable at 20 checkpoints.
  • No seeded runs exist at 24B or 2B; seeds are HumanScale-only, for B2/B3.
  • Two scales only, so token budget and model scale are not separable.
Downloads last month
27