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 |
| `fold-constants-214` | Fold constants computed by the rule for any width and head size in weight_sums (Python and C++), byte-identical at 5,120 / 128 (issue #214, CPU part): Measured, unreplicated, deterministic, CPU only. weight_sums.py and bin/weight_sums compute the two fold constants with fold_constants(width, head) (t the largest integer with 4^t <= d, c = sqrt(d) / 2^t, c_0 = RN32(c), c_q = RN32(c / sqrt(dh)), one rounding of the exact real) instead of literals. docs/model.md section 11.3 and scales/README.md state the constant as sqrt(d) / 64, right for 5,120 / 128 only; that equals c where t = 6 (widths 4,096 to 16,383, 5,120 included). For other widths, using c is a choice made in this PR: no document on main states it, it is not tested against the scales of scales/, and the tests check only the arithmetic of the formula. At (5,120, 128) both programs give 0x3F8F1BBD and 0x3DCA62C2, main's literals (also a C++ static_assert). 19 of 19 sums files of the existing suite's inputs (oracle seeds 1-4 and 100-102 at e_res 11, seed 1 at e_res 10, seed 2 with --decode-twice, the make_model model; both programs where the suite runs both) are byte-identical between base and head and equal the expected files; run_tests.sh passes every step at base (26) and head (27, one new). Independent values (mpmath at 256 bits and exact integer roots) at (5,120, 256): c_0 0x3F8F1BBD, c_q 0x3D8F1BBD. NOT established: the shape gates of weight_sums and the prover still accept only 5,120 / 128 (no admission gate opened); the CUDA reader and its gate are unchanged and not compiled (the needed change is an open item in RESULTS.md); no Qwen commit, no weights; partial rotary and the dh = 256 no-wrap barrier untouched | measured, unreplicated | unreplicated | [experiments/20261129-214-fold-constants/RESULTS.md](experiments/20261129-214-fold-constants/RESULTS.md), [experiments/20261129-214-fold-constants/PREREG.md](experiments/20261129-214-fold-constants/PREREG.md), [experiments/20261129-214-fold-constants/ENV.json](experiments/20261129-214-fold-constants/ENV.json), [experiments/20261129-214-fold-constants/values.json](experiments/20261129-214-fold-constants/values.json), [experiments/20261129-214-fold-constants/runs/compare.json](experiments/20261129-214-fold-constants/runs/compare.json), [experiments/20261129-214-fold-constants/runs/run_tests.base.txt](experiments/20261129-214-fold-constants/runs/run_tests.base.txt), [experiments/20261129-214-fold-constants/runs/run_tests.head.txt](experiments/20261129-214-fold-constants/runs/run_tests.head.txt) | #234 |
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) |
| Fold constants computed by the rule for any width and head size in weight_sums (Python and C++), byte-identical at 5,120 / 128 (issue #214, CPU part) | measured, unreplicated | Measured, unreplicated, deterministic, CPU only. weight_sums.py and bin/weight_sums compute the two fold constants with fold_constants(width, head) (t the largest integer with 4^t <= d, c = sqrt(d) / 2^t, c_0 = RN32(c), c_q = RN32(c / sqrt(dh)), one rounding of the exact real) instead of literals. docs/model.md section 11.3 and scales/README.md state the constant as sqrt(d) / 64, right for 5,120 / 128 only; that equals c where t = 6 (widths 4,096 to 16,383, 5,120 included). For other widths, using c is a choice made in this PR: no document on main states it, it is not tested against the scales of scales/, and the tests check only the arithmetic of the formula. At (5,120, 128) both programs give 0x3F8F1BBD and 0x3DCA62C2, main's literals (also a C++ static_assert). 19 of 19 sums files of the existing suite's inputs (oracle seeds 1-4 and 100-102 at e_res 11, seed 1 at e_res 10, seed 2 with --decode-twice, the make_model model; both programs where the suite runs both) are byte-identical between base and head and equal the expected files; run_tests.sh passes every step at base (26) and head (27, one new). Independent values (mpmath at 256 bits and exact integer roots) at (5,120, 256): c_0 0x3F8F1BBD, c_q 0x3D8F1BBD. NOT established: the shape gates of weight_sums and the prover still accept only 5,120 / 128 (no admission gate opened); the CUDA reader and its gate are unchanged and not compiled (the needed change is an open item in RESULTS.md); no Qwen commit, no weights; partial rotary and the dh = 256 no-wrap barrier untouched | CPU only, cores 14-15 of a shared loaded host, suite runs through the heavy-job gate; g++ 13.3.0 with weight_sums' own flags; Python 3.12.3 venv with numpy 2.3.5, gguf 0.19.0, mpmath 1.3.0; PREREG first and alone, one amendment (implementation choices) before the runs; debug only on oracle seed 7 | [experiments/20261129-214-fold-constants/RESULTS.md](experiments/20261129-214-fold-constants/RESULTS.md) |

_Last regenerated from `research/results.yaml` on 2026-11-29 (UTC), against main `57460851`._
<!-- results:end -->
Expand Down
25 changes: 25 additions & 0 deletions experiments/20261129-214-fold-constants/ENV.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"experiment": "20261129-214-fold-constants",
"commits": {
"base_main": "cdf78449d390a1f62dc77d28c5cf6cb8c0bb1b02",
"prereg": "3ee789bb7b38c61ae9f4e46070191871c83404fb",
"amendment_A1_before_runs": "38413939ca8328c24d51ddcd2560f3c2bbd56558",
"code_before_runs": "92e1dc1b1609a92d35c594b72ffb8cd79af6bae9",
"note": "the base arm of every comparison is a detached checkout of base_main with its own bin/weight_sums; the head arm is code_before_runs with its own"
},
"toolchain": {
"cxx": "g++ 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04.1)",
"flags": "those of weight_sums/build.sh and weight_sums/tests/run_tests.sh, unchanged: -std=c++17 -O2 -fno-ipa-modref -ffp-contract=off -pthread",
"python": "3.12.3",
"python_packages": {"numpy": "2.3.5", "gguf": "0.19.0", "mpmath": "1.3.0"},
"python_environment": "a fresh venv first on PATH for both arms (PREREG A1)"
},
"hardware": {
"kind": "cpu-epyc-rome-kvm-16",
"cores_used": "14-15 (taskset)",
"shared": "shared, loaded host; other lanes ran beside this one; the suite runs went through the host's heavy-job gate"
},
"seeds": [1, 2, 3, 4, 100, 101, 102],
"seeds_note": "oracle.py seeds of the registered suite, all at e_res 11, plus seed 1 at e_res 10 and seed 2 with --decode-twice (Python); make_model arguments 4 40 8 2048 1024 16 2048 30 as in run_tests.sh. Debug only on oracle seed 7. Every output is deterministic; no randomness enters fold_constants",
"gpu": "none; no CUDA file was built or changed"
}
Loading