Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
94bd7df
prereg: one rescue scale rule for Qwen integer attention at dh = 256 …
wakesync Nov 29, 2026
9d083cd
attnrule: exact N4/N6 arithmetic script, description script, tests; P…
wakesync Nov 29, 2026
411f4a5
attnrule: registered runs (describe.json, n4-report.json, unit-test r…
wakesync Nov 29, 2026
0013fea
attnrule: PREREG amendment A2 (post hoc headroom description, rule un…
wakesync Nov 29, 2026
686e058
attnrule: post hoc headroom run (runs/headroom.json), written once
wakesync Nov 29, 2026
685ac9a
attnrule: PREREG amendment A3 (post hoc: is the rule's clamp count on…
wakesync Nov 29, 2026
3fd5f0e
attnrule: post hoc implied-clamps run (runs/implied-clamps.json), wri…
wakesync Nov 29, 2026
da5e748
attnrule: RULE.md, FUTURE-PREREG.md, RESULTS.md, README.md, ENV.json …
wakesync Nov 29, 2026
b3958d3
research: #241 results.yaml row (pr 246), README block and CLAIMS.md …
wakesync Nov 29, 2026
0a75245
attnrule: text fixes (scope of the arithmetic stated as the registere…
wakesync Nov 29, 2026
13952e2
research: #241 ledger row conditions made exact (which PR 206 reads t…
wakesync Nov 29, 2026
080e41b
Merge main fef9d2b8 into research/1129-qwen-attn-rescue-rule-241
wakesync Nov 29, 2026
6f33cf7
results: regenerate README block and CLAIMS.md after merging main fef…
wakesync Nov 29, 2026
3ec6f96
Register text corrections for the step 5 miss and partial A2 coverage
wakesync Dec 1, 2026
a4247c7
Report the registered margin miss and scope A2 to the evaluated shapes
wakesync Dec 1, 2026
f440b5b
Regenerate the public verdict for the V13 rule
wakesync Dec 1, 2026
422c993
Merge main fa2df314 into research/1129-qwen-attn-rescue-rule-241
wakesync Dec 1, 2026
6115e08
docs: regenerate README results block and CLAIMS.md after merging mai…
wakesync Dec 1, 2026
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 @@ -88,3 +88,4 @@ tracked file, which both scripts resolve (they check that it exists, not what it
| `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-silu-stage-repairs-222` | Qwen M3 SiLU stage repairs: exact worst-case error of 22 candidate operators over the whole range-checked class, and the ledger rows each moves (desk note, issue #222): Computed with exact integer and rational arithmetic, unreplicated; no model, no weights, no proof, no token measurement. Against T = RNE(2^12 silu(gw / 2^12)) over every integer \|gw\| < 2^23 (enumeration to 2^20, a checked tail lemma beyond; 0 undecided; the 4,096 pinned v1 rows equal T at their grid points). Registered threshold (MLP use): HOLDS, 9 of 22 registered candidates meet all three items (every range-proved branch and every excess form): worst error on [2^15, 2^23) 3 to 26 units of 2^-12 (bar 32), every MLP ledger row below 2^63 (worst 2^55.024, s u row 2^47.0), selector or excess witnesses bound by two relations (hand argument, exhaustive on a toy format, 21 listed assignments each for two candidates at the real format). NEGATIVE for sharing: if the same operator also replaces the SiLU where bounds.py uses its image bound outside the MLP, the row q: 362 Rc x - 2^36 q - r is 2^68.5 at the class-edge bound and 2^67.5 at the exact image for all 9, above 2^63; no other shared row fails. All 13 clip candidates (midpoint index, finer step, wider table) keep every row and fail the error item: 8,126,479 to 8,355,866 units at the class edge. v1 in its domain: worst 17, mean -3.7439; midpoint index: worst 9 on its table range, mean 0.2541. For branch or excess, the class-edge sizing bound for h is B = 36; at the exact image B = 34 suffices for honest h (derivation in RESULTS.md). The down projection allows B up to 36 (2^62.098 with the exact five-key class). NOT established: any token effect or token bar; a built statement or its soundness (the lowering is counted, not implemented, and the binding argument is not reviewed); whether the q path can keep its own bounded operator; how often honest h reaches 2^23 | measured, unreplicated (computed with exact arithmetic; nothing measured on a model, no proof built) | unreplicated | [experiments/20261129-222-silu-repairs/RESULTS.md](experiments/20261129-222-silu-repairs/RESULTS.md), [experiments/20261129-222-silu-repairs/PREREG.md](experiments/20261129-222-silu-repairs/PREREG.md), [experiments/20261129-222-silu-repairs/ENV.json](experiments/20261129-222-silu-repairs/ENV.json), [experiments/20261129-222-silu-repairs/runs/run-1.json](experiments/20261129-222-silu-repairs/runs/run-1.json), [experiments/20261129-222-silu-repairs/runs/table.md](experiments/20261129-222-silu-repairs/runs/table.md), [experiments/20261129-222-silu-repairs/unit_tests.json](experiments/20261129-222-silu-repairs/unit_tests.json), [experiments/20261129-222-silu-repairs/README.md](experiments/20261129-222-silu-repairs/README.md) | #235 |
| `qwen-attn-rescue-rule-241` | Qwen integer attention, one rescue scale rule on paper for layers 31, 35, 39 at head size 256: value cell one bit wider, with its exact admission arithmetic (issue #241): Desk result, unreplicated. No model run, no weights, no proof; the rule has no fidelity number. A procedure registered before any number was computed, applied to PR 178's in-sample records only, picks the value side (one value bit fewer goes with a 1.76 to 1.92 times larger per-cell error on the layers where only that exponent differs; a query bit 1.00 to 1.03; a key bit 1.03) and selects rule V13: value clamp 4,095, q and k at the narrow 1,665 clamp with the legacy 32-bit score digit, margins 9/8, 9/8, 5/4. Registered items: A1 PASS (29 of 29 exact-integer tests, constants on main reproduced), A2 partly met: at dh 256 the kFD occupancy and C policy rows were checked at (lt, S) = (10, 12), shifts 4 to 12, not at the other 181 shapes (no-overflow checks passed at all 182; N4 limits q and k to 1,665; the value clamp enters only N6), B PASS as a PREDICTION only (registered heuristic puts all 16 in-sample medians at or under 0.01, largest 0.00939 at layer 43; layers 31, 35, 39 are extrapolated from other layers), C PASS (rule, admission consequences and the future run's registration text are files). Layer 23 is a known miss, as registered in step 5: its held-out value overshoot of 1.3076 exceeds the 1.25 margin but fits the clamp through power-of-two slack. Step 5 requires reporting, not adjustment or rejection. Only the headroom computation for this finding was post hoc: value headroom is below 1.3076 on layers 47 and 51. Post hoc: committed numbers already imply the rule clamps nothing on PR 206's eight prompts, so a run on those prompts cannot test the margin. NOT established: the rule's fidelity in sample or held out; the max half of the bar; range transfer; any admission, table, prover or verifier change or its soundness; other uses of the clamped-cell bound in cp_verify; the alternative (per key-value head value exponent) has no table | measured, unreplicated (desk: exact arithmetic and a prediction from in-sample records; the rule itself is NOT run) | unreplicated | [experiments/20261129-241-qwen-attn-rescue-rule/RESULTS.md](experiments/20261129-241-qwen-attn-rescue-rule/RESULTS.md), [experiments/20261129-241-qwen-attn-rescue-rule/RULE.md](experiments/20261129-241-qwen-attn-rescue-rule/RULE.md), [experiments/20261129-241-qwen-attn-rescue-rule/FUTURE-PREREG.md](experiments/20261129-241-qwen-attn-rescue-rule/FUTURE-PREREG.md), [experiments/20261129-241-qwen-attn-rescue-rule/PREREG.md](experiments/20261129-241-qwen-attn-rescue-rule/PREREG.md), [experiments/20261129-241-qwen-attn-rescue-rule/ENV.json](experiments/20261129-241-qwen-attn-rescue-rule/ENV.json), [experiments/20261129-241-qwen-attn-rescue-rule/runs/describe.json](experiments/20261129-241-qwen-attn-rescue-rule/runs/describe.json), [experiments/20261129-241-qwen-attn-rescue-rule/runs/n4-report.json](experiments/20261129-241-qwen-attn-rescue-rule/runs/n4-report.json), [experiments/20261129-241-qwen-attn-rescue-rule/runs/headroom.json](experiments/20261129-241-qwen-attn-rescue-rule/runs/headroom.json), [experiments/20261129-241-qwen-attn-rescue-rule/runs/implied-clamps.json](experiments/20261129-241-qwen-attn-rescue-rule/runs/implied-clamps.json) | #246 |
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ Every number below comes from a file on `main` (the one exception, a reviewer fi
| 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 M3 SiLU stage repairs: exact worst-case error of 22 candidate operators over the whole range-checked class, and the ledger rows each moves (desk note, issue #222) | measured, unreplicated (computed with exact arithmetic; nothing measured on a model, no proof built) | Computed with exact integer and rational arithmetic, unreplicated; no model, no weights, no proof, no token measurement. Against T = RNE(2^12 silu(gw / 2^12)) over every integer \|gw\| < 2^23 (enumeration to 2^20, a checked tail lemma beyond; 0 undecided; the 4,096 pinned v1 rows equal T at their grid points). Registered threshold (MLP use): HOLDS, 9 of 22 registered candidates meet all three items (every range-proved branch and every excess form): worst error on [2^15, 2^23) 3 to 26 units of 2^-12 (bar 32), every MLP ledger row below 2^63 (worst 2^55.024, s u row 2^47.0), selector or excess witnesses bound by two relations (hand argument, exhaustive on a toy format, 21 listed assignments each for two candidates at the real format). NEGATIVE for sharing: if the same operator also replaces the SiLU where bounds.py uses its image bound outside the MLP, the row q: 362 Rc x - 2^36 q - r is 2^68.5 at the class-edge bound and 2^67.5 at the exact image for all 9, above 2^63; no other shared row fails. All 13 clip candidates (midpoint index, finer step, wider table) keep every row and fail the error item: 8,126,479 to 8,355,866 units at the class edge. v1 in its domain: worst 17, mean -3.7439; midpoint index: worst 9 on its table range, mean 0.2541. For branch or excess, the class-edge sizing bound for h is B = 36; at the exact image B = 34 suffices for honest h (derivation in RESULTS.md). The down projection allows B up to 36 (2^62.098 with the exact five-key class). NOT established: any token effect or token bar; a built statement or its soundness (the lowering is counted, not implemented, and the binding argument is not reviewed); whether the q path can keep its own bounded operator; how often honest h reaches 2^23 | Preregistered (experiments/20261129-222-silu-repairs/PREREG.md first and alone; three dated amendments, each committed before the computation it covers, and one appended time-correction note); Python 3.12.3 standard library, integers and fractions only (float64 in one cross-check unit test and in log2 display columns); CPU, cores 2-5 of a shared loaded host, about 13 s and 260 MiB per run; the registered computation run twice, outputs byte-identical (a registered exception to the five-run standard: no run-to-run variance); bounds.py and count_m3.py imported unchanged, ledger rows copied with attribution; unit tests passed on the third run, the two failed outputs are committed; deviations listed in RESULTS.md | [experiments/20261129-222-silu-repairs/RESULTS.md](experiments/20261129-222-silu-repairs/RESULTS.md) |
| Qwen integer attention, one rescue scale rule on paper for layers 31, 35, 39 at head size 256: value cell one bit wider, with its exact admission arithmetic (issue #241) | measured, unreplicated (desk: exact arithmetic and a prediction from in-sample records; the rule itself is NOT run) | Desk result, unreplicated. No model run, no weights, no proof; the rule has no fidelity number. A procedure registered before any number was computed, applied to PR 178's in-sample records only, picks the value side (one value bit fewer goes with a 1.76 to 1.92 times larger per-cell error on the layers where only that exponent differs; a query bit 1.00 to 1.03; a key bit 1.03) and selects rule V13: value clamp 4,095, q and k at the narrow 1,665 clamp with the legacy 32-bit score digit, margins 9/8, 9/8, 5/4. Registered items: A1 PASS (29 of 29 exact-integer tests, constants on main reproduced), A2 partly met: at dh 256 the kFD occupancy and C policy rows were checked at (lt, S) = (10, 12), shifts 4 to 12, not at the other 181 shapes (no-overflow checks passed at all 182; N4 limits q and k to 1,665; the value clamp enters only N6), B PASS as a PREDICTION only (registered heuristic puts all 16 in-sample medians at or under 0.01, largest 0.00939 at layer 43; layers 31, 35, 39 are extrapolated from other layers), C PASS (rule, admission consequences and the future run's registration text are files). Layer 23 is a known miss, as registered in step 5: its held-out value overshoot of 1.3076 exceeds the 1.25 margin but fits the clamp through power-of-two slack. Step 5 requires reporting, not adjustment or rejection. Only the headroom computation for this finding was post hoc: value headroom is below 1.3076 on layers 47 and 51. Post hoc: committed numbers already imply the rule clamps nothing on PR 206's eight prompts, so a run on those prompts cannot test the margin. NOT established: the rule's fidelity in sample or held out; the max half of the bar; range transfer; any admission, table, prover or verifier change or its soundness; other uses of the clamped-cell bound in cp_verify; the alternative (per key-value head value exponent) has no table | CPU only, Python 3.12.3 standard library, exact integers and fractions; deterministic scripts on committed files and constants, one run each; PREREG first and alone, amendment A1 before the registered run, amendments A2 and A3 post hoc, each committed with its script before that script's one run; the committed scripts read PR 206 only for its five reported clamp locations (seen before registration, disclosed); other reads of PR 206 files made while writing up are listed in RESULTS.md section 8; the 182 softmax-shape check covers the no-overflow conditions only; shared loaded host; lane finished by a second instance after a run-time cut | [experiments/20261129-241-qwen-attn-rescue-rule/RESULTS.md](experiments/20261129-241-qwen-attn-rescue-rule/RESULTS.md); a rule on paper, predicted not measured |

_Last regenerated from `research/results.yaml` on 2026-11-29 (UTC), against main `57460851`._
<!-- results:end -->
Expand Down
Loading