interplane.Get Omega
Read in your language

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

branch main Branches Tags History

aien-train / evidence / SI19-ORIG2

f389286 feat(si19): ORIG-1 selector contract and ORIG-2 native candidate scorer (#24, #25) (#29) aien-spark committed 2026-10-30
..
candidates/
fixture-run/
owner-run/
README.md7034

README.md

SI19-ORIG2: original candidate scorer trained from random initialization (aien-train#25)

Two host runs of sh tests/si19/run-select.sh at source commit 736530dd70d7a380c0d65bf5d7824f08f2ac0eea (branch feat/25-orig2-native-scorer, on ORIG-1 3e30ee41 and PR #22 fa0ca1c3). Host Linux 7.0.0-1019-nvidia aarch64 (DGX Spark, CPU only). Compiler 191b776e...98e9 (pinned); the R6 compiler 734f0a39...6b61 compiled the same units and passed the same test.

  • fixture-run/: SYNTHETIC fixture (sxgen 4242 400, fnv 13341539012208942374), the full script including 6 fault-injected units. Fixture evidence only.
  • owner-run/: the local owner dataset (738 records, fnv 16622604375676129865, sha256 403156f5...8d37, admitted AUTHORIZED). Real-record evidence, development-only TEST.
  • candidates/: the immutable candidate images for ORIG-3 (11560 and 1816 bytes): mlp-scratch-seed19024.img sha256 8dbd9b04a446b02d8e7bf2f1e2aa808ca439e813abfcb52fb34e57d40538acb5, affine-seed19024.img sha256 f04bc778b9347daa10a175a6d2a300a3cc513f6efc53e5412361ba1e9804121b. A second independent run of the script reproduced both images byte for byte.

Status

itemstatus
native parameter updates from declared random init; predictions change (tchange)PASS
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 0PASS, 50333 checks, 269 ms, max RSS 320 KiB
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
restart: partial at epochs 1 and 3, resumed in a new processimage, report and per-record lines byte-identical to the uninterrupted run (fnv 9232652764948363499)
controlsshuffled targets, no-update (26180 updates, params bit-identical to init), untrained
refusals through the process pathdamaged image 65 (-5), zero-padded short image 65, different-image compare 1, bad config 68, REVOKED 67 (-12), unlisted 67 (-13)
provenance (tprovenance)every SS word and every initial parameter recomputed from seed 19024 and the LCG; lineage = seed + init fnv + dataset fnv
lr choice on DEV onlyaffine 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
candidateinactive; immutable; awaits ORIG-3 (sealed records) and ORIG-4 (default-off shadow)
GB10 / deploymentNOT_RUN / not part of this leaf

Identities (owner run)

fieldMLP (kind 2)affine (kind 1)
parameters705 (20 x 32 + 32 + 32 + 1)96 (8 x 12)
seed, init19024; LCG 1664525/1013904223; weights uniform in {-16..15}/128, biases 0same
init params fnv117805727356895264951536629692949879461
normalization (TRAIN only)mu16 = 3, sh = 0same
lr2^-82^-8
epochs / updates56 (best DEV epoch kept) / 8624039 / 60060
best params fnv93485845408808584991908154717227521143
image fnv92326527649483634993416091170583141300
dataset fnv bound in image16622604375676129865same

Learning (owner run, loss sums in binary32 decoded)

armTRAIN loss sumDEV loss sum
MLP11.092.41
affine71.607.26
shuffled targets (MLP)265.4261.32
no-update (MLP, lr 0)335.0475.46
untrained (MLP)not trained(selection quality below)

Learning changes parameters and lowers held-out DEV error by more than an order of magnitude against the shuffled and no-update controls.

Selection quality (owner run, development-only; owner-run/eval_*.stdout)

Cost = sum over records of the chosen arm's ps per call. Ratios are to the oracle (cheapest admissible arm per record). TEST = families H1 + H2 + H3 (360 records).

chooserTEST X925 (180)TEST A725 (180)TEST all (360)DEV all (70)top-1 TEST
fixed rule (incumbent)1.5591.4471.4891.8140 / 360
always reference1.5151.0921.2521.265
best static (quad4)1.00481.01371.01031.0065
retrieval (nearest TRAIN shape)1.00011.00411.00261.0146320 / 360
affine, trained1.00011.06791.04231.0008309 / 360
MLP scratch, trained1.00011.01851.01161.0005306 / 360
shuffled-target control1.01221.10551.07031.0591194 / 360
untrained control1.09171.03041.05361.1675204 / 360

Paired per-record wins/losses of the MLP on TEST: vs fixed rule 359/1, vs reference 197/27, vs best static 109/27, vs retrieval 14/28.

Reading, honestly:

  • The trained MLP is 0.68 of the incumbent fixed rule's cost and within 1.2 % of the oracle; it beats the affine baseline (1.042) and both controls.
  • It does not beat the cheap heuristics: on A725 it is 1.0144 x retrieval and 1.0047 x best static; on X925 it ties retrieval exactly (same choices on all 180 records). Against ORIG-3's preregistered rule (non-inferiority to min(best static, retrieval), no tolerance; NO-GO above 1.01) this development result points to NO-GO. The sealed-record evaluation decides; nothing here was tuned on TEST.
  • Both controls also "beat" the fixed rule (0.72 and 0.71 of it) because the rule picks the two slowest arms; a win over the incumbent alone is therefore not evidence of learning, which is why the prereg gates on the heuristics and the controls.

Resource ledger (owner run, host)

itemmeasured
experience collection (consumer harness, tap on)62 s wall, shared machine, 20222 verified runs, amortized over every run below
compile (4 deps + 6 units, two callers, two compilers)inside the 21 s script wall; binaries 90 KiB
tests274 ms, 50329 checks
lr sweep (6 trainings)9.5 s
training, MLP2.81 s for 56 epochs / 86240 updates (33 us per update, software binary32)
training, affine0.21 s for 39 epochs / 60060 updates
checkpoint I/O11560 B image (MLP), 1816 B (affine); save + load inside the run times
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
memory, separatelyparams 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)
failed experiments0 abandoned runs; one mutant rewritten during development because it was semantically equivalent (noted in the glue)
energyNOT_MEASURED

Not covered

Independent, sealed evaluation (ORIG-3); the default-off shadow consumer (ORIG-4); low-rank or phase-dependent forms (later ablation, not done); any GPU run.