Repository navigation
Description
Question. Start only if PR 282 merges. On stock Inkling 2 Mini layer 0, do eight fractional bits instead of six at the expert input bring the token-error medians of all four of p02-ordinary-paragraph, h02, h07 and h08 to at most 0.01? Score the complete original and held-out sets as well, under the unchanged #267 fidelity decision. Report the four-prompt answer separately; it is not overall PASS. With routing fixed, the overall membership gate already cannot pass on a reproduced baseline.
Why it is on the shortest path. This is a repair candidate for the input to the soft-capped experts (overlap row I5, post-down weighting E held fixed), not another router. It needs #282's frozen four-prompt selection and signed-projection result: in one substitution order, restoring the float input last, after the other four stages were changed, gave median signed shares 0.7291 to 0.7501. That neither measures a causal fraction nor predicts the improvement from changing this input alone. #267's four medians were 0.01005 to 0.01069 against 0.01. Away from clipping, Q6 nearest rounding loses at most 1/128 per input component; Q8 loses at most 1/512, four times smaller. This chooses one width without treating a component bound as an output-error bound. The #267 baseline is from a coordinator-authorized continuation outside its registration after its hand fixture stopped; its #256 inputs also followed an authorized loader continuation. No reviewer figure is needed.
Milestone steps.
- Commit only
experiments/YYYYMMDD-<issue>-inkling-expert-input-q8/PREREG.mdfirst, before code or weight access. Include prior art, every fixture operand (lossless definitions and pinned input manifests), score and prompt order, seeds (none), hand-worked expected values, all gates, budgets and both outcomes. Work every hand example before committing it. Pin F=experiments/20261121-228-inkling-layer0-fidelity, R=experiments/20261202-254-inkling-router-repair, W=experiments/20261202-262-inkling-router-inputand the merged research: Inkling layer 0 attribution on p02-ordinary-paragraph, h02, h07 and h08 #282 result. F, R and W are read-only. Same stockthinkingmachines/Inkling-2-Mini@ed40e7da625f594fc9c4990f5f66be24873c22d7,model-00001-of-00001.safetensorsandtokenizer.json. Verify 655,588,670 bytes in place: the two header ranges, 28 named tensors, packed original embedding rows and tokenizer in Rruns/original-inputs-b.json, against Fruns/{manifest-tensors.json,embed_rows.json,requests.jsonl}. No new base copy/download. Rruns/heldout-inputs-b.jsonfixes the 94 supplemental BF16 rows of 4,608 bytes. Only those may be read by HTTP Range if absent (433,152 bytes total, pinned 206, exact Content-Range, length and SHA-256); stop on a bad/missing base or bad response. Keep shared slices read-only. Only a disposable private input view and small held-out pack on the root temporary volume; delete at exit. No model code or published weight values. - Reproduce W first, original then held-out. Use F
prompts-inkling.jsonand R's ten frozen held-out texts, pinned tokenizer and ID digests, in their original order. Run W'sscore.capture(widened.compute)and check every integer/table and float reference/choice hash, mismatch positions, prompt medians/maxima, exponents, shifts and counts against Wruns/candidate-1.json: 26/2,426 and 2/199. Bind the four named agreeing prompts and zero membership differences there. If either set drifts, STOP: baseline not reproduced. Keep W's scoring code, reference, table generation, tie order, gates and inputs unchanged. Use W's metric functions on a new numerical body, not its historical stage driver assertion that expert-input hashes must stay Q6. - For the candidate alone use
m8=clip(RNE(256*U),-8188,8188)in the expert gate and up dots; count every would-be clip on the rounded integer as a range failure.Uis the same gain-free float64 norm output. The real clamp endpoints are unchanged:8188/256=2047/64. Keep weight folding and quantization unchanged; rescale both dots back to Q8 preactivations viafloor((acc+4096)/8192)(exponents 13, shift8+13-8=13, formerly 11). No change to keys, nonlinear tables, down shift, rounding of the output, router inputs, membership or mixing weights. Require identical router, choice, weight and reference hashes, not identical candidate expert inputs or outputs. Layout arithmetic: the symmetric expert operand needs 14 signed bits, formerly 12. For a biased input range lookup this is a 14-bit index for 16,377 valid integers, formerly 12 bits for 4,095; reserve/reject unused codes. The 2,304-term signed bound is2304*8188*4095(plus 4096 before shift), requiring 38 signed bits vs 36 before, still below exact binary64-integer and int64 limits. Range the widened operand, partial sums and rounding offset, not just the resulting word. The activation table is still addressed by the post-shift Q8 key: its signed 16-bit index does not widen. These are representability requirements, not proof costs. - Signed hand checks: for
U=(-7,-5,-3,-1,1,3,5,7)/512, Q8 rounds signed halves to(-4,-2,-2,0,0,2,2,4); Q6 rounds signed eighths to(-1,-1,0,0,0,0,1,1). Isolate one nonzero coordinateU=3/512, integer gate/up weights+2048,-2048, all other entries zero. The new input is 2, the dots are4096,-4096; the Q8 keys before key encoding are1,0. Keeping shift 11 would give2,-2and must fail the same check. Rounded input endpoints ±8188 pass, ±8189 incur one clip each in separate scalar tests. No other candidate. - Five fresh serial candidate processes, each original then held-out with no warmup, exclusions, fitting or retries. Use the candidate's own sorted top-eight set and normalized weights: descending bias-corrected score, lowest ID at ties, sort the selected IDs, then weight by their unbiased scores using W's unchanged integer normalization. Against the frozen decoded-weight float64 pre-convolution, pre-residual reference, report each prompt's Frobenius ratio, token relative-L2 median and max, first worst position, membership differences and range counts/denominators; zero/zero=0, nonzero/zero=infinity. For each set separately: median prompt Frobenius ratio ≤0.01, max ≤0.05, differing sets ≤1% (24 and 1 allowed). For every prompt: token median ≤0.01, max ≤0.05, differing sets ≤1%, zero domain/range/clamp events including weights. Preserve W's first-failed-predicate order. Report all four named prompt decisions and both full-set decisions, raw receipts, hashes, n, median/sample SD/min/max across processes (determinism, not replication). No early exit merely because membership is fixed.
Negative result and stop. A circulating error from the table or quantized matrices can keep one of the four medians above 0.01 even if the input itself is closer. A valid miss rejects Q8 as sufficient for those four. A four-prompt pass would support retaining Q8 for the expert branch on those prompts only; the prompts whose expert sets differ and the full fidelity gate would still remain. Overall PASS requires the original conjunction, not an improvement. Changed router memberships are a harness fault, not a discovery. On a harness, input, baseline, control, nondeterminism or resource fault: STOP, record and report the first receipt, no self-retry. A continuation is a coordinator decision outside the registration and must be disclosed on every surface.
Reporting and scope. One class B PR: only the new experiment directory, ENV.json, immutable receipts, RESULTS.md, one current-format research/results.yaml row and its generated views. No operator directory or inventory ID. The results row title must BEGIN with the scope: “Inkling 2 Mini layer 0, frozen original and held-out prompts”. The row summary must carry every limit the row's conditions carries. The PR title must say which frozen fixture it is limited to. RESULTS leads with the verdict word (PASS, FAIL or STOP) and its headline names the measure and the scope; report the four-prompt measure without obscuring either full-set failure. On every surface, including titles/headlines, row, generated views and PR text, identify the #267 continuation baseline (inherited #256 loader continuation); name the two previous stops in the accompanying prose. No native activation-quantized fidelity, other layers/prompts, convolution, residual, new selection relation, proof-cost measurement, GPU or integrated port.
Estimate. One PR, 2 to 3 hours including waits; six shared CPU cores, estimated 4 GB RAM (hard 6 GB), ≤50 MB private root-volume temporary disk, never write the secondary volume. Stop below 10 GB free on root or at 3 hours. No GPU, rental, Modal, Tinfoil or spend.
Activity