# P4x — exploratory model variants on Volve (post hoc) > **Dropped on 2026-10-29** (decision 5 of the Pivot 1 record, `docs/plan.md` §12 item 22). P4x is not summarised, cited or extended; V3 is not run. The job `exploratory/run_p4x.sh` that was running on cuda:0 (560/921 at 03:43 UTC) was stopped at 670/921 (about 04:05 UTC) and killed to free the GPU; the B3d-Sa stage and V3 never ran. A partial summary in `outputs/p4x/summary/` (04:07 UTC), generated before this decision was seen, has been deleted. The remaining output is unused, and Section 6 stays empty. `exploratory/` and `outputs/p4x/` remain on disk as a record only. The text below is kept unchanged as the pre-run declaration. Created: 2026-10-29T02:40Z (09:40 +07:00), before any P4x training run, trend fit or P4x metric. Status: **exploratory and post hoc**. Designed after the locked P4 result (`configs/protocol_volve.yaml`, gate G-D: no blind-well skill, M2-Sa and B3b indistinguishable) was known, and motivated by a diagnosis of that result that used outer-test labels (per-well bias of 3.4–5 p.u. with bias-removed RMSE close to the label SD). Nothing here changes G-D, the P4 verdict or any locked protocol. No result here can support a claim listed in `docs/plan.md` §10 or a confirmatory statement in the paper; at most it can be reported as an exploratory observation with this status attached. ## 1. Purpose 1. Does a backbone with real blind-well skill on Volve exist within this data (same wells, inputs, labels, folds), and if it does, does a gap between RML (M2-Sa) and the point tie (B3b) appear once there is skill? 2. If no variant has skill, what does the pattern of failures say about why (between-well level offset versus within-well shape)? ## 2. Fixed elements (identical to locked P4) - Six wells, label PHIF, main window 2400–2900 ms, 3×3 patch inputs along the deviated path, primary scoring reference `calibrated`. - σ_a = 7 ms only; registration banks reused read-only from `outputs/p4/registration/*_sa7.npz` (no new registration). - Nested folds of `ml_porosity.volve.folds` (schemes lowo and slot, 22 distinct inner training sets), seeds 0–4. - Budget selection by inner-validation MSE only, inner models ensembled at the selected budget on the outer test input (blind key T_out), then the five seeds (moment-matched Gaussian mixture): the unchanged `ml_porosity.volve.evaluation.neural_predictions` code, called with an in-memory method list. - Methods per variant: B3b and M2-Sa (required), B3d-Sa (run after the two required methods of every variant; if not finished it is reported as not run). - Locked code under `ml_porosity/` is imported read-only; P4x code lives in `exploratory/` (outside the P4 code lock). Outputs go to `outputs/p4x/`. ## 3. Variants (complete list; frozen at creation time) **V0 — reproduction.** (a) Re-select and re-score the locked P4 trajectories (`outputs/p4/train`, σ_a = 7) through the P4x harness. The combined-ensemble RMSE of B3b, B3d-Sa and M2-Sa per scheme and well must equal `outputs/p4/summary/metrics.csv` within 1e-6. (b) Retrain seed 0 of B3b and M2-Sa for all 22 training sets through the P4x training path (unmodified `train_trajectory`, cuda:0) and report the maximum absolute difference of the per-budget predictions from the stored P4 trajectories. A non-zero difference from GPU non-determinism is reported, not hidden. **V1a — velocity-trend residual.** Trend v(t) = a + b·V(t), where V is the 2011 TTI PSDM instantaneous interval velocity (`data/Volve/Seismic/ST10010/Velocities/ST10010ZC11-MIG-VEL...segy`; depth domain, 20 m samples, 50 m lateral grid), sampled trilinearly at the (inline, crossline, TVDSS) of each time sample of the path. Path: the reference path for training wells, the blind path of key K for every other target; MD→TVD from the public survey by linear interpolation, TVDSS = TVD − KB. a, b by ordinary least squares on all labelled samples of the training wells of the trajectory (B3b bank labels, paired with V on the reference path at the same time sample). The network (unchanged CNN-GRU, 64 channels, same loss, optimiser, budgets, seeds) learns the residual: targets (Y_member − v)/s0 with s0 the P4 normalisation SD of the set; prediction μ = v + s0·μ_net, σ = s0·σ_net. The trend is a function of the input location only, so it is the same for every bank member and method. **V1b — TWT-trend residual.** As V1a with v(t) = a + b·t (two-way time in ms), OLS on the same training labels. **V2a — narrow CNN-GRU.** The P4 architecture with 8 instead of 64 channels; everything else as P4 (no trend). **V2b — linear-Gaussian model.** μ from one Conv1d over the 9 patch channels with kernel 9 (±16 ms) and a bias; a single learned scalar σ (homoscedastic, softplus). 83 parameters, no dropout. Trained with the same masked bank loss (M2-Sa: log-sum-exp over the 64 posterior members with λ = 1/τ_c; B3b and B3d-Sa: single-member masked Gaussian NLL), Adam lr 0.005, gradient clip 5, same budgets, selection and seeds. This is the "ridge-like" low-capacity model; a closed-form ridge is not used because it cannot be trained on the M2-Sa bank likelihood. **V3 (optional) — V1a trend + V2b residual model.** Run only if V0–V2 finish by 05:30Z; otherwise reported as not run. **Reference predictors without training (context only).** Fitted on the outer training wells (B3b labels) and applied to the outer test well along its blind path T_out: T0 constant (pooled mean, σ = pooled SD); T1a velocity trend; T1b TWT trend (σ = residual SD of the fit). ## 4. Metrics Per scheme (lowo, slot), per outer test well, per method, combined ensemble, primary reference: RMSE, bias (mean of prediction − reference), |bias|, bias-removed RMSE (SD of the error), PCC, R² (relative to the test well's own mean), coverage80 and coverage90, label SD of the test well (population SD on its labelled samples). Macro = unweighted mean over the six wells. RML–point gap: M2-Sa − B3b in RMSE and bias-removed RMSE, per well and macro, and the number of wells where M2-Sa < B3b. Porosity units (fraction × 100). Blind-well skill (declared criteria): a variant/method/scheme has skill if its macro R² > 0, or if its macro bias-removed RMSE is at most 0.9 × the macro label SD (a constant prediction gives exactly 1.0 × label SD). Both are reported with the number of wells that meet each criterion per well. ## 5. Rules - Outer-test labels are read only by scoring, after every prediction is fixed. Trend coefficients use the training wells of the trajectory (or the outer training wells for T0/T1); the velocity cube is seismic-derived and available at every location. Budgets are chosen by inner validation only. - Every variant listed above that is started is reported, including failures and partial runs. No variant is chosen, dropped or re-tuned using outer-test metrics. A variant added after results are seen will be labelled as such with its time. - No p-values (six wells, correlated samples). ## 6. Results (Appended after the runs.)