[Phase 2 write-up] A moment chain with a learned cross-layer corrector and a wall-time guard (submission #337436)

Phase 2 algorithmic-contribution write-up of team huang_chung_yi (Termdock). It corresponds to #337436 only.

Score. 1.66842e-9 adjusted on the 50 public networks (final-layer MSE 1.2962e-8, mean compute utilisation 0.1286).
Grader run. flopscope 0.12.3, 0 of 100 networks failed, round trip max 116.2 s, residual max 0.383 s, setup max 3.94 s. The wall-time guard switched 33 of the 100 networks to the safe path.
Nomination. Nominated for the private re-evaluation together with #337674, a separate build with more wall-time margin (1.6850e-9, 0/100 failed, round trip max 101.9 s).
Write-up. PDF, 23 pages; Chapter 8 covers LLM use and attribution, and a references section maps each claim to its source.

phase2-writeup.pdf (126.8 KB)

What it is. Layer-by-layer moment propagation through all 16 layers with no sampling: the mean, the full covariance and a factored third cumulant are carried from layer to layer. Each ReLU is closed with Edgeworth and Mehler expansions plus fitted per-layer corrections. Most of the billed work runs through a Strassen-Winograd recursion and a rank-48 4x4x4 scheme (PLinOpt). A learned cross-layer corrector (CORR) adjusts the final-layer mean, and a guard switches to a shallower, faster recursion when the estimator’s own projected wall time exceeds 112 s.

What we claim, narrowly (each item is measured in the PDF)

  1. Porting a published cross-layer corrector to a different chain (Ch. 3). The CORR architecture, state transport, feature schema and signed-log standardisation are Susupro’s (Yan Su, logxio/fourth-cumulant, forum 18254); we do not claim them. Ours are the port, a low-op runtime, the feature changes, the start layer and the training choices. On a 98-network development holdout the selected constants give final-layer MSE x0.932; that holdout was also used for model selection, so it is not independent evidence. On the grader’s public 50, the same all-safe build with CORR on versus off gives MSE x0.936. Small holdout gains from constant-only changes were not consistently reproduced on the grader.
  2. A cost and time account under flopscope billing (Ch. 4). On one network 83% of billed FLOPs are matmul, 9.8% fast-multiplication additions and about 2% copies that pay for batching. In the profiles we measured, op count was a useful predictor of residual time; batching that cut ops made wall time worse twice.
  3. A runtime guard with a checked model (Ch. 5). A clock-only projection switches the remaining layers to the safe path. A uniform-slowdown model built from per-layer timings predicts that 337436 stays under the wall cap up to x1.195 (wall time only, not residual or setup), and it reproduced a real switched network of 337436 to 0.3 s. Against the all-safe build, 337436 scores x0.99178. For a sibling build with a 116 s threshold we recorded interim predictions mid-grading; three held and two missed, for a stated reason.
  4. Negative results (Ch. 6-7). Propagation improvements worth 5-11% with the fitted heads off vanished with them on; the heads behave as final-objective compensators. Truth injection shows leverage in the third- and fourth-order pair slices of the covariance closure, but no fitted model of those slices helped in closed loop.

Provenance and credits. Our build records trace 337436 to an estimator written in a separate Codex implementation lane that could read public GitHub; our identifier checks do not establish independent derivation, and the PDF says so. Credits: Susupro for CORR (MIT, with the notices it carries for 504aldo’s V29 and koushik_rudra’s V34); Dumas, Pernet, Sedoglavic, Stapleton and Tichavsky for the rank-48 algorithm and the PLinOpt authors for its software (CeCILL-B); 504aldo’s forum post 18218 for persistent pooled buffers; Keenan Pepper’s public corpora; ARC’s cumulant-propagation paper (arXiv:2605.05179).

LLM use. Most of the code, experiments and this report were produced by AI agents (Claude Code, OpenAI Codex, ChatGPT) under one person’s direction; Chapter 8 says which did what. AI agents produced plausible but wrong conclusions often enough that we tied each number to a recorded source, and we list the claims we could not verify.

Questions and counter-measurements are welcome.

2 Likes