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

[ORIG-2] Train and reload a tiny original Omega candidate scorer from random initialization

Closed · #25 · open 2026-10-25 03:22 UTC · closed 2026-11-05 01:43 UTC (reason completed)

Imported from GitHub aien-dev/aien-train#25, by drakestapleton

drakestapleton wrote on 2026-10-25 03:22 UTC

Goal and ownership

Bounded implementation child of #19, dependent on the frozen ORIG-1 task/data contract #24. Build the first original candidate scorer—not another general trainer or free-form LLM.

Reconcile existing PR #22 and native numerical PR #15 with their owners before implementation. The eight-parameter fixture at fa0ca1c3b10bc408cc0083a459a56dffa87da9e0 is useful infrastructure evidence, not a qualified real-experience mini-model. Extend existing Omega native training owner #606 for missing primitives rather than creating a parallel engine.

Scope

  1. Consume the fixed typed state/candidate schema. Compare an affine baseline with one small candidate-conditioned nonlinear scorer. Initial ceiling: 100,000 trainable parameters, explicitly a proposed engineering budget—not a claimed optimum. Increase only through measured underfitting/resource review.
  2. Record seed, initialization algorithm, initial checkpoint hash and complete lineage. Primary arm must start from random initialization without pretrained weights, teacher outputs/logits, pretrained tokenizer or external model dependencies.
  3. Use normalized measured candidate-cost prediction (or a predeclared justified objective) with validity masks. Fit normalization only on the training partition. The scorer cannot invent candidates or authorize execution.
  4. Implement forward pass, explicit derivatives, optimizer, checkpoint and inference in handwritten .om on existing numerical owners. PR #15's fixed affine derivative coverage does not prove new nonlinear derivatives; add independent golden and finite-difference checks, including the stated convention at nondifferentiable points.
  5. Restore model, optimizer, RNG, normalization and data cursor; test restarted versus uninterrupted execution under declared deterministic conditions/tolerances.
  6. Refuse nonfinite inputs/results, bad dimensions, stale profiles, corrupt checkpoints and budget exhaustion. No automatic promotion or live online weight learning.
  7. Account for collection, compilation, failed attempts, training, checkpoint I/O and evaluation as well as inference. Report parameter/gradient/optimizer/activation/replay/temporary memory separately.
  8. Low-rank or phase-dependent forms may be a later controlled ablation, not a prerequisite or an assumed physical WAVE device.

Acceptance

  • Tests demonstrate actual native parameter updates from declared random initialization and changing predictions.
  • Independent numerical checks cover all new forward/gradient/update operations and detect injected faults.
  • Exact or explicitly tolerance-bounded restart/reload receipt with all relevant state recorded.
  • Untrained, shuffled-label and no-update controls; predeclared seeds and learning curves versus cheap baselines.
  • Model/data/code/compiler hashes, resource ledger and refusal tests published without private traces.
  • Host execution, physical GB10 execution and deployment are labeled separately; absent measurements remain NOT_RUN.
  • Candidate remains inactive pending independent evaluation and separate shadow/admission work.
  • Negative results are retained; completing this leaf does not automatically close #19, #15 or broader training qualification.

Dependency order

Blocked on ORIG-1 #24, relevant numerical dependencies and review of reusable #22 work. Produces an immutable candidate for ORIG-3 independent evaluation and ORIG-4 default-off shadow integration. Evaluation protocol can be prepared before training; final holdout must remain sealed.

Execution and authority

Read PLAN_AUTHORITY, CURRENT_EXECUTION_PLAN, AGENTS.md, .crumb and active claims before changing code. Preserve existing owners and exact dependency pins. First-party implementation/tests are seeded handwritten .om; disclose external oracles and temporary host glue separately. Do not create another trainer, scheduler, Cortex writer, C kernel, or Python/PyTorch product path. Keep private owner data local; public artifacts contain schemas, hashes and authorized synthetic fixtures only. Report PASS/FAIL/INCONCLUSIVE/NOT_RUN/BLOCKED accurately. This issue authorizes planning/implementation through reviewed PRs, not a training run, installation, private-data export, hardware experiment, production promotion or automatic merge. Any later Spark run requires an exclusive reservation and must not load a second model beside the resident service.

did:key:z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd wrote on 2026-11-18 17:15 UTC

Recovered GitHub comment. Original comment 6393531881

ORIG-2 delivered as draft PR aien-dev/aien-train#29 (branch feat/25-orig2-native-scorer, head c9ae2b24, stacked on #28). Needs independent review; no label added.

  • native/si19/select.om: affine (96 params) and ReLU MLP 20→32→1 (705 params) scorers from seeded random init (seed 19024, LCG), handwritten .om on L720 add32/mul32 only; forward, explicit gradients (ReLU' = 0 at exactly 0), SGD, TRAIN-only normalization, DEV early stopping, controls, checkpoint SI19SLCK (admission -1..-8; sladmit for inference, slload for resume), bit-exact restart, inference. Driver selmain.om, tests select-test.om 50333 checks (exact integer golden oracle for 2 MLP updates, finite differences, ReLU-at-0, restart at 6 cuts, 8 refusals, provenance), 6/6 mutants killed.
  • Owner records, development TEST (360): cost/oracle fixed rule 1.489, reference 1.252, best static 1.0103, retrieval 1.0026, affine 1.0423, MLP 1.0116, shuffled 1.0703, untrained 1.0536. DEV loss MLP 2.41 vs shuffled 61.3 / no-update 75.5 (params bit-identical). Training 2.8 s / 86240 updates; inference ≈0.17 ms per record; RSS 320 KiB.
  • Immutable candidate evidence/SI19-ORIG2/candidates/mlp-scratch-seed19024.img sha256 8dbd9b04…acb5 (reproduced byte-for-byte across 4 runs). Candidate inactive. Host-tested; GB10 NOT_RUN; energy NOT_MEASURED.
  • ORIG-3 sealed verdict: INCONCLUSIVE (benchmarks-mv#46): at parity with retrieval, better than static/affine/incumbent, preregistered control criterion mis-specified. Negative/inconclusive result retained.

did:key:z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd wrote on 2026-11-18 17:20 UTC

Recovered GitHub comment. Original comment 6398784997

ORIG v2 run on PR #29 (feat/25-orig2-native-scorer): b41878a (merge of #28), 692d851 (v2 path: selmain flag 8, image SS[20], run-select.sh V2=1; select-test 50991 checks, 8/8 mutants; v1 candidates reproduce byte for byte), 351402e (evidence evidence/SI19-ORIG2-v2/).

  • Post-freeze collection C2 (benchmarks-mv prereg frozen 0ca6b9c 12:08Z; collected 14:15Z): 1938 records, 1714 admitted (224 duplicate states), TRAIN 976 / VALIDATION 315 / HELD-OUT 423.
  • Candidate MLP 705 params from seed 19024 random init, lr 2^-8: 64 epochs, 312320 updates, 10.0 s training; image sha256 16abb8fc.... Shuffled control 2.7 s, untrained 0.
  • HELD-OUT pressure 0, choice-only cost / oracle: MLP 1.0018 (X925), 1.0203 (A725); retrieval 1.0007 / 1.0100; heuristic 1.0005 / 1.0835. With per-decision overhead (MLP 80.84 us, retrieval 64.08 us, heuristic 0): MLP 1.7728 / 1.2844 x min(retrieval, heuristic). Controls fail the primary criterion (valid run). Verdict NO-GO (frozen rule, benchmarks-mv 5930d65). Break-even decisions: none; A725 choice-only break-even would need 5310 calls per decision (mean 903).
  • Glue incident disclosed in the README (a final cross-check expected exit 68, got 66; nothing was rerun).

Host-only; GB10 NOT_RUN; energy NOT_MEASURED. DCO certification remains for the human contributor. Draft, no label.

did:key:z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd wrote on 2026-11-18 17:37 UTC

Recovered GitHub comment. Original issue #25 · posting receipt 76bfc436a31263e52be4a047aee80c2f63ba1dda8d817d4083a4e889c4fd998d

Closing as done (org issue sweep P-DRA-9, lane I8). Every acceptance item is met on main 56cc8870 (#29, f389286a).

  • Native updates from declared random initialization, independent checks, controls, refusals and restart: replay on main 56cc8870, host CPU only, cores 0-9/15-19. OMC=omc 191b776e, OMC2=omc 734f0a39, sh tests/si19/run-select.sh exited 0 with SI19_SELECT_RUN_PASS. The checkpoint compare reports SELECT_IDENTICAL (bytes=11560, fnv 1696927339688146619). Resume of damaged and short checkpoints is refused (rc 65), as are bad config (68) and revoked or unlisted records (67). All 8 select.om mutants fail the test.
  • With paths and timing stripped, the replay summary matches the committed evidence/SI19-ORIG2/fixture-run/summary.txt line for line; the eval rows for the mlp, affine, shuffled and untrained candidates are identical. The only addition is two mutants (7 and 8) that main added after the receipt.
  • The v2 result on C2 is retained as NO-GO in evidence/SI19-ORIG2-v2/README.md. Hashes and the resource ledger are published there, and no private traces are included.
  • Host execution is labelled separately. GB10 and deployment are NOT_RUN. The candidate stays inactive.

Per the issue, closing this leaf does not close #19 or broader training qualification.

Sign in to comment