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 / ECOSYSTEM6 / independent-review / report.md

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