Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CLAIMS.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,4 @@ tracked file, which both scripts resolve (they check that it exists, not what it
| `inkling-layer0-mlp-fidelity-228` | Inkling 2 Mini layer-0 routed MLP under main's integer rules, real NVFP4 weights, open loop vs float64: FAIL vs prereg on both bars. Layer 0's top-8 sigmoid-routed MoE block of thinkingmachines/Inkling-2-Mini (ed40e7da) computed with main's integer rules (12-bit cells, 13-bit per-tensor weights, docs/model.md router and sigmoid table, two new 2^-8-step tables for the soft-capped SwiGLU, a rounded-division routing weight at 2^13) against our own numpy float64 version of the same block, on the 10 frozen prompt texts of 20261109-8 (2,426 tokens), exact float64 input, open loop. B1 (Qwen A2 shape, per prompt): rel_y median 0.0218, max 0.0304 vs median <= 0.01, max <= 0.05: FAIL. B2: the top-8 expert set differs on 91 of 2,426 tokens (3.75%) vs <= 1%: FAIL; each flip changes exactly one expert. B3 range: IN-BOUND, 0 events at every site. With the float set and float weights the integer expert arithmetic alone gives pooled rel_y 0.0079 (descriptive). Deterministic, two processes bit-identical. Measured, unreplicated. Float reference is our reading of open transformers PR 51050 (6173a2f6), not checked against the publisher's runtime. One block, no logits, no proof | negative, unreplicated | unreplicated | [experiments/20261121-228-inkling-layer0-fidelity/RESULTS.md](experiments/20261121-228-inkling-layer0-fidelity/RESULTS.md) | #230 |
| `qwen-silu-step-vs-clip-221` | Qwen3.8-27B abliterated layers 31 to 63: SiLU table step vs domain clip, one change at a time (M31-C clip removed, M31-T step removed), issue #221: Registered diagnostic, valid (G1 REF top-1 = PR 173: True; G2 M31-C#2 bit-equal: True; G3 no guard error: True). From PR 167's layer-30 REF residual, abliterated layers 31 to 63, 1461 positions of 10 frozen prompts, float64 heads/attention/norms/lm_head; one change at a time to PR 138's SiLU lookup. M31-C: top-1 1459 of 1461 (99.86%), KL median 2.06e-06, max 0.00215 nats; M31-T: top-1 1424 of 1461 (97.47%), KL median 0.00146, max 1.93 nats. H-C (removing only the clip halves PR 202's M31 KL median 1.466e-3): ratio 0.001408, HOLDS. H-T (removing only the step halves it): ratio 0.9948, DOES NOT HOLD. Registered outcome: H-C only: the clip carries the token error; the step alone does not halve it. Diagnostic arms, not operators; chooses no repair. No proof | measured, unreplicated | unreplicated | [experiments/20261118-221-silu-step-clip/RESULTS.md](experiments/20261118-221-silu-step-clip/RESULTS.md), [experiments/20261118-221-silu-step-clip/runs/summary.json](experiments/20261118-221-silu-step-clip/runs/summary.json), [experiments/20261118-221-silu-step-clip/runs/e2e-abl.json](experiments/20261118-221-silu-step-clip/runs/e2e-abl.json), [experiments/20261118-221-silu-step-clip/ENV.json](experiments/20261118-221-silu-step-clip/ENV.json), [experiments/20261118-221-silu-step-clip/PREREG.md](experiments/20261118-221-silu-step-clip/PREREG.md) | #224 |
| `qwen-weight-cell-classes-239` | Qwen3.8-27B weight-cell classes (DESIGN 6.2) on all 48 DeltaNet layers: conv taps, gains, cA, dt_bias, honest conversion, both checkpoints (issue #239): PASS vs prereg. Every honestly converted conv tap, gain x sqrt(128), cA and dt_bias integer (DESIGN 5.0, merged exponent_of, one exponent per tensor per layer) on all 48 DeltaNet layers lies in its DESIGN 6.2 class: 0 out of class of 1,976,832 integers per checkpoint; every exponent in 1..24 (e_conv 12-13, e_gain 7-8, e_A 4-13). For taps, gains and cA (1,974,528 of the 1,976,832 integers per checkpoint) being in class follows from the exponent rule, so an honest conversion cannot fail there; what could have failed is the exponent admission (144 exponents per checkpoint, 288 over both, each in 1..24) and the dt_bias class (2,304 values per checkpoint). The four tensors have equal SHA-256 per tensor in the stock and abliterated checkpoints (192 of 192, byte-identical), so one answer covers both. Descriptive: dt_bias alone puts the softplus input outside v1's [-8, 8) on 17 of 2,304 heads (16 at or above 8: 15 on layer 0, 1 on layer 58; 1 below -8 on layer 1); offset range -8.94 to 19.25. cA keeps as few as 2 significant bits (357 of 2,304 heads at 5 bits or fewer; the smallest head of a layer keeps fewer than 5 bits on 18 of 48 layers, 2 bits on layers 12, 28 and 44). Integer counts only, no proof, no matrix weights, no activations | measured, unreplicated | unreplicated | [experiments/20261129-239-qwen-weight-cell-classes/RESULTS.md](experiments/20261129-239-qwen-weight-cell-classes/RESULTS.md), [experiments/20261129-239-qwen-weight-cell-classes/PREREG.md](experiments/20261129-239-qwen-weight-cell-classes/PREREG.md), [experiments/20261129-239-qwen-weight-cell-classes/ENV.json](experiments/20261129-239-qwen-weight-cell-classes/ENV.json), [experiments/20261129-239-qwen-weight-cell-classes/runs/summary.json](experiments/20261129-239-qwen-weight-cell-classes/runs/summary.json), [experiments/20261129-239-qwen-weight-cell-classes/runs/ckpt-compare.json](experiments/20261129-239-qwen-weight-cell-classes/runs/ckpt-compare.json) | #243 |
| `qwen-m3a1-inproj` | Qwen M3a-1 in_proj: one DeltaNet head's 514 in_proj outputs for one token as a linear claim on the committed weight table, public normed input (issue #229 sub-step c): Measured, unreplicated, CPU research harness, research setting (no security level). First proved computation in which committed Qwen matrix weights take part: for V head 0, layer 0 of the pinned stock Qwen3.8-27B and ONE token, with the layer's normed input a public (5,120 integers, \|a\| <= 2,047, a float64 norm of one embedding row rounded at 2^5), 1,028 committed cells x_r, rem_r for all 514 in_proj rows are in exact classes by bits and satisfy sum_j a_j M[r][j] + 2^(s_r - 1) = 2^(s_r) x_r + rem_r IN THE FIELD against the committed table of PR #231. No sumcheck over columns and no change to an existing source file: LIN already sends W = g^T M, and the input is applied by one caller's linear claim on W, with row weights eq(rho, .) drawn after the cells are committed. 5 of 5 honest proofs verified; all 9 registered negative tests rejected (output off by one two ways, a weight changed two ways, the public input changed two ways, x and rem out of class with the linear claim true, the input out of class); 2 of 2 completeness cases accepted (x at both class edges). One more negative test added by amendment after these results were known (the prover fits W so the caller's claim is true) was also rejected; it is not part of the registered threshold. NOT established: the matrix weights' range (no Qwen layout of the WF range proof), so the equation is the integer rounding only for a table of small integers; any soundness level (trace at target 10 bits; LIN on hand-made unpriced plans, one of them written here because the library's priced planner fixes the number of claims in a request's own test); any head computation after in_proj; more than one token, head or layer; accuracy; hiding; that the table is the advertised checkpoint | measured, unreplicated | unreplicated | [experiments/20261129-229-qwen-m3a1-inproj/RESULTS.md](experiments/20261129-229-qwen-m3a1-inproj/RESULTS.md), [experiments/20261129-229-qwen-m3a1-inproj/PREREG.md](experiments/20261129-229-qwen-m3a1-inproj/PREREG.md), [experiments/20261129-229-qwen-m3a1-inproj/ENV.json](experiments/20261129-229-qwen-m3a1-inproj/ENV.json), [experiments/20261129-229-qwen-m3a1-inproj/runs/summary.json](experiments/20261129-229-qwen-m3a1-inproj/runs/summary.json), [experiments/20261129-229-qwen-m3a1-inproj/runs/summary-a2.json](experiments/20261129-229-qwen-m3a1-inproj/runs/summary-a2.json), [experiments/20261129-229-qwen-m3a1-inproj/runs/inputs-head0.json](experiments/20261129-229-qwen-m3a1-inproj/runs/inputs-head0.json), [research/operators/qwen_m3a1c/README.md](research/operators/qwen_m3a1c/README.md) | #242 |
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ Every number below comes from a file on `main` (the one exception, a reviewer fi
| Inkling 2 Mini layer-0 routed MLP under main's integer rules, real NVFP4 weights, open loop vs float64 | negative, unreplicated | FAIL vs prereg on both bars. Layer 0's top-8 sigmoid-routed MoE block of thinkingmachines/Inkling-2-Mini (ed40e7da) computed with main's integer rules (12-bit cells, 13-bit per-tensor weights, docs/model.md router and sigmoid table, two new 2^-8-step tables for the soft-capped SwiGLU, a rounded-division routing weight at 2^13) against our own numpy float64 version of the same block, on the 10 frozen prompt texts of 20261109-8 (2,426 tokens), exact float64 input, open loop. B1 (Qwen A2 shape, per prompt): rel_y median 0.0218, max 0.0304 vs median <= 0.01, max <= 0.05: FAIL. B2: the top-8 expert set differs on 91 of 2,426 tokens (3.75%) vs <= 1%: FAIL; each flip changes exactly one expert. B3 range: IN-BOUND, 0 events at every site. With the float set and float weights the integer expert arithmetic alone gives pooled rel_y 0.0079 (descriptive). Deterministic, two processes bit-identical. Measured, unreplicated. Float reference is our reading of open transformers PR 51050 (6173a2f6), not checked against the publisher's runtime. One block, no logits, no proof | CPU only, numpy and tokenizers only (no torch, no transformers); weights by HTTP range reads of layer 0 and 317 embedding rows (630 MB of 19.5 GB); NVFP4 decode per the PR's dequantise op, checked D1-D4 (max \|w\| / amax = 1.000 every expert); gate/up order from the PR's Interleave + chunk; input exponent fitted in-sample (Em = 6); attention sub-block float64 only; one layer, open loop; shared loaded host | [experiments/20261121-228-inkling-layer0-fidelity/RESULTS.md](experiments/20261121-228-inkling-layer0-fidelity/RESULTS.md) |
| Qwen3.8-27B abliterated layers 31 to 63: SiLU table step vs domain clip, one change at a time (M31-C clip removed, M31-T step removed), issue #221 | measured, unreplicated | Registered diagnostic, valid (G1 REF top-1 = PR 173: True; G2 M31-C#2 bit-equal: True; G3 no guard error: True). From PR 167's layer-30 REF residual, abliterated layers 31 to 63, 1461 positions of 10 frozen prompts, float64 heads/attention/norms/lm_head; one change at a time to PR 138's SiLU lookup. M31-C: top-1 1459 of 1461 (99.86%), KL median 2.06e-06, max 0.00215 nats; M31-T: top-1 1424 of 1461 (97.47%), KL median 0.00146, max 1.93 nats. H-C (removing only the clip halves PR 202's M31 KL median 1.466e-3): ratio 0.001408, HOLDS. H-T (removing only the step halves it): ratio 0.9948, DOES NOT HOLD. Registered outcome: H-C only: the clip carries the token error; the step alone does not halve it. Diagnostic arms, not operators; chooses no repair. No proof | Preregistered (experiments/20261118-221-silu-step-clip/PREREG.md); start state PR 167's ckpt.npz sha256 22dff8b92107511838e50e4b26d6e91a2b55d09064711c638042c4c18fb80009, next_layer 31, checked before registration and re-hashed in the job, REF entries only, layers 0 to 30 not regenerated; abliterated layers 31 to 63, final norm, lm_head; PR 124's frozen prompts teacher-forced; PR 202 harness, PR 138 mlp_int stages, PR 124 logits_metrics, PR 88 forward reused; M31 and M31-S not rerun (PR 202 values cited); CPU, taskset 8 to 13, one deterministic run with an in-run duplicate path; shared loaded host; no GPU, no serving route, no proof | [experiments/20261118-221-silu-step-clip/RESULTS.md](experiments/20261118-221-silu-step-clip/RESULTS.md) |
| Qwen3.8-27B weight-cell classes (DESIGN 6.2) on all 48 DeltaNet layers: conv taps, gains, cA, dt_bias, honest conversion, both checkpoints (issue #239) | measured, unreplicated | PASS vs prereg. Every honestly converted conv tap, gain x sqrt(128), cA and dt_bias integer (DESIGN 5.0, merged exponent_of, one exponent per tensor per layer) on all 48 DeltaNet layers lies in its DESIGN 6.2 class: 0 out of class of 1,976,832 integers per checkpoint; every exponent in 1..24 (e_conv 12-13, e_gain 7-8, e_A 4-13). For taps, gains and cA (1,974,528 of the 1,976,832 integers per checkpoint) being in class follows from the exponent rule, so an honest conversion cannot fail there; what could have failed is the exponent admission (144 exponents per checkpoint, 288 over both, each in 1..24) and the dt_bias class (2,304 values per checkpoint). The four tensors have equal SHA-256 per tensor in the stock and abliterated checkpoints (192 of 192, byte-identical), so one answer covers both. Descriptive: dt_bias alone puts the softplus input outside v1's [-8, 8) on 17 of 2,304 heads (16 at or above 8: 15 on layer 0, 1 on layer 58; 1 below -8 on layer 1); offset range -8.94 to 19.25. cA keeps as few as 2 significant bits (357 of 2,304 heads at 5 bits or fewer; the smallest head of a layer keeps fewer than 5 bits on 18 of 48 layers, 2 bits on layers 12, 28 and 44). Integer counts only, no proof, no matrix weights, no activations | Preregistered (experiments/20261129-239-qwen-weight-cell-classes/PREREG.md, amendments A1, A2 before the runs they cover by commit order; A3 corrects the times typed into them); 192 tensors per checkpoint by HTTP range with the merged fetch code, each SHA-256 equal to the merged stream manifest; unit test of every class edge (31 cases, synthetic); five identical analysis runs (deterministic); CPU, cores 0-1 of a shared loaded host | [experiments/20261129-239-qwen-weight-cell-classes/RESULTS.md](experiments/20261129-239-qwen-weight-cell-classes/RESULTS.md) |
| Qwen M3a-1 in_proj: one DeltaNet head's 514 in_proj outputs for one token as a linear claim on the committed weight table, public normed input (issue #229 sub-step c) | measured, unreplicated | Measured, unreplicated, CPU research harness, research setting (no security level). First proved computation in which committed Qwen matrix weights take part: for V head 0, layer 0 of the pinned stock Qwen3.8-27B and ONE token, with the layer's normed input a public (5,120 integers, \|a\| <= 2,047, a float64 norm of one embedding row rounded at 2^5), 1,028 committed cells x_r, rem_r for all 514 in_proj rows are in exact classes by bits and satisfy sum_j a_j M[r][j] + 2^(s_r - 1) = 2^(s_r) x_r + rem_r IN THE FIELD against the committed table of PR #231. No sumcheck over columns and no change to an existing source file: LIN already sends W = g^T M, and the input is applied by one caller's linear claim on W, with row weights eq(rho, .) drawn after the cells are committed. 5 of 5 honest proofs verified; all 9 registered negative tests rejected (output off by one two ways, a weight changed two ways, the public input changed two ways, x and rem out of class with the linear claim true, the input out of class); 2 of 2 completeness cases accepted (x at both class edges). One more negative test added by amendment after these results were known (the prover fits W so the caller's claim is true) was also rejected; it is not part of the registered threshold. NOT established: the matrix weights' range (no Qwen layout of the WF range proof), so the equation is the integer rounding only for a table of small integers; any soundness level (trace at target 10 bits; LIN on hand-made unpriced plans, one of them written here because the library's priced planner fixes the number of claims in a request's own test); any head computation after in_proj; more than one token, head or layer; accuracy; hiding; that the table is the advertised checkpoint | CPU only, cores 8-13 of a shared loaded host, single-threaded runs, g++ 13.3.0 -O2; PREREG first and alone; amendment A1 (implementation choices) committed before the registered runs; amendment A2 (one added negative test) committed after the registered results and before its own run, with a rebuilt binary; debug only on a synthetic fixture (table numpy seed 9101, input seed 9102, prover seed 9); the table is committed afresh in each run (no stored key); research setting target 10 bits, query work 6; LIN plans hand-made | [experiments/20261129-229-qwen-m3a1-inproj/RESULTS.md](experiments/20261129-229-qwen-m3a1-inproj/RESULTS.md) |

_Last regenerated from `research/results.yaml` on 2026-11-29 (UTC), against main `57460851`._
<!-- results:end -->
Expand Down
55 changes: 55 additions & 0 deletions experiments/20261129-229-qwen-m3a1-inproj/ENV.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"experiment": "20261129-229-qwen-m3a1-inproj",
"commits": {
"base_main": "cdf78449d390a1f62dc77d28c5cf6cb8c0bb1b02",
"prereg": "8ce57884a351e3062ab397d5d6b12a34f13d2cde",
"code_and_amendment_A1_before_runs": "f89780a5d8ccacf09fdd7b56bff4dbd03d3048f4",
"registered_runs": "be7f1ff7dd029db3686a0172ac1ac0b7d9b1e58d",
"amendment_A2_and_its_code_before_its_run": "f0ac5e14d0fe211f320c8832cbea1e11f55ab070",
"A2_run": "7d7a26dbfeeb54b90df85752a6766221791babff"
},
"weights": {
"repo": "Qwen/Qwen3.8-27B",
"rev": "37561816e66b5b9153b1b64c10968c18c1e6f4a0",
"table": "M.i32 of research/operators/qwen_m3a1/prepare.py real (head 0), SHA-256 equal to M_i32_sha256 of experiments/20261121-229-qwen-m3a1-weight-side/runs/weights-head0.json",
"tensors_sha256_checked_against": "experiments/20261121-229-qwen-m3a1-weight-side/runs/weights-head0.json (9 of 9 equal)",
"public_input": "token id 760; embedding row and layer 0 input_layernorm.weight fetched by HTTP range (10,240 bytes each), SHA-256 equal to experiments/20261109-8-qwen-real-weights/runs/fetch-stock.json",
"details": "runs/inputs-head0.json (hashes and counts, no values)"
},
"toolchain": {
"cxx": "g++ 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04.1)",
"flags": "-std=c++17 -O2 -Wall -Wextra -fno-ipa-modref -DBLK_FIELD=2 -DBLK_HASH=1 -I blocks",
"python": "3.12.3",
"numpy": "2.4.3",
"binaries": {
"registered_16_runs": {
"sha256": "602d5ba929f306a300dafe09154bf91cca0206adc192da804e7029c0829d0438",
"built": "2026-11-29 about 02:28 UTC from the working tree; qm3a1c.cpp was not edited between that build and commit f89780a. Not rebuilt from the commit to confirm the hash"
},
"A2_run": {
"sha256": "a1bf7afc8bb33725a29ba402c40a3cfc38cb31a9f95312b42d8873cd862cb27a",
"built": "2026-11-29 about 02:39 UTC from the working tree; qm3a1c.cpp was not edited between that build and commit f0ac5e1. Not rebuilt from the commit to confirm the hash"
},
"note": "the binaries are not committed"
}
},
"hardware": {
"kind": "cpu-epyc-rome-kvm-16",
"cores_used": "8-13 (taskset); each run is single-threaded",
"shared": "shared, loaded host (load average 6.5 on 16 cores right after the registered runs); other lanes ran beside this one. The 16 registered runs went through the host's heavy-job gate; the single A2 run (about 5 s, under 0.5 GB) did not"
},
"seeds": {
"honest_prover_seeds": [1, 2, 3, 4, 5],
"case_prover_seed": 1,
"debug_fixture": {"table_numpy_seed": 9101, "input_numpy_seed": 9102, "prover_seed": 9},
"note": "toy and test coin generators (ToyCoins, TestCoins), deterministic per seed; not for secrets"
},
"setting": {
"trace": "setting_goldilocks, target 10 bits, query work 6 (harness research setting)",
"lin": "hand-made plans: first and shared chain of blocks/iop/tests/lin_world.h, second chain second_plan() of qm3a1c.cpp (6 batched claims); every round priced NOTHING; LinCase v 7, k_lo 6, rows 595, answers 1, columns 24, rate 1/4, ell 4096, rows high, 1 request, 12 draws"
},
"run_times_utc": {
"registered_16_runs": "first start 2026-11-29T02:35:14Z, last start 02:36:31Z (each file carries its own start time)",
"A2_run": "2026-11-29T02:40:52Z"
}
}
Loading