- ml_porosity/benchmark/ runner, scripts 32-35, scripts/run_bench.sh;
misspec= option in synth_d2 (default path reproduces P2r bit for bit).
- configs/protocol_bench.{yaml,sha256,lock.json} locked 29/10 14:39 UTC
(sha256 aa763f0a...), configs/d2_synth_bench.yaml.
- The eight protocol_bench inputs force-added from outputs/ (warp prior,
wavelets, horizon cache, budgets) so load_protocol() and summarize work
after a fresh clone. The 102 P2r reference artifacts (1.4 GB of particle
npz) are not in git; they are only checked by posterior/train stages.
- T2 mechanism declaration and results; operations/p6_supervisor.py.
- Docs, report and paper edits of 29/10.
Main S1 runs are still training at this commit; results follow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
428 lines
33 KiB
YAML
428 lines
33 KiB
YAML
# Protocol bench (phase P6, level B of Pivot 1; plan §12 items 22 and 26; docs/research/pivot-theory-benchmark.md §6).
|
||
# Registration-aware synthetic benchmark on D2: S1 grid fill, S2 misspecification axes, S3 anchor-free baselines
|
||
# under the P2r cells, S4 second backbone, S8 controlled cycle-skip regime. Locked by SHA-256 (configs/protocol_bench.sha256)
|
||
# and configs/protocol_bench.lock.json (code, environment, inputs, P2r reference artifacts, nominal generator
|
||
# fingerprints) BEFORE the first run on realizations 8–15: `scripts/run_bench.sh lock`. After the lock this file is
|
||
# never edited; a change needs protocol_bench v2 with a recorded deviation. Dev realizations 902–905 (and 900/901)
|
||
# are the only realizations used for design; their outputs (outputs/bench/dev) are never results.
|
||
status: "LOCKED 2026-10-29 — reviewed by the coordinator (7 fixes applied), locked by scripts/run_bench.sh lock after the dev TCN budget selection; no main-grid run before the lock"
|
||
version: 1
|
||
date: 2026-10-29
|
||
designed_after: >
|
||
Designed on 29/10/2026 after the complete protocol_p2r results (H2a pass at R10/R0/Rm5, H2b pass, σ_a arm fail,
|
||
H3 descriptive), after the field phases P3 (G-C fail) and P4 (G-D fail), and after the post hoc inspection of
|
||
29/10/2026 (outputs/p2r/posthoc: Oracle/B3d-Sa and M2-Sa/B3d-Sa ratios, the classical and Berkson bounds (a), (b),
|
||
b60 and cross-spectral, at σ_post and at the warp error; plan §12 item 24). The T2 mechanism study
|
||
(docs/research/t2-mechanism.md) was declared and started before this file was written; its results
|
||
(docs/research/t2-results.md, 29/10/2026, exploratory, on realizations 8–15) arrived while this draft was being
|
||
written and motivated two DISCLOSED additions (training.equal_budget_arm and the method Ctl-GP); they changed no
|
||
rule or threshold of the hypotheses below.
|
||
deviation: >
|
||
protocol_bench is not a pre-registration in the sense of protocol_p2: every study was designed knowing the P2r
|
||
outcome, and S1/S3/S4 reuse the P2r realizations 8–15 and, for S4 and the S2 nominal reference, the P2r SMC
|
||
particles and results. The paper's Methods state this. Hypotheses marked `claim` below are confirmatory ONLY in
|
||
the sense that their rule and threshold were fixed here before any run on realizations 8–15; everything marked
|
||
`descriptive` is reported without a pass/fail; `disclosed` marks an analysis whose motivation came from T2, which
|
||
looked at test realizations 8–15 (T2 test (v): B3d-Sa and M2-Sa gain from 500 iterations in 7/8 wide cells; test
|
||
(ii): a GP-noise bank with the posterior's first two moments obtains most of the c = 1 gain). Nothing from T2 is
|
||
used to reselect a budget or a method: the registered P2r budgets remain the budgets of every rule. The S2
|
||
misspecification levels were chosen on dev realizations 902–905 (calibration block) before the lock; realizations
|
||
8–15 were not used for that choice.
|
||
|
||
inputs: # hash-checked at load and recorded in the lock (text files CRLF-normalised)
|
||
d2_config: {path: configs/d2_synth_bench.yaml, sha256: 2bfd01c94f169116fb92e7c1ac92db8bbe003973a610c32b2740e864b4c761b2} # generator = d2_synth_p2r + regimes + misspec presets (final 29/10)
|
||
protocol_p2: {path: configs/protocol_p2.yaml, sha256: 0733620042c4ec1b7dce447eef3ec64f915db05acbebbe5b6c977ac42e71a470}
|
||
protocol_p2r: {path: configs/protocol_p2r.yaml, sha256: eb887311f26a7c1c3dc69d9623d0086cfb5ccc79eea9e5ef59c723078f49c8aa}
|
||
warp_prior: {path: outputs/p2/warp_prior_f3.json, sha256: 55cda573c06b3a7275bdb4ac5f169fb4e5af329e1d199acc3d4daffe15624d27, fit: matern32}
|
||
wavelet: {path: outputs/wavelets.npz, key: statistical, sha256: b689ea12578e580d8c2305c8f7219be05ff6e339884fa30b694111e968c0fc64}
|
||
horizon_cache: {path: outputs/d2/horizon_grid.npz, sha256: 70e3321fa9f8fe2a1301877fb34386a64bf29eaa4f6948007e18874678e92b1e}
|
||
budgets: {path: outputs/p2/diag/train/budgets.json, sha256: 815c6f7abc3d961255feb79bbed57a3e326cbc24cec11bbd97f455f0356e28c5}
|
||
fingerprints: {path: tests/data/d2_fingerprints.json, sha256: 86cbd6dd49044c1288ec6b649a2d688bf4121280d5cc3dca9b45109523bd6fc1}
|
||
|
||
reference:
|
||
p2r: # read-only; hashed in the lock (ml_porosity/benchmark/protocol.py p2r_reference_files)
|
||
root: outputs/p2r
|
||
regimes: [R10, R0, Rm5, R0h, R10tb]
|
||
use: >
|
||
S1: the (c ∈ {0, 1, 2}) × (N ∈ {4, 16}) cells of the phase diagram come from outputs/p2r/train/<regime>/runs.csv
|
||
and outputs/p2r/summary/sigma_post.csv; they are not recomputed. S2: the nominal cells (R10, Rm5; c = 1; N 4/16)
|
||
are the P2r cells (descriptive reference only; no S2 rule uses them). S3: the P2r runs of Oracle, B3b, B3c,
|
||
B3c-R, B3d, B3d-Sa, M2-Sa are joined with the new B4a–d runs cell by cell. S4: the P2r SMC particles and
|
||
phase_R of the S4 cells are the posterior of the TCN methods (same labels, different backbone).
|
||
fingerprint_rids: [8, 902] # nominal generator fingerprints recomputed at lock time against inputs.fingerprints
|
||
reproduction_check: >
|
||
Before the lock, the cell reproduction: (R10, rid 8, c = 1, N = 4) is rerun through this runner (SMC posterior
|
||
and training) and compared with outputs/p2r/posterior/R10/r8_c1_n4_s0* and outputs/p2r/train/R10/cells/r8_c1_n4.*
|
||
(scripts/34_run_bench.py repro). The agreement is recorded in docs/research/bench-protocol.md §2 and in
|
||
outputs/bench/repro/comparison.json. The P2r guard hashes no code, so this check is the evidence that the
|
||
default generator path and the training path of this runner are those of protocol_p2r.
|
||
|
||
grid:
|
||
realizations: [8, 9, 10, 11, 12, 13, 14, 15] # the P2r realizations; 0–7 (P2) are never used
|
||
dev_realizations: [900, 901, 902, 903, 904, 905] # design only; 902–905 new for P6
|
||
seeds: [0, 1, 2, 3, 4] # network seeds; registration seed and SMC stream below
|
||
test_wells: 8 # observed at the regime SNR with full anchors (anchors unused)
|
||
regimes: {R10: {snr_db: 10, anchor_density: full}, R0: {snr_db: 0, anchor_density: full},
|
||
Rm5: {snr_db: -5, anchor_density: full}, R0h: {snr_db: 0, anchor_density: half},
|
||
R10tb: {snr_db: 10, anchor_density: topbottom}} # = configs/d2_synth_bench.yaml regimes (= p2r)
|
||
|
||
registration: # identical to protocol_p2r (scripts/14 with --wavelets estR, P = 1024, K = 1)
|
||
base: "protocol_p2 registration block (MAP-II, σ_a 7 ms, σ_b 50 ms, 128 ms statistical wavelet, 15° constant phase)"
|
||
reg_seed: 0
|
||
smc:
|
||
code: ml_porosity/benchmark/registration.py (= scripts/14 run_job, estR arm)
|
||
particles: 1024
|
||
smc_seed: 0 # random streams [0, i, 13] anchor samples, [0, 19] phase fit, [0, i, 17] SMC
|
||
arm: estR # statistical wavelet with the phase re-estimated from the SMC log Z (phase_R)
|
||
checkpoints: [g_old, g_acf, g_one] # same tempering milestones as P2r (checkpoints change the schedule); g_acf used
|
||
saved: [estR/g_acf] # particles at γ = 1/κ; P2r also stored g_one (unused by any method)
|
||
phase_step: 15.0
|
||
phase_half_width: 3
|
||
phase_max_extra: 6
|
||
sigma_a_reg_ms: 7.0 # correct σ_a everywhere (the σ_a arm of P2r is not repeated; its failure stands)
|
||
note_misspec: >
|
||
Under the S2 presets the registration still assumes the nominal rock physics (obs["ai_log"]), a stationary
|
||
wavelet with a constant phase and the F3 Matérn-3/2 prior with σ_b = 50 ms: nothing in the registration is told
|
||
about the preset. The "true wavelet" arm of scripts/14 is not run (under constant Q no single true wavelet
|
||
exists). Diagnostics from [b, g] are not used (invalid with jitter); warp errors use obs["t_of_tau_true"].
|
||
|
||
training: # identical to protocol_p2r for the CNN-GRU methods
|
||
backbone: "CNNGRUHetero (protocol_p2 training block: d 64, dropout 0.05, Adam 5e-3, grad clip 5, full batch, 64-sample windows, per-well z-score)"
|
||
code: ml_porosity/models/bank_train.py train_predict (CNN-GRU, unchanged) | ml_porosity/benchmark/training.py train_predict_tcn (S4)
|
||
lambda: "λ = 1/τ_c as in protocol_p2 (pooled ACF of the high-passed B3b labels)"
|
||
bank_S: 64
|
||
budgets: # iterations; P2r values for the P2r methods, protocol_p2 values for B4a–d
|
||
Oracle: 500
|
||
B3b: 125
|
||
B3c: 250
|
||
B3c-R: 500
|
||
B3d: 250
|
||
B3d-Sa: 250
|
||
M2-Sa: 250
|
||
B4a: 125
|
||
B4b: 125
|
||
B4c: 500
|
||
B4d: 250
|
||
PM2: 250 # S8 point label at the posterior-mean warp: budget of B3d-Sa (same label type)
|
||
BK2: 250 # S8 two-member bank with RML: budget of M2-Sa
|
||
HM2: 125 # S8 two-member bank with hard-min: budget of B4a (same loss)
|
||
Ctl-GP: 250 # control bank with RML: budget of M2-Sa (same loss, same bank size)
|
||
equal_budget_arm: 500 # DISCLOSED (T2 test v, seen on realizations 8–15): every method's trajectory also records
|
||
# its prediction at 500 iterations (one trajectory per seed, as bank_train evaluates
|
||
# every budget in the list). No rule uses this arm; it is reported as a separate
|
||
# descriptive table (equal budget for all methods). It does not replace the budgets above.
|
||
budgets_tcn: # S4; filled 29/10/2026 from outputs/bench/dev/budgets_tcn.json (stage dev-budgets, runlog
|
||
# 20261029-133330_bench_dev_budgets_tcn): protocol_p2 budget_selection rule applied to the TCN
|
||
# on dev 902–905, R10, c = 1, N ∈ {4, 16}, seeds 0–1, candidates [125, 250, 500, 1000, 2000].
|
||
# Every method selects 125, the smallest candidate (mean total RMSE rises monotonically with
|
||
# iterations for the TCN on ≤ 16 wells: e.g. B3d-Sa-TCN 1.406/1.428/1.482/1.537/1.592,
|
||
# M2-Sa-TCN 1.389/1.429/1.469/1.521/1.616); the minimum lies on the boundary of the candidate
|
||
# list, which is kept as in protocol_p2 (no smaller candidate is added after seeing dev).
|
||
Oracle: 125
|
||
B3b: 125
|
||
B3c: 125
|
||
B3c-R: 125
|
||
B3d-Sa: 125
|
||
M2-Sa: 125
|
||
budget_candidates: [125, 250, 500, 1000, 2000]
|
||
budget_rule_new_methods: >
|
||
No budget is selected on realizations 8–15. PM2/BK2/HM2 inherit the budget of the P2r/P2 method with the same
|
||
label type and loss. TCN budgets follow training.budgets_tcn.
|
||
|
||
methods:
|
||
Oracle: {labels: true warp, note: "reference ceiling under the generator of the cell (under S2 presets the seismic changed too)"}
|
||
B3b: as protocol_p2 (marker-calibrated sonic through the anchors)
|
||
B3c: as protocol_p2 (B3b + local NCC shifts, protocol_p2 phase)
|
||
B3c-R: as protocol_p2r (B3c with the wavelet at phase_R)
|
||
B3d: as protocol_p2 (weighted mean warp of the anchor-conditioned M2 of P2)
|
||
B3d-Sa: as protocol_p2r (labels at the mean warp of the SMC particles, γ = 1/κ)
|
||
M2-Sa: as protocol_p2r (RML, soft-min with λ, bank of 64 SMC particles, uniform π)
|
||
B4a: as protocol_p2 (B3b labels shifted ±8 samples, uniform π, hard-min)
|
||
B4b: as protocol_p2 (same bank, RML with λ)
|
||
B4c: as protocol_p2 (soft-DTW γ = 0.1, band ±8, on B3b labels)
|
||
B4d: as protocol_p2 (DILATE α = 0.5, γ = 0.1, band ±8, on B3b labels)
|
||
PM2: "S8: point labels at t_true + s·Δ/2 (the posterior-mean warp of the two-mode posterior {t_true, t_true + s·Δ}); s = ±1 per training well from rng [rid, 20261030, 8, i]"
|
||
BK2: "S8: two-member bank {t_true, t_true + s·Δ}, π = (½, ½), RML with the cell's λ (a calibrated bank: the truth is a member)"
|
||
HM2: "S8: the BK2 bank with the hard-min loss (λ = ∞)"
|
||
Ctl-GP: >
|
||
DISCLOSED (T2 test ii): control bank of 64 warps T̄ + η_s with η_s Gaussian with the empirical mean and covariance
|
||
of the 1024 SMC particles on the warp grid (rng [reg_seed, i, 2029]; monotone draws, ≤ 1280 attempts, u-space
|
||
fallback flagged), uniform π, RML with the cell's λ. It carries the posterior's first two moments and no link
|
||
between a member and the seismic: the natural null for "the information in the SMC bank matters".
|
||
Implementation ml_porosity/benchmark/training.py control_gp_bank (= scripts/32 control_bank).
|
||
suffix_TCN: "S4: the same labels trained with TCNHetero (ml_porosity/f3/training.py; 4 dilated Conv1d, k = 5, dilations 1–8, softplus σ); names carry the suffix -TCN"
|
||
ensembles: "5-seed ensembles (μ = mean μ_s, σ² = mean σ_s² + var μ_s) reported descriptively (coverage, NLL, CRPS); no calibration claim"
|
||
|
||
studies:
|
||
S1: # grid fill of the phase diagram (pivot §2.2 S1, theory gap T5)
|
||
regimes: [R10, Rm5, R0, R0h, R10tb] # run order = priority; see cut_order
|
||
drift_factors: [0, 0.5, 1, 1.5, 2]
|
||
n_train: [2, 4, 8, 16]
|
||
existing: "P2r cells (c ∈ {0, 1, 2}) × (N ∈ {4, 16}) are read from outputs/p2r; 14 new (c, N) combinations per regime"
|
||
methods: [Oracle, B3b, B3c, B3c-R, B3d, B3d-Sa, M2-Sa]
|
||
cells_new: "5 regimes × 14 (c, N) × 8 realizations = 560 SMC jobs and 560 training cells"
|
||
S2: # misspecification axes (plan §12 item 22 decision 2); MANDATORY for the word "benchmark"
|
||
regimes: [R10, Rm5]
|
||
drift_factors: [1]
|
||
n_train: [4, 16]
|
||
presets: # names in configs/d2_synth_bench.yaml misspec_presets; levels fixed on dev 902–905 (calibration)
|
||
rock_physics: [rp_L1, rp_L2] # per-unit φ–DT intercept scatter sd 0.10 / 0.15
|
||
wavelet: [wv_L1, wv_L2, wv_Q] # phase sub-axis minphase 0.5 / 1.0; bandwidth sub-axis Q 80 (single level, third entry, no L1 role)
|
||
drift: [dr_L1, dr_L2] # two mechanisms: hyperparameters (σ_b ×3, σ_g ×1.5, ℓ ×0.5) / structural (step 8 ms + jitter 1 ms)
|
||
controls: # optional, run last and cut first within S2: in-family controls of two axes
|
||
presets: [rp_C, wv_C]
|
||
n_train: [4]
|
||
methods: [Oracle, B3b, B3c, B3c-R, B3d-Sa, M2-Sa, Ctl-GP] # decision 2's set plus the two cheap point ties B3b, B3c so that
|
||
# the H2a competitor set {B3b, B3c, B3c-R} is the P2r one, plus the
|
||
# disclosed control bank Ctl-GP (training only)
|
||
cells: "2 regimes × 7 presets × 2 N × 8 realizations = 224 SMC jobs and 224 training cells (+ 32 control jobs)"
|
||
nominal_reference: "the P2r cells of the same (regime, c = 1, N): descriptive comparison only"
|
||
S3: # anchor-free / shift-bank baselines under the P2r cells
|
||
regimes: [R10, R0, Rm5, R0h, R10tb]
|
||
drift_factors: [0, 1, 2]
|
||
n_train: [4, 16]
|
||
methods: [B4a, B4b, B4c, B4d, Ctl-GP]
|
||
posterior: p2r # B4 uses the protocol_p2 B3b labels (register(); registration seed 0, as P2r); Ctl-GP reads the
|
||
# P2r particles of the cell (no new SMC)
|
||
cells: "5 × 3 × 2 × 8 = 240 training cells; joined with the P2r runs of the same cells"
|
||
S4: # second backbone on representative cells
|
||
backbone: tcn
|
||
posterior: p2r # SMC particles and phase_R of outputs/p2r/posterior/<regime>
|
||
cells: [{regime: R10, c: 1}, {regime: Rm5, c: 1}, {regime: R0h, c: 1}]
|
||
n_train: [4, 16]
|
||
methods: [Oracle, B3b, B3c, B3c-R, B3d-Sa, M2-Sa]
|
||
cells_count: "3 × 2 × 8 = 48 training cells"
|
||
S8: # controlled cycle-skip (two-mode) regime; theory Corollary 3 and Proposition 4
|
||
regimes: [R10, Rm5]
|
||
drift_factors: [1]
|
||
n_train: [4, 16]
|
||
delta_ms: [8, 16, 32] # mode separation; sign-flip band of cos(πfΔ): (62.5, 187), (31.3, 93.8), (15.6, 46.9) Hz
|
||
methods: [Oracle, PM2, BK2, HM2]
|
||
posterior: none # the two-mode posterior is constructed from the true warp (no SMC); inputs as the regime
|
||
cells: "2 × 3 × 2 × 8 = 96 training cells"
|
||
note: >
|
||
This is the "set Δ explicitly" reading of pivot §2.2 S8. The run-to-run instability of the real SMC posterior at
|
||
c = 2 (P2r flag) is not re-measured here; the realistic multimodal cells remain flagged as in P2r.
|
||
|
||
rules: # all from protocol_p2 / protocol_p2r; thresholds never change
|
||
metric: "band RMSE (6 Hz Butterworth high-pass, p.u.) macro over the 8 test wells; band PCC secondary"
|
||
run: "(realization, c, N, method, seed) at the method's budget; cell statistics average over realization × seed"
|
||
improves: "band_rmse(cand) ≤ 0.90 · band_rmse(best) OR band_pcc(cand) ≥ band_pcc(best) + 0.05"
|
||
cell_pass: "improves in ≥ 4/5 seeds (per seed: mean over realizations) AND in > 1/2 of the realizations (per realization: mean over seeds)"
|
||
better: "cand < ref in ≥ 4/5 seeds AND > 1/2 of realizations (direction rule for ratios without a margin)"
|
||
no_harm: 1.02
|
||
wide: "σ_post ≥ 1.5 ms (σ_post = mean 90% width of τ(t) of the SMC particles over the train wells / 3.29; no labels)"
|
||
ci: "95% bootstrap over realizations (2000 resamples, rng 0) for every ratio; reported regardless of direction"
|
||
permutation: "10000 permutations, rng 0, one-sided p; a declared test passes at p < 0.05"
|
||
flags: "c = 2 cells keep the P2r flag 'unstable posterior'; they are reported, never primary evidence"
|
||
multiplicity: >
|
||
Every `claim` below is a separate pre-declared test with its own rule and threshold; there is no family-wise
|
||
correction. Number of claims: 9 (S1-H1, S1-H2, S2-H1, S2-H2, S3-H1, S4-H1, S4-H2, S8-H1, S8-H2), giving 11
|
||
verdicts because S2-H1 is judged once per axis (rock physics, wavelet, drift). The paper reports every verdict,
|
||
including failures, and never selects among them.
|
||
bounds: >
|
||
No rule here is bound-based. Where a population bound is quoted next to a B3d-Sa ratio at c = 1 it is the Berkson
|
||
bound 1/B_b (T2 test iv found the Berkson structure for B3d-Sa at c = 1, informed by T2, disclosed); at c = 2 no
|
||
structure holds and no bound is quoted.
|
||
|
||
hypotheses:
|
||
S1-H1:
|
||
kind: claim
|
||
statement: "H2a extends to c = 1.5 in R10: B3d-Sa beats the best point tie {B3b, B3c, B3c-R} (cell_pass) for both N ∈ {4, 16}"
|
||
prediction: pass
|
||
S1-H2:
|
||
kind: claim
|
||
statement: >
|
||
The bank gain grows with the number of wells at fixed posterior width (finite-sample heuristic of the paper,
|
||
Sec. 4.3): in every family (regime, c) whose N = 16 cell is wide, the ratio r(N) = band_rmse(M2-Sa)/band_rmse(B3d-Sa)
|
||
is lower at N = 16 than at N = 2 in ≥ 2/3 of the families, AND the pooled Spearman ρ(log2 N, r) over all
|
||
(family, N) points is negative with one-sided permutation p < 0.05 (permutations within family).
|
||
families: "(regime, c) with σ_post(N = 16) ≥ 1.5 ms, from the P2r and S1 posteriors"
|
||
prediction: pass
|
||
S1-D:
|
||
kind: descriptive
|
||
items: ["phase diagram c × N of band RMSE per method and of the ratios B3d-Sa/best point tie and M2-Sa/B3d-Sa with CI",
|
||
"σ_post(c, N) and SMC warp RMSE / coverage90 per regime",
|
||
"additivity fit per regime: band_rmse²(B3d-Sa; c, N) = band_rmse²(Oracle; c, N) + β σ_post²(c, N), β and R² reported",
|
||
"H2a cell rule at every new (c, N) with the P2r competitors (no verdict beyond S1-H1)"]
|
||
S2-H1:
|
||
kind: claim
|
||
statement: >
|
||
Posterior-mean labels survive moderate misspecification: for each axis at level L1, in R10, B3d-Sa beats the best
|
||
point tie {B3b, B3c, B3c-R} (cell_pass, c = 1) for both N ∈ {4, 16}. One verdict per axis; the claim is scoped to
|
||
the axes that pass. Rm5, L2 and the bandwidth cell wv_Q are reported with the same rule, without a claim.
|
||
prediction: >
|
||
pass for rock physics (dev R10, N = 4: SMC warp RMSE ×1.27 nominal at rp_L1, cov90 0.85) and for the wavelet
|
||
phase sub-axis at L1 (dev: wv_L1 posterior overconfident, cov90 0.11, yet its warp RMSE 2.14 ms stays below the
|
||
point tie B3c's 4.30 ms in 4/4 rids); fail expected at wv_L2 (dev: 3.93 ms, cov90 0.03, below B3c 4.57 ms in
|
||
only 3/4 rids); drift uncertain (dr_L1 1.55 ms / dr_L2 2.27 ms against B3c 3.48 / 4.52 ms, 4/4 rids ahead).
|
||
expected_null: >
|
||
At Rm5 (noise RMS 1.78 × signal) every preset's model error (≤ 0.61 × signal) is buried in the noise: on dev
|
||
(902, 903) all presets left the Rm5 SMC diagnostics within ±10% of nominal, including wv_L2. Pre-declared null:
|
||
at Rm5 the registration diagnostics (warp RMSE, cov90, σ_post, phase_R) of every preset are expected to equal
|
||
their nominal values within the CI; S2 at Rm5 therefore tests only the label-side and input-side consequences
|
||
of misspecification (Oracle and the point ties change with the seismic), not the registration. The sharpest
|
||
version is the rock-physics axis (model error 0.22–0.30 of the noise).
|
||
S2-H2:
|
||
kind: claim
|
||
statement: >
|
||
No harm of the posterior bank under misspecification: for every S2 preset (rp_L1, rp_L2, wv_L1, wv_L2, wv_Q,
|
||
dr_L1, dr_L2) and regime (R10, Rm5), the mean ratio band_rmse(M2-Sa)/band_rmse(B3d-Sa) over its cells
|
||
(N ∈ {4, 16}) is ≤ 1.02. Passes only if all 14 (preset, regime) pairs satisfy it (summary.py: len(regimes) ×
|
||
number of presets = 14).
|
||
prediction: pass
|
||
S2-D:
|
||
kind: descriptive
|
||
items: ["SMC diagnostics per preset, regime, N: warp RMSE, coverage90, σ_post, overconfidence = warp RMSE/σ_post, phase_R, κ_post, r_post",
|
||
"degradation of every method vs its P2r nominal cell (ratio with CI); Oracle degradation isolates the covariate change",
|
||
"M2-Sa vs B3d-Sa at wide cells (σ_post ≥ 1.5 ms) with the 'better' rule, and the ratio vs coverage90 (does the gain track coverage rather than σ_post?)",
|
||
"B3d-Sa no-harm flag: band_rmse(B3d-Sa) ≤ 1.02 · best point tie per (preset, regime, N)",
|
||
"controls rp_C, wv_C (if run): in-family misspecification should leave every diagnostic at its nominal value",
|
||
"DISCLOSED (T2 ii): Ctl-GP vs B3d-Sa and M2-Sa vs Ctl-GP ('better' rule) per cell: under misspecification, does the SMC bank's information matter beyond its two moments?",
|
||
"DISCLOSED (T2 v): the equal-budget table at 500 iterations for every method, next to the registered-budget table"]
|
||
S3-H1:
|
||
kind: claim
|
||
statement: >
|
||
The H2a verdict is unchanged when the competitor set is extended by the anchor-free / shift-bank baselines:
|
||
per regime (R10, R0, Rm5), B3d-Sa vs best of {B3b, B3c, B3c-R, B4a, B4b, B4c, B4d} with the P2r regime rule
|
||
(cell_pass at c = 1 for both N AND the c = 0 guard ≤ 1.02 macro and per N). Passes if R10 passes; scoped to the
|
||
regimes that pass.
|
||
prediction: pass
|
||
S3-D:
|
||
kind: descriptive
|
||
items: ["complete benchmark table (all methods × 5 regimes × c × N) with CI", "B4 variants vs B3b (do shift banks help without the posterior?)"]
|
||
T2-1:
|
||
kind: disclosed
|
||
statement: >
|
||
Control bank across the P2r grid (S3 cells, 5 regimes × c ∈ {0, 1, 2} × N ∈ {4, 16}): per cell, Ctl-GP vs B3d-Sa
|
||
and M2-Sa vs Ctl-GP with the 'better' rule and CI. Reading fixed before the run: the SMC bank's information
|
||
matters in a cell if M2-Sa is better than Ctl-GP; T2 (ii) found this at c = 2 (3/4 wide cells) and not at c = 1
|
||
(3/4 cells consistent with label augmentation). No pass/fail; the N = 16, c ∈ {1, 2} wide cells duplicate T2 (ii).
|
||
S4-H1:
|
||
kind: claim
|
||
statement: "Backbone independence of H2a at R10, c = 1: B3d-Sa-TCN beats the best TCN point tie {B3b-TCN, B3c-TCN, B3c-R-TCN} (cell_pass) for both N"
|
||
prediction: pass
|
||
S4-H2:
|
||
kind: claim
|
||
statement: "Backbone independence of the wide-cell bank gain: M2-Sa-TCN is better than B3d-Sa-TCN ('better' rule) in both wide cells (Rm5 c = 1 N = 16; R0h c = 1 N = 16)"
|
||
prediction: "pass; uncertain (the TCN has no recurrent context)"
|
||
S4-D:
|
||
kind: descriptive
|
||
items: ["TCN vs CNN-GRU per method and cell (ratio with CI)", "coverage of TCN ensembles"]
|
||
S8-H1:
|
||
kind: claim
|
||
statement: >
|
||
Corollary 3 (sign flip): at Δ = 32 ms in R10, for both N, the measured transfer of PM2 relative to Oracle,
|
||
Ĥ(f) = Σ Re[Y* P_PM2] / Σ Re[Y* P_Oracle] (Hann, NFFT 256, pooled over test wells, realizations and seeds, as
|
||
H1), averaged over the usable frequencies in (1/(2Δ), 3/(2Δ)) = (15.6, 46.9) Hz, is negative. Usable: f ≥ 6 Hz
|
||
and Re S_Oracle(f) ≥ 10% of its in-band maximum.
|
||
prediction: pass
|
||
S8-H2:
|
||
kind: claim
|
||
statement: >
|
||
The calibrated two-member bank repairs the point label where the modes are resolvable: BK2 is better than PM2
|
||
('better' rule) at Δ ∈ {16, 32} ms, N = 16, in both regimes (4 cells, all must pass).
|
||
prediction: pass
|
||
dev_note: >
|
||
A first draft also required "no harm at Δ = 8 ms". The dev smoke (rid 902, R10, N = 4, seed 0, 29/10) gave band
|
||
RMSE PM2 0.96, BK2 1.34, HM2 1.30, Oracle 0.62 at Δ = 8 ms, and PM2 1.45 / BK2 0.62 at 16 ms, PM2 1.76 / BK2 0.56
|
||
at 32 ms: two members 8 ms apart (half the dominant period) are not separated by the window loss and the bank
|
||
then behaves like an averaged label. The Δ = 8 ms clause was therefore moved to S8-D before the lock (design on
|
||
dev, recorded here).
|
||
S8-D:
|
||
kind: descriptive
|
||
items: ["Ĥ(f) of PM2, BK2 and HM2 against cos(πfΔ) for every Δ", "ratios PM2/Oracle, BK2/Oracle, HM2/PM2 with CI per cell",
|
||
"first zero crossing of Ĥ_PM2 vs 1/(2Δ)",
|
||
"Δ = 8 ms: BK2/PM2 and HM2/PM2 with CI (resolution limit of the bank; dev showed harm at N = 4, see S8-H2.dev_note)"]
|
||
|
||
cells: "cell = (study, regime, preset, c, N); all cell statistics average over realization × seed as in protocol_p2r"
|
||
|
||
calibration: # S2 levels: chosen on dev 902–905 before the lock; evidence in docs/research/bench-protocol.md §3
|
||
status: "CHOSEN 29/10/2026 on rids 902 and 903 (all candidates), confirmed on 904 and 905 (chosen presets): bench-protocol.md §3"
|
||
procedure: >
|
||
For each axis, candidate levels (configs/d2_synth_bench.yaml cand_*) were registered as in P2r (SMC, P = 1024,
|
||
estR, γ = 1/κ) on dev realizations at N = 4, c = 1, R10 and Rm5 (scripts/33 --smc). Targets declared before the
|
||
results: L1 = the registration's in-family model error comparable to the R10 noise (0.5–1.0 ×) and the SMC
|
||
posterior still ahead of the point ties (SMC warp RMSE < B3c warp RMSE at R10); L2 = model error 1.5–2 × the R10
|
||
noise, with a visible loss of posterior calibration (coverage90 < 0.5 at R10 or warp RMSE ≥ 2 × nominal).
|
||
Rock physics uses the per-unit intercept scatter only (the uniform coefficient error is invariant under the
|
||
profiled-amplitude likelihood, docs/research/bench-generator.md §2; rp_C stays as a control). The drift axis has
|
||
no generator-side model-error measure and its two presets are two separate MECHANISMS, not two strengths of one
|
||
setting: dr_L1 = the truth drawn from misspecified hyperparameters (σ_b ×3, σ_g ×1.5, ℓ ×0.5; inside the GP
|
||
family, partly absorbed by MAP-II), dr_L2 = components outside the GP family (step 8 ms at Truncation + jitter 1 ms,
|
||
no hyperparameter change). Each is attributed on its own cell; nothing is attributed by difference. On dev dr_L2
|
||
degrades the SMC more than dr_L1 (×3.3 vs ×2.2), which is why they carry the labels L2 and L1.
|
||
levels_vs_declared_band: >
|
||
Two chosen levels sit outside the declared L1 band of 0.5–1.0 × the R10 noise, by design and stated here:
|
||
rp_L1 (unit sd 0.10) has a model error of 1.24 × the R10 noise (+24%), wv_L1 (minphase 0.5) 1.08 × (+8%).
|
||
Reasons. (i) Rock physics: the registration is nearly blind to this axis (sd 0.05 → ×1.3, 0.10 → ×1.27,
|
||
0.15 → ×1.66 SMC warp RMSE; cov90 0.59–0.85), so the level cannot be set by the SMC criterion; 0.10 keeps L1 and
|
||
L2 distinguishable in model error (1.24 vs 1.68) and in SMC effect, whereas sd 0.075 (0.95 ×, one dev rid:
|
||
×1.09, cov90 0.76) would be indistinguishable from nominal; the QC author recommended 0.10/0.15. (ii) Wavelet
|
||
phase: no in-band setting is moderate for the SMC (minphase 0.25 at 0.62 × already gives cov90 0.25), so the
|
||
band cannot be met together with the "still ahead of the point ties" criterion; 0.5 is the mildest phase level
|
||
confirmed on 4 rids that keeps the SMC ahead of B3c (2.14 vs 4.30 ms). The L2 levels (1.68 ×, 1.93 ×) and wv_Q
|
||
(1.41 ×, bandwidth cell) are inside their declared bands. Option (a) of the review (sd 0.075 with two more dev
|
||
rids) was considered and rejected for reason (i).
|
||
evidence: >
|
||
outputs/bench/dev/smc_qc_rid{902,903,904,905}.json (scripts/33 --smc), tabulated by scripts/35_bench_calibration.py
|
||
→ outputs/bench/dev/calibration.{csv,md}; docs/research/bench-protocol.md §3. Dev SMC at R10, N = 4, c = 1, means over
|
||
rids (warp RMSE ratio to nominal 0.69 ms / coverage90; nominal 0.83): unit sd 0.05 ×1.3/0.59 (1 rid), 0.10 ×1.27/0.85
|
||
(3), 0.15 ×1.66/0.81 (4); minphase 0.25 ×1.9/0.25 (1), 0.5 ×3.2/0.11 (4), 1.0 ×5.9/0.03 (4, ahead of B3c in 3/4),
|
||
Q 160 ×1.1/0.79 (2), Q 80 ×1.57/0.84 (4), Q 40 ×1.6/0.86 (1); hyperparameter drift ×2.2/0.75 (4), structural drift
|
||
×3.3/0.61 (4), both ×3.5/0.61 (2), step 16 ms ×5.3/0.60 (2). At Rm5 every preset stays within ×0.97–1.23 of the
|
||
nominal 3.68 ms. Rock physics is nearly invisible to the registration (chosen by model error);
|
||
the wavelet phase sub-axis is the one that breaks the constant-phase family (overconfident posterior), while the
|
||
bandwidth sub-axis widens the posterior without breaking it (kept as a single separate cell wv_Q); the drift levels
|
||
are two mechanisms rather than two strengths (kept separate for attribution).
|
||
note_single_checkpoint: >
|
||
scripts/33 runs the SMC with the single checkpoint γ = 1/κ, whereas P2r and this runner use the milestones
|
||
(g_old, g_acf, g_one); the dev diagnostics therefore differ slightly from what the main run will produce for the
|
||
same cell (rid 902, R10 nominal: 0.74 vs 0.70 ms warp RMSE at P00). Levels were chosen on ratios to nominal under
|
||
the same schedule.
|
||
chosen: # verbatim misspec dicts (configs/d2_synth_bench.yaml); checked against the file at load
|
||
rp_L1: {rock_physics: {unit_dt_intercept_sd: 0.10}}
|
||
rp_L2: {rock_physics: {unit_dt_intercept_sd: 0.15}}
|
||
wv_L1: {wavelet: {minphase_frac: 0.5}}
|
||
wv_L2: {wavelet: {minphase_frac: 1.0}}
|
||
wv_Q: {wavelet: {Q: 80.0, Q_t_ref_ms: 400.0, Q_dispersion: true}}
|
||
dr_L1: {drift: {sigma_b_factor: 3.0, sigma_g_factor: 1.5, ell_factor: 0.5}}
|
||
dr_L2: {drift: {step_ms: 8.0, step_width_ms: 12.0, step_horizon: Truncation, jitter_sd_ms: 1.0, jitter_ell_ms: 8.0}}
|
||
|
||
reproduction: # see reference.reproduction_check
|
||
rid: 8
|
||
regime: R10
|
||
c: 1
|
||
n_train: 4
|
||
methods: [Oracle, B3b, B3c, B3c-R, B3d, B3d-Sa, M2-Sa]
|
||
tolerance_note: >
|
||
The SMC on the GPU matches the CPU algorithm up to rounding and bank_train sets no cudnn deterministic flags;
|
||
bitwise agreement is reported if it occurs, otherwise the maximum deviations of phase_R, particles, warp RMSE
|
||
and band RMSE are reported as the reproducibility floor of this environment.
|
||
result: >
|
||
bitwise exact (29/10/2026, cuda:1, torch 2.14.0+cu130, H200): phase0 and phase_R identical (−0.990696378084408),
|
||
log Z max |diff| 0, all four g_acf particle sets (1024 × 390) bitwise equal, every warp diagnostic 0, stage counts
|
||
17/17/17/18 identical; 280 training rows (7 methods × 5 seeds × 8 test wells) max |diff| 0 on band RMSE, RMSE,
|
||
band PCC, NLL and coverage90, all 35 μ arrays and y_true bitwise equal, _diag.csv 0.
|
||
Evidence: outputs/bench/repro/comparison.json (runlog 20261029-133329_bench_repro_r8); docs/research/bench-protocol.md §2.
|
||
|
||
cut_order: # if late (never cut thresholds); plan §6.1
|
||
- "S4 (second backbone)"
|
||
- "S8 (cycle-skip regime)"
|
||
- "S2 reduced to the rock-physics axis (then the paper says 'controlled synthetic study', not 'benchmark')"
|
||
- "S1 reduced to c ∈ {0.5, 1.5} × N ∈ {4, 16} on R10, Rm5, R0 (within S1 the regimes R0h, R10tb are cut first)"
|
||
- "S2 controls rp_C, wv_C are optional at all times; within S2 the bandwidth cell wv_Q is cut before the phase levels"
|
||
- "the equal-budget arm and Ctl-GP are disclosed extras: dropping them needs no new protocol version only if no cell has been trained yet"
|
||
|
||
compute: # estimate; see docs/research/bench-protocol.md §5
|
||
posterior_jobs: {S1: 560, S2: 224, S2_controls: 32}
|
||
training_cells: {S1: 560, S2: 224, S3: 240, S4: 48, S8: 96}
|
||
split: "cuda:0 — S1 R10/Rm5/R0h then S2 R10; cuda:1 — S1 R0/R10tb then S2 Rm5, S3, S4, S8; 4 workers per GPU at 6 GiB each when free"
|
||
resume: "scripts/run_bench.sh is restartable: completed jobs are skipped by fingerprint and checksum"
|
||
|
||
wording:
|
||
forbidden: ["first", "novel", "the word benchmark if S2 is incomplete", "calibrated uncertainty", "generalizing to the field",
|
||
"mechanism proven", "tuning on test labels", "claims about λ"]
|
||
required: ["designed after P2r (deviation above)", "S2 levels chosen on dev 902–905", "P2r guard hashes no code; reproduction check reported",
|
||
"F3 and Volve are scope-bounding cases"]
|