X30 section 3: full-state C+phi (labels, generators, twins, evaluation, fixed-knot SDP)
Browse filesFiles changed (37)
- models/x30fs/x30fs_diff_s0_s96000.pthAdded+3
- models/x30fs/x30fs_diff_s1_s96000.pthAdded+3
- models/x30fs/x30fs_diff_s2_s96000.pthAdded+3
- models/x30fs/x30fs_reg_s0_s96000.pthAdded+3
- models/x30fs/x30fs_reg_s1_s96000.pthAdded+3
- models/x30fs/x30fs_reg_s2_s96000.pthAdded+3
- results/icml_r3/X30/PREREG_fs.mdAdded+104
- results/icml_r3/X30/fs/cand_x30fs_diff_s0.npzAdded+3
- results/icml_r3/X30/fs/cand_x30fs_diff_s1.npzAdded+3
- results/icml_r3/X30/fs/cand_x30fs_diff_s2.npzAdded+3
- results/icml_r3/X30/fs/cand_x30fs_reg_s0.npzAdded+3
- results/icml_r3/X30/fs/cand_x30fs_reg_s1.npzAdded+3
- results/icml_r3/X30/fs/cand_x30fs_reg_s2.npzAdded+3
- results/icml_r3/X30/fs/ds_info.jsonAdded+16
- results/icml_r3/X30/fs/ds_x30fs.ptAdded+3
- results/icml_r3/X30/fs/eval.npzAdded+3
- results/icml_r3/X30/fs/lab_bank/cert_so3_c1.npzAdded+3
- results/icml_r3/X30/fs/lab_bank/cert_so3_c2.npzAdded+3
- results/icml_r3/X30/fs/lab_bank/cert_so3_c5.npzAdded+3
- results/icml_r3/X30/fs/lab_bank/so3_c1.npzAdded+3
- results/icml_r3/X30/fs/lab_bank/so3_c2.npzAdded+3
- results/icml_r3/X30/fs/lab_bank/so3_c5.npzAdded+3
- results/icml_r3/X30/fs/lab_test/cert_id_c1.npzAdded+3
- results/icml_r3/X30/fs/lab_test/cert_so3_c1.npzAdded+3
- results/icml_r3/X30/fs/lab_test/cert_so3_c2.npzAdded+3
- results/icml_r3/X30/fs/lab_test/cert_so3_c5.npzAdded+3
- results/icml_r3/X30/fs/lab_test/id_c1.npzAdded+3
- results/icml_r3/X30/fs/lab_test/so3_c1.npzAdded+3
- results/icml_r3/X30/fs/lab_test/so3_c2.npzAdded+3
- results/icml_r3/X30/fs/lab_test/so3_c5.npzAdded+3
- results/icml_r3/X30/fs/numbers.jsonAdded+348
- results/icml_r3/X30/fs/report.txtAdded+28
- results/icml_r3/X30/fs/sdp.jsonAdded+34
- results/icml_r3/X30/fs/sdp.npzAdded+3
- results/icml_r3/X30/fs/selfcheck_cert.jsonAdded+6
- results/icml_r3/X30/fs/selfcheck_cost.jsonAdded+13
- results/icml_r3/X30/fs/selfcheck_eval_identity.txtAdded+23
123version https://git-lfs.github.com/spec/v1oid sha256:a1292c63ecb2d6afece39104258042cb91a6740d3bdc87c5d7194c60120748f3size 46053445123version https://git-lfs.github.com/spec/v1oid sha256:820ba1daddbe7920c45cebf7dda325a07d9e4d5a92033773acba26dd28607fa3size 46053445123version https://git-lfs.github.com/spec/v1oid sha256:67dcdc383674d158ea30239b55fbb984971941ed528526f890ba2b1f1a368b72size 46053445123version https://git-lfs.github.com/spec/v1oid sha256:01b5f05dc43447e94e01a009bec24d1cc8dba8d50a59f4abf798fba860ad56f0size 46053271123version https://git-lfs.github.com/spec/v1oid sha256:e4ba9474b3f888dfcff5920ba887ff577f1fd99e16d7c5e6786c94c59dbf56absize 46053271123version https://git-lfs.github.com/spec/v1oid sha256:a5cfaed7b85b39a62792d234f5c9b588b8616f1596bbc6cca3cfbe22ed3be50asize 46053271123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104# X30 section 3 pre-registration: C+phi in the full-state feedback family (deck [53], T9)
Written 2026-11-20, 09:35 UTC, before any label run or any number of this section. Part of X30 (see `results/icml_r3/X30/PREREG.md` for the request and sections 1 and 2).
## 1. Existing C-only run (T9, `results/icml_r2/C_mimo/`)- **Family** (`nonlinear/mimo_unstable/family.py`): n = 4 states, m = 2 inputs, full-state gain K in R^{2x4}, u = -Phi(K x). Phi = diag(Phi_i) is the unknown actuator, each channel in the sector [0.4, 2.2] (family.VER).- **Plants:** - bank: 6,000 plants (`bank6000.npz`, one SDP gain per plant); - iid test: 120 plants (`heldout_4242` + `heldout_9001`); - ood test: 60 plants (`ood.npz`). - Every plant was kept only if the per-plant SDP (`family.synth`) is feasible and its gain passes `family.verify` (`build_bank.py` docstring). So the SDP's 100% is by construction.- **Certificate:** `family.verify`, a circle LMI with a diagonal multiplier at [0.4, 2.2].- **Cost:** `family.cost` = tr(P_K)/4, from the Lyapunov equation of the nominal loop with x'x + 0.1 u'u.- **Arms (`evaluate.py`, `eval_mlp.json`):** - diffusion: 3 seeds, 16 DDPM draws per plant; - regression twin: deterministic output at b = 1, MC-dropout draws at b = 4, 16; - lookup: the gains of the 16 nearest bank plants by unit-box distance; - per-plant SDP: 7.85 ms per plant; - per-plant LQR.- **Published iid certified %** at b = 1 / 4 / 16: - diffusion 96.1 / 99.7 / 100; - twin 96.9 / 97.2 / 98.3; - lookup 43.3 / 70.0 / 83.3; - LQR 21.7; - SDP 100.
## 2. C+phi definition- **Controller:** u = -Phi(psi(K x)). psi = diag(psi_i) is in the so3 class of `x28_mimo`: odd, piecewise linear, knots at |x| = 1, 3, 5, knot ratios in [0.1, 10], ray extension past 5. C-only is psi = identity.- **Certificate:** the per-channel composed sector [0.4 alpha_i, 2.2 beta_i], where alpha_i and beta_i are the min and max knot ratio of psi_i. The check is the constant gains at both ends being Hurwitz, then `x28_mimo.circle_lmi(A, B, K, lo, hi)` with Kc = K (C = I). - Sound as in X29 (PREREG section 4 there): Phi_i(psi_i(v)) / v = (Phi_i(w) / w)(psi_i(v) / v) lies in that sector. - Self-check: at identity knots it must agree with `family.verify` on 200 bank gains (100 stored plus the same 100 perturbed by 50%), with 0 disagreements.- **Cost:** the mean over the 4 unit state directions of the integral from 0 to T of |x|^2 + 0.1 |u|^2, at Phi = identity. RK4 at dt 0.01, with the running cost integrated as an extra state (X29 addendum 2026-11-16). - Self-check: for linear K it must equal `family.cost` on the 120 iid test gains, with median relative difference <= 1e-3 and max <= 1e-2. - T starts at 20 s and doubles until the check passes.
## 3. Labels- **Bank (6,000 plants), C+phi training labels:** Adam from the stored SDP gain, with so3 starts at gauges c = 1, 2, 5 (K/c, all ratios c) and no id arm. - 100 steps, K lr 0.02, knot lr 0.02, a snapshot every 25 steps plus snapshot 0. - The label is the cheapest certified snapshot over the three starts. Fallback: the SDP gain with identity knots, which is snapshot 0 of c = 1. - 100 steps instead of X29 3A's 400: on X29's held-out actuator plants, the so3 labels at 100 and 400 steps were identical at m = 4 and 5 and differed by more than 0.5% on 4 of 120 plants at m = 3 (checked by the parent session on 2026-11-20).- **Test plants (120 iid, 60 ood):** the full X29 3A procedure, i.e. id and so3 at c = 1, 2, 5, with 400 steps. - J*_FS = min(J_SDP, J_id, J_so3) per plant. This is the regret reference (secondary). - The plant's so3 knots (cheapest certified so3 snapshot over c = 1, 2, 5) are used by the fixed-knot SDP (section 6).
## 4. Generators, twins, lookup- **Recipe:** T9's `train.py` defaults: MLP-FiLM, hidden 256, 5 layers, dropout 0.05, DDPM-500 cosine, AdamW 2e-4, warmup 1500 then cosine, 96,000 steps x batch 64, gradient clip 1. EMA 0.999 weights are used. - diffusion (`--mode diff`) and regression twin (`--mode reg`), seeds 0, 1, 2 each, in `models/x30fs/`.- **Data:** conditioning = the plant parameters scaled to [-1, 1] by the box. Target = [K (8), log r_i(1) (2), log r_i(3) (2), log r_i(5) (2)], min-max per dimension to +-0.96 (the `x28_mimo_gen.gauge` layout, with no gauge normalization).- **Sampling** (as T9's `sample.py`): - diffusion: DDPM 500 steps, clip_sample range 1, generator seed = training seed, 16 draws per plant; - twin: the deterministic output (b = 1) and 16 MC-dropout draws (b = 4, 16). - Decoding as `x28_mimo_gen.ungauge`: ratios clipped to [0.1, 10], r(2) and r(4) interpolated, odd mirror.- **Lookup:** the C+phi labels of the 16 nearest bank plants by squared distance on unit-box parameters, nearest first (as T9's retr).
## 5. Metrics- **Primary:** certified % at b = 1, 4, 16 on the 120 iid plants, the share of plants with at least one certified candidate among the first b (composed-sector certificate). Generator and twin: 3-seed mean, range and per-seed values. Lookup: one run.- **Secondary:** - the same metric on the 60 ood plants; - regret of the cheapest certified candidate (simulated cost) against J*_FS, as the median over certified plants (T9's convention) and with uncertified = 1e3 (X29's convention).- **C-only rows:** T9's published certified shares (`eval_mlp.json`), unchanged. Their regret on J*_FS is recomputed from the stored C-only candidates (`cand_mlp_*.npz`): `family.verify` and `family.cost`, the latter equal to the simulated cost for linear K by the self-check.
## 6. Per-plant SDP with fixed knots (dc_presentation's question)For fixed knots, the composed sector is fixed, and the C-only synthesis (`family.synth`) generalizes as follows. Variables: Q = P^-1, Y = K Q, diagonal W1, W2 > 0, Z. Minimize tr(Z) subject to [[Z, I], [I, Q]] >= 0, and:- **Circle LMI** at the composed design sector [0.33 alpha_i, 2.6 beta_i] (the same margin as C-only's [0.33, 2.6] around [0.4, 2.2]), with D_lo = diag(0.33 alpha_i) and D_w = diag(2.6 beta_i - 0.33 alpha_i): [[AQ + QA' - B D_lo Y - Y' D_lo B', Y' D_w - B W1], [., -2 W1]] < -eps I- **Guaranteed cost** for psi_i in [alpha_i, beta_i] at Phi = identity, by the S-procedure after the loop transformation psi(v) = D_a v + phi~(v), with phi~_i in the sector [0, delta_i] and delta = beta - alpha. With x = Q xi, w = W2 eta and Rh = sqrt(0.1) I (the factor-2 multiplier convention of `family._certify`): [[AQ + QA' - B D_a Y - Y' D_a B', Y' Delta - B W2, Q, Y' D_a Rh], [., -2 W2, 0, W2 Rh], [Q, 0, -I, 0], [Rh D_a Y, Rh W2, 0, -I]] < -eps I - It implies V' + x'x + 0.1 u'u <= 0 for every psi in the sector, so tr(P)/4 bounds the cost. - When Delta = 0 (all ratios equal), the w rows are dropped. This is exactly `family.synth`'s cost LMI with K replaced by D_a K.- **Self-check:** at identity knots the program must return `family.synth`'s K (max abs difference <= 1e-5) on 20 iid test plants.- **Knots:** fixed at each test plant's so3 knots (section 3).- **Reported:** - the share where the SDP is feasible and its K passes the composed-sector certificate at [0.4 alpha_i, 2.2 beta_i]; - CPU ms per plant (serial, one thread, median over the iid plants), with the C-only SDP re-timed in the same run; - the bound tr(P)/4 against the simulated cost. - The plants whose so3 knots are not a constant ratio are reported separately.
## 7. Expectation, written before any numberUnder the circle criterion, a certified (K, psi) always comes with a certified linear gain diag(c_i / 1.3) K, where c_i = (0.4 alpha_i + 2.2 beta_i) / 2 is the center of the composed sector.- That gain's sector, [0.4, 2.2] c_i / 1.3, has the same center and the radius 0.692 c_i <= (2.2 beta_i - 0.4 alpha_i) / 2.- So the same P and multipliers satisfy its LMI.
So at the per-plant optimum, C+phi cannot certify a plant that C-only cannot. With generated knots it will probably certify fewer plants at small b, because any knot spread widens the composed sector. Any C+phi gain can only be in cost.
## 8. Code and outputs- Code: `nonlinear/mimo_unstable/x30_fs.py`, with stages selfcheck_cert, selfcheck_cost, label (bank and test), certify, dataset, sample, evaluate, sdp and report.- Outputs: `results/icml_r3/X30/fs/`; models: `models/x30fs/`.- Compute: holder job 17212 on move-hpc-08-gpu, CPUs 0-6 and the GPU, shared with one process of the parent session. Hugging Face: targeted upload of these paths only.
## Addendum 2026-11-20, 10:20 UTC: tie-break among the gauges (before any generator, evaluation or SDP number)
Snapshot 0 of every so3 start is the same controller: K_SDP / c with all ratios c, so psi(K_SDP x / c) = K_SDP x. Its simulated cost therefore differs between c = 1, 2, 5 only by floating-point noise.
`ds_info.json` of the first dataset build showed that the plain argmin over the starts picked c = 2 or c = 5 by that noise on 2,258 of the 6,000 bank labels. These are constant-ratio copies of the SDP gain in another gauge, and they would make the training target artificially multimodal. The overall counts were:- winners: c = 1 on 3,038 plants, c = 2 on 943, c = 5 on 2,019;- 2,600 identity labels and 4,858 constant-ratio labels.
Change: among the starts whose certified cost is within 1e-9 (relative) of the minimum, the smallest gauge c is chosen.- This applies to `best_labels` for the bank (training labels and lookup) and the test plants (J*_FS and the fixed-knot SDP knots).- Labels that genuinely improve on snapshot 0 are unaffected.- The training that had started at 10:13 UTC was stopped after about 1 minute. The dataset is rebuilt and training restarted.- Rebuilt dataset, at 10:17 UTC (the file time of `ds_x30fs.pt`; first written as 10:19): winners c = 1 on 5,319 plants, c = 2 on 304, c = 5 on 377. - 4,858 labels are the SDP gain with identity knots; the remaining 1,142 have a non-constant spline. - An intermediate rebuild at 10:15 UTC had read the pre-fix module through a stale NFS cache on the compute node. Its training was stopped after about 1 minute, and nothing from it is used.123version https://git-lfs.github.com/spec/v1oid sha256:2d46b2601a3341b780bbd5b7c207f9055cbdf1a9b51e223c6eba3a99f7ad027csize 323594123version https://git-lfs.github.com/spec/v1oid sha256:28a89bebc5402ff53297783044811a569dc54ebc7b3c30103d66babea934c00bsize 323594123version https://git-lfs.github.com/spec/v1oid sha256:f6580a1d11659c4c557a5c3109b901fb27e8ece09b8cbde06b90583326e4d7aesize 323594123version https://git-lfs.github.com/spec/v1oid sha256:d3981efa781b9e5ece6879b4c8410e6e4e01215f9cdc44675f34387fc71d819csize 646928123version https://git-lfs.github.com/spec/v1oid sha256:eb3882ef8d97652ec3eea4402bc17982ab07d1937a2687605f1d93196f2ad79asize 646928123version https://git-lfs.github.com/spec/v1oid sha256:c88fa1e296be924d72a4ee631cda5b2e1594f28056bc2f7a6161621988ee3c53size 64692812345678910111213141516{ "rows": 6000, "fallback": 0, "src_counts": { "so3_c1": 5319, "so3_c2": 304, "so3_c5": 377 }, "identity_knots": 4858, "constant_ratio": 4858, "J_median": 1.760076448428335, "J_sdp_median": 1.760554464727122, "gain_median": -9.749969479095288e-07, "roundtrip_K_maxabs": 0.0, "roundtrip_r_maxabs": 8.881784197001252e-16}123version https://git-lfs.github.com/spec/v1oid sha256:127fb86c6497ce95222c52495295552eaee3903e5b3b3f3ab06064e239e030c9size 578541123version https://git-lfs.github.com/spec/v1oid sha256:644ac93dfded0b0f1ec7a03cfbd4a2e828683ae2e15d53145c876d7f6a1f08d2size 223244123version https://git-lfs.github.com/spec/v1oid sha256:c4f744fbbdcaf7521a8c0f93a231d6858e7bd9b07edf178b1deac935ae2827c1size 576496123version https://git-lfs.github.com/spec/v1oid sha256:c0cd019b7f83435664577645a4adfaad8efd3d2390e5f175fd5bd818fa42db7dsize 565977123version https://git-lfs.github.com/spec/v1oid sha256:1e88965315d27387194822826f59ef62c71f35bb2cbedd2a6c884066a4d5e7cfsize 547102123version https://git-lfs.github.com/spec/v1oid sha256:99850d032747bef0ddbca17407a4427812bc681fc771fff7e4cfde21bc375f12size 5295104123version https://git-lfs.github.com/spec/v1oid sha256:98fb1eaf186eea449e841cd941fb36d78f9f963a18749a8fb2e1a2bfbe5838f8size 5254315123version https://git-lfs.github.com/spec/v1oid sha256:f0519bf90244bdb53007e1c9004df8cd71a7e5db649edb82934dbd82e767dfccsize 5017283123version https://git-lfs.github.com/spec/v1oid sha256:5ac34f2f03c77c806afc53b6819d4f5ec15d29dc34251b37a58ef5d5d7d9ffbesize 16186123version https://git-lfs.github.com/spec/v1oid sha256:b33a36d83120f95b904355616c2cb1a274d6a7304620d5eb53c0b02e36934d6csize 21362123version https://git-lfs.github.com/spec/v1oid sha256:232ddde778ff61e380415d9476d344bb3aac7ae425921bece9721b787a0aa75fsize 21080123version https://git-lfs.github.com/spec/v1oid sha256:e2d4da209e129d9dacc42e4e58b1c806b56263acde3a87bb11c6fdeb0c0b8579size 20109123version https://git-lfs.github.com/spec/v1oid sha256:2f3f1b1383b0f876964d6c2a2a40a74dbaaae8c9c6059980f2458a3e10567c66size 253020123version https://git-lfs.github.com/spec/v1oid sha256:de3ca017c12c0902943d5775841aabfd49b6b6d2e7e39bc06cebf585ebcc6a5csize 475453123version https://git-lfs.github.com/spec/v1oid sha256:8cc1d528ddf0c9c6a6250d9a3c8fb2fda0b1ae9ec1ec799f8a9ca48ae05c80b7size 471600123version https://git-lfs.github.com/spec/v1oid sha256:2ac0d8369e1c50615124099a1efbe62ee7d6633d3494267869f39a6e2567df53size 444977123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348{ "iid": { "C+phi generator (diffusion)": { "cert": { "1": [ 80.0, 87.5, 80.83333333333333 ], "4": [ 92.5, 98.33333333333333, 96.66666666666667 ], "16": [ 96.66666666666667, 100.0, 98.33333333333333 ] }, "regret_cert": [ -0.19575837083026792, -0.1835128435732747, -0.3764283815457792 ], "regret_x29": [ -0.13945174693584805, -0.1835128435732747, -0.3752220939745643 ] }, "C+phi twin (det b=1, MC dropout)": { "cert": { "1": [ 69.16666666666667, 74.16666666666667, 73.33333333333333 ], "4": [ 81.66666666666667, 82.5, 81.66666666666667 ], "16": [ 92.5, 90.83333333333333, 90.0 ] }, "regret_cert": [ 0.8584195420817453, 0.7434141442589137, 0.2757115768604934 ], "regret_x29": [ 1.1674046534560945, 1.1732239134165434, 0.933577953386433 ] }, "C+phi lookup (unit box)": { "cert": { "1": [ 42.5 ], "4": [ 70.0 ], "16": [ 83.33333333333334 ] }, "regret_cert": [ 4.348542480442319 ], "regret_x29": [ 6.400525339498298 ] }, "C-only generator (T9 cand, re-run)": { "cert": { "1": [ 95.83333333333334, 95.83333333333334, 96.66666666666667 ], "4": [ 99.16666666666667, 100.0, 100.0 ], "16": [ 100.0, 100.0, 100.0 ] }, "regret_cert": [ -0.2752265415606303, -0.2880806865095453, -0.22291692836537425 ], "regret_x29": [ -0.2752265415606303, -0.2880806865095453, -0.22291692836537425 ] }, "C-only twin (T9 cand, re-run)": { "cert": { "1": [ 97.5, 97.5, 95.83333333333334 ], "4": [ 97.5, 97.5, 96.66666666666667 ], "16": [ 99.16666666666667, 98.33333333333333, 97.5 ] }, "regret_cert": [ -0.34046598993843213, -0.4515799443642943, -0.3557332295597626 ], "regret_x29": [ -0.33106122705217067, -0.42201323338220686, -0.33930407631951875 ] }, "C-only lookup (unit box, re-run)": { "cert": { "1": [ 43.333333333333336 ], "4": [ 70.0 ], "16": [ 83.33333333333334 ] }, "regret_cert": [ 4.051487460188429 ], "regret_x29": [ 5.463395571022689 ] } }, "ood": { "C+phi generator (diffusion)": { "cert": { "1": [ 43.333333333333336, 50.0, 43.333333333333336 ], "4": [ 60.0, 61.66666666666667, 61.66666666666667 ], "16": [ 68.33333333333333, 70.0, 71.66666666666667 ] }, "regret_cert": [ 1.6758717043624305, 1.5603518501013047, 1.02859980677521 ], "regret_x29": [ 4.306971074420951, 4.230705985348504, 3.3057738990186936 ] }, "C+phi twin (det b=1, MC dropout)": { "cert": { "1": [ 21.666666666666668, 36.666666666666664, 36.666666666666664 ], "4": [ 35.0, 48.333333333333336, 50.0 ], "16": [ 46.666666666666664, 60.0, 53.333333333333336 ] }, "regret_cert": [ 14.221905782584221, 11.563447031787423, 7.091278975388294 ], "regret_x29": [ NaN, 37.942594708718644, 46.75273387618842 ] }, "C+phi lookup (unit box)": { "cert": { "1": [ 33.33333333333333 ], "4": [ 46.666666666666664 ], "16": [ 55.00000000000001 ] }, "regret_cert": [ 3.155694094632411 ], "regret_x29": [ 15.538230322536217 ] }, "C-only generator (T9 cand, re-run)": { "cert": { "1": [ 63.33333333333333, 56.666666666666664, 56.666666666666664 ], "4": [ 68.33333333333333, 75.0, 65.0 ], "16": [ 75.0, 76.66666666666667, 71.66666666666667 ] }, "regret_cert": [ 0.8282656479497108, 1.3319461342037098, 0.73561054544935 ], "regret_x29": [ 2.188514176031131, 2.2105683112088492, 2.4525021665460667 ] }, "C-only twin (T9 cand, re-run)": { "cert": { "1": [ 61.66666666666667, 63.33333333333333, 58.333333333333336 ], "4": [ 63.33333333333333, 65.0, 60.0 ], "16": [ 65.0, 66.66666666666666, 60.0 ] }, "regret_cert": [ 0.8110953542499022, 0.647194478802049, 0.45022095588006517 ], "regret_x29": [ 2.1388987424885597, 2.6695351029557224, 2.331298038118923 ] }, "C-only lookup (unit box, re-run)": { "cert": { "1": [ 35.0 ], "4": [ 48.333333333333336 ], "16": [ 55.00000000000001 ] }, "regret_cert": [ 3.155382842301946 ], "regret_x29": [ 13.416747478550173 ] } }, "sdp": { "selfcheck_identity_maxabs": 0.0, "selfcheck_passed": true, "iid": { "n": 120, "feasible": 120, "verified": 120, "ms_median": 15.379507999999653, "bound_over_sim_median": 1.0001863502040975 }, "ood": { "n": 60, "feasible": 60, "verified": 60, "ms_median": 20.555659000000226, "bound_over_sim_median": 1.0002076893117806 }, "iid_nonconstant_knots": { "n": 28, "feasible": 28, "verified": 28, "ms_median": 21.155906999999807, "bound_over_sim_median": 1.0001612938646902 }, "ood_nonconstant_knots": { "n": 37, "feasible": 37, "verified": 37, "ms_median": 21.44746899999994, "bound_over_sim_median": 1.00023849777288 }, "conly_sdp_ms_median_iid": 15.172825999999695, "conly_sdp_ms_median_all": 15.406751999999635 }}12345678910111213141516171819202122232425262728X30 section 3 report (results/icml_r3/X30/PREREG_fs.md): C+phi in the full-state family (T9 / deck [53]).self-checks: composed-sector LMI at identity vs family.verify 200 gains, 0 disagreements; simulated cost vs tr(P)/4 at T = 20.0 s: median rel 9.31e-07, max 1.67e-05bank labels: 6000 rows, fallback 0, winning start {'so3_c1': 5319, 'so3_c2': 304, 'so3_c5': 377}, identity knots 4858, constant ratio 4858, median cost gain over the SDP gain -0.00%
== iid: 120 plants. certified % at b = 1 / 4 / 16 (3-seed mean [range]; per seed), then regret of the cheapest certified vs J*_FS at b = 16: median over certified plants (T9 convention) | uncertified = 1e3 (X29 convention, 3-seed mean) C+phi generator (diffusion) b=1: 82.8 [80.0, 87.5] | b=4: 95.8 [92.5, 98.3] | b=16: 98.3 [96.7, 100.0] (per seed 80.0/92.5/96.7; 87.5/98.3/100.0; 80.8/96.7/98.3) || regret -0.25% | -0.23% C+phi twin (det b=1, MC dropout) b=1: 72.2 [69.2, 74.2] | b=4: 81.9 [81.7, 82.5] | b=16: 91.1 [90.0, 92.5] (per seed 69.2/81.7/92.5; 74.2/82.5/90.8; 73.3/81.7/90.0) || regret 0.63% | 1.09% C+phi lookup (unit box) b=1: 42.5 | b=4: 70.0 | b=16: 83.3 (per seed 42.5/70.0/83.3) || regret 4.35% | 6.40% C-only generator (T9 cand, re-run) b=1: 96.1 [95.8, 96.7] | b=4: 99.7 [99.2, 100.0] | b=16: 100.0 [100.0, 100.0] (per seed 95.8/99.2/100.0; 95.8/100.0/100.0; 96.7/100.0/100.0) || regret -0.26% | -0.26% C-only twin (T9 cand, re-run) b=1: 96.9 [95.8, 97.5] | b=4: 97.2 [96.7, 97.5] | b=16: 98.3 [97.5, 99.2] (per seed 97.5/97.5/99.2; 97.5/97.5/98.3; 95.8/96.7/97.5) || regret -0.38% | -0.36% C-only lookup (unit box, re-run) b=1: 43.3 | b=4: 70.0 | b=16: 83.3 (per seed 43.3/70.0/83.3) || regret 4.05% | 5.46%
== ood: 60 plants. certified % at b = 1 / 4 / 16 (3-seed mean [range]; per seed), then regret of the cheapest certified vs J*_FS at b = 16: median over certified plants (T9 convention) | uncertified = 1e3 (X29 convention, 3-seed mean) C+phi generator (diffusion) b=1: 45.6 [43.3, 50.0] | b=4: 61.1 [60.0, 61.7] | b=16: 70.0 [68.3, 71.7] (per seed 43.3/60.0/68.3; 50.0/61.7/70.0; 43.3/61.7/71.7) || regret 1.42% | 3.95% C+phi twin (det b=1, MC dropout) b=1: 31.7 [21.7, 36.7] | b=4: 44.4 [35.0, 50.0] | b=16: 53.3 [46.7, 60.0] (per seed 21.7/35.0/46.7; 36.7/48.3/60.0; 36.7/50.0/53.3) || regret 10.96% | 42.35% C+phi lookup (unit box) b=1: 33.3 | b=4: 46.7 | b=16: 55.0 (per seed 33.3/46.7/55.0) || regret 3.16% | 15.54% C-only generator (T9 cand, re-run) b=1: 58.9 [56.7, 63.3] | b=4: 69.4 [65.0, 75.0] | b=16: 74.4 [71.7, 76.7] (per seed 63.3/68.3/75.0; 56.7/75.0/76.7; 56.7/65.0/71.7) || regret 0.97% | 2.28% C-only twin (T9 cand, re-run) b=1: 61.1 [58.3, 63.3] | b=4: 62.8 [60.0, 65.0] | b=16: 63.9 [60.0, 66.7] (per seed 61.7/63.3/65.0; 63.3/65.0/66.7; 58.3/60.0/60.0) || regret 0.64% | 2.38% C-only lookup (unit box, re-run) b=1: 35.0 | b=4: 48.3 | b=16: 55.0 (per seed 35.0/48.3/55.0) || regret 3.16% | 13.42%
== per-plant SDP with fixed knots (self-check at identity: max |dK| 0.0e+00, passed) iid n 120: feasible 120, K certified on the composed sector 120, CPU 15.379507999999653 ms median, bound / simulated cost median 1.0001863502040975 ood n 60: feasible 60, K certified on the composed sector 60, CPU 20.555659000000226 ms median, bound / simulated cost median 1.0002076893117806 iid_nonconstant_knots n 28: feasible 28, K certified on the composed sector 28, CPU 21.155906999999807 ms median, bound / simulated cost median 1.0001612938646902 ood_nonconstant_knots n 37: feasible 37, K certified on the composed sector 37, CPU 21.44746899999994 ms median, bound / simulated cost median 1.00023849777288 C-only SDP (family.synth) re-timed in the same run: 15.17 ms median (iid)
J*_FS = min(J_SDP, id label, so3 label) per test plant; median (J_SDP - J*_FS) / J*_FS: iid 0.00%12345678910111213141516171819202122232425262728293031323334{ "selfcheck_identity_maxabs": 0.0, "selfcheck_passed": true, "iid": { "n": 120, "feasible": 120, "verified": 120, "ms_median": 15.379507999999653, "bound_over_sim_median": 1.0001863502040975 }, "ood": { "n": 60, "feasible": 60, "verified": 60, "ms_median": 20.555659000000226, "bound_over_sim_median": 1.0002076893117806 }, "iid_nonconstant_knots": { "n": 28, "feasible": 28, "verified": 28, "ms_median": 21.155906999999807, "bound_over_sim_median": 1.0001612938646902 }, "ood_nonconstant_knots": { "n": 37, "feasible": 37, "verified": 37, "ms_median": 21.44746899999994, "bound_over_sim_median": 1.00023849777288 }, "conly_sdp_ms_median_iid": 15.172825999999695, "conly_sdp_ms_median_all": 15.406751999999635}123version https://git-lfs.github.com/spec/v1oid sha256:045646af9ebd8faa7765cef7f855eebb388fd5c7d722c68a4c632f22c2e05e9dsize 23800123456{ "n": 200, "verify_true": 138, "lmi_true": 138, "disagree": 0}12345678910111213{ "n": 120, "passed": true, "T": 20.0, "tries": [ { "T": 20.0, "rel_median": 9.314153413242968e-07, "rel_max": 1.668547208729755e-05 } ], "J_lyap_median": 1.956469163396347}1234567891011121314151617181920212223Self-check of the x30_fs evaluate/report code path (run 2026-11-20 ~09:50 UTC on fake inputs): T9's stored C-only candidates fed as C+phi candidates with identity knots(composed-sector certificate + simulated cost) reproduce T9's published certified shares exactly (iid and ood, every arm). J*_FS in this file is a placeholder (0.99 J_SDP), so the regret columns are meaningless.X30 section 3 report (results/icml_r3/X30/PREREG_fs.md): C+phi in the full-state family (T9 / deck [53]).self-checks: composed-sector LMI at identity vs family.verify 200 gains, 0 disagreements; simulated cost vs tr(P)/4 at T = 20.0 s: median rel 9.31e-07, max 1.67e-05bank labels: 6000 rows, fallback 0, winning start {}, identity knots 6000, constant ratio 6000, median cost gain over the SDP gain 0.00%
== iid: 120 plants. certified % at b = 1 / 4 / 16 (3-seed mean [range]; per seed), then regret of the cheapest certified vs J*_FS at b = 16: median over certified plants (T9 convention) | uncertified = 1e3 (X29 convention, 3-seed mean) C+phi generator (diffusion) b=1: 96.1 [95.8, 96.7] | b=4: 99.7 [99.2, 100.0] | b=16: 100.0 [100.0, 100.0] (per seed 95.8/99.2/100.0; 95.8/100.0/100.0; 96.7/100.0/100.0) || regret 0.51% | 0.51% C+phi twin (det b=1, MC dropout) b=1: 96.9 [95.8, 97.5] | b=4: 97.2 [96.7, 97.5] | b=16: 98.3 [97.5, 99.2] (per seed 97.5/97.5/99.2; 97.5/97.5/98.3; 95.8/96.7/97.5) || regret 0.35% | 0.38% C+phi lookup (unit box) b=1: 43.3 | b=4: 70.0 | b=16: 83.3 (per seed 43.3/70.0/83.3) || regret 4.96% | 5.99% C-only generator (T9 cand, re-run) b=1: 96.1 [95.8, 96.7] | b=4: 99.7 [99.2, 100.0] | b=16: 100.0 [100.0, 100.0] (per seed 95.8/99.2/100.0; 95.8/100.0/100.0; 96.7/100.0/100.0) || regret 0.51% | 0.51% C-only twin (T9 cand, re-run) b=1: 96.9 [95.8, 97.5] | b=4: 97.2 [96.7, 97.5] | b=16: 98.3 [97.5, 99.2] (per seed 97.5/97.5/99.2; 97.5/97.5/98.3; 95.8/96.7/97.5) || regret 0.35% | 0.38% C-only lookup (unit box, re-run) b=1: 43.3 | b=4: 70.0 | b=16: 83.3 (per seed 43.3/70.0/83.3) || regret 4.96% | 5.99%
== ood: 60 plants. certified % at b = 1 / 4 / 16 (3-seed mean [range]; per seed), then regret of the cheapest certified vs J*_FS at b = 16: median over certified plants (T9 convention) | uncertified = 1e3 (X29 convention, 3-seed mean) C+phi generator (diffusion) b=1: 58.9 [56.7, 63.3] | b=4: 69.4 [65.0, 75.0] | b=16: 74.4 [71.7, 76.7] (per seed 63.3/68.3/75.0; 56.7/75.0/76.7; 56.7/65.0/71.7) || regret 1.58% | 2.43% C+phi twin (det b=1, MC dropout) b=1: 61.1 [58.3, 63.3] | b=4: 62.8 [60.0, 65.0] | b=16: 63.9 [60.0, 66.7] (per seed 61.7/63.3/65.0; 63.3/65.0/66.7; 58.3/60.0/60.0) || regret 1.45% | 2.39% C+phi lookup (unit box) b=1: 35.0 | b=4: 48.3 | b=16: 55.0 (per seed 35.0/48.3/55.0) || regret 4.02% | 13.85% C-only generator (T9 cand, re-run) b=1: 58.9 [56.7, 63.3] | b=4: 69.4 [65.0, 75.0] | b=16: 74.4 [71.7, 76.7] (per seed 63.3/68.3/75.0; 56.7/75.0/76.7; 56.7/65.0/71.7) || regret 1.58% | 2.43% C-only twin (T9 cand, re-run) b=1: 61.1 [58.3, 63.3] | b=4: 62.8 [60.0, 65.0] | b=16: 63.9 [60.0, 66.7] (per seed 61.7/63.3/65.0; 63.3/65.0/66.7; 58.3/60.0/60.0) || regret 1.45% | 2.39% C-only lookup (unit box, re-run) b=1: 35.0 | b=4: 48.3 | b=16: 55.0 (per seed 35.0/48.3/55.0) || regret 4.02% | 13.85%
J*_FS = min(J_SDP, id label, so3 label) per test plant; median (J_SDP - J*_FS) / J*_FS: iid 1.01%models/x30fs/x30fs_diff_s0_s96000.pthAdded+3
models/x30fs/x30fs_diff_s1_s96000.pthAdded+3
models/x30fs/x30fs_diff_s2_s96000.pthAdded+3
models/x30fs/x30fs_reg_s0_s96000.pthAdded+3
models/x30fs/x30fs_reg_s1_s96000.pthAdded+3
models/x30fs/x30fs_reg_s2_s96000.pthAdded+3
results/icml_r3/X30/PREREG_fs.mdAdded+104
results/icml_r3/X30/fs/cand_x30fs_diff_s0.npzAdded+3
results/icml_r3/X30/fs/cand_x30fs_diff_s1.npzAdded+3
results/icml_r3/X30/fs/cand_x30fs_diff_s2.npzAdded+3
results/icml_r3/X30/fs/cand_x30fs_reg_s0.npzAdded+3
results/icml_r3/X30/fs/cand_x30fs_reg_s1.npzAdded+3
results/icml_r3/X30/fs/cand_x30fs_reg_s2.npzAdded+3
results/icml_r3/X30/fs/ds_info.jsonAdded+16
results/icml_r3/X30/fs/ds_x30fs.ptAdded+3
results/icml_r3/X30/fs/eval.npzAdded+3
results/icml_r3/X30/fs/lab_bank/cert_so3_c1.npzAdded+3
results/icml_r3/X30/fs/lab_bank/cert_so3_c2.npzAdded+3
results/icml_r3/X30/fs/lab_bank/cert_so3_c5.npzAdded+3
results/icml_r3/X30/fs/lab_bank/so3_c1.npzAdded+3
results/icml_r3/X30/fs/lab_bank/so3_c2.npzAdded+3
results/icml_r3/X30/fs/lab_bank/so3_c5.npzAdded+3
results/icml_r3/X30/fs/lab_test/cert_id_c1.npzAdded+3
results/icml_r3/X30/fs/lab_test/cert_so3_c1.npzAdded+3
results/icml_r3/X30/fs/lab_test/cert_so3_c2.npzAdded+3
results/icml_r3/X30/fs/lab_test/cert_so3_c5.npzAdded+3
results/icml_r3/X30/fs/lab_test/id_c1.npzAdded+3
results/icml_r3/X30/fs/lab_test/so3_c1.npzAdded+3
results/icml_r3/X30/fs/lab_test/so3_c2.npzAdded+3
results/icml_r3/X30/fs/lab_test/so3_c5.npzAdded+3
results/icml_r3/X30/fs/numbers.jsonAdded+348
results/icml_r3/X30/fs/report.txtAdded+28
results/icml_r3/X30/fs/sdp.jsonAdded+34
results/icml_r3/X30/fs/sdp.npzAdded+3
results/icml_r3/X30/fs/selfcheck_cert.jsonAdded+6
results/icml_r3/X30/fs/selfcheck_cost.jsonAdded+13
results/icml_r3/X30/fs/selfcheck_eval_identity.txtAdded+23