Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aien-train/blob/main/evidence/SI19-ORIG2/README.md # aien-train AIEN training programme: language-model history, GB10 constraints and the route to training on the project engine. Plans and runnable checks are distinguished. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aien-train / evidence / SI19-ORIG2 / README.md` 111 lines ยท 7034 bytes Raw Blame History Rendered 1 # SI19-ORIG2: original candidate scorer trained from random initialization (aien-train#25) 2 3 Two host runs of `sh tests/si19/run-select.sh` at source commit 4 ``736530dd70d7a380c0d65bf5d7824f08f2ac0eea`` (branch `feat/25-orig2-native-scorer`, on 5 ORIG-1 ``3e30ee41`` and PR #22 ``fa0ca1c3``). Host `Linux 7.0.0-1019-nvidia aarch64` 6 (DGX Spark, CPU only). Compiler ``191b776e`...98e9` (pinned); the R6 compiler 7 ``734f0a39`...6b61` compiled the same units and passed the same test. 8 9 - `fixture-run/`: SYNTHETIC fixture (`sxgen 4242 400`, fnv ``13341539012208942374``), the 10 full script including 6 fault-injected units. Fixture evidence only. 11 - `owner-run/`: the local owner dataset (738 records, fnv ``16622604375676129865``, sha256 12 ``403156f5`...8d37`, admitted AUTHORIZED). Real-record evidence, development-only TEST. 13 - `candidates/`: the immutable candidate images for ORIG-3 (11560 and 1816 bytes): 14 `mlp-scratch-seed19024.img` sha256 ``8dbd9b04a446b02d8e7bf2f1e2aa808ca439e813abfcb52fb34e57d40538acb5``, 15 `affine-seed19024.img` sha256 ``f04bc778b9347daa10a175a6d2a300a3cc513f6efc53e5412361ba1e9804121b``. 16 A second independent run of the script reproduced both images byte for byte. 17 18 ## Status 19 20 | item | status | 21 |---|---| 22 | native parameter updates from declared random init; predictions change (`tchange`) | PASS | 23 | independent numerical checks: exact integer golden oracle for two MLP updates (scale 2^24, no rounding), central finite differences for both kinds, ReLU convention at 0 | PASS, 50333 checks, 269 ms, max RSS 320 KiB | 24 | fault injection: 6 altered units (gradient sign, ReLU gate, update sign, dataset-binding predicate, cursor persistence, shuffle permutation) | 6/6 compiled and failed the unchanged test | 25 | restart: partial at epochs 1 and 3, resumed in a new process | image, report and per-record lines byte-identical to the uninterrupted run (fnv ``9232652764948363499``) | 26 | controls | shuffled targets, no-update (26180 updates, params bit-identical to init), untrained | 27 | refusals through the process path | damaged image 65 (-5), zero-padded short image 65, different-image compare 1, bad config 68, REVOKED 67 (-12), unlisted 67 (-13) | 28 | provenance (`tprovenance`) | every SS word and every initial parameter recomputed from seed 19024 and the LCG; lineage = seed + init fnv + dataset fnv | 29 | lr choice on DEV only | affine 2^-8 (DEV loss sum 7.26 vs 7.52 / 7.50), MLP 2^-8 (2.41 vs 2.53 / 8.60); TEST never read before the images were final | 30 | candidate | inactive; immutable; awaits ORIG-3 (sealed records) and ORIG-4 (default-off shadow) | 31 | GB10 / deployment | NOT_RUN / not part of this leaf | 32 33 ## Identities (owner run) 34 35 | field | MLP (kind 2) | affine (kind 1) | 36 |---|---|---| 37 | parameters | 705 (20 x 32 + 32 + 32 + 1) | 96 (8 x 12) | 38 | seed, init | 19024; LCG `1664525`/`1013904223`; weights uniform in {-16..15}/128, biases 0 | same | 39 | init params fnv | `11780572735689526495` | `1536629692949879461` | 40 | normalization (TRAIN only) | mu16 = 3, sh = 0 | same | 41 | lr | 2^-8 | 2^-8 | 42 | epochs / updates | 56 (best DEV epoch kept) / 86240 | 39 / 60060 | 43 | best params fnv | `9348584540880858499` | `1908154717227521143` | 44 | image fnv | `9232652764948363499` | `3416091170583141300` | 45 | dataset fnv bound in image | `16622604375676129865` | same | 46 47 ## Learning (owner run, loss sums in binary32 decoded) 48 49 | arm | TRAIN loss sum | DEV loss sum | 50 |---|---|---| 51 | MLP | 11.09 | 2.41 | 52 | affine | 71.60 | 7.26 | 53 | shuffled targets (MLP) | 265.42 | 61.32 | 54 | no-update (MLP, lr 0) | 335.04 | 75.46 | 55 | untrained (MLP) | not trained | (selection quality below) | 56 57 Learning changes parameters and lowers held-out DEV error by more than an order of 58 magnitude against the shuffled and no-update controls. 59 60 ## Selection quality (owner run, development-only; `owner-run/eval_*.stdout`) 61 62 Cost = sum over records of the chosen arm's ps per call. Ratios are to the oracle 63 (cheapest admissible arm per record). TEST = families H1 + H2 + H3 (360 records). 64 65 | chooser | TEST X925 (180) | TEST A725 (180) | TEST all (360) | DEV all (70) | top-1 TEST | 66 |---|---|---|---|---|---| 67 | fixed rule (incumbent) | 1.559 | 1.447 | 1.489 | 1.814 | 0 / 360 | 68 | always reference | 1.515 | 1.092 | 1.252 | 1.265 | | 69 | best static (quad4) | 1.0048 | 1.0137 | 1.0103 | 1.0065 | | 70 | retrieval (nearest TRAIN shape) | 1.0001 | 1.0041 | 1.0026 | 1.0146 | 320 / 360 | 71 | affine, trained | 1.0001 | 1.0679 | 1.0423 | 1.0008 | 309 / 360 | 72 | **MLP scratch, trained** | **1.0001** | **1.0185** | **1.0116** | **1.0005** | 306 / 360 | 73 | shuffled-target control | 1.0122 | 1.1055 | 1.0703 | 1.0591 | 194 / 360 | 74 | untrained control | 1.0917 | 1.0304 | 1.0536 | 1.1675 | 204 / 360 | 75 76 Paired per-record wins/losses of the MLP on TEST: vs fixed rule 359/1, vs reference 77 197/27, vs best static 109/27, vs retrieval 14/28. 78 79 Reading, honestly: 80 81 - The trained MLP is 0.68 of the incumbent fixed rule's cost and within 1.2 % of the 82 oracle; it beats the affine baseline (1.042) and both controls. 83 - It does **not** beat the cheap heuristics: on A725 it is 1.0144 x retrieval and 84 1.0047 x best static; on X925 it ties retrieval exactly (same choices on all 180 records). 85 Against ORIG-3's preregistered rule (non-inferiority to min(best static, retrieval), 86 no tolerance; NO-GO above 1.01) this development result points to **NO-GO**. The 87 sealed-record evaluation decides; nothing here was tuned on TEST. 88 - Both controls also "beat" the fixed rule (0.72 and 0.71 of it) because the rule picks 89 the two slowest arms; a win over the incumbent alone is therefore not evidence of 90 learning, which is why the prereg gates on the heuristics and the controls. 91 92 ## Resource ledger (owner run, host) 93 94 | item | measured | 95 |---|---| 96 | experience collection (consumer harness, tap on) | 62 s wall, shared machine, 20222 verified runs, amortized over every run below | 97 | compile (4 deps + 6 units, two callers, two compilers) | inside the 21 s script wall; binaries 90 KiB | 98 | tests | 274 ms, 50329 checks | 99 | lr sweep (6 trainings) | 9.5 s | 100 | training, MLP | 2.81 s for 56 epochs / 86240 updates (33 us per update, software binary32) | 101 | training, affine | 0.21 s for 39 epochs / 60060 updates | 102 | checkpoint I/O | 11560 B image (MLP), 1816 B (affine); save + load inside the run times | 103 | evaluation (load + admit 738 records + features + scoring + baselines) | 126 ms MLP, 71 ms affine: about 0.17 ms per record, versus a fixed rule in C measured in nanoseconds | 104 | memory, separately | params 705 words, gradients 705 words, best copy 705 words, activations 152 words, epoch order 2048 words, shuffle table 16384 words, record buffers 512 KiB raw + 512 KiB decoded, checkpoint buffer 32 KiB; process max RSS 320 KiB (`/usr/bin/time -v`) | 105 | failed experiments | 0 abandoned runs; one mutant rewritten during development because it was semantically equivalent (noted in the glue) | 106 | energy | NOT_MEASURED | 107 108 ## Not covered 109 110 Independent, sealed evaluation (ORIG-3); the default-off shadow consumer (ORIG-4); 111 low-rank or phase-dependent forms (later ablation, not done); any GPU run.