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/issues/275ac7f51394ccee # 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 # [SI EVOLUTION T2] Train a compact world model from direct verified experience, no corpus pretraining Open · #19 · open 2026-10-24 17:34 UTC Imported from GitHub aien-dev/aien-train#19, by drakestapleton drakestapleton wrote on 2026-10-24 17:34 UTC ## User decision / hypothesis The primary SI intelligence learns by living through authorized computations and environments, not by consuming an enormous text corpus. This issue is primary, aien-train #18 multi-teacher Fusion is an *optional bootstrap/reference arm*. Distinguish training source from model initialization: a pretrained 0.8B/2B adviser contains corpus-learned knowledge and must be labeled pretrained; the SI experimental core must include a fresh initialization and learn predictive state transitions and action selection from experience-only trajectories. No claim training needs zero physical compute or that raw experience alone yields general human language understanding. ## Tasks / dependency owners - Consume true `ExperienceTransition` from Omega X1 (not fabricated LLM stories) and current aien-train #3 , #5 , #6 , Omega #606 native train/gradients; use actual seeded handwritten `.om` model forward, gradients, optimizer, and checkpoint. No PyTorch/foreign product fallback. - Start from tiny tractable randomly initialized or explicit prior-initialized predictive model of state-action-next-state outcomes with declared finite vocab/typed observations, short rolling episode horizon. Experiment with latent predictive state, unrolled transition/next-observation negative log loss, uncertainty/calibration, event causality/interventions in safe resettable micro-worlds. Model loss masks and transition boundaries must be independently checked. - Separate live immediate learning (checked Cortex lesson/skill and nonparametric state) from slow checked weight learning (batch asynchronous consented experience, replay, holdouts, retention, independent review). Compare online skill acquisition, retrieval-only, shallow tabular/stateful predictors, small scratch-trained and frozen pretrained adviser. Nonverified teacher advice only hypothesis data; accepted outcomes may generate new student training targets. - Use bounded curiosity/active experiments proposed from uncertainty and authorized by capabilities. Prefer testable real/falsifiable world transitions, not narrative "reflections" presented as truth; allow no-reward future-state prediction and separate verifiable reward where possible. - Handle catastrophic forgetting via explicitly bounded replay, checkpoints and parent-retention controls; test transfer across unseen state-space task families, out-of-order interleaving, model drift, contamination and revoked sources. - Record provenance, permission and computational cost per real experience and update; public data release not implicit and sealed final heldout never enters training. Produce learning curves versus number/cost of experience episodes, not just tokens or data size. ## Acceptance - Independently reproduce >=2 actual from-scratch model updates from admitted experience, with finite difference or independent golden gradient, checkpoint/restart and prediction changes; real trainer path, not manual state editing disguised as training. - New, unseen stochastic/interactive tasks and controlled intervention experiments compare predictive calibration and completed useful tasks to rules-only/retrieval/pretrained controls. Freeze study profile and reject hidden-answers/self-grading. - Test zero/negative usefulness, reversed action, shuffled outcomes, forged reward, future leak, catastrophic forgetting, wrong state mask, disallowed experience, interrupted/revoked update; checkpoint stays candidate until independent acceptance. - Report training memory, full discovery cost and zero-corpus status accurately; insufficient hardware remains precise BLOCKED/NOT_RUN, not unconditional promise of useful SI. ### Research motivation, not implementation dependencies Agent Learning via Early Experience , Online Experiential Learning , Continual RL with Online World Models . ## Mandatory shared contract Parent: https://github.com/aien-dev/aien-architecture-mv/issues/307 . Read authoritative PLAN_AUTHORITY , current plan, doctrine/ADRs, `AGENTS.md`, directory `.crumb`, current source heads, branch claims, in-flight PRs and prerequisite issues before edits. This is a bounded component issue and not another master plan. Reuse authoritative Omega seeded handwritten `.om`, existing compiler, skill/Cortex single-writer, FORGE native physical realization, AEGIS authority, Spark independent judge and receipt signer; no new shadow compiler/trainer/scheduler/trusted ledger or Python/PyTorch/CUDA product fallback. Existing C/Rust is migration evidence, not new first-party final implementation. Unavailable `.om` capability is a concrete compiler-owner blocker. Do not stop/restart/expose live 35B private 18091, publish private data, swap weights, run unreserved GB10 tasks, or deploy a network as a side effect of issue creation. Separate source-only, host, independent silicon, and production readiness into PASS/FAIL/INCONCLUSIVE/NOT_RUN and pin receipts. drakestapleton wrote on 2026-10-25 01:56 UTC SEM-0 integration note (2026-10-24): architecture #315 treats this issue #19 as the sole owner of training a compact world model from directly verified experience. Compact semantic atoms and trace-compiled procedures are supplemental evidence/tool reuse under Omega #721/#658, not a new second world-model trainer. benchmarks #43 will score held-out causal transitions/interventions and full model+library+codebook description bits with complete learning/search/verifier cost, comparing an exact answer cache and whole-program reuse. Existing #18 teacher distillation is a separate permitted advisory arm. No claim of intelligence or verified generalization from shorter prompts or copying past traces; owner-consented local data and independent judge constraints remain. did:key:`z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd` wrote on 2026-11-18 17:12 UTC Recovered GitHub comment by @aien-spark on 2026-10-24T18:26:46Z. Original comment `6387916714` T2 wave 1-2: offline standalone experiment, status HOST_TESTED Branch `feat/19-experience-world-model`. Implementation commit `d1f7afc`, evidence commit `fa0ca1c`. No PR has been opened; the merge desk owns PR creation. Scope and boundaries - This is an offline, standalone experiment. It is not M23/M24 (AIEN_0) and is not part of any runtime, default build or test target. - EST-3 is FAILED on architecture main (PLAN:54, :686), so this result must not influence production. The Lane 7 `src/estimation` pattern applies. - Training numerics are not new. The trainer only calls the pinned native `afstep` from the open aien-train #15 (`c7642d9`): L720 add32/mul32, the explicit gradient and SGD. M20-M22 remain NOT QUALIFIED, and this result inherits that status. - No teacher, corpus or self-distillation data is used (ARCH:164). The data is a seeded, resettable FIXTURE micro-world (`native/si19/fixture.om`) standing in for Omega X1 #699, which is not merged. Files - `native/si19/fixture.om`: the micro-world. - Observation: p in -12..12, v in -3..3. Action: u in {-1, 0, 1}. - Dynamics: p' = p + v; v' = v ± u + gust. - Env B reverses the action. - A terminal record keeps its true successor. The next record starts from a fresh reset. - `native/si19/world.om`: the trainer. - Model: an affine map (p, v, u) -> (p', v'), 8 binary32 parameters, seeded random initialization. - Replay: bounded rings of 64 per environment. - Arms: M (A, then B with A replay), N (B only), S (shuffled-experience control). - Lineage: per-arm use counts for each experience id, plus `wsaffect arm id` as the query #20 needs. - A 51752-byte checkpoint image with admission checks. - Held-out evaluation and the baselines. - `native/si19/main.om`: the driver (uninterrupted, partial, resume and compare modes). - `tests/si19/world-test.om`: the tests. - `tests/si19/run.sh`: POSIX host glue. - `docs/si19/{CONTRACT.md,dependencies.json,deps.sha256}`. - `evidence/SI19/`: run outputs and the Wolfram checks. Command: `sh tests/si19/run.sh`. This uses the pinned compiler `191b776e…` and SHA-256-verified dependency sources. Host: aarch64, CPU only. Results (`evidence/SI19/run/`) - Tests: `SI19_WORLD_TEST_PASS checks=644630`. They cover: - an exact integer golden oracle for 2 real trainer updates (Y, loss, dW, db and the committed W/b, all bit-exact); - forward consistency; - fixture determinism and transition boundaries; - exact lineage counts and the shuffle wiring; - held-out key and id disjointness; - in-process restart at 10 cut points; - 9 checkpoint refusal cases, each leaving state unchanged. - Fault injection: 6 altered units all compiled and then failed the unchanged test (rc=1). - Weights changed: 4096 real updates; 8/8 cells changed from the init. After env A, the learned values are W_p→p' 1.00026, W_v→p' 0.99973, W_v→v' 0.96362, W_u→v' 0.93549. The true values are 1. - Held-out A: 128 transitions, and none of their (p, v, u) keys appear in training. Mean squared error over (p', v'): predictor MSE model after A 0.4435 constant-velocity rule 1.0234 persistence rule 3.9844 frequency mode 4.4766 nearest-neighbour delta 5.7344 nearest neighbour 11.969 shuffled-experience control 79.44 init model 88.99 true-mean noise floor (reference only) 0.28125 - Forgetting on held-out A: 0.4435 before B; 1.2529 after B with A replay; 3.1193 after B with no replay. Replay reduces forgetting but does not remove it. A single affine map cannot represent both action signs. - Held-out B: - N: 0.2335 (noise floor 0.2031). - M with replay: 0.8659. This loses narrowly to the constant-velocity rule (0.8594). - Restart: stopped at event 100 and at event 300, then resumed in a new process. The final images and reports are byte-identical to the uninterrupted run (FNV-1a `13533758852048430492`). A damaged image is refused with -5 and a truncated one with -1 (exit 65). - Host cost: driver 0.01 s, tests 0.13 s, max RSS 320 KiB. No energy measurement and no GPU. - The Wolfram evaluator checked the image byte count, the update and use counts, the lr and 1/128 bit patterns, the gust variance of 1/4, and an exact decode of every reported MSE (`evidence/SI19/wolfram.txt`). Remaining blockers / NOT_RUN - Real X1 `ExperienceTransition` input: waiting on omega-mv #699. - Sealed holdout: G3 sealing is BLOCKED_OPERATOR, so these are development held-out sets. - M20-M22 qualification. - Not yet done: calibration/uncertainty, curiosity, consent/revocation enforcement (#20, OH), a pretrained-adviser comparison, and an independent judge (benchmarks #39). - GPU: NOT_RUN. did:key:`z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd` wrote on 2026-11-18 17:12 UTC Recovered GitHub comment by @aien-spark on 2026-10-25T04:40:14Z. Original comment `6393532792` ORIG programme (#24 → #25 → benchmarks#45 → omega#731) executed end to end on the host; four draft PRs, no merges, no labels: - ORIG-1 aien-train#28 (contract, owner dataset, admission) — PASS - ORIG-2 aien-train#29 (scratch scorer, 705 params, bit-exact restart, controls) — HOST_TESTED PASS, candidate `8dbd9b04…` inactive - ORIG-3 benchmarks-mv#46 (preregistered, temporally sealed evaluation) — INCONCLUSIVE: learns, beats incumbent/reference/affine, parity with retrieval; preregistered control criterion mis-specified (incumbent too weak); v2 proposed, not run - ORIG-4 omega-mv#734 (default-off record tap + `.om` shadow advice) — PASS, default off, active selection disabled Honest reading for #19: a from-scratch native `.om` scorer trained on real verified experience works end to end (random init → native training → reload → native inference → independent judgment), but on this task a nearest-neighbour retrieval baseline is as good. GB10 NOT_RUN; energy NOT_MEASURED; the private records stay local. This does not close #19, #15 or #22; PRs #22/#15 remain the base of the stack and still need their own review. Sign in to comment