H5 first cut: an anytime-valid stopping rule for probing

From Phase 0 data (2048 tokens, five teachers), no new compute. Script sequential.py, outputs under results/.

Method

Per probe, record whether the suspect's top-1 teacher falls in a target set (top-1 under the reference-normalised alignment score). Under the null the win rate is at most chance, p0 = |target| / K. The evidence process is the Beta(1,1)-mixture likelihood ratio against Bernoulli(p0), a test martingale, so rejecting when E_n >= 1/alpha is valid at any data-dependent stopping time: no Bonferroni, no fixed n in advance, and the same p-value guarantee whether we stop at probe 18 or probe 500. This replaces the paper's fixed-n binomial plus Bonferroni for the open-world setting.

Results (500 random probe orders)

TargetalphaStudent: stop n median / p95Student: reachedControl: reachedControl final log10 E
{r1_orig, qwen3_32b} (R1-family style), p0 = 0.401e-618 / 18100%0%-276
{r1_orig} alone, p0 = 0.201e-343 / 81100%0%-2.3

The student wins the pair on 199/199 probes, so the process crosses 1e6 at exactly the 18th probe in every order. The control's evidence collapses toward zero (it prefers Llama), which is the behaviour a sequential test must show on a negative: the longer you probe an innocent model, the more certain the exoneration.

Open-world check (pre-registered 2026-09-19 before the run)

Remove each Phase 1 student's true teacher from the candidate pool and rerun both signals (openworld.py), for S_r1, S_qwen3, S_gemini (exact-lineage reference, six-teacher pool minus the true one).

Open-world numbers (reasoning-only features; exact-lineage reference; results/openworld_head800.json)

Student (true teacher)Closed: top-1, mean f, win rateOpen (true removed): top-1, mean f, win rate, p_bonfStyle open: modal, max mean p
S_r1 (r1_orig)r1_orig, +0.159, 0.65qwen3_32b, +0.149, 0.98, 5e-129qwen3_32b, 0.94
S_qwen3 (qwen3_32b)qwen3_32b, +0.172, 0.89r1_orig, +0.140, 0.98, 3e-131r1_orig, 0.93
S_gemini (gemini)gemini, +0.065, 0.96r1 (API), +0.029, 0.62, 6e-38r1, 0.65
S_human (none)llama, +0.001, 0.72, 1e-66samellama, 0.51

What this buys the product