interplane.Get Omega
Read in your language

physics-mv

FORGE: request-bound machine realization, providers and verification for AienOS. Host, simulated and GB10 hardware paths have separate evidence.

Brought by drakestapleton

branch main Branches Tags History

physics-mv / docs / PD1_MACHINE_LAW_BENCHMARK.md

111 lines · 15221 bytes Raw Blame History Source

PD-1: MACHINE-LAW BENCHMARK (retrospective, label-stripped)

Status: DRAFT, docs only. No learner has been run on PD-1. No blind benchmark has been run. Companion to PD0_HIDDEN_EQUATION_BENCHMARK.md (PD-0, rev 6) and PHYSICS0_DISCOVERY_ENGINE.md section 5 (PD-1 row). Prerequisite: PD-0 machinery working (world, ladder checker, scorer, controls, learner: omega src/physics0, merged 2026-10-04; learner reaches PROVISIONAL_LAW on PD-0 L1 to L4). Conversion tool: omega tools/physics0/pd1-convert (harness side, never learner side).


1. What PD-1 tests, and what it does not

PD-1 asks whether the Physics-0 engine, given only unlabeled records of what was done to the machine and what the machine then did, recovers a compact relation that predicts a delayed or failed outcome from the recorded knobs, and rejects knobs that do not matter.

The target is the GB10 behaviour campaign of 2026-10-02/03 (the engine is told none of this): a host-polled completion word behaved differently depending on one structural property of the launcher build, and a family of other changes did not help.

Limitation, stated plainly. PD-1 is a retrospective replay of preserved evidence. There is no live intervention, the learner cannot ask for a new experiment, and the planner (PD-0 section 8) is not exercised. The campaign was run by people who knew the hypothesis, so the knob coverage is what those people chose to run, not what a learner would have chosen.

The only claim PD-1 can support on PASS: "From unlabeled machine observations, the system discovered a compact intervention-dependent relation that generalized to held-out machine outcomes." No claim about caches, coherence, drivers or understanding.

2. Learner-visible dataset (PD1REC1)

Fixed-width little-endian record, 112 bytes, SHA-256 chain, version refused if unknown (layout in the tool header). Field names are opaque; the learner never sees this table's right-hand column.

FieldTypeLearner meaningHarness meaning (sealed)
srcu8which record seriescampaign id (1 per-launch probe, 2 gate A/B under load, 3 lifecycle A/B, 4 single-trial variants)
q0u8knob, 0/1, 255 if absentallocation attribute of the completion word (derived, see section 4)
q1u8knob ordinal, 255 if absentvariant index where a variant field exists (src 4 only)
q2u8knob, always 255explicit operation present/absent: never recorded
q3u8knob, always 255reuse pattern: never recorded
q4u32ordinal position in the serieslaunch index or repetition number (a queue-position proxy)
q5i64time knob, always absenttime since publication: never recorded
r0i64outcome magnitude, micro units, -1 if absentcompletion visibility latency
r1u8outcome class 0/1run ok / run failed
covu32covariate milli unitshost load average at campaign start (src 2 only)

Rules: the learner reads PD1REC1 only; it never sees directory names, arm names, commit hashes, build flags, log text or file names. The chain is verified on load.

3. Protocol

  1. Conversion (harness): make -C tools/physics0/pd1-convert run extracts, converts, verifies the chain and runs the leak check. Output hash and row counts go into a PD1_CONVERT receipt (first run: omega evidence/physics0/pd1/pd1-convert-receipt-2026-10-04.txt, 2330 records).
  2. Splits (harness holds them, PD-0 invariant I10): FIT 60% and SELECT 20% of records within src 1 and src 3, stratified by q0; HOLDOUT-0 20% of the same plus the whole of src 2 as a cross-series holdout. src 4 (5 rows, q0 absent) is a development curiosity only, never scored.
  3. Hypothesis set (learner, PD-0 vocabulary, degree at most 2 over q0, q1, q4, cov): the learner must submit at least the following rivals, found by itself or supplied as the mandatory null set by the harness: the empty relation (r0 and r1 independent of all knobs), q4-only (position explains outcome), cov-only (load explains outcome), and its best candidate.
  4. Preregistered predictions (learner, hashed before holdout release): for every HOLDOUT-0 record, the predicted r0 (or class probability for r1 where r0 is absent) under the candidate and under each rival.
  5. Scoring (harness): on HOLDOUT-0, candidate error versus each rival; the PD-0 scorer's NRMSE on r0 for src 1 and src 3 records that carry it; log-loss on r1 for src 2 and src 3 records.
  6. Compactness charge: PD-0 section 6.2 size and description_bits; a candidate using q4 or cov must improve holdout error by more than the bits it costs (PD-0 MDL rule), otherwise the smaller relation wins. Rejecting irrelevant knobs is scored this way, not by a separate declaration.
  7. Ladder: PD-0 section 5 ladder with TRIAL replaced by the preregistered holdout prediction (no live trial exists). The top state reachable in PD-1 is therefore PREDICTED, not PROVISIONAL_LAW; the law record is written with state HYPOTHESIS and the holdout result in experiments. This is a deliberate downgrade: no intervention, no law.

4. Evidence sufficiency audit

Sources are those identified by the dataset scout (~/handoffs/2026-10-04-pd1-dataset-scout.md, read-only, 2026-10-04). "Derived" means the value is a deterministic function of a recorded fact that is not the outcome.

SeriesPreserved facts (file, field)Derived knobsMissingWhat would have been required
src 1: E1-STALL-PROBE/20261002T193710Zarm_{A,B}.stderr lines GB10_PROBE ... marker2_ms= sem_ms=, 1119 per arm in launch order; meta.txt commits; summary.txtq0 from arm letter (runner script header: A default build, B alternative define), q4 = line index, r0 = marker2_ms x 1000, r1 = 0 (parity PASS both arms)q2, q3, q5; per-launch timestamps; host loada per-launch log line carrying the allocation attribute as a runtime value, a submission counter and a monotonic timestamp
src 2: M18-UNCACHED-20261003*/exit-codes.txt (rep=, rc=), campaign.txt load average, started.txt/finished.txt, omega-head.txtq0 from directory prefix (baseline- vs fix-), q4 = rep, r1 = rc != 0, cov = first load average x 1000r0 (no latency per run), q2, q3, q5the gate to print the measured wait per run; the allocation attribute printed by the binary itself
src 3: WORLD-UNCACHED-20261003*/exit-codes.txt; wait_ms= in two run logs (red-001 1038.736, green-001 0.117)q0 from prefix (red-/baseline- vs green-/fix-), q4 = rep, r1 = rc, r0 for the two runs that printed itr0 for 45 of 47 rows; the M18 half of this series was run before the M18 path was fixed, so its q0 split is not a clean A/B (7/20 vs 6/20 FAIL in the source)re-running the M18 half after the fix commit; wait printed per run
src 4: CHIPWAIT-ASTRA-20261003/result.jsonvariant, result, expected, observed, marker2q1 = variant index, r1 = 1 for all fiveq0 (the allocation attribute of each variant is not stated as a recorded fact), any replication (1 trial each)at least 5 trials per variant and a per-variant record of the allocation attribute
C3 A/B (E1N-C3AB-101051.log, sealed log)per-arm aggregates (800 runs, hits, device errors)none per runeverything per runthe sealed log opened and per-run lines confirmed; not done here, to stay lean

Counts after conversion: src 1 2238 rows with latency; src 2 40 rows (1 fail); src 3 47 rows (14 fail, 2 with latency); src 4 5 rows. Total 2330.

Verdict: INSUFFICIENT for the full Direction 7 target, SUFFICIENT for a reduced development benchmark.

4.1 Circularity of the derived q0

q0 is derived from the arm letter or directory prefix, which the campaign authors chose because they already believed the allocation attribute was the cause. That join does not encode the answer: it records which treatment each run received, not what happened, and it would be the same join if the hypothesis had been wrong (arm B would then show no difference). So the derivation is not circular in the statistical sense.

It is circular in the coverage sense: the only knob that varies with enough rows is the one the humans suspected. A learner that finds "q0 predicts r0" has rediscovered the humans' experimental design as much as the machine's behaviour. What would break this: a campaign in which several knobs were varied factorially with the allocation attribute recorded as a runtime value, so that the learner has to pick the right knob among real alternatives. That campaign was not run and is not synthesised here.

4.2 Is a sealed retrospective holdout defensible?

Mechanically yes: src 2 (40 run-level outcomes under documented load, a different outcome type from the fit series) can be withheld with a public SHA-256 commitment, and the learner's predictions can be hashed before release.

Scientifically only in the weak sense. The learner's authors and every agent in this hive know the answer, the fit series separates perfectly, and the holdout tests transfer of a one-knob relation. The honest label for a PD-1 pass is therefore development evidence of the machinery on real machine data, not a blind discovery. Do not run PD-1 as a blind benchmark and do not report it as one.

5. Contamination audit

Stores the learner lane must be cut off from while PD-1 runs (the learner process reads PD1REC1 only; the learner's author must also not consult these while building the PD-1 configuration):

Label-stripping checklist for the conversion tool (enforced by leakcheck.sh on every learner-visible output): no token from the set {cache, cached, uncached, coherent, stale, flush, l2, nvidia, nvrm, nvos, gpu, cuda, marker, sem, arm, baseline, fix, variant, oldstream, sleep, m18, world, probe, chipwait, astra, e1, commit, omega, physics, allocation, attr}; no file names, directory names, hashes or dates; column names are src q0..q5 r0 r1 cov only; the src id is an integer with no legend in the learner lane.

Residual risk, stated plainly. This hive shares memory. The learner code was written by sessions that have read every store above, and the PD-0 learner's candidate vocabulary was designed by people who know the PD-0 equations. For PD-1 the learner code is unchanged and generic (it reads opaque knobs), so code-level leakage is limited to the choice of vocabulary; the real leakage is that nobody involved is blind. The audit cannot remove that; it can only make it visible. Any future claim stronger than section 1's sentence needs the PD-0b author-separation rule (PD0B_SEALED_BENCHMARK.md section 4) applied to a new live campaign, which is PD-2.

6. Negative controls (mandatory before any PD-1 result is believed)

7. Pass / fail

PASS requires all of: the controls of section 6 hold; the learner's winning candidate uses q0 and no other knob; the preregistered holdout predictions beat every rival on HOLDOUT-0 (src 1 and src 3 NRMSE within the PD-0 L2 bound, inherited and provisional; src 2 log-loss better than the empty relation by a margin the harness fixes before the run and records in the receipt); and the law record states the observed domain (two values of q0, one machine, one driver, one day) and the exceptions (the 14 src 3 failures that occur under both q0 values, from the pre-fix M18 half). FAIL otherwise. Either outcome is recorded in a new PD1_RESULT receipt; nothing is retried after seeing holdout numbers.

8. Open items