Files
ML-Porosity/docs/research/gp-review-analyses.md
lamlvh eff975cc96 Address simulated GP referee reports: E1-E6 and A1-A9 (exploratory), theory scope, per-well field and anchor-error tables, scorer v1.1, paper_gp and response letter
Experiments declared and hashed before computing (docs/research/gp-review-*.md). The SMC-mean gain holds against a practitioner tie, all budgets and a same-target point tie, but is lost at anchor errors of 2 ms or less and reverses with per-well bulk error. No locked protocol, verdict or threshold changed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-17 11:20:54 +00:00

131 lines
8.7 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# GP review, Phase 2: analyses on existing outputs (A1–A9)
Declared on 17/11/2026, before any of these quantities was computed. The SHA-256 of this file is recorded in
`gp-review-analyses.sha256`, and `scripts/51_gp_review.py` refuses to run if the hash differs. Everything here is
**exploratory and post hoc**. It lies outside every locked protocol and does not edit any locked file, input or
output. No threshold of a locked protocol changes. Nothing is chosen with test labels: every quantity below is a
fixed function of outputs that already exist (`outputs/p2r/`, `outputs/point_tie/`, `outputs/lambda_limit/`,
`outputs/t2/`, `outputs/t3/`, `outputs/referee_r5/`, `outputs/r6/`, `outputs/replication/`, `outputs/p3/`,
`outputs/p4/`, `outputs/bench/`, `outputs/band_spectra/`). Source: the consolidated review of the three simulated
*Geophysical Prospecting* referees, `gp-referee/review-and-revision-plan.md` (Phase 2).
Outputs go to `outputs/gp_review/a{1..9}/`; results are written to `gp-review-results.md`.
## Common definitions
- **Cell**: (regime, c, N) with realizations 8–15 (test) or 16–23 (replication). Regimes as in
`configs/d2_synth_p2r.yaml`: R10 (10 dB), R0 (0 dB), Rm5 (−5 dB), R0h (0 dB, half anchors), R10tb (10 dB, two
anchors).
- **Per-realization error** of a method: band RMSE (f ≥ 6 Hz, `split_bands`), mean over test wells, then over
seeds (`per_rid` of `scripts/43_referee_r5_ci.py`).
- **Ratio** A/B in a cell: mean over realizations of A divided by mean over realizations of B.
- **Intervals**: `intervals()` of `scripts/43_referee_r5_ci.py`. The primary interval is the percentile bootstrap
over realizations (2000 resamples, same unit as the locked rule). BCa (9999 resamples) and a t-interval on the
per-realization log ratios are reported as sensitivity. "CI below 1" means the upper limit of the primary interval
is below 1.
- **Best deterministic tie**: per cell, the member of {B3b, B3c, B3c-R} (protocol H2a competitors) with the
smallest mean band RMSE (`scripts/13` `gate_gb`). The "with anchor mean" set adds B3d.
- **Budgets**: the registered budgets (Oracle 500, B3b 125, B3c 250, B3c-R 500, B3d 250, B3d-Sa 250, M2-Sa 250;
SMC-MAP and Anchor-LS 250) unless stated otherwise.
## A1. Point ties against the Oracle
Cells: R10, R0, Rm5 × c ∈ {0, 1} × N ∈ {4, 16}, realizations 8–15; for realizations 16–23, the cells where
`outputs/replication/` has the same methods. Methods: Oracle, B3b, B3c, B3c-R, B3d, B3d-Sa, SMC-MAP, Anchor-LS.
Rows for the E2 and E4 arms (`gp-review-experiments.md`) are appended when their outputs exist and are marked as
such.
Per method and cell: (i) mean warp RMSE over training wells (ms, `warp_errors` in the main window); B3b, B3c and B3d
warp RMSE come from `register` diagnostics, recomputed by rebuilding the cell (`scripts/32` `build_cell`; the
registration is deterministic and its phase is checked against `scripts/14`); (ii) mean band RMSE (p.u.);
(iii) ratio to the Oracle and to the best deterministic tie, with the three intervals. Descriptive; no reading.
## A2. Table 2 at equal budget
Not available from saved outputs: P2r trained each method only at its registered budget. The existing partial
evidence is reported as is: B3d-Sa and M2-Sa at 125/250/500 iterations in the 11 T2 cells at N = 16
(`outputs/lambda_limit/`). The full equal-budget table is experiment E6 of `gp-review-experiments.md`.
## A3. Predicted against measured transfer
Methods: B3b, B3c, B3c-R, B3d, B3d-Sa (one label per well) and M2-Sa (member-averaged; λ ≈ 0.37, so the λ → 0
prediction is an approximation, stated as such). Cells: every P2r cell with saved predictions (5 regimes ×
c ∈ {0, 1, 2} × N ∈ {4, 16}, realizations 8–15).
- **Label time error** of a method at main-grid time t in a training well: δ(t) = t_true(τ_m(t)) − t, where τ_m is
the inverse of the method's warp and t_true the true warp (fine grid). For M2-Sa, every valid bank member with
its weight.
- **Predicted transfer** H_pred(f) = mean over training wells, main-window samples and realizations (and members,
weighted) of cos(2π f δ).
- **Measured transfer** H_meas(f) = Σ Re[Ŷ_m(f) Y*(f)] / Σ Re[Ŷ_O(f) Y*(f)], sums over test wells, seeds and
realizations; Ŷ is the DFT of the mean-removed, Hann-tapered test prediction on the main window (126 samples,
4 ms), Y the same for the true label, Ŷ_O for the Oracle prediction (budget 500; the budget difference is a
stated caveat).
- **Agreement** g = geometric mean of H_meas/H_pred over DFT bins in [6.8, 22.5] Hz with H_pred ≥ 0.2.
- **Powered** combination (method × cell): 1 − H_pred(f*) ≥ 0.05 at the highest bin f* ≤ 22.5 Hz.
**Declared rule for E3.** A3 is *sufficient* (E3 is not run) if at least 6 combinations are powered and g ∈
[0.9, 1.1] in at least two thirds of them. Otherwise E3 is run as declared in `gp-review-experiments.md`.
Also reported: the Spearman correlation between predicted and measured attenuation 1 − H at f* over all
combinations (descriptive).
## A4. Signal band
Cells: R10, R0, Rm5 × c ∈ {0, 1} × N ∈ {4, 16}, realizations 8–15. (i) Mean amplitude spectra on one frequency axis:
input seismic at the test wells (rebuilt from the realization at the regime's SNR), true labels, Oracle, B3d-Sa and
best deterministic tie predictions (Hann-tapered DFT, main window). (ii) Band-limited error: RMSE of the 6–25 Hz
band-passed error (Butterworth order 4, zero phase, as `split_bands`) per test well; ratio B3d-Sa / best
deterministic tie in that band with intervals; (iii) share of the f ≥ 6 Hz gain kept in 6–25 Hz,
(1 − r_6–25)/(1 − r_≥6) when r_≥6 < 1. Descriptive.
## A5. Truth-free checks
Synthetic cells: R10, c = 1, N = 16, realizations 8–15 (nominal) and the S2 presets with saved posteriors in
`outputs/bench/posterior/` (rock physics, wavelet phase, drift; same c and N where available; otherwise the
available N is stated). Per training well, from the 1024 saved particles and the observed data only:
1. **Anchor z²**: mean over anchors of (t_k − t̄(τ_k))² / (σ_a² + Var_post t(τ_k)), with t̄ and Var_post the
posterior mean and variance at the anchor depth and σ_a the registration value. In-sample (anchors are data), so
only its change between presets is read.
2. **Tie correlation** between the seismic and the synthetic at the posterior-mean warp (main window).
3. **Residual phase**: the constant phase rotation of the synthetic (15° grid in [−90°, 90°]) that maximizes the
correlation with the seismic at the posterior-mean warp.
4. **Residual spectrum**: amplitude spectrum of seismic − α̂·synthetic divided by that of the seismic, averaged in
6–15, 15–30 and 30–50 Hz.
**Flag rule**: a check flags a preset if its cell mean lies outside the 5–95% range of the eight nominal
realization means; also reported, the number of the preset's eight realizations outside that range. With the truth
known, the flags are compared with the presets where the SMC-mean gain failed (rock physics, wavelet phase).
**F3**: checks 1–2 are computed from the stored P3 registration artifacts if the anchors, seismic traces and wavelet
can be loaded without rerunning any registration; otherwise "not available" with the reason.
## A6. Blind-well power
Collated from `outputs/t3/`, `outputs/referee_r5/f2_power.csv` and `outputs/r6/a1_power.csv`: power against the
number of blind wells × reference error σ_ref for the sign test, Wilcoxon, paired t and the correlation-calibrated
sign test; the number of wells for 80% power. The resampling unit of each source is stated. No new simulation.
## A7. Field cases per well
F3 (four wells, nested leave-one-well-out) and Volve (six wells; leave-one-well-out and slot): per well, the
reference source, the split, band RMSE and band PCC of the best point tie, the SMC mean, the SMC bank and the
training-mean constant where available. From `outputs/p3/`, `outputs/p4/summary/`, `outputs/p4/posthoc/` and
`outputs/referee_r5/f1_wells.csv`. Descriptive.
## A8. Aggregation in Figure 4b
For every point of Figure 4b (main article; Figure S-numbering in the supplement), the measured ratio is recomputed
as the square root of the ratio of pooled mean squared band errors (over test wells, seeds and realizations),
instead of the ratio of mean per-well band RMSE. Reported: both values and the number of points that change side of
the plotted bound.
## A9. Gaussian-bank count
The Gaussian-bank statement of the text is recomputed from `outputs/t2/` and compared with the values plotted in
Figure 3. If they disagree, the text is corrected to the recomputed values.
## Reporting
All tables and the A3 decision go to `gp-review-results.md` with the files that produced them. A deviation from
this declaration is recorded there with its reason.