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
aien-train / evidence / ECOSYSTEM6 / independent-review / report.md
| 1 | # Independent bounded affine numerical review |
| 2 | |
| 3 | Reviewer: Architecture #303 portability/distributed worker, separate from the |
| 4 | affine author. Reviewed frozen aien-train source commit |
| 5 | `d79b34352f769687b62cc77ba2e3739445723010` in a new detached worktree at |
| 6 | `/home/drakestapleton/workspace/aien-train-ecosystem6-review`. |
| 7 | No implementation, compiler, dependency or shared runtime changes were made. |
| 8 | |
| 9 | Result: PASS within the declared fixed host numerical contract. No actionable |
| 10 | findings in this scope. This is an independent review of one bounded affine |
| 11 | forward/VJP/SGD consumer. It does not approve a complete trainer, general autograd, |
| 12 | GPU workload, real distributed numerical execution, or production cutover. |
| 13 | Architecture #303 and the implementation milestones remain open. |
| 14 | |
| 15 | ## Exact inputs |
| 16 | |
| 17 | - Consumer `native/ecosystem6/affine.om`: SHA256 |
| 18 | `a3eb5b4a0a94adab8e0a2cfbe154280034d1da26bd9f3123fcd524636583af97`. |
| 19 | - Author test: `3c3ca874491bb5f7008b5cd6a324b6550fb9b01448c265a8837b71d56a7846ec`. |
| 20 | - Author mutator: `835b4179df8beb0feb8a4fc161126a76438dbf2f80ac8da199b596f3db18f9f5`. |
| 21 | - External add32/mul32 from omega-bridge commit |
| 22 | `7e1d0d61755ec1a0bbf20941a18379861b5b9d0d`, SHA256 respectively |
| 23 | `1de23561202b284e74690034cb07741ebcf9870bc464550b8382c85410478e95` and |
| 24 | `9027090109e2050046c4b71fa51438c97ad94c23626c2ecc277844996b79c22e`. |
| 25 | - External metadata from omega-mv commit |
| 26 | `3a995ba8dace538c1532c747d829ca6e4a73582d`, SHA256 |
| 27 | `f60b6d62c1bf90de42455effae977de66adeca1268669f6144809a3327aec7a4`. |
| 28 | - Compiler source omega-bridge `0fc7d8662cb799e7c206b17c18ea4c3ec2b8fea9`, |
| 29 | binary SHA256 `191b776ef98821597c3e30655da6d680a9b66edbc9ceaca3c39c61ea6df098e9`. |
| 30 | - Handwritten reviewer caller `independent.om`: SHA256 |
| 31 | `fc9318d74ac0af8c34e245601b25cf2b8464dc8bac23aafe210ee0295898e9aa`. |
| 32 | |
| 33 | ## Source review |
| 34 | |
| 35 | Read the complete frozen implementation, author tests and mutation source, |
| 36 | dependency manifest, contract, and both external arithmetic sources. The code |
| 37 | uses the existing metadata validator and original parameter values for the |
| 38 | derivatives. It performs the stated sequential binary32 operations, then applies |
| 39 | the learning rate. The result checks precede all writes to stored tensor values |
| 40 | and loss. The public contract accurately describes fixed ulong carriers, trusted |
| 41 | allocator snapshots, shared scratch, serialization, fixed shape, and finite-input |
| 42 | limits. It explicitly separates the manual derivative from a general tape. |
| 43 | |
| 44 | ## Executed evidence |
| 45 | |
| 46 | Freshly materialized dependency files were hash checked and concatenated with |
| 47 | the frozen consumer and author caller. Compilation and execution both exited0: |
| 48 | `NATIVE_AFFINE_FP32_PASS checks=374708`. The ELF SHA256 is |
| 49 | `de663132f87336a73b9766ea79a5e163e1412a4eb85b199d11aae53be1927973`. |
| 50 | Matching the author's binary is consistency evidence; the independent numerical |
| 51 | checks below supply separate correctness evidence for the tested cases. |
| 52 | |
| 53 | The separate handwritten reviewer caller imported no author test helper. A |
| 54 | symbolic algebra kernel independently differentiated the sum of squared errors |
| 55 | and evaluated exact rational answers for X=[[1,-2,3],[2,0,-1]], |
| 56 | W=[[1/2,-1/4],[1,3/4],[-1/2,2]], b=[1/8,-1/2], |
| 57 | T=[[1/4,1],[-1,1/2]], lr=1/32. Its loss is1167/32. All forward |
| 58 | values,14 derivatives and8 updated parameters were checked as literal binary32 |
| 59 | words. This test does not rely on lower loss as evidence of correct derivatives. |
| 60 | |
| 61 | For each of the14 X/W/b entries, the reviewer executed the actual consumer at |
| 62 | plus and minus1/8 and checked both losses against separate exact symbolic |
| 63 | answers. The symbolic result verifies that4*(Lplus-Lminus) equals the derivative |
| 64 | for every entry. These dyadic inputs and small polynomial results are exactly |
| 65 | representable for the selected fixture. This finite-difference test does not |
| 66 | assert a numerical tolerance or accuracy guarantee for arbitrary ill-conditioned |
| 67 | or rounded cases. The saved request and raw result show the independent oracle. |
| 68 | |
| 69 | The reviewer also checked repeated zero-learning-rate execution, preserved X/T |
| 70 | and unused padding, stale/zero generation, a valid-but-incompatible shape, |
| 71 | negative-zero learning rate, NaN input, overflow, and complete AP/AL refusal |
| 72 | atomicity. The final independent caller compiled0 and ran0: |
| 73 | `INDEPENDENT_AFFINE_PASS checks=1041`. |
| 74 | |
| 75 | The author mutator was freshly compiled and used to materialize each actual |
| 76 | faulty consumer from the exact frozen source. All mutations generated0 and |
| 77 | compiled0. Both the unchanged author suite and independent caller rejected them: |
| 78 | |
| 79 | | Compiled change | Author failure check / exit | Reviewer failure check / exit | |
| 80 | | --- | --- | --- | |
| 81 | | Negate derivative multiplier |31 /1 |7 /1 | |
| 82 | | Remove shape/stride admission |93 /1 |262 /1 | |
| 83 | | Add weight update instead of subtracting |33 /1 |21 /1 | |
| 84 | |
| 85 | Raw statuses, output, rebuilt translation units and altered modules are retained. |
| 86 | No compiler refusal is counted as a successful behavioral mutant. No execution |
| 87 | failure occurred in the reviewer positive tests. The preliminary911-check caller |
| 88 | passed before the extra shape refusal was added; the final1041-check source and |
| 89 | raw result are the sealed review artifact. |
| 90 | |
| 91 | `readelf` shows a static AArch64 ELF with no dynamic section. An external |
| 92 | file/process/network trace of the independent caller observed only its initial |
| 93 | exec and clean exit; no external file, network or child-process runtime use was |
| 94 | observed. This is a scoped trace, not proof of all possible program paths. |
| 95 | |
| 96 | ## Reproduction |
| 97 | |
| 98 | `commands.txt` records the actual source materialization and build recipe. |
| 99 | `normal-unit.om` and `independent-unit.om` retain the exact combined inputs. |
| 100 | Compile either with the pinned compiler, verify ELF, then execute on AArch64 |
| 101 | Linux. Mutant units have explicit names for author and independent callers. |
| 102 | ELF hashes are retained in `raw/elf-sha256.txt`; ELF binaries are local review |
| 103 | artifacts and should not be committed. All new executable reviewer test code is |
| 104 | handwritten `.om`. Shell concatenation is development orchestration only. The |
| 105 | symbolic kernel is an external qualification oracle and is not in the product. |
| 106 | |
| 107 | There is no simulator or physical-device result in this packet. It provides no |
| 108 | throughput, model quality, convergence or ecosystem coverage claim. The bounded |
| 109 | test set does not prove IEEE behavior for all possible inputs. Existing owners |
| 110 | retain wider tensor, autograd, training, transport and compiler implementation. |