Address simulated referee reports: same-information point ties, wording, benchmark sigma_a stress
- Exploratory analyses, each declared and hashed before computing and kept outside every lock: sharpening transfer, permutation null of the decision rules and a truth-free warp check (script 42); BCa and t intervals and the comparison with the anchor-only mean (43); point ties with the same information as the SMC posterior, SMC-MAP and Anchor-LS (44); a powered independence test for the Berkson structure and sign, Wilcoxon and paired-t power for the number of blind wells (45). - Findings: the mode of the SMC posterior already gives most of the gain over deterministic ties and averaging adds at most 3%; no sharpening was seen and the tie error is not independent of the data; paired tests need 25-50% fewer blind wells than the sign test. - Paper: "hash-locked" replaces "pre-registered"; Berkson sharpening is a prediction that failed where testable; new Sec. 3.3 on the benchmark package; abstract, introduction, Secs. 5-7, App. C and conclusions revised; eight further verified references. - Benchmark package: two anchor-uncertainty settings (R10__sa3.5, R10__sa14); 658 tasks, 1316 content hashes (no earlier hash changed), 46,320 reference runs. - Reproduction package: post-review outputs archived, six new verify steps; the clean-room check passes 18/18 steps with no differing file. - Record the Fable (R4) and Opus (R5) referee reports. No verdict, threshold or locked protocol changed. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -128,6 +128,7 @@ Read first: `docs/plan.md` (plan, gates, decisions; §6 roadmap, §10 forbidden
|
||||
- **Figures relabelled, band-content table added (09/11/2026; `docs/plan.md` §12 item 40).** `p2_phase`, `p2r_grid`, `p2r_h2b`, `bench_s1` and `bench_s8` were regenerated with the descriptive names from the existing summaries; no number in them changed (old and new compared token by token). Display fixes only in `scripts/22_paper_figures.py`: the −5 dB label now uses mathtext (`cmr10` has no U+2212), and the `p2_phase` cell label for the anchor mean is "anchor" so that it no longer overlaps. The 5 `\figcodes` notes and the macro are gone. `main.pdf` builds cleanly (68 pages, no undefined references). Clean-room check rerun: 12/12 stages exit 0, 63 files identical, 3 equal, none different, no reads outside the clean room, all 8 figures pixel-identical to `paper/figures/`; `repro/MANIFEST.json` and the archives are unchanged. New post hoc, descriptive `scripts/40_band_spectra.py` → `outputs/band_spectra/`, Table `tab:bandspectra` in App. C and a rewritten "Band of the benchmark" limitation: 72% of the band power of the synthetic labels and 73% of the Oracle predictions (10 dB) lie below 25 Hz, against 54% for the F3 `PHIE_DT` labels (46–68% over wells). So the low-frequency concentration comes with the synthetic labels, and F3 labels are richer in high frequencies; the effect on the sensitivities was not tested. Neither the script nor its output is in the repro archives or a verify stage. The λ → 0 arm left open by item 38 was run on 09–10/11 (next item).
|
||||
- **λ → 0 arm of the SMC bank (exploratory; 09–10/11/2026; `docs/plan.md` §12 item 41).** Declared and hashed in `docs/research/lambda-limit.md` before computing; `scripts/41_lambda_limit.py` (outside every lock and the repro archives) → `outputs/lambda_limit/`, results in `docs/research/lambda-limit-results.md`. The 09/11 run was SIGTERMed at 72/88 jobs; it was resumed with the same command in tmux on 10/11 (16 jobs, 9 min, exit 0). Retraining reproduced 7,040/7,040 P2r rows exactly; S_eff of the λ = 10⁻³ bank ≥ 0.99 of 64. Descriptive, not a verdict, and no test of Proposition 4: the λ → 0 bank beat the SMC mean in 8/8 wide cells (0.940–0.983 at c = 1) and kept 55–63% of the SMC-bank gain in three c = 1 cells; the SMC bank (λ = 1/τ_c) beat the λ → 0 bank in 6/8 wide cells (4/8 at 500 iterations); MSE on the bank-mean label was 7.6–10% worse than the λ → 0 bank everywhere (loss and label not separable). The paper's Limitations bullet is now "Tempering" and App. C has a "Tempering limit" paragraph; by the declaration, nothing goes into the abstract, conclusion or mechanism discussion. `main.pdf` builds cleanly (69 pages).
|
||||
- **Contributions fixed, paper renamed, storyline aligned (10/11/2026; `docs/plan.md` §12 item 42).** Title: *Uncertain well ties in learned seismic property prediction: theory, a benchmark with known timing, and requirements for blind-well tests*. Four contributions, one per gap in Sec. 2: (1) theory of tie error in training labels; (2) a controlled test of training on a tie posterior, read as "registration first, uncertainty second" (the 8–22% SMC-mean gain comes from a more accurate tie, mostly present at c = 0; the bank adds 2–11% when wide; RML is only the device that puts the methods on one footing; no MAP competitor will be run); (3) a benchmark with known timing, released with its truth public ("hidden truth" removed from Sec. 1 and Sec. 8); (4) requirements for a field test (reference bias and accuracy, number of blind wells, the two field cases, the F3 audit). Abstract (about 250 words), highlights, keywords, Introduction (contributions, summary, roadmap), Related Work (two new paragraphs on benchmarks and on comparison design, a four-gap Position paragraph, a 'bench.' row in `tab:positioning`), Sec. 3/5/6 openings (Sec. 6 defines "pre-registered"), Discussion "What held" and the Conclusions now follow these four. Six new references, all verified (Crossref/OpenAlex/publisher pages; `li2026leakage` read in full): `alaudah2019facies`, `deng2022openfwi`, `wu2019faultseg`, `roberts2017cv`, `bouthillier2021variance`, `demsar2006comparisons`. No new numbers; no verdict, threshold or protocol changed. `main.pdf` builds cleanly (71 pages). A Fable referee re-graded this version (`docs/research/referee-reports/R4_contrib_round1.md`): **major revision, high confidence**; scores 4/4/4/3/4/4/4 (clarity 3). It recognised the four contributions and found the title fitting. Deciding issues: no MAP tie of the same posterior model (or say the comparison is between tie models); the true σ_a is given to every method and the benchmark has no σ_a misspecification preset; Berkson sharpening is stated as a finding but never measured; margin-free rules and the dependent '9 of 11' count. Also: 'hash-locked' instead of 'pre-registered', a main-text section on the package, `repro/README.md` still says 'hidden truth' and carries the old title, the F3/Volve licence combination, missing related work (Adams & Marlin 2017; Nagaraj et al. 2025; registration uncertainty in medical imaging; White & Simm 2003). Nothing in the paper was changed yet; the user chooses between wording fixes and extra analyses.
|
||||
- **Committed, then referee R4 fixes A + B (10/11/2026; `docs/plan.md` §12 item 43).** Commit `894fbdf` on `main` (not pushed: no credentials for `gitea.vts-ai.space` on this machine; the user must push). Lost exec bits from the sync were restored, not committed. Group B, exploratory, declared and hashed before computing (`docs/research/referee-r4-analyses.md`, `963324c1…`; `scripts/42_referee_r4.py` → `outputs/referee_r4/`; results `docs/research/referee-r4-results.md`): (B1) no sharpening of the posterior-mean network relative to the Oracle at equal budget in 10 cells; blur in 6, including all 5 with power; (B2) the margin rule passes at 0.004–0.10 per cell under permutation, the `better` rule up to 0.36 (sign counting), but all 14 `better` cells have CIs excluding 1; (B3) the truth-free SMC-vs-correlation-tie disagreement does not flag the wavelet-phase failure. Group A: "hash-locked" replaces "pre-registered"; Berkson sharpening is a prediction, not a finding; the comparison is between tie models (no MAP arm); new Sec. 3.3 on the package (true σ_a in `analyst.json`); "9 of 11" removed; benign-direction warp preset stated; App. C review analyses and name–code table; seven new verified references; README titles and "hidden truth" fixed. No verdict, threshold or protocol changed. `main.pdf` builds cleanly (76 pages). M1/M2/M7 experiments not run (stated as limits). After the Berkson-bound passages were reworded, an Opus referee reviewed independently (`docs/research/referee-reports/R5_opus_round1.md`): **major revision**, scores 3/3/3/3/4/4/4; deciding issues: weak deterministic competitors and no same-information point tie, the sharpening prediction failed (not merely undetected) and the Berkson covariance check is uninformative for a posterior mean, λ→0 theory vs λ≈0.37 experiments, field requirements narrower than stated, 8-realization bootstrap; R4 M1–M8: 5 addressed, 2 partly, 1 not (σ_a axis). Wording fixes and a CI analysis then done (plan §12 item 44; `docs/research/referee-r5-ci-results.md`, `scripts/43_referee_r5_ci.py`, declared and hashed first): BCa changes none of 38 conclusions, a t-interval changes 3 (all within 0.005 of 1); against the anchor-only mean the SMC-mean gain is 2–33%. Then (plan §12 item 45, all declared and hashed first): same-information point ties (`scripts/44_point_tie_arm.py`, `outputs/point_tie/`, 17 min on cuda:0): the best saved SMC particle (approximate mode) beats the best deterministic tie in 12/12 cells (0.78–0.95) and posterior averaging adds at most 3%; the anchor-only mode is worse than the best tie at 10 dB, c = 1 (1.15, 1.25); powered independence test (`scripts/45_referee_r5_followups.py`): the Berkson independence is rejected in 10/10 cells (|error| correlates with posterior width, Spearman 0.04–0.73); Wilcoxon and paired-t need 25–50% fewer blind wells than the sign test; benchmark package now has two anchor-uncertainty settings (`R10__sa3.5`, `R10__sa14`): 658 tasks, 1316 hashes (no old hash changed), 46,320 reference runs; `scripts/39_repro_package.py` archives the post-review outputs and has six new verify steps (F1, B3 and the training stages need particles or a GPU and stay outside the clean room). Clean-room rerun on 10/11: 18/18 steps exit 0, no differing file, no read outside the package (`repro/verify_report.md`). `main.pdf` 80 pages, clean.
|
||||
- **Simulated referee review (04/11/2026; `docs/plan.md` §12 item 37, `docs/research/referee-simulation.md`, reports in `docs/research/referee-reports/`).** Three Fable subagents (applied geophysicist; statistician; ML/benchmark) read only the manuscript, `refs.bib`, the figures and the two READMEs, reviewed independently and then cross-reviewed. 3/3 Major revision, none toward reject. Consensus: (C1) the 8–22% H2a gain is already present at c = 0, so it is mostly a tie-quality comparison; the MAP/mode point tie of the same SMC model is missing as a competitor, and only H2b (2–11%) isolates uncertainty; (C2) the paper says "hidden truth" (Sec. 1 C2, Sec. 8) but the package ships `truth/` and `analyst.json` gives the true σ_a = 7.0 (verified in `outputs/bench/package/`); (C3) the *better* rule has no margin (null pass rate about 0.1–0.2), the 100 S1 cells are dependent, S2-H2 passes at 1.020/1.019 against 1.02, "9 of 11" sums dependent verdicts; (C4) H1 is verified only at 7–23 Hz and has no power at σ = 4, 8 ms, while the 1/B bounds and Berkson sharpening live at 60–70 Hz where nothing is measured; (C5) "pre-registered" is self-certified. One real proof slip: "Q has no zero inside the band" in the Cor. 3 proof is false for cos(πfΔ). Editor rulings on the disagreements and a five-item consolidated decision letter (reword / rerun on existing data / new experiment: MAP tie + jitter bank about 1–2 GPU-days, realizations 16–23 about 0.5 GPU-day) are in the simulation doc. All items are outside the locks and must be declared before computing. **Nothing in the paper was changed yet**; the user decides whether to run the new-experiment items before 14/11.
|
||||
|
||||
## Next
|
||||
|
||||
12
README.md
12
README.md
@@ -74,6 +74,11 @@ CUDA_VISIBLE_DEVICES= .venv/bin/python scripts/37_bench_package.py score --pred
|
||||
CUDA_VISIBLE_DEVICES= .venv/bin/python scripts/38_bench_figures.py [--only bench_s1,bench_s8] [--flipband] # hình Thí nghiệm 3 của bài → paper/figures/; --flipband in bảng cos/cos² của S8
|
||||
CUDA_VISIBLE_DEVICES= OMP_NUM_THREADS=2 .venv/bin/python scripts/39_repro_package.py build | verify # P5 gói tái lập: archive dữ liệu dẫn xuất → outputs/repro/, manifest repro/MANIFEST.json; phòng sạch → repro/verify_report.md (hướng dẫn: repro/README.md)
|
||||
CUDA_VISIBLE_DEVICES= OMP_NUM_THREADS=2 .venv/bin/python scripts/40_band_spectra.py # post hoc: phổ trong dải địa chấn của nhãn F3, nhãn synthetic và dự đoán Oracle → outputs/band_spectra/ (bảng tab:bandspectra của bài)
|
||||
CUDA_VISIBLE_DEVICES=0 OMP_NUM_THREADS=2 .venv/bin/python scripts/41_lambda_limit.py --stage all --workers 4 --device cuda:0 # exploratory: nhánh λ → 0 của bank SMC (khai báo docs/research/lambda-limit.md) → outputs/lambda_limit/
|
||||
CUDA_VISIBLE_DEVICES= OMP_NUM_THREADS=2 .venv/bin/python scripts/42_referee_r4.py --stage all --workers 12 # exploratory: ba phân tích theo referee R4 (khai báo docs/research/referee-r4-analyses.md) → outputs/referee_r4/
|
||||
CUDA_VISIBLE_DEVICES= OMP_NUM_THREADS=2 .venv/bin/python scripts/43_referee_r5_ci.py # exploratory: BCa và t-interval cho 38 tỉ số chính, đối chiếu anchor mean (khai báo docs/research/referee-r5-ci.md) → outputs/referee_r5/
|
||||
CUDA_VISIBLE_DEVICES=0 OMP_NUM_THREADS=2 .venv/bin/python scripts/44_point_tie_arm.py --stage all --workers 4 --device cuda:0 # exploratory: tie điểm cùng thông tin (SMC-MAP, Anchor-LS; khai báo docs/research/point-tie-arm.md) → outputs/point_tie/
|
||||
CUDA_VISIBLE_DEVICES= OMP_NUM_THREADS=2 .venv/bin/python scripts/45_referee_r5_followups.py --stage all --workers 8 # exploratory: kiểm độc lập Berkson (F1) và n* theo Wilcoxon/t cặp (F2) (khai báo docs/research/referee-r5-followups.md) → outputs/referee_r5/
|
||||
# Run dài: chạy trong tmux server của người dùng, ví dụ tmux new-session -d -s p6_s2 -c $PWD "env STUDIES=S2 DEVICE=cuda:0 WORKERS=2 MEM_GB=2 scripts/run_bench.sh posterior train >> logs/bench_s2_cuda0.out 2>&1"
|
||||
# (setsid nohup bị dừng khi phiên agent kết thúc, 29/10). operations/p6_s1_watcher.sh khởi động S1 khi GPU có chỗ trống (đã dùng 15:43–16:06 UTC 29/10, rồi bỏ khi GPU trống).
|
||||
# operations/p6_supervisor.py (tmux p6_supervisor): mỗi 5 phút chạy lại driver P6 chết và dồn worker khi một study xong; log logs/p6_supervisor.out. Đã dừng 02:16 UTC 30/10 khi P6 xong. Lỗi đã biết: khi dồn worker, nó khởi động lại driver kể cả lúc số worker không đổi, làm mất job đang dở.
|
||||
@@ -132,9 +137,14 @@ Biến môi trường máy đặt sẵn `OMP_NUM_THREADS=40` (cả MKL, OpenBLAS
|
||||
| `scripts/34_run_bench.py <stage…> [--studies S1 S2 S3 S4 S8] [--device] [--workers] [--gpu-mem-gb] [--dev --rids 902…]` | Runner của `configs/protocol_bench.yaml` (P6, mức B): `lock` (khoá: `.sha256` + `.lock.json` gồm code, môi trường, input, artifact P2r tham chiếu, fingerprint bộ sinh danh nghĩa), `posterior` (SMC như scripts/14, nhánh estR, P = 1024, lưu hạt γ = 1/κ), `train` (như scripts/15 + B4a–d, nhánh S8 hai mode, backbone TCN), `summarize` (luật đã khai báo trước → `outputs/bench/summary/`), `repro` (ô tái lập P2r → `outputs/bench/repro/comparison.json`), `dev-budgets` (ngân sách TCN trên dev). Realization 8–15 chỉ chạy sau khi khoá; `--dev` chỉ nhận 900–905 và ghi vào `outputs/bench/dev/`. Resume theo fingerprint + checksum. Mã: `ml_porosity/benchmark/` |
|
||||
| `scripts/35_bench_calibration.py [--rids 902 903 904 905]` | Bảng hiệu chuẩn mức S2 (dev): gộp `outputs/bench/dev/smc_qc_rid*.json` (scripts/33 `--smc`) thành `calibration.{csv,md}`: sai số mô hình trong họ so với nhiễu regime, SMC warp RMSE / coverage90 / σ_post / overconfidence, phase_R, B3c, theo preset × regime |
|
||||
| `scripts/36_bench_verdicts.py` | Verdict cuối của protocol_bench (02/11/2026): kiểm lock (`freeze(check=True)`), đọc `verdict.json` của summarize và áp đúng lời phát biểu ở ba chỗ code đã khoá khác (S1-H1 lọc N ∈ {4, 16}; S2-H1 theo từng trục; S3-H1 đối thủ {B3b, B3c, B3c-R, B4a–d}, không có Ctl-GP) bằng chính hàm của `ml_porosity/benchmark/summary.py` → `outputs/bench/summary/{verdict_final.json,verdict_final.md,s3_h2a_stated.csv}`. Ngoài tập hash của lock; không sửa output của summarize (`docs/plan.md` §12 ý 28) |
|
||||
| `scripts/37_bench_package.py <lệnh> [--out DIR]` (generate, check, tables, score, selftest) | S7 đóng gói benchmark (02/11/2026; ngoài lock, generate và tables kiểm lock trước): `generate` ghi 630 task (test 8–15, dev 900–905; 5 regime danh nghĩa × 5 c, 14 setting S2, 6 setting S8), truth ẩn, input và `inputs/analyst.json` vào `outputs/bench/package/` (khoảng 845 MB), rồi so sha256 nội dung với `benchmark/MANIFEST.json` (lần đầu thì ghi); `check` kiểm một bản tải về; `tables` gộp 45.200 run tham chiếu → `reference/runs.csv.gz`, `benchmark/reference/{cells.csv,main_table.md}`; `score --pred DIR --name TÊN` chấm dự đoán `r<rid>_c<c>_n<N>_s<seed>.npz` (metric của scripts/11, luật ô H2a và luật better của `summary.py`) → `DIR/score/`; `selftest` chép dự đoán tham chiếu đã lưu thành bài nộp và kiểm metric, truth và luật khớp. Hướng dẫn cho người dùng: `benchmark/README.md` |
|
||||
| `scripts/37_bench_package.py <lệnh> [--out DIR]` (generate, check, tables, score, selftest) | S7 đóng gói benchmark (02/11/2026; ngoài lock, generate và tables kiểm lock trước): `generate` ghi 658 task (test 8–15, dev 900–905; 5 regime danh nghĩa × 5 c, 14 setting S2, 6 setting S8, 2 setting σ_a sai), truth công khai, input và `inputs/analyst.json` vào `outputs/bench/package/` (khoảng 845 MB), rồi so sha256 nội dung với `benchmark/MANIFEST.json` (lần đầu thì ghi); `check` kiểm một bản tải về; `tables` gộp 46.320 run tham chiếu → `reference/runs.csv.gz`, `benchmark/reference/{cells.csv,main_table.md}`; `score --pred DIR --name TÊN` chấm dự đoán `r<rid>_c<c>_n<N>_s<seed>.npz` (metric của scripts/11, luật ô H2a và luật better của `summary.py`) → `DIR/score/`; `selftest` chép dự đoán tham chiếu đã lưu thành bài nộp và kiểm metric, truth và luật khớp. Hướng dẫn cho người dùng: `benchmark/README.md` |
|
||||
| `scripts/38_bench_figures.py [--only bench_s1,bench_s8] [--flipband]` | Hình Thí nghiệm 3 của bài (02/11/2026; ngoài lock, kiểm lock trước, không ghi vào `outputs/`): `bench_s1` (phase diagram S1 từ `outputs/bench/summary/s1_cells.csv`) và `bench_s8` (hàm truyền hai mode từ `s8_transfer_curves.json`; băng dùng được tính lại từ file dự đoán S8 như `summary.py`) → `paper/figures/{bench_s1,bench_s8}.pdf`, cùng style với scripts/22. `--flipband` chỉ in ra stdout bảng post hoc của Sec. 6.5: trung bình cos(πfΔ), cos²(πfΔ) (Hệ quả 3) và transfer đo được của PM2/BK2/HM2 trong băng 1/(2Δ) < f < 3/(2Δ) (D-14) |
|
||||
| `scripts/39_repro_package.py <lệnh> [--out DIR]` (build, check, verify, code) | P5 gói tái lập (02/11/2026; ngoài mọi lock, không train, không ghi vào `outputs/` gốc): `build` chọn file của `outputs/` theo `RULES` và ghi 5 archive tar.gz tất định theo giấy phép dữ liệu (f3_results, f3_predictions, f3_volume: CC BY-SA 3.0; volve: CC BY-NC-SA 4.0; teapot: CC0, cần kiểm) vào `outputs/repro/`, cùng `repro/MANIFEST.json` (11.112 file, sha256 từng file, script sinh ra); `check --root DIR` kiểm một cây đã giải nén; `verify [--only …] [--keep]` dựng phòng sạch (code + archive, không SEG-Y/Volve/Teapot thô), chạy lại 12 bước tổng hợp, post hoc, bảng và hình, theo dõi file mở bằng audit hook rồi so với bản gốc → `repro/verify_report.md` (02/11: 12/12 bước khớp, 63 file trùng byte, 3 trùng giá trị, 0 khác); `code --rev REV` ghi `git archive` của một commit. Hướng dẫn cho người đọc (tiếng Anh): `repro/README.md` |
|
||||
| `scripts/40_band_spectra.py` | Mô tả post hoc (09/11/2026; ngoài mọi lock và ngoài các archive tái lập, không train): phân bố công suất trên 6 Hz trong cửa sổ 600–1100 ms của `PHIE_DT` F3 (4 giếng), nhãn synthetic và dự đoán Oracle ($N$ = 16, $c$ = 1; R10, R0, Rm5), cùng cách ước lượng periodogram với `scripts/31_p2r_posthoc.py` → `outputs/band_spectra/{table.csv,groups.csv,meta.json}`; dùng cho bảng `tab:bandspectra` (Phụ lục C) và mục "Band of the benchmark" của bài. |
|
||||
| `scripts/41_lambda_limit.py --stage all` | Exploratory (09–10/11/2026; ngoài mọi lock và archive tái lập): huấn luyện lại bank SMC ở λ = 10⁻³ và MSE trên nhãn trung bình của bank ở 8 ô rộng + 3 ô hẹp của P2r, kiểm hash khai báo `docs/research/lambda-limit.md` trước khi chạy; resume theo ô. Kết quả `docs/research/lambda-limit-results.md`. |
|
||||
| `scripts/42_referee_r4.py --stage all|b1|b2|b3` | Exploratory (10/11/2026; ngoài mọi lock và archive tái lập, không train, CPU khoảng 4 phút): B1 hàm truyền Ĥ của mạng SMC mean so với Oracle (kiểm sharpening), B2 xác suất pass dưới null hoán vị của các luật, B3 độ lệch warp SMC–correlation tie không dùng truth; kiểm hash khai báo `docs/research/referee-r4-analyses.md` trước khi tính. Kết quả `docs/research/referee-r4-results.md`. |
|
||||
| `scripts/43_referee_r5_ci.py` | Exploratory (10/11/2026; ngoài mọi lock và archive tái lập, không train, CPU 10 s): khoảng percentile, BCa và t-interval (log tỉ số, 7 bậc tự do) cho 38 tỉ số chính của bài; tỉ số B3d-Sa/B3d; band RMSE trên Oracle ở c = 0; kiểm hash khai báo `docs/research/referee-r5-ci.md`. Kết quả `docs/research/referee-r5-ci-results.md`. |
|
||||
| `scripts/44_point_tie_arm.py --stage all|train|summary` | Exploratory (10/11/2026; ngoài mọi lock và archive tái lập; GPU, 17 phút): huấn luyện nhãn tại SMC-MAP (hạt tốt nhất theo log mục tiêu tempered) và Anchor-LS (cực trị posterior chỉ anchor) ở 96 ô–realization và so với các phương pháp đã đăng ký; kiểm tái lập B3d-Sa. Kết quả `docs/research/point-tie-arm-results.md`. |
|
||||
| `scripts/45_referee_r5_followups.py --stage all|f1|f2` | Exploratory (10/11/2026; ngoài mọi lock; CPU, 16 phút): F1 kiểm độc lập sai số tie với dữ liệu (cần file hạt posterior), F2 số giếng mù theo kiểm định dấu, Wilcoxon và t cặp. Kết quả `docs/research/referee-r5-followups-results.md`. |
|
||||
|
||||
`code_thesis/` là bản lưu trữ code luận văn. Giữ nguyên nội dung để đối chiếu: các script này còn đường dẫn máy cũ và ghi vào `outputs/`, nên cần một bản sao đã điều chỉnh đường dẫn nếu muốn chạy lại. Kiểm tra bộ artifact hiện có bằng `python scripts/00_data_manifest.py --dataset thesis --check`.
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
15
|
||||
]
|
||||
},
|
||||
"n_tasks": 630,
|
||||
"n_tasks": 658,
|
||||
"files": {
|
||||
"tasks/dev/R0/r900_c0.5.npz": "40624bd49fc30748affb193a65ef5efd21727ca3add869f072f2e80dfba3afbb",
|
||||
"tasks/dev/R0/r900_c0.npz": "d47451de8d48d98822ecd36f3c8e5292dec692f569cf3a8dbd47f44e9ae3b24e",
|
||||
@@ -164,6 +164,18 @@
|
||||
"tasks/dev/R10__s8d8/r903_c1.npz": "cbe03ee96024340d70c4724a7530c68bfa3d81ea5a8b068325f12339036c33d3",
|
||||
"tasks/dev/R10__s8d8/r904_c1.npz": "d5a5c5cca0df4845a9bcda9b084d7e10021b3ff3cb95603aa258a7062bc2ead2",
|
||||
"tasks/dev/R10__s8d8/r905_c1.npz": "7d6f4b38bea20f5433072bca5fe3ac5dfea2bd4d70db8a7ff642e2b8ca354d2c",
|
||||
"tasks/dev/R10__sa14/r900_c1.npz": "7469a53a4a430b75c0b2bdfaf32a626c92a9968b42cbc17a6248d9c926f7b891",
|
||||
"tasks/dev/R10__sa14/r901_c1.npz": "b13cbd1884a47e08daa7209f32b0c4ce814cea03073f40ad7233d6694cef4cf3",
|
||||
"tasks/dev/R10__sa14/r902_c1.npz": "0fab467dbf3e1565ed25cbc06d6611178b21e3e421728278125e9a8ee03e2501",
|
||||
"tasks/dev/R10__sa14/r903_c1.npz": "25b33aeaa0778df6a934ff9826b7fd5dee880c913f61c9acc9e5929f7d6fad31",
|
||||
"tasks/dev/R10__sa14/r904_c1.npz": "54e75e574148a77b6ea14c39e2f836fe57158912ab1e9481156b945f88a9acb8",
|
||||
"tasks/dev/R10__sa14/r905_c1.npz": "88bcb709d1c558143c34677523ad59e7d8cca52cac5a89eb341aa35c43ca66a8",
|
||||
"tasks/dev/R10__sa3.5/r900_c1.npz": "d286b82594af5b5255764138756b760764773d9a1881db9dbf958098087555a5",
|
||||
"tasks/dev/R10__sa3.5/r901_c1.npz": "c7b5d7bf0b0d78f6a1073c16aad49153d460cd985391cc2e03a720b9771b1378",
|
||||
"tasks/dev/R10__sa3.5/r902_c1.npz": "de1b9129d511868d14e22deebd0f60d874e20939a81641d870551659028e37c9",
|
||||
"tasks/dev/R10__sa3.5/r903_c1.npz": "0af7e8887a3b3c574fd0f1fb0b0c3b68f929decb001b709aa6fe246d4ba57d7e",
|
||||
"tasks/dev/R10__sa3.5/r904_c1.npz": "dba1d46285e5dbd12945f05dfd434d3c47e8936f450f0fd3864c50e0b3d7417b",
|
||||
"tasks/dev/R10__sa3.5/r905_c1.npz": "661075df253db2a3790abb27e951f1c98f0a520b34d75e5bfe69d2e691d728cf",
|
||||
"tasks/dev/R10__wv_L1/r900_c1.npz": "cd59dd781800d3090f74ae5176012bd69f4ea713d575a05fd2d107c0d4b467ee",
|
||||
"tasks/dev/R10__wv_L1/r901_c1.npz": "8ab98bb3da27073e973cb9733a318a6a9e9b495d5c282dd53def384be8d54a03",
|
||||
"tasks/dev/R10__wv_L1/r902_c1.npz": "039a0832ee32c645b8c192d84758b7b9d6f2eec6b48dc72f246529c93fe4781e",
|
||||
@@ -478,6 +490,22 @@
|
||||
"tasks/test/R10__s8d8/r15_c1.npz": "93f87a2b51f184943625c553b1b049c6de761e7c24c601ba6bcc65afdd9487a7",
|
||||
"tasks/test/R10__s8d8/r8_c1.npz": "e179ce7255acf29a4e5de0080e44adf3cdf6abb01a73c7cfe6ba33702fc8028d",
|
||||
"tasks/test/R10__s8d8/r9_c1.npz": "6760b94feff0248130aa325d0484fe20a1cccbef90727cc3cdb08e785336727c",
|
||||
"tasks/test/R10__sa14/r10_c1.npz": "88ae56b502b5cc45c70317031cfcfe7a94e5e7a47f2314f8c4a8db76f2b42fc5",
|
||||
"tasks/test/R10__sa14/r11_c1.npz": "cc0efd105f06d7798da95605761e0c6b40ac02b784c45edb846f3d9d4a467e30",
|
||||
"tasks/test/R10__sa14/r12_c1.npz": "aa0d429a038a441d30799bc575e334680268124dc5a8efc074e4a7e5f35f3b0b",
|
||||
"tasks/test/R10__sa14/r13_c1.npz": "099fdba50e114fcc33893af107ee45fc9c8ab58a07366d328513e338283a2bc3",
|
||||
"tasks/test/R10__sa14/r14_c1.npz": "1faff1c81661a64c6b9661a19322234d75a5dbb49ce1d216ab64c9c64c2cb67c",
|
||||
"tasks/test/R10__sa14/r15_c1.npz": "c52aca1ab2cdabe3914383227a3483505709635d9cb0d0cfcce76fc2a2814895",
|
||||
"tasks/test/R10__sa14/r8_c1.npz": "f2f5403a0181aa08b00916b28b75cd5b518bb99f213f0f3c5e2381ab39b536d9",
|
||||
"tasks/test/R10__sa14/r9_c1.npz": "957b698877d43de1e675f3ad2ed73100f7736bfaef07e274b1ee161fecf605c0",
|
||||
"tasks/test/R10__sa3.5/r10_c1.npz": "a358fa8f728f6c5219d9e1a564cbc92670384192580de2b0677ef2a9b5184fea",
|
||||
"tasks/test/R10__sa3.5/r11_c1.npz": "c85549e385be554908528302f7aa33cf8a2b77651477f58a028ec1b66a6271b1",
|
||||
"tasks/test/R10__sa3.5/r12_c1.npz": "aa62599cb66b02bc30a8b6295ada28ee6f22cb92a796d9a66e9511eaedce97b6",
|
||||
"tasks/test/R10__sa3.5/r13_c1.npz": "eb43e7ec1e5cadb3f9092f34eb4d959b79e54fdf1fc839e7514adbb884a2fdba",
|
||||
"tasks/test/R10__sa3.5/r14_c1.npz": "39c6382d92ec548e166ba0b98be35859e9841050b3e4254430caf9bcf16f1789",
|
||||
"tasks/test/R10__sa3.5/r15_c1.npz": "ada0a0c9d646366f65945e145562e8ef2215d628fcb078ac1b756e8a5cb7ba1b",
|
||||
"tasks/test/R10__sa3.5/r8_c1.npz": "8a9e51b1f2a1ba8e75f2553307ce6eba47c39501a512a0d51a4b247f0ccc2da6",
|
||||
"tasks/test/R10__sa3.5/r9_c1.npz": "f78e4c62d5b318824072c6d3fd76fe92425147ce10627cdb91f7a00da1a727d5",
|
||||
"tasks/test/R10__wv_L1/r10_c1.npz": "a8ed5f32d933855fde849f2a8430a0ad7d774b2497dad690b2d8c3f2159dfe1b",
|
||||
"tasks/test/R10__wv_L1/r11_c1.npz": "cefd9ddbd5531ffbdab437b370edcdd84e6c908e99f56d8ecbd947aed9b3bf7e",
|
||||
"tasks/test/R10__wv_L1/r12_c1.npz": "b283226191b0dc43cc1e48aa90f8b1f9a53b417272c0f1ab13795633cda3da7c",
|
||||
@@ -794,6 +822,18 @@
|
||||
"truth/dev/R10__s8d8/r903_c1.npz": "d6d2f175536a45562470ca92a6b503376709c85638d1fcd0372258fd4bd7b7ca",
|
||||
"truth/dev/R10__s8d8/r904_c1.npz": "94ba67e8d8b4194311d94435a220e199f641a2d9bcc4475793435e479eff3ec7",
|
||||
"truth/dev/R10__s8d8/r905_c1.npz": "0a7dc1edbd884a7d5fa829e7db8d8c09d360463dc1c492001acbdf5b3cd95ad0",
|
||||
"truth/dev/R10__sa14/r900_c1.npz": "b13bf24c27cd3872382e4aba6aa576d11733814f7fdb47aaa162adf7297a9106",
|
||||
"truth/dev/R10__sa14/r901_c1.npz": "6931ac36e445a39bc2a234102a976391c11de7665f9f9db88e1efb8e305c2ea1",
|
||||
"truth/dev/R10__sa14/r902_c1.npz": "d2ec0b548ae8019f9c102d931006f3ce3cfd559c619db80d9cf1dae2bd0c75ad",
|
||||
"truth/dev/R10__sa14/r903_c1.npz": "adda7ef3db64bb28eb5c2d14d0ab74151518dc49e9c2620158ef2cf6ae8a7508",
|
||||
"truth/dev/R10__sa14/r904_c1.npz": "a474ba1bc2903de7058a423b60247df1f9e3caa851d6849c643c9331cad71ad2",
|
||||
"truth/dev/R10__sa14/r905_c1.npz": "e4a712caedf5d632ed61c5c0f6ace737fd70dda8296902fd8149499295efa74a",
|
||||
"truth/dev/R10__sa3.5/r900_c1.npz": "b13bf24c27cd3872382e4aba6aa576d11733814f7fdb47aaa162adf7297a9106",
|
||||
"truth/dev/R10__sa3.5/r901_c1.npz": "6931ac36e445a39bc2a234102a976391c11de7665f9f9db88e1efb8e305c2ea1",
|
||||
"truth/dev/R10__sa3.5/r902_c1.npz": "d2ec0b548ae8019f9c102d931006f3ce3cfd559c619db80d9cf1dae2bd0c75ad",
|
||||
"truth/dev/R10__sa3.5/r903_c1.npz": "adda7ef3db64bb28eb5c2d14d0ab74151518dc49e9c2620158ef2cf6ae8a7508",
|
||||
"truth/dev/R10__sa3.5/r904_c1.npz": "a474ba1bc2903de7058a423b60247df1f9e3caa851d6849c643c9331cad71ad2",
|
||||
"truth/dev/R10__sa3.5/r905_c1.npz": "e4a712caedf5d632ed61c5c0f6ace737fd70dda8296902fd8149499295efa74a",
|
||||
"truth/dev/R10__wv_L1/r900_c1.npz": "b13bf24c27cd3872382e4aba6aa576d11733814f7fdb47aaa162adf7297a9106",
|
||||
"truth/dev/R10__wv_L1/r901_c1.npz": "6931ac36e445a39bc2a234102a976391c11de7665f9f9db88e1efb8e305c2ea1",
|
||||
"truth/dev/R10__wv_L1/r902_c1.npz": "d2ec0b548ae8019f9c102d931006f3ce3cfd559c619db80d9cf1dae2bd0c75ad",
|
||||
@@ -1108,6 +1148,22 @@
|
||||
"truth/test/R10__s8d8/r15_c1.npz": "6fb1ce984959c01d5ab86bf3c8b76f700063468fa50eea1ed07baacf351101ea",
|
||||
"truth/test/R10__s8d8/r8_c1.npz": "32292e42dcdc99940f574bf6707ef48f6aee367fe537b55122b4bada3f5b3892",
|
||||
"truth/test/R10__s8d8/r9_c1.npz": "47e89a7105e18c656488f20012480aed0472503c41addeac74719638f870677f",
|
||||
"truth/test/R10__sa14/r10_c1.npz": "e8f1a41502a453d1e8ca3f20db29426472f8e84f054c6b7cfd9e62a73391a5be",
|
||||
"truth/test/R10__sa14/r11_c1.npz": "15cba75bfe2b40ac0e524a67462cafc3157c15ef77068521d9b5df585f916294",
|
||||
"truth/test/R10__sa14/r12_c1.npz": "2e40714a6517d960b3a811f9ba16c1fc7bdb0f8a271967cce936bfc428066a91",
|
||||
"truth/test/R10__sa14/r13_c1.npz": "748516f94807bd5ade5c3359e40c53344e19a3b0b4bc978150f40060abe62cf1",
|
||||
"truth/test/R10__sa14/r14_c1.npz": "117a5ee107e3022136924a9cbf86fbc01b06dd2e87e8a35996b07bfc21765350",
|
||||
"truth/test/R10__sa14/r15_c1.npz": "3632dfd7c1832bcec6cedf65ecba27d41ac356f09744558e750df4d049304acc",
|
||||
"truth/test/R10__sa14/r8_c1.npz": "7ec6e9bad2b87d8652d35d5e105d1f876b3decee1b2a039c3a8c9a0faae851c3",
|
||||
"truth/test/R10__sa14/r9_c1.npz": "149bd3b461870fca8a77ec4357cad8ace2be679e073a71c0b79c10b1e6cfa945",
|
||||
"truth/test/R10__sa3.5/r10_c1.npz": "e8f1a41502a453d1e8ca3f20db29426472f8e84f054c6b7cfd9e62a73391a5be",
|
||||
"truth/test/R10__sa3.5/r11_c1.npz": "15cba75bfe2b40ac0e524a67462cafc3157c15ef77068521d9b5df585f916294",
|
||||
"truth/test/R10__sa3.5/r12_c1.npz": "2e40714a6517d960b3a811f9ba16c1fc7bdb0f8a271967cce936bfc428066a91",
|
||||
"truth/test/R10__sa3.5/r13_c1.npz": "748516f94807bd5ade5c3359e40c53344e19a3b0b4bc978150f40060abe62cf1",
|
||||
"truth/test/R10__sa3.5/r14_c1.npz": "117a5ee107e3022136924a9cbf86fbc01b06dd2e87e8a35996b07bfc21765350",
|
||||
"truth/test/R10__sa3.5/r15_c1.npz": "3632dfd7c1832bcec6cedf65ecba27d41ac356f09744558e750df4d049304acc",
|
||||
"truth/test/R10__sa3.5/r8_c1.npz": "7ec6e9bad2b87d8652d35d5e105d1f876b3decee1b2a039c3a8c9a0faae851c3",
|
||||
"truth/test/R10__sa3.5/r9_c1.npz": "149bd3b461870fca8a77ec4357cad8ace2be679e073a71c0b79c10b1e6cfa945",
|
||||
"truth/test/R10__wv_L1/r10_c1.npz": "e8f1a41502a453d1e8ca3f20db29426472f8e84f054c6b7cfd9e62a73391a5be",
|
||||
"truth/test/R10__wv_L1/r11_c1.npz": "15cba75bfe2b40ac0e524a67462cafc3157c15ef77068521d9b5df585f916294",
|
||||
"truth/test/R10__wv_L1/r12_c1.npz": "2e40714a6517d960b3a811f9ba16c1fc7bdb0f8a271967cce936bfc428066a91",
|
||||
|
||||
@@ -1,8 +1,12 @@
|
||||
# A registration-aware benchmark for sparse-well seismic porosity learning
|
||||
# A benchmark with known timing for sparse-well seismic porosity learning
|
||||
|
||||
Companion manuscript: *Uncertain well ties in learned seismic property prediction: theory, a benchmark with known
|
||||
timing, and requirements for blind-well tests* (Sec. 3.3 describes this package; Table `tab:codes` in App. C maps
|
||||
the method names of the paper to the codes below).
|
||||
|
||||
Version 1 (protocol_bench, locked 29/10/2026 14:39 UTC, sha256 `aa763f0a…`). This directory documents the benchmark
|
||||
package: synthetic seismic-to-porosity tasks in which the time–depth tie of every training well is uncertain and the
|
||||
truth is known. The data package itself (about 630 tasks) is generated by one command and is deposited on Zenodo
|
||||
truth is known. The data package itself (658 tasks) is generated by one command and is deposited on Zenodo
|
||||
(DOI: TODO).
|
||||
|
||||
## 1. The problem
|
||||
@@ -13,7 +17,7 @@ seismic and from a few marker picks. A tie error shifts the labels relative to t
|
||||
much a learning method loses to this registration error, and whether a method that uses the uncertainty of the tie
|
||||
does better than one that trains on a single point tie.
|
||||
|
||||
Each task is one synthetic realization of an earth model built on the geometry of seven interpreted horizons of the
|
||||
Each task is one synthetic realization of an earth model built on the geometry of five interpreted horizons of the
|
||||
F3 block (Dutch North Sea), with 16 training wells and 8 blind test wells. The true tie of each training well is a
|
||||
drift b + ∫ exp(g) dτ drawn from a Matérn-3/2 prior fitted to the F3 wells, scaled by a drift factor c (c = 0: no
|
||||
drift). A method receives what an analyst would have:
|
||||
@@ -22,6 +26,9 @@ drift). A method receives what an analyst would have:
|
||||
- for training wells only: the porosity log and the acoustic impedance log on τ, and unit-boundary anchors
|
||||
(τ_k exact, t_k = true time + N(0, σ_a²), σ_a = 7 ms);
|
||||
- the analyst's nominal knowledge (`inputs/analyst.json`): wavelet, warp prior, anchor noise, rock physics.
|
||||
Use the `sigma_a_ms` of the task file. It is the true σ_a = 7 ms in every task except the two anchor-uncertainty
|
||||
settings `R10__sa3.5` and `R10__sa14`, whose data are those of R10 at c = 1 and whose task file states a wrong σ_a
|
||||
(in the paper's Experiment 2 a wrong σ_a removed the gain of the posterior labels).
|
||||
|
||||
It must predict the porosity (and optionally its standard deviation) of the centre trace of each test well on
|
||||
600–1100 ms (126 samples at 4 ms). The test labels are the true porosity on true time, so a perfect tie is not
|
||||
@@ -34,11 +41,12 @@ required to score well, but a wrong tie corrupts the training labels.
|
||||
| nominal (S1) | R10 (SNR 10 dB, all anchors), R0 (0 dB), Rm5 (−5 dB), R0h (0 dB, every second anchor), R10tb (10 dB, top and bottom anchors only) | 0, 0.5, 1, 1.5, 2 | 2, 4, 8, 16 |
|
||||
| misspecified (S2) | `{R10,Rm5}__{rp_L1, rp_L2}` rock physics (per-unit DT intercept error), `__{wv_L1, wv_L2}` wavelet (mixed/minimum phase), `__wv_Q` (constant Q 80), `__{dr_L1, dr_L2}` drift (hyperparameters ×, step + jitter) | 1 | 4, 16 |
|
||||
| two-mode (S8) | `{R10,Rm5}__s8d{8,16,32}`: the analyst knows that each tie is one of two warps, t_true or t_true + s·Δ | 1 | 4, 16 |
|
||||
| anchor uncertainty (added 10/11/2026) | `R10__sa3.5`, `R10__sa14`: the data of R10 at c = 1; the task file states σ_a = 3.5 or 14 ms; the picks were generated with 7 ms | 1 | 4, 16 |
|
||||
|
||||
In S2 the truth is generated with the stated error but `inputs/analyst.json` still describes the nominal model:
|
||||
methods must not be told about the preset. S2 levels were chosen on the dev split (realizations 902–905). Preset
|
||||
parameters: `inputs/d2_synth_bench.yaml` (`misspec_presets`). In S8 the task file carries both candidate warps
|
||||
(`two_mode_t_of_tau_ms`); which one is true is hidden (`truth/…/two_mode_side`).
|
||||
(`two_mode_t_of_tau_ms`); which one is true is stored in the truth files (`truth/…/two_mode_side`) and must not be used by a method.
|
||||
|
||||
A task with N training wells uses the first N of the 16 training wells of the file (`train_*[:N]`, and the anchors
|
||||
with `anchor_well < N`). c = 2 cells are flagged "unstable posterior" in the reference runs and are never primary
|
||||
@@ -146,7 +154,7 @@ All reference methods use the CNN–GRU heteroscedastic network of the repositor
|
||||
| B3c-R | B3c with the wavelet at the re-estimated phase |
|
||||
| B3d | weighted mean warp of an anchor-conditioned bank |
|
||||
| B3d-Sa | labels at the posterior-mean warp of 1024 SMC particles (registration posterior) |
|
||||
| M2-Sa | regression with misregistered labels (RML): soft-min loss over a bank of 64 SMC particles |
|
||||
| M2-Sa | registration-marginalized learning (RML): soft-min loss over a bank of 64 SMC particles |
|
||||
| B4a–d | anchor-free alignment baselines on B3b labels: hard-min / RML over ±8-sample shifts, soft-DTW, DILATE |
|
||||
| Ctl-GP | control bank: 64 Gaussian warps with the posterior's mean and covariance |
|
||||
| PM2, BK2, HM2 | S8: label at the two-mode mean warp; RML over the two-member bank; hard-min over it |
|
||||
@@ -154,12 +162,18 @@ All reference methods use the CNN–GRU heteroscedastic network of the repositor
|
||||
`reference/main_table.md` gives the nominal band RMSE at c = 1. `reference/cells.csv` gives every cell, with
|
||||
σ_post (the SMC posterior width over the training wells; "wide" at σ_post ≥ 1.5 ms).
|
||||
|
||||
Registered results of protocol_bench (11 verdicts, 9 pass): posterior-mean labels (B3d-Sa) beat the best point tie
|
||||
by ≥ 10% in band RMSE at R10 c = 1.5 (0.853 / 0.796 at N = 4 / 16); the bank gain over B3d-Sa grows with N in
|
||||
13/13 wide families; under misspecification the gain survives the drift axis (0.862 / 0.798) but not the rock
|
||||
physics axis (0.940 / 0.934) or the wavelet phase axis (1.023 / 1.042, where the posterior is overconfident); M2-Sa
|
||||
never hurts (14/14 ≤ 1.02); B4a–d are never the best competitor at c ≤ 1; the TCN backbone keeps the gain; the
|
||||
two-mode bank beats the two-mode mean at Δ = 16 and 32 ms (BK2/PM2 0.28–0.71). Full statements and both readings of the three verdicts
|
||||
Registered results of protocol_bench, per study (the verdicts share realizations and SMC particles, so they are
|
||||
not independent and should not be counted): posterior-mean labels (B3d-Sa) beat the best point tie by ≥ 10% in band
|
||||
RMSE at R10 c = 1.5 (0.853 / 0.796 at N = 4 / 16); the bank gain over B3d-Sa grows with N in 13/13 wide families;
|
||||
under misspecification the gain survives the scaled warp prior (dr_L1, 0.862 / 0.798; mainly the benign direction,
|
||||
since the registration's bulk-offset prior is wider than the truth) but not the rock physics axis (0.940 / 0.934)
|
||||
or the wavelet phase axis (1.023 / 1.042, where the posterior is overconfident); M2-Sa/B3d-Sa ≤ 1.02 for all 14
|
||||
presets × regimes (the largest value equals 1.020); B4a–d are never the best competitor at c ≤ 1; the TCN backbone
|
||||
keeps the gain; the two-mode bank beats the two-mode mean at Δ = 16 and 32 ms (BK2/PM2 0.28–0.71).
|
||||
|
||||
The `better` rule counts signs only: with 8 realizations it passes a cell with probability up to 93/256 = 0.36 when
|
||||
the two methods are exchangeable (permutation within realizations). Read its outcome with the ratio and its
|
||||
bootstrap CI, which `score` reports. Full statements and both readings of the three verdicts
|
||||
whose locked extraction differs from the wording: `outputs/bench/summary/verdict_final.md` in the repository.
|
||||
|
||||
## 7. What this benchmark is not
|
||||
@@ -168,6 +182,8 @@ whose locked extraction differs from the wording: `outputs/bench/summary/verdict
|
||||
seismic band to test a registration effect.
|
||||
- It measures registration effects on labels. It makes no calibration claim (in the P2r study every 5-seed
|
||||
ensemble under-covered).
|
||||
- The anchor-uncertainty stress covers 10 dB at c = 1 only (reference results of Experiment 2); every other task states
|
||||
the true σ_a. It does not test a registration warp prior much narrower than the truth.
|
||||
- One earth-model family (F3 horizon geometry, φ–DT rock physics, a stationary 128 ms wavelet). The S2 settings
|
||||
probe three axes of misspecification at two levels each (plus one bandwidth setting); they do not cover
|
||||
misspecification in general.
|
||||
@@ -183,7 +199,7 @@ Citation: TODO (paper and Zenodo DOI).
|
||||
## 9. Deposit (maintainers)
|
||||
|
||||
1. `generate` on a clean checkout of the tagged commit; it must report "content hashes equal to
|
||||
benchmark/MANIFEST.json (1260 files)". The input hashes in `MANIFEST.json` equal the sha256 registered in
|
||||
benchmark/MANIFEST.json (1316 files)". The input hashes in `MANIFEST.json` equal the sha256 registered in
|
||||
`configs/protocol_bench.yaml`.
|
||||
2. `tables`, then `selftest` (must print `selftest PASS`).
|
||||
3. `tar -C outputs/bench -cf bench_package_v1.tar package` (about 0.85 GB; the npz files are already compressed),
|
||||
|
||||
@@ -613,6 +613,34 @@ R10__s8d8,R10,nominal,8,1,16,BK2,8,5,0.483034,0.940035,1.21964,0.874685,0.831933
|
||||
R10__s8d8,R10,nominal,8,1,16,HM2,8,5,0.537289,0.922634,1.32224,0.857776,0.851073,0.509226,,,,
|
||||
R10__s8d8,R10,nominal,8,1,16,Oracle,8,5,0.452965,0.951172,1.15425,0.890929,0.82465,0.245486,,,,
|
||||
R10__s8d8,R10,nominal,8,1,16,PM2,8,5,0.805303,0.821831,1.38551,0.830854,0.922562,0.387798,,,,
|
||||
R10__sa14,R10,sa14,,1,4,B3b,8,5,0.940746,0.745753,1.76956,0.701868,1.20915,0.343725,1.00588,3.74631,0.558036,0
|
||||
R10__sa14,R10,sa14,,1,4,B3c,8,5,0.750995,0.84727,1.64421,0.748375,1.21185,0.193403,1.00588,3.74631,0.558036,0
|
||||
R10__sa14,R10,sa14,,1,4,B3c-R,8,5,0.723224,0.86264,1.63008,0.756221,1.23782,0.134648,1.00588,3.74631,0.558036,0
|
||||
R10__sa14,R10,sa14,,1,4,B3d,8,5,0.918995,0.744519,1.73872,0.70737,1.26436,0.209648,1.00588,3.74631,0.558036,0
|
||||
R10__sa14,R10,sa14,,1,4,B3d-Sa,8,5,0.712096,0.858197,1.61215,0.758112,1.18439,0.203224,1.00588,3.74631,0.558036,0
|
||||
R10__sa14,R10,sa14,,1,4,M2-Sa,8,5,0.697959,0.867081,1.61606,0.760582,1.18495,0.206349,1.00588,3.74631,0.558036,0
|
||||
R10__sa14,R10,sa14,,1,4,Oracle,8,5,0.613853,0.904546,1.55226,0.790388,1.18419,0.137798,1.00588,3.74631,0.558036,0
|
||||
R10__sa14,R10,sa14,,1,16,B3b,8,5,0.828027,0.807061,1.44978,0.814641,0.884502,0.603943,0.921852,2.81045,0.516183,0
|
||||
R10__sa14,R10,sa14,,1,16,B3c,8,5,0.611648,0.902844,1.29272,0.857921,0.865823,0.401885,0.921852,2.81045,0.516183,0
|
||||
R10__sa14,R10,sa14,,1,16,B3c-R,8,5,0.584628,0.912119,1.2585,0.864455,0.890445,0.265476,0.921852,2.81045,0.516183,0
|
||||
R10__sa14,R10,sa14,,1,16,B3d,8,5,0.760038,0.838946,1.35578,0.838546,0.892583,0.421925,0.921852,2.81045,0.516183,0
|
||||
R10__sa14,R10,sa14,,1,16,B3d-Sa,8,5,0.542587,0.924664,1.22836,0.87451,0.819792,0.404241,0.921852,2.81045,0.516183,0
|
||||
R10__sa14,R10,sa14,,1,16,M2-Sa,8,5,0.513638,0.933732,1.22697,0.875498,0.820047,0.403671,0.921852,2.81045,0.516183,0
|
||||
R10__sa14,R10,sa14,,1,16,Oracle,8,5,0.452965,0.951172,1.15425,0.890929,0.82465,0.245486,0.921852,2.81045,0.516183,0
|
||||
R10__sa3.5,R10,sa3.5,,1,4,B3b,8,5,0.940746,0.745753,1.76956,0.701868,1.20915,0.343725,2.39179,3.95102,0.737103,1
|
||||
R10__sa3.5,R10,sa3.5,,1,4,B3c,8,5,0.891955,0.776278,1.69924,0.722286,1.2382,0.204663,2.39179,3.95102,0.737103,1
|
||||
R10__sa3.5,R10,sa3.5,,1,4,B3c-R,8,5,0.801923,0.82228,1.67579,0.739107,1.27174,0.131572,2.39179,3.95102,0.737103,1
|
||||
R10__sa3.5,R10,sa3.5,,1,4,B3d,8,5,1.00111,0.705639,1.77257,0.690664,1.27902,0.204663,2.39179,3.95102,0.737103,1
|
||||
R10__sa3.5,R10,sa3.5,,1,4,B3d-Sa,8,5,0.783694,0.824488,1.63172,0.746134,1.1868,0.212128,2.39179,3.95102,0.737103,1
|
||||
R10__sa3.5,R10,sa3.5,,1,4,M2-Sa,8,5,0.753049,0.841787,1.63417,0.745899,1.19243,0.214335,2.39179,3.95102,0.737103,1
|
||||
R10__sa3.5,R10,sa3.5,,1,4,Oracle,8,5,0.613853,0.904546,1.55226,0.790388,1.18419,0.137798,2.39179,3.95102,0.737103,1
|
||||
R10__sa3.5,R10,sa3.5,,1,16,B3b,8,5,0.828027,0.807061,1.44978,0.814641,0.884502,0.603943,2.51535,4.79644,0.619792,1
|
||||
R10__sa3.5,R10,sa3.5,,1,16,B3c,8,5,0.845769,0.804618,1.40699,0.819234,0.924549,0.397793,2.51535,4.79644,0.619792,1
|
||||
R10__sa3.5,R10,sa3.5,,1,16,B3c-R,8,5,0.704773,0.86425,1.30985,0.844861,0.91378,0.280828,2.51535,4.79644,0.619792,1
|
||||
R10__sa3.5,R10,sa3.5,,1,16,B3d,8,5,1.01972,0.695998,1.53985,0.773633,0.990362,0.40191,2.51535,4.79644,0.619792,1
|
||||
R10__sa3.5,R10,sa3.5,,1,16,B3d-Sa,8,5,0.803885,0.818333,1.40281,0.81992,0.924985,0.397569,2.51535,4.79644,0.619792,1
|
||||
R10__sa3.5,R10,sa3.5,,1,16,M2-Sa,8,5,0.71997,0.858692,1.36032,0.836738,0.905421,0.383879,2.51535,4.79644,0.619792,1
|
||||
R10__sa3.5,R10,sa3.5,,1,16,Oracle,8,5,0.452965,0.951172,1.15425,0.890929,0.82465,0.245486,2.51535,4.79644,0.619792,1
|
||||
R10__wv_L1,R10,wv_L1,,1,4,B3b,8,5,0.940783,0.747987,1.75675,0.70705,1.20682,0.333507,0.736811,2.57803,0.168651,0
|
||||
R10__wv_L1,R10,wv_L1,,1,4,B3c,8,5,0.748536,0.849139,1.59747,0.765553,1.16426,0.217733,0.736811,2.57803,0.168651,0
|
||||
R10__wv_L1,R10,wv_L1,,1,4,B3c-R,8,5,0.827558,0.813139,1.6571,0.74736,1.2496,0.143948,0.736811,2.57803,0.168651,0
|
||||
|
||||
|
@@ -2,12 +2,12 @@
|
||||
"_status": "DRAFT, not deposited. Fill the TODO fields, verify the licence, then upload the archive of outputs/bench/package (see benchmark/README.md section 9). Deposit needs the authors' Zenodo account.",
|
||||
"metadata": {
|
||||
"upload_type": "dataset",
|
||||
"title": "A registration-aware synthetic benchmark for sparse-well seismic porosity learning (protocol_bench v1)",
|
||||
"title": "A synthetic benchmark with known timing for sparse-well seismic porosity learning (protocol_bench v1)",
|
||||
"version": "1.0.0",
|
||||
"creators": [
|
||||
{"name": "TODO, Family name, Given names", "affiliation": "TODO", "orcid": "TODO"}
|
||||
],
|
||||
"description": "<p>Synthetic seismic-to-porosity tasks in which the time-depth tie of every training well is uncertain and the truth is known. Each task is one realization of an earth model on the geometry of seven interpreted horizons of the F3 block (Dutch North Sea) with 16 training wells (3 x 3 trace patch, porosity and impedance logs on sonic time, noisy unit-boundary anchors) and 8 blind test wells. Settings: five noise and anchor regimes x five drift factors (nominal), seven misspecification presets (rock physics, wavelet, drift), and six two-mode registration settings. Test split: realizations 8-15; dev split: 900-905; 630 tasks. Includes the hidden truth, the analyst's nominal inputs, reference results of 21 method variants (45,200 runs) and content hashes. Generation and scoring code, and the locked protocol, are in the companion repository.</p>",
|
||||
"description": "<p>Synthetic seismic-to-porosity tasks in which the time-depth tie of every training well is uncertain and the truth is known. Each task is one realization of an earth model on the geometry of seven interpreted horizons of the F3 block (Dutch North Sea) with 16 training wells (3 x 3 trace patch, porosity and impedance logs on sonic time, noisy unit-boundary anchors) and 8 blind test wells. Settings: five noise and anchor regimes x five drift factors (nominal), seven misspecification presets (rock physics, wavelet, drift), and six two-mode registration settings. Test split: realizations 8-15; dev split: 900-905; 658 tasks. Includes the hidden truth, the analyst's nominal inputs, reference results of 21 method variants (46,320 runs) and content hashes. Generation and scoring code, and the locked protocol, are in the companion repository.</p>",
|
||||
"access_right": "open",
|
||||
"license": "cc-by-sa-3.0",
|
||||
"keywords": ["seismic inversion", "well tie", "porosity", "label noise", "registration uncertainty", "benchmark", "synthetic data", "F3 Netherlands"],
|
||||
|
||||
File diff suppressed because one or more lines are too long
22
docs/research/point-tie-arm-results.md
Normal file
22
docs/research/point-tie-arm-results.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# Tie điểm cùng thông tin với posterior SMC: kết quả
|
||||
|
||||
Ngày **10/11/2026**. Khai báo `docs/research/point-tie-arm.md` (SHA-256 `3afdaf29…`, băm 09:45:17 UTC trước khi tính). Script `scripts/44_point_tie_arm.py` → `outputs/point_tie/` (`cells/`, `ratios.csv`, `warp_errors.csv`, `selfcheck.json`, `summary.md`). Lượt chạy `20261110-094635_point_tie_arm` (17 phút 24 s; cuda:0, 4 worker; 96/96 job, mỗi job 55 s). Thử khói trên một ô trước (không ghi vào `outputs/`). Exploratory; không đổi verdict.
|
||||
|
||||
**Kiểm tra tái lập:** B3d-Sa huấn luyện lại ở seed 0 khớp 96/96 dòng đã đăng ký, sai lệch tuyệt đối lớn nhất 2·10⁻¹⁶.
|
||||
|
||||
## Kết quả (tỉ số band RMSE, trung bình qua 8 realization; khoảng 95% percentile, BCa và t đều cho cùng kết luận trừ khi ghi)
|
||||
|
||||
**(B) SMC-MAP / tie tất định tốt nhất:** dưới 1 ở **12/12 ô** (c = 0 và 1, ba SNR, N = 4 và 16), với cả ba loại khoảng. Ở c = 1: 10 dB 0,862 và 0,803; 0 dB 0,892 và 0,898; −5 dB 0,946 và 0,933. So với B3d-Sa đã đăng ký (0,857/0,782; 0,888/0,888; 0,915/0,923), mode của chính mô hình SMC đã đạt phần lớn lợi ích.
|
||||
|
||||
**(A) B3d-Sa / SMC-MAP:** 0,967–1,010. Khoảng nằm hoàn toàn dưới 1 ở 5/12 ô theo percentile (10 dB c = 1 N = 16: 0,973 [0,965; 0,982]; −5 dB c = 1: 0,967 [0,952; 0,984] và 0,989; 0 dB c = 0 N = 4: 0,990; −5 dB c = 0 N = 4: 0,988) và 3/12 ô theo khoảng t (0 dB c = 0 N = 4; 10 dB c = 1 N = 16; −5 dB c = 1 N = 4); không ô nào trên 1. Lấy trung bình posterior thêm tối đa khoảng 3% so với mode của cùng mô hình.
|
||||
|
||||
**(C) Anchor-LS / tie tất định tốt nhất:** ở c = 0 dưới 1 (0,91–0,95; 5/6 ô), nhưng ở c = 1 **trên 1** tại 10 dB (1,148 và 1,247) và 0 dB N = 16 (1,054), chứa 1 ở 0 dB N = 4 (1,007), dưới 1 ở −5 dB (0,951; 0,976). Khớp bình phương tối thiểu chỉ với anchor và σ_a đã biết không đủ để thắng tie tất định khi có drift, ở các setting nhiễu thấp.
|
||||
|
||||
**(D) B3d-Sa / Anchor-LS** = 0,63–0,97 và **(E) SMC-MAP / Anchor-LS** = 0,64–0,99: dưới 1 ở 12/12 và 10/12 ô; phần lớn lợi ích đến từ việc dùng seismic trong mô hình tie, không phải từ anchor.
|
||||
|
||||
**(F) M2-Sa / SMC-MAP:** 0,957–1,004; dưới 1 ở 4/12 ô theo percentile (c = 1: 0 dB N = 16, 10 dB N = 16, −5 dB N = 4 và 16) và không ô nào trên 1.
|
||||
|
||||
**Sai số warp (ms), c = 1, N = 16:** SMC-MAP 0,84 (10 dB), 2,21 (0 dB), 3,36 (−5 dB); B3d-Sa 0,63, 1,86, 2,91; Anchor-LS 4,13 ở mọi SNR. Hạt MAP có log-likelihood cao hơn 56–74% các hạt (không phải cực đại: lưới hạt chỉ xấp xỉ mode).
|
||||
|
||||
## Đọc
|
||||
Lợi ích 8–22% so với tie tất định chủ yếu là lợi ích của **mô hình tie** (prior warp + likelihood chồng + pha ước lượng), vì mode của cùng posterior đã đạt gần hết; lấy trung bình posterior thêm ≤ 3%, và bank thêm ≤ 5% nữa ở c = 1, N = 16. Hạn chế: SMC-MAP là hạt tốt nhất trong 1024 chứ không phải mode chính xác; Anchor-LS là cực trị Laplace (một xấp xỉ Gauss quanh anchor), không phải mọi tie chỉ-anchor.
|
||||
24
docs/research/point-tie-arm.md
Normal file
24
docs/research/point-tie-arm.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# Tie điểm dùng cùng thông tin với posterior SMC (referee R4 M1, R5 M1): khai báo trước khi tính
|
||||
|
||||
Ngày: **10/11/2026**. Exploratory, post hoc: thiết kế sau mọi verdict. Không kết quả nào đổi verdict, ngưỡng hay protocol. Script: `scripts/44_point_tie_arm.py` (ngoài mọi lock và archive tái lập). Đầu ra: `outputs/point_tie/`. File này được băm SHA-256 (`point-tie-arm.sha256`) trước lần chạy đầu; script kiểm hash.
|
||||
|
||||
## Câu hỏi
|
||||
Lợi ích 8–22% của SMC mean so với tie tất định có phải do một mô hình tie tốt hơn (prior warp, likelihood chồng, tempering) hay do chính việc lấy trung bình posterior? Hai referee đòi một tie điểm dùng cùng thông tin.
|
||||
|
||||
## Hai arm mới (nhãn đặt tại một warp duy nhất, S = 1, cùng backbone, cùng 250 vòng như B3d-Sa)
|
||||
- **SMC-MAP:** warp của hạt có log mục tiêu tempered cao nhất, log p(u | anchor) + γ·ℓ(u), trong 1024 hạt g_acf đã lưu của giếng (γ = 1/κ₀ đã lưu trong CSV posterior; cùng wavelet pha phase_R; cùng prior, anchor, σ_a = 7 ms đã biết). Đây là xấp xỉ mode của chính mục tiêu SMC, tốt tới mức lưới hạt cho phép; không có tinh chỉnh cục bộ.
|
||||
- **Anchor-LS:** warp tại cực trị (Gauss–Newton/Laplace) của posterior chỉ anchor, `TiePosterior.mu`, tức khớp bình phương tối thiểu có phạt độ trơn của độ lệch thời gian vào các anchor với σ_a đã biết, không dùng seismic và không nội suy chính xác qua anchor. Dùng wavelet và cell như trên.
|
||||
|
||||
## Ô, hạt giống, ngân sách
|
||||
Setting 10 dB, 0 dB, −5 dB (đủ anchor) × c ∈ {0, 1} × N ∈ {4, 16} × realization 8–15 × seed 0–4; ngân sách 250 vòng (ngân sách đăng ký của B3d-Sa). 96 cặp ô–realization. Kiểm tra tái lập: huấn luyện lại B3d-Sa ở seed 0 trong cùng ô và so với `outputs/p2r/train` (kỳ vọng sai lệch 0).
|
||||
|
||||
## Thống kê và cách đọc (cố định trước)
|
||||
Mọi tỉ số là tỉ số của trung bình band RMSE (trung bình theo seed trong realization, rồi trung bình qua realization), với ba loại khoảng 95% như `referee-r5-ci.md` (percentile, BCa, t trên log tỉ số). So sánh, theo ô:
|
||||
- (A) B3d-Sa / SMC-MAP: khoảng dưới 1 ⇒ "lấy trung bình posterior vượt mode của cùng mô hình".
|
||||
- (B) SMC-MAP / tie tất định tốt nhất của ô (B3b, B3c, B3c-R; số đã đăng ký): khoảng dưới 1 ⇒ "mô hình tie tốt hơn, bất kể lấy trung bình".
|
||||
- (C) Anchor-LS / tie tất định tốt nhất; (D) B3d-Sa / Anchor-LS; (E) SMC-MAP / Anchor-LS.
|
||||
- (F) M2-Sa / SMC-MAP (đối chiếu bank).
|
||||
Báo số ô theo từng loại ở c = 1 và c = 0. Không có ngưỡng gộp, không verdict; kết quả âm hoặc null được báo như kết quả dương.
|
||||
|
||||
## Báo cáo
|
||||
`docs/research/point-tie-arm-results.md` (tiếng Việt), kèm kiểm tra tái lập, lệnh, thời gian chạy. Hệ quả cho bài (cố định trước, bất kể chiều kết quả): Sec. 6.3 và Phụ lục C báo kết quả; abstract và kết luận nêu rằng so sánh đã có point tie cùng thông tin, và nói chiều của (A) và (B).
|
||||
1
docs/research/point-tie-arm.sha256
Normal file
1
docs/research/point-tie-arm.sha256
Normal file
@@ -0,0 +1 @@
|
||||
3afdaf29d06053e4d5de188af2614b29a546bc5b8b1198ccd714b67fcddbcbce docs/research/point-tie-arm.md
|
||||
55
docs/research/referee-r4-analyses.md
Normal file
55
docs/research/referee-r4-analyses.md
Normal file
@@ -0,0 +1,55 @@
|
||||
# Ba phân tích exploratory theo referee R4 (khai báo trước khi tính)
|
||||
|
||||
Ngày: **10/11/2026**. Nguồn: báo cáo `docs/research/referee-reports/R4_contrib_round1.md` (M3, M4, góp ý nhỏ 18). Người dùng chọn nhóm A + B (sửa chữ + phân tích trên dữ liệu đã có, không huấn luyện lại). Script: `scripts/42_referee_r4.py` (ngoài mọi lock và ngoài các archive tái lập). Đầu ra: `outputs/referee_r4/`. File này được băm SHA-256 (`docs/research/referee-r4-analyses.sha256`) trước khi chạy script lần đầu; script kiểm hash trước khi tính.
|
||||
|
||||
## 0. Trạng thái và giới hạn
|
||||
|
||||
- **Exploratory, post hoc.** Thiết kế sau khi mọi kết quả liên quan đã được xem (P2r, benchmark, T2, λ → 0). Không có kết quả nào ở đây đổi verdict, ngưỡng, protocol hay số đã đăng ký. Không dùng nhãn test để chọn gì (không có lựa chọn nào phụ thuộc kết quả).
|
||||
- Chỉ đọc dữ liệu đã lưu: dự đoán test trong `outputs/p2r/train/*/cells/*.npz` và `outputs/bench/s1/train/*/cells/*.npz`, các run trong `runs.csv`/CSV ô, hạt SMC và file pha trong `outputs/p2r/posterior/` và `outputs/bench/posterior/`. Phân tích B3 dựng lại các realization tổng hợp bằng generator đã khóa (không ngẫu nhiên mới; generator tái lập bit-for-bit) để tính lại warp của correlation tie; không huấn luyện mạng nào.
|
||||
- **Hệ quả cho bài, cố định trước:** abstract và highlight đổi "sharpens" thành "is predicted to sharpen" **bất kể** kết quả B1 (kết quả exploratory không vào abstract như phát hiện). B1 và B3 được báo trong Sec. 6.4/6.5 và Phụ lục C bằng "consistent with" / "not detected"; B2 thay câu "nine of the eleven verdicts passed" bằng câu theo từng nghiên cứu và thêm xác suất hoán vị vào Phụ lục C. Kết quả âm hoặc null được báo như kết quả dương.
|
||||
|
||||
## B1. Hàm truyền của mạng học từ SMC mean so với Oracle (kiểm sharpening, M3)
|
||||
|
||||
**Câu hỏi.** Mệnh đề tie(b): nếu sai số thời gian của tie trung bình posterior có cấu trúc Berkson, tối ưu quần thể của nhãn tại warp trung bình bị làm sắc so với Oracle (hàm truyền 1/Q ≥ 1; Gauss: e^{+2π²σ²f²}); cấu trúc classical cho e^{−2π²σ²f²}. Ước lượng đã có từ Sec. 5.1 (H1) và S8-H1:
|
||||
|
||||
Ĥ_m(f) = Σ Re[Y* P_m] / Σ Re[Y* P_Oracle]
|
||||
|
||||
(Hann, NFFT 256, Δt 4 ms, trừ trung bình theo giếng; cộng qua giếng test, seed, realization; hàm `cross_spectrum` của `scripts/12_h1_blur.py`). Ĥ > 1 nghĩa là mạng có độ lợi đồng pha với nhãn thật lớn hơn Oracle ở tần số đó.
|
||||
|
||||
**Tần số dùng được** (như S8-H1): f ≥ 6 Hz và S_Oracle(f) ≥ 0,1 × max_{f ≥ 6 Hz} S_Oracle. Thống kê: r_m = exp(trung bình log(max(Ĥ_m, 10⁻³))) trên các tần số dùng được (như r của H1); phụ: r_m^hi cùng công thức trên các tần số dùng được ≥ 15 Hz. Dự đoán lý thuyết ở cùng tần số với σ = σ_post của ô (bảng `s1_cells.csv`/`sigma_post.csv`): r_Bk = geo-mean e^{+2π²σ²f²}, r_Cl = 1/r_Bk. CI 95% bootstrap trên realization (2000 lần, `np.random.default_rng(0)`; tái chọn realization, cộng lại phổ chéo).
|
||||
|
||||
**Ô và phương pháp.**
|
||||
- **Chính (cùng ngân sách 500 vòng):** S1, các regime R10, R0, Rm5, R0h, R10tb; c = 1 (N = 8) và c = 1,5 (N = 16), tức 10 ô. Phương pháp: `B3d-Sa`@500 (SMC mean), `M2-Sa`@500 (SMC bank), đối chiếu với `Oracle`@500. Phụ trong cùng ô: `B3d-Sa`@250 (tác động của ngân sách lên Ĥ).
|
||||
- **Mô tả:** mọi ô S1 còn lại (c ∈ {0, 0,5, 1, 1,5, 2}, mọi N có file) với cùng phương pháp; và các ô P2r (R10, R0, Rm5, R0h, R10tb; c ∈ {0, 1, 2}; N ∈ {4, 16}) ở ngân sách đăng ký (`B3d-Sa`@250, `M2-Sa`@250, point tie tốt nhất của ô, so với `Oracle`@500; lệch ngân sách được ghi rõ). Ô c = 2 mang cờ "unstable posterior".
|
||||
|
||||
**Cách đọc (cho mỗi ô chính, với SMC mean):** "consistent with sharpening" nếu cận dưới CI của r > 1; "consistent with blur" nếu cận trên < 1; ngược lại "not detected". Kèm theo: độ lệch dự đoán |r_Bk − 1| so với nửa độ rộng CI ("lực": nếu |r_Bk − 1| nhỏ hơn nửa độ rộng CI, phép kiểm không đủ lực ở σ_post đó). Tổng hợp: số ô chính theo từng loại. Không có ngưỡng gộp và không verdict.
|
||||
|
||||
**Giới hạn đã biết.** Tần số dùng được chỉ tới khoảng 20–25 Hz (H1: 6,8–22,5 Hz), trong khi hệ số Berkson lớn nhất ở 60–70 Hz; ở R10 σ_post ≤ 1 ms nên dự đoán lệch dưới 1%. Mạng hữu hạn cũng làm suy giảm phổ cao; Ĥ so với Oracle cùng kiến trúc và ngân sách khử phần chung. Sai số warp của SMC mean phụ thuộc thời gian và X nên giả thiết của dạng Gauss chỉ gần đúng (T2 (iv) chỉ thấy cấu trúc Berkson cho offset khối ở c = 1).
|
||||
|
||||
## B2. Xác suất pass dưới null của các luật quyết định (M4)
|
||||
|
||||
**Câu hỏi.** Luật ô (`cell_pass`: ≥ 4/5 seed **và** > 1/2 realization, với "improves" = ratio ≤ 0,90 **hoặc** ΔPCC ≥ +0,05) và luật `better` (không biên, cùng điều kiện đếm) pass với xác suất bao nhiêu nếu hai phương pháp hoán đổi được?
|
||||
|
||||
**Null hoán vị.** Với cặp (ứng viên, đối chứng) của một ô, giữ nguyên dữ liệu (band RMSE, band PCC của mỗi run (realization, seed) = trung bình qua giếng test, như `runs.csv`/`load_study`) và hoán đổi nhãn phương pháp:
|
||||
- (a) **theo realization:** đổi cả 5 seed của một realization cùng lúc; liệt kê đủ 2⁸ = 256 cách (giữ tương quan giữa seed trong cùng realization);
|
||||
- (b) **theo đơn vị (realization, seed):** mỗi trong 40 đơn vị đổi độc lập; Monte Carlo 20.000 lần, `np.random.default_rng(1)`.
|
||||
|
||||
Đối chứng là đối thủ tốt nhất quan sát được của ô (giữ cố định, như luật đã khóa chọn nó). p_null = tỉ lệ cách hoán đổi mà luật pass (gồm cả cách đồng nhất). Cho verdict cần nhiều ô, p_null chung tính với cùng một vector hoán đổi theo realization cho mọi ô (a) và độc lập theo đơn vị (b).
|
||||
|
||||
**Ô.** P2r H2a: R10, R0, Rm5, c = 1, N ∈ {4, 16} (luật ô, đối thủ {B3b, B3c, B3c-R}). P2r H2b (a): 8 ô rộng N = 16 (`better`, M2-Sa so với B3d-Sa). S1-H1: R10, c = 1,5, N ∈ {4, 16} (luật ô). S2-H1 drift: R10 dr_L1, c = 1, N ∈ {4, 16} (luật ô). S4-H1: R10 TCN, c = 1, N ∈ {4, 16} (luật ô, đối thủ TCN). S4-H2: 2 ô (`better`). S8-H2: 4 ô (`better`, BK2 so với PM2). Kiểm tra trước: kết quả luật tính lại trên dữ liệu thật phải khớp `verdict_final.json`/`verdict.json` cho mọi ô (nếu không khớp, dừng và ghi lại).
|
||||
|
||||
**Cách đọc.** Mô tả: p_null là xác suất hoán vị có điều kiện trên độ lớn quan sát, đóng vai trò p-value của luật. Báo cả hai sơ đồ; (a) là sơ đồ thận trọng. Không đổi verdict nào; bài báo cáo p_null cạnh mỗi verdict trong Phụ lục C.
|
||||
|
||||
## B3. Độ lệch giữa warp SMC mean và correlation tie, không dùng truth (góp ý nhỏ 18)
|
||||
|
||||
**Câu hỏi.** Một chẩn đoán không cần truth (độ lệch giữa warp trung bình SMC và warp của correlation tie) có phân biệt được các ô misspecification (nhất là pha wavelet, nơi S2-H1 thất bại) với ô danh nghĩa không, và có đi cùng sai số thật của SMC mean không?
|
||||
|
||||
**Dữ liệu.** R10 và Rm5 × {danh nghĩa (hạt P2r), rp_L1, rp_L2, wv_L1, wv_L2, wv_Q, dr_L1, dr_L2}, c = 1, N ∈ {4, 16}, realization 8–15, giếng train. Dựng lại `obs` bằng `Inputs.realization(rid, preset)` và `Inputs.observe`. Warp SMC mean: `warp_mean` của toàn bộ hạt g_acf (như nhãn `B3d-Sa`). Correlation tie: `tie_b3c` từ B3b với wavelet thống kê pha `phase0` (B3c) và pha `phase_R` (B3c-R), pha đọc từ `*_phase.json`. Kiểm tra trước: sai số warp tính lại của B3d-Sa và B3c-R phải khớp cột trong `*_diag.csv` (S2) và cột `warp_rmse_ms` của B3c trong CSV posterior (sai lệch ≤ 10⁻⁶ ms); nếu không khớp, dừng và ghi lại.
|
||||
|
||||
**Thống kê.** Theo giếng: D = RMS trên t_main của τ_SMC(t) − τ_B3c(t) (dùng `warp_errors` với warp B3c ở vị trí truth); D_R tương tự với B3c-R; E_pm, E_c = sai số warp của SMC mean và B3c so với truth. Theo setting: trung bình D (giếng rồi realization); tỉ số trung bình D của setting / danh nghĩa, ghép theo realization, CI bootstrap 2000 lần trên realization (`default_rng(2)`); Spearman theo giếng (gộp trong setting) giữa D và E_pm, và giữa D và E_pm − E_c.
|
||||
|
||||
**Cách đọc (mô tả).** "Chẩn đoán phân biệt được setting" nếu CI tỉ số loại 1. "Chẩn đoán đi cùng sai số" nếu Spearman(D, E_pm) > 0 với p < 0,05 (không hiệu chỉnh bội, ghi rõ). Không đặt ngưỡng cờ và không claim một quy tắc dùng được trên field.
|
||||
|
||||
## Báo cáo
|
||||
|
||||
`docs/research/referee-r4-results.md` (tiếng Việt): mọi bảng, kể cả kết quả âm, kiểm tra trước, lệnh và thời gian chạy.
|
||||
1
docs/research/referee-r4-analyses.sha256
Normal file
1
docs/research/referee-r4-analyses.sha256
Normal file
@@ -0,0 +1 @@
|
||||
963324c1584d3997052a5187eae200fab785ce537f6dc3118b01a9bc421a9239 docs/research/referee-r4-analyses.md
|
||||
64
docs/research/referee-r4-results.md
Normal file
64
docs/research/referee-r4-results.md
Normal file
@@ -0,0 +1,64 @@
|
||||
# Ba phân tích exploratory theo referee R4: kết quả
|
||||
|
||||
Ngày: **10/11/2026**. Khai báo: `docs/research/referee-r4-analyses.md` (SHA-256 `963324c1…`, băm 08:39:02 UTC, trước mọi tính toán; script kiểm hash ở mỗi lần chạy). Script: `scripts/42_referee_r4.py` (ngoài mọi lock và archive tái lập). Đầu ra: `outputs/referee_r4/` (`b1_transfer.csv`, `b2_null.csv`, `b2_null.json`, `b3_wells.csv`, `b3_summary.csv`, `meta.json`). Lượt chạy (`logs/runs/`): `20261110-084208_referee_r4_b2` (13 s), `20261110-084224_referee_r4_b1` (2 phút 3 s), `20261110-084440_referee_r4_b3` (1 phút 36 s, 12 worker CPU). Lượt B2 đầu (`20261110-084123`) tính xác suất chung của H2b(a) với điều kiện "cả 8 ô" thay vì "≥ 2/3 ô" như luật đã khóa; đã sửa và chạy lại, chỉ số đó thay đổi (bảng dưới là lượt sửa).
|
||||
|
||||
**Mô tả, không phải verdict.** Không verdict, ngưỡng, protocol hay số đã đăng ký nào đổi.
|
||||
|
||||
## Kiểm tra trước
|
||||
|
||||
- B2: luật tính lại trên dữ liệu thật pass ở mọi ô và khớp tỉ số đã công bố (ví dụ H2a R10 0,857/0,782; S1-H1 0,853/0,796; drift 0,862/0,798).
|
||||
- B3: sai số warp tính lại của SMC mean, B3c-R và B3c khớp các file đã lưu tới 1,8·10⁻¹⁵ ms.
|
||||
|
||||
## B1. Hàm truyền của mạng SMC mean so với Oracle (sharpening)
|
||||
|
||||
Tần số dùng được: 6,8 Hz đến 25–38 Hz tuỳ ô. Ô chính: S1, cùng ngân sách 500 vòng, c = 1 (N = 8) và c = 1,5 (N = 16), năm setting.
|
||||
|
||||
| Setting, c | σ_post (ms) | r SMC mean [CI 95%] | đọc | r_Bk dự đoán | r SMC bank [CI] |
|
||||
|---|---|---|---|---|---|
|
||||
| 10 dB, 1 | 0,64 | 0,990 [0,978; 1,000] | not detected | 1,003 | 1,001 [0,985; 1,015] |
|
||||
| 10 dB, 1,5 | 0,82 | 0,993 [0,973; 1,011] | not detected | 1,004 | 0,984 [0,970; 0,998] |
|
||||
| 0 dB, 1 | 1,68 | 0,981 [0,954; 1,009] | not detected | 1,026 | 1,003 [0,979; 1,029] |
|
||||
| 0 dB, 1,5 | 2,11 | 0,967 [0,948; 0,989] | **blur** | 1,039 | 1,016 [1,000; 1,033] |
|
||||
| −5 dB, 1 | 2,73 | 0,934 [0,859; 0,997] | **blur** | 1,070 | 0,973 [0,931; 1,007] |
|
||||
| −5 dB, 1,5 | 3,31 | 0,903 [0,850; 0,958] | **blur** | 1,121 | 0,984 [0,948; 1,018] |
|
||||
| half-anchor, 1 | 2,03 | 0,965 [0,924; 1,014] | not detected | 1,038 | 0,976 [0,957; 0,999] |
|
||||
| half-anchor, 1,5 | 2,78 | 0,948 [0,931; 0,974] | **blur** | 1,069 | 1,006 [0,987; 1,028] |
|
||||
| two-anchor, 1 | 2,13 | 0,795 [0,649; 0,911] | **blur** | 1,032 | 0,884 [0,771; 0,958] |
|
||||
| two-anchor, 1,5 | 5,80 | 0,652 [0,527; 0,782] | **blur** | 1,214 | 0,875 [0,790; 0,935] |
|
||||
|
||||
- **SMC mean: sharpening ở 0/10 ô, blur ở 6/10, not detected ở 4/10.** Phép kiểm có lực (độ lệch dự đoán lớn hơn nửa độ rộng CI) ở 5 ô, và cả 5 cho blur. Cùng ô ở 250 vòng: không ô nào sharpening (blur 3, not detected 7), nên ngân sách không giải thích kết quả.
|
||||
- SMC bank: gần 1 (0,973–1,016) ở các setting đủ anchor và half-anchor, blur ở two-anchor (0,88). Một ô "sharpening" (0 dB, c = 1,5: cận dưới 1,0002) nằm sát biên.
|
||||
- Ô P2r ở ngân sách đăng ký (mô tả; SMC mean 250 vòng so với Oracle 500): ở c = 1, SMC mean 0,90–1,02 (blur ở −5 dB N = 4 và two-anchor, còn lại not detected); point tie tốt nhất 0,72–0,96, blur ở cả 10 ô.
|
||||
- **Đọc:** không quan sát được sharpening ở đâu. Ở các tần số đo được (≤ 25–38 Hz), mạng SMC mean bị blur so với Oracle ở những ô mà phép kiểm có lực, ít hơn point tie nhưng cùng chiều. Điều này phù hợp với việc SMC mean kém Oracle nhiều hơn khi posterior rộng (Sec. 6.5), và trái với dạng Berkson Gauss của Mệnh đề tie(b). Cấu trúc Berkson mà T2 (iv) thấy chỉ áp dụng cho offset khối ở c = 1; phần drift phụ thuộc thời gian và mạng hữu hạn có thể chiếm ưu thế. Không phân biệt được các giải thích này.
|
||||
|
||||
## B2. Xác suất pass dưới null hoán vị
|
||||
|
||||
(a) hoán đổi theo realization (đủ 256 cách); (b) theo đơn vị (realization, seed), 20.000 lần.
|
||||
|
||||
| Verdict | luật | số ô | p ô (a) | p ô (b) | p chung (a) | p chung (b) | CI ô loại 1 |
|
||||
|---|---|---|---|---|---|---|---|
|
||||
| H2a 10 dB | ô (biên) | 2 | 0,031; 0,102 | ≤ 0,0003 | 0,016 | < 5·10⁻⁵ | 2/2 |
|
||||
| H2a 0 dB | ô | 2 | 0,063; 0,004 | ≤ 0,0001 | 0,004 | < 5·10⁻⁵ | 2/2 |
|
||||
| H2a −5 dB | ô | 2 | 0,094; 0,039 | ≤ 0,0002 | 0,035 | < 5·10⁻⁵ | 2/2 |
|
||||
| S1-H1 | ô | 2 | 0,051; 0,094 | ≤ 0,0001 | 0,027 | < 5·10⁻⁵ | 2/2 |
|
||||
| S2-H1 drift | ô | 2 | 0,027; 0,078 | ≤ 0,0003 | 0,016 | < 5·10⁻⁵ | 2/2 |
|
||||
| S4-H1 | ô | 2 | 0,059; 0,043 | ≤ 0,0001 | 0,027 | < 5·10⁻⁵ | 2/2 |
|
||||
| H2b (a) | better, ≥ 6/8 | 8 | 0,17–0,36 | 0,14–0,15 | 0,219 | 0,0004 | 8/8 |
|
||||
| S4-H2 | better | 2 | 0,23; 0,25 | 0,16; 0,15 | 0,160 | 0,022 | 2/2 |
|
||||
| S8-H2 | better | 4 | 0,363 (mỗi ô) | 0,15 | 0,363 | 0,0006 | 4/4 |
|
||||
|
||||
- Luật `better` chỉ đếm dấu. Với 8 realization, dưới null theo realization nó pass với xác suất tới 93/256 = 0,363 mỗi ô, bất kể hiệu ứng lớn đến đâu (S8-H2 có tỉ số 0,28–0,71 mà p vẫn là 0,363). Dưới null theo đơn vị thì xác suất là 0,14–0,16, khớp ước lượng 0,1–0,2 của referee. Bằng chứng của các verdict `better` vì vậy nằm ở CI bootstrap: CI loại 1 ở cả 14 ô.
|
||||
- Luật ô có biên (ratio ≤ 0,90 hoặc ΔPCC ≥ +0,05) chặt hơn nhiều: p ô 0,004–0,10 theo realization, p chung của verdict 0,004–0,035.
|
||||
- Ghi chú: p chung của H2a chỉ tính phần ô ở c = 1, không tính điều kiện guard ở c = 0. Không hiệu chỉnh bội.
|
||||
|
||||
## B3. Độ lệch warp SMC mean và correlation tie (không dùng truth)
|
||||
|
||||
- D (RMS giữa τ của SMC mean và của B3c) ≈ sai số của chính B3c: ở 10 dB, N = 16, danh nghĩa, D = 3,88 ms so với E_c = 3,89 ms, trong khi E_pm = 0,63 ms. Spearman theo giếng giữa D và E_pm từ −0,03 đến 0,22 ở N = 16 (đáng kể chỉ ở wv_L2 10 dB và wv_Q −5 dB); giữa D và E_pm − E_c từ −0,56 đến −0,95 (D đo sai số của point tie).
|
||||
- Tỉ số D so với danh nghĩa (10 dB, N = 16): **wv_L1 0,999 [0,899; 1,107]** (ô mà S2-H1 thất bại, E_pm tăng từ 0,63 lên 2,26 ms), wv_L2 1,25 [1,06; 1,46], rp_L1 1,14 [1,04; 1,27], rp_L2 1,25 [1,11; 1,42], wv_Q 0,85 [0,79; 0,92], dr_L1/L2 ≈ 1. Ở −5 dB mọi tỉ số trong 0,93–1,03.
|
||||
- **Đọc:** chẩn đoán này không cảnh báo được lỗi pha wavelet ở mức L1. Nó đi theo sai số của correlation tie, không theo sai số của posterior.
|
||||
|
||||
## Hệ quả cho bài (theo khai báo §0)
|
||||
|
||||
- Abstract và highlight: "sharpens" → "is predicted to sharpen"; Sec. 5.3 và bảng `tab:theory` nêu dự đoán chỉ đúng khi sai số có cấu trúc Berkson chính xác; Sec. 6.4 và Phụ lục C báo B1 ("no sharpening was detected; where the test had power, the network trained on posterior-mean labels was blurred relative to the Oracle").
|
||||
- Sec. 6 và Phụ lục C: bảng B2; bỏ câu đếm "nine of the eleven"; nói rõ luật `better` chỉ đếm dấu và bằng chứng nằm ở CI.
|
||||
- Sec. 6.5 (S2): câu "we did not test" về chẩn đoán không dùng truth được thay bằng kết quả B3.
|
||||
40
docs/research/referee-r5-ci-results.md
Normal file
40
docs/research/referee-r5-ci-results.md
Normal file
@@ -0,0 +1,40 @@
|
||||
# Khoảng tin cậy cho ít cụm và đối chiếu anchor mean: kết quả
|
||||
|
||||
Ngày **10/11/2026**. Khai báo `docs/research/referee-r5-ci.md` (SHA-256 `accc1c52…`, băm 09:36:39 UTC trước khi tính). Script `scripts/43_referee_r5_ci.py` → `outputs/referee_r5/` (`c1_intervals.csv`, `c2_zero_drift_vs_oracle.csv`, `meta.json`). Lượt chạy `20261110-093717_referee_r5_ci` (10 s; lượt đầu `093701` lỗi cú pháp thống kê tóm tắt, sửa script rồi chạy lại, không đổi phương pháp). Mô tả, không phải verdict.
|
||||
|
||||
**Kiểm tra trước:** khoảng percentile tái hiện khoảng đã công bố của H2b ở cả 8 ô rộng, lệch tối đa 0,0017.
|
||||
|
||||
## C1. Ba loại khoảng cho 38 tỉ số (H2a 6 ô, H2b 8, S1-H1 2, S2-H1 drift 2, S2-H2 14, cùng 6 ô so với anchor mean)
|
||||
|
||||
- **BCa:** không đổi kết luận nào so với percentile (0/38 so với 1 và so với ngưỡng); cận trên cao hơn tối đa 0,017 (H2a 10 dB N = 4: 0,919 → 0,935).
|
||||
- **t-interval trên log tỉ số (7 bậc tự do):** rộng hơn (cận trên tới +0,017), đổi 3/38 kết luận so với 1, cả ba là ô sát biên: H2b ở −5 dB c = 1 (cận trên 0,995 → 1,001), S2-H2 −5 dB rock physics mild (0,999 → 1,001) và attenuation (0,997 → 1,001); các khoảng này chuyển từ "dưới 1" sang "chứa 1". Không có kết luận nào so với ngưỡng đổi.
|
||||
- **Ngưỡng 0,90 của luật có biên (H2a, S1-H1, S2-H1 drift):** khoảng nằm hoàn toàn dưới 0,90 chỉ ở R10 N = 16 (cận trên 0,816–0,823), S1-H1 N = 16 (0,826–0,836) và drift N = 16 (0,828–0,834) ở cả ba cách tính; các ô còn lại chứa 0,90 ở cả ba cách (ví dụ R10 N = 4: [0,805; 0,919], [0,811; 0,935], [0,784; 0,935]). Điều này đúng cả với khoảng đã công bố: luật ô không đòi khoảng tin cậy dưới 0,90, mà đếm seed và realization.
|
||||
- **S2-H2 (ngưỡng 1,02):** ô wv_L1 và wv_Q ở 10 dB (tỉ số 1,019) có khoảng chứa 1,02 ở cả ba cách (percentile [1,005; 1,034] và [1,007; 1,030]; t [1,000; 1,038] và [1,007; 1,034]); lần pass ở ngưỡng này là biên.
|
||||
|
||||
**Kết luận:** với 8 realization, ba cách tính cho cùng bức tranh; khoảng t rộng hơn nhưng không đảo kết luận chính (H2a, S1-H1, S2-H1 drift đều có khoảng dưới 1 ở mọi cách). Ba ô đổi đều là ô biên (cận trên sát 1).
|
||||
|
||||
## C2. Đối chiếu với anchor mean (B3d-Sa / B3d, c = 1)
|
||||
|
||||
| Setting | N = 4 | N = 16 |
|
||||
|---|---|---|
|
||||
| 10 dB | 0,806 [0,760; 0,852] | 0,674 [0,640; 0,711] |
|
||||
| 0 dB | 0,925 [0,910; 0,941] | 0,887 [0,859; 0,913] |
|
||||
| −5 dB | 0,980 [0,969; 0,990] | 0,965 [0,951; 0,978] |
|
||||
|
||||
Khoảng BCa và t cùng loại 1. Vậy so với anchor mean, SMC mean tốt hơn ở mọi ô theo khoảng tin cậy, nhưng chỉ vượt biên 0,90 ở 10 dB (và 0 dB N = 16); ở −5 dB lợi ích là 2–3,5%.
|
||||
|
||||
**Tỉ số band RMSE trên Oracle ở c = 0 (không drift):**
|
||||
|
||||
| Setting, N | calibrated sonic | correlation | phase-est. corr. | anchor mean | SMC mean |
|
||||
|---|---|---|---|---|---|
|
||||
| 10 dB, 4 | 1,565 | 1,205 | 1,190 | 1,049 | 0,985 |
|
||||
| 10 dB, 16 | 1,816 | 1,296 | 1,293 | 1,076 | 1,016 |
|
||||
| 0 dB, 4 | 1,291 | 1,186 | 1,172 | 1,039 | 0,993 |
|
||||
| 0 dB, 16 | 1,390 | 1,239 | 1,207 | 1,058 | 1,032 |
|
||||
| −5 dB, 4 | 1,146 | 1,154 | 1,148 | 1,029 | 1,006 |
|
||||
| −5 dB, 16 | 1,198 | 1,175 | 1,156 | 1,027 | 1,014 |
|
||||
|
||||
Không drift, các tie tất định tốt nhất vẫn cao hơn Oracle 15–29% (calibrated sonic tới 82%), anchor mean 3–8%. Phần lớn lợi ích 8–22% của SMC mean so với tie tất định là phần sai số mà một ước lượng anchor làm trơn cũng loại được (đúng như referee R5 M1).
|
||||
|
||||
## Hệ quả cho bài
|
||||
Báo trong Sec. 6.3 (lợi ích so với anchor mean với CI, mọi setting), Phụ lục C (BCa, t-interval, số kết luận đổi, bảng c = 0 so với Oracle) và abstract/kết luận (headline so với anchor mean cạnh 8–22%).
|
||||
24
docs/research/referee-r5-ci.md
Normal file
24
docs/research/referee-r5-ci.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# Khoảng tin cậy cho ít cụm (referee R5, M6) và đối chiếu với anchor mean (M1): khai báo trước khi tính
|
||||
|
||||
Ngày: **10/11/2026**. Nguồn: `docs/research/referee-reports/R5_opus_round1.md` (M1, M6). Script: `scripts/43_referee_r5_ci.py` (ngoài mọi lock và archive tái lập, chỉ đọc `runs.csv` và CSV ô đã lưu, không train). Đầu ra: `outputs/referee_r5/`. File này được băm SHA-256 (`referee-r5-ci.sha256`) trước lần chạy đầu; script kiểm hash.
|
||||
|
||||
**Exploratory, post hoc.** Không đổi verdict, ngưỡng, protocol hay số đã đăng ký. Kết quả âm hoặc null được báo như kết quả dương.
|
||||
|
||||
## C1. Khoảng tin cậy thay thế cho tỉ số chính
|
||||
|
||||
Với mỗi ô và cặp (ứng viên a, đối chứng b): r_i = trung bình band RMSE của a theo seed trong realization i, chia cho của b (8 realization). Ba khoảng 95% cho tỉ số của các trung bình (= tỉ số đã công bố):
|
||||
1. **percentile bootstrap** (2000 lần, `default_rng(0)`; tái hiện khoảng đã công bố, kiểm tra trước: lệch ≤ 0,01 so với bảng đã có);
|
||||
2. **BCa** (`scipy.stats.bootstrap`, `method="BCa"`, 9999 lần, `random_state=0`) trên thống kê tỉ số của hai trung bình;
|
||||
3. **t-interval trên log r_i** (7 bậc tự do): exp(mean(log r_i) ± t_{0,975;7}·sd/√8). Đây là tỉ số trung bình hình học, khác nhẹ tỉ số của trung bình; báo cả hai giá trị điểm.
|
||||
|
||||
Ô: P2r H2a (R10, R0, Rm5; c = 1; N ∈ {4, 16}; B3d-Sa so với point tie tốt nhất của ô), P2r H2b (a) (8 ô rộng, N = 16; M2-Sa so với B3d-Sa), S1-H1 (R10, c = 1,5), S2-H1 drift (R10 dr_L1, c = 1), S2-H2 (14 cặp preset × regime, tỉ số M2-Sa/B3d-Sa trung bình theo N: dùng cả hai N gộp, so với 1,02).
|
||||
|
||||
**Cách đọc (cố định trước):** một kết luận "đổi" nếu một khoảng loại 1 (hoặc ngưỡng: 0,90 cho luật có biên về tỉ số, 1,02 cho S2-H2) mà một khoảng khác không loại, hoặc ngược lại. Báo số kết luận đổi giữa percentile và mỗi khoảng còn lại, và bảng tỉ số theo từng realization cho các ô H2a và H2b (cho hình/bảng bổ sung).
|
||||
|
||||
## C2. Đối chiếu với anchor mean (M1)
|
||||
|
||||
Tỉ số band RMSE của B3d-Sa so với B3d (anchor mean, trung bình posterior chỉ dùng anchor) ở c = 1, mọi regime P2r, N ∈ {4, 16}, cùng ba khoảng như C1; thêm tỉ số của cả hai với Oracle ở c = 0 (B3b, B3c, B3c-R, B3d, B3d-Sa chia Oracle). Mô tả; không có ngưỡng gộp.
|
||||
|
||||
## Báo cáo
|
||||
|
||||
`docs/research/referee-r5-ci-results.md` (tiếng Việt): mọi bảng, kể cả kết quả âm, kiểm tra trước, lệnh và thời gian chạy.
|
||||
1
docs/research/referee-r5-ci.sha256
Normal file
1
docs/research/referee-r5-ci.sha256
Normal file
@@ -0,0 +1 @@
|
||||
accc1c5230c651958f2829fe745081133a81491f44b465cffa5d5fae5239c374 docs/research/referee-r5-ci.md
|
||||
35
docs/research/referee-r5-followups-results.md
Normal file
35
docs/research/referee-r5-followups-results.md
Normal file
@@ -0,0 +1,35 @@
|
||||
# Kiểm độc lập Berkson và kiểm định cặp cho số giếng: kết quả
|
||||
|
||||
Ngày **10/11/2026**. Khai báo `docs/research/referee-r5-followups.md` (SHA-256 `d631cfad…`, băm 09:48:11 UTC trước khi tính). Script `scripts/45_referee_r5_followups.py` → `outputs/referee_r5/` (`f1_wells.csv`, `f1_summary.csv`, `f2_power.csv`, `f2_nstar.csv`, `meta_followups.json`). Lượt chạy `20261110-094831_referee_r5_followups` (16 phút, CPU, 8 worker cho F1). Exploratory; không đổi verdict.
|
||||
|
||||
## F1. Kiểm độc lập có lực (N = 16, 128 giếng mỗi ô)
|
||||
|
||||
| Setting, c | Spearman(\|e\|, σ_post) [95%] | Spearman(\|e\|, \|â\|) [95%] | CV của σ_post | độ phủ 90% |
|
||||
|---|---|---|---|---|
|
||||
| 0 dB, 1 | 0,31 [0,20; 0,44] | 0,01 [−0,17; 0,23] | 0,66 | 0,88 |
|
||||
| 0 dB, 2 | 0,46 [0,29; 0,58] | 0,05 | 0,46 | 0,91 |
|
||||
| half-anchor, 1 | 0,44 [0,28; 0,57] | 0,06 | 0,65 | 0,86 |
|
||||
| half-anchor, 2 | 0,56 [0,34; 0,74] | 0,02 | 0,39 | 0,89 |
|
||||
| 10 dB, 1 | 0,04 [−0,10; 0,21] | −0,00 | 0,82 | 0,93 |
|
||||
| 10 dB, 2 | 0,18 [−0,01; 0,36] | 0,09 | 0,69 | 0,97 |
|
||||
| two-anchor, 1 | 0,73 [0,65; 0,78] | −0,03 | 1,72 | 0,58 |
|
||||
| two-anchor, 2 | 0,59 [0,46; 0,69] | 0,02 | 0,74 | 0,63 |
|
||||
| −5 dB, 1 | 0,39 [0,17; 0,55] | 0,08 | 0,45 | 0,84 |
|
||||
| −5 dB, 2 | 0,27 [0,17; 0,36] | 0,01 | 0,25 | 0,89 |
|
||||
|
||||
- **Độc lập bị bác ở 10/10 ô theo luật đã khai báo** (CV của σ_post > 0,25 ở 9 ô, trừ −5 dB c = 2 với 0,248; khoảng của ρ(|e|, σ_post) loại 0 từ trên ở 8 ô, trừ 10 dB c = 1 và c = 2; mỗi ô thỏa ít nhất một điều kiện). σ_post thay đổi giữa giếng từ 0,25 đến 1,72 lần giá trị trung bình, và sai số lớn đi cùng posterior rộng. Sai số của tie trung bình posterior vì vậy không độc lập với dữ liệu giếng, điều kiện của Mệnh đề tie(b); điều này phù hợp với việc không thấy sharpening.
|
||||
- Độ phủ 90% của a_true bởi khoảng hạt: 0,84–0,97 trừ hai-anchor (0,58 và 0,63; posterior quá tự tin).
|
||||
- Tương quan giữa |e| và |â| gần 0 ở mọi ô (khoảng chứa 0): không có phụ thuộc cấp một vào chính giá trị ước lượng.
|
||||
|
||||
## F2. n* cho kiểm định dấu, Wilcoxon và t cặp (mô phỏng lấy lại theo cụm; α = 0,05, công suất 0,8)
|
||||
|
||||
| Cell | σ_ref (ms) | dấu | Wilcoxon | t cặp | dấu (beta-binomial, đã công bố) |
|
||||
|---|---|---|---|---|---|
|
||||
| 10 dB, N = 16 | 0 / 0,5 / 1 / 1,5 / 2 | 8 / 8 / 16 / 24 / – | 6 / 6 / 10 / 16 / 24 | 4 / 6 / 8 / 12 / 20 | 5 / 5 / 11 / 23 / – |
|
||||
| 0 dB, N = 16 | 0 / 1 / 2 / 3 | 8 / 16 / 30 / – | 6 / 8 / 20 / – | 4 / 8 / 16 / – | 5 / 13 / 37 / – |
|
||||
| −5 dB, N = 16 | 0 / 1 / 2 / 3 | 16 / 24 / – / – | 8 / 16 / 30 / – | 8 / 12 / 24 / – | 11 / 30 / – / – |
|
||||
| 10 dB, N = 4 | 0 / 1 / 1,5 | 30 / 40 / – | 8 / 24 / 40 | 6 / 24 / 40 | – |
|
||||
|
||||
- Kiểm định dùng độ lớn (Wilcoxon, t cặp) cần ít hơn kiểm định dấu cùng cách mô phỏng khoảng 25–50% số giếng, và t cặp thường ≤ Wilcoxon. Ở σ_ref ≥ 3 ms không cell nào N = 16 đạt công suất 0,8 với 40 giếng, giống kiểm định dấu; chỉ 0 dB N = 4 đạt ở 30 giếng. Kết luận "cần tham chiếu cỡ 1–2 ms và hàng chục giếng" không đổi.
|
||||
- Số của kiểm định dấu theo mô phỏng cao hơn số beta-binomial đã công bố ở một số ô (ví dụ 10 dB N = 16, σ_ref = 0: 8 so với 5): hai phương pháp mô hình hoá tương quan trong realization khác nhau, và mô phỏng lấy lại từ cùng 8 cụm nên không có khoảng bất định riêng.
|
||||
- Số giếng của bảng `tab:t3` (kiểm định dấu, beta-binomial) giữ nguyên; bài báo thêm bảng mô phỏng ở Phụ lục C và nói rõ hướng thay đổi.
|
||||
22
docs/research/referee-r5-followups.md
Normal file
22
docs/research/referee-r5-followups.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# Kiểm độc lập cho Berkson và kiểm định cặp cho số giếng (referee R5 M2, M4): khai báo trước khi tính
|
||||
|
||||
Ngày: **10/11/2026**. Exploratory, post hoc. Không đổi verdict, ngưỡng hay protocol. Script: `scripts/45_referee_r5_followups.py` (ngoài mọi lock và archive tái lập; chỉ đọc dữ liệu đã lưu, không train). Đầu ra: `outputs/referee_r5/`. File này được băm SHA-256 (`referee-r5-followups.sha256`) trước lần chạy đầu; script kiểm hash.
|
||||
|
||||
## F1. Kiểm độc lập có lực cho cấu trúc Berkson (M2)
|
||||
|
||||
Mệnh đề tie(b) cần sai số của tie ε độc lập với dữ liệu D tại giếng. Hiệp phương sai Cov(b* − b̂, b̂) = 0 đúng với mọi conditional mean nên không kiểm được điều này. Kiểm tra có lực: với một posterior đúng, độ lệch chuẩn posterior σ_post(D) thay đổi theo giếng, nên |e| tương quan với σ_post khi độc lập thất bại.
|
||||
|
||||
Đại lượng theo giếng train: offset trung bình cửa sổ a (ms) như `window_offsets` của `scripts/32_t2_mechanism.py` (nút K trong cửa sổ chấm điểm); e = a_true − a của B3d-Sa (SMC mean); σ_post = độ lệch chuẩn của a qua 1024 hạt; |â| = |a của SMC mean − 0|.
|
||||
Ô: 5 regime × c ∈ {1, 2} × N = 16 (16 giếng train × 8 realization = 128 giếng mỗi ô).
|
||||
Thống kê mỗi ô: (i) Spearman(|e|, σ_post); (ii) Spearman(|e|, |â|); (iii) hệ số biến thiên của σ_post giữa giếng; (iv) độ phủ 90% của a_true bởi khoảng hạt (5–95%). Khoảng 95% của (i), (ii) bằng bootstrap theo realization (2000 lần, `default_rng(0)`, tái chọn realization, tính lại Spearman gộp).
|
||||
|
||||
**Cách đọc cố định trước:** "độc lập bị bác" ở một ô nếu khoảng của (i) loại 0 từ trên (ρ > 0) *hoặc* (iii) > 0,25 (σ_post thay đổi đáng kể giữa giếng, nên σ_post(D) phụ thuộc D). Báo số ô theo từng loại. Không verdict.
|
||||
|
||||
## F2. Wilcoxon và t cặp cho số giếng mù cần thiết (M4)
|
||||
|
||||
Dùng `outputs/t3/indicators.csv.gz` (tỉ số band RMSE của SMC bank so với tie tất định tốt nhất cho từng giếng test, từng độ lệch tham chiếu σ_ref ∈ {0, 0,5, 1, 1,5, 2, 3, 4, 8} ms, 64 lần rút tham chiếu; ô R10/R0/Rm5 × N ∈ {4, 16}, c = 1). Với n giếng mù: chọn ⌈n/8⌉ realization ngẫu nhiên có hoàn lại (mỗi realization có 8 giếng test) và lấy 8 giếng của mỗi realization (cắt còn n), mỗi giếng một lần rút tham chiếu ngẫu nhiên; thống kê là log tỉ số theo giếng. Ba kiểm định một phía, α = 0,05, giả thiết "SMC bank tốt hơn": dấu (binomial), Wilcoxon signed-rank (`scipy.stats.wilcoxon`, `alternative="less"` trên log tỉ số), t cặp (`ttest_1samp`, `alternative="less"`). n ∈ {4, 6, 8, 10, 12, 16, 20, 24, 30, 40}, 1000 mô phỏng mỗi (ô, σ_ref, n), `default_rng(1)`. Công suất = tỉ lệ p < 0,05; n* = n nhỏ nhất đạt 0,8 (hoặc "–" nếu không đạt ở 40). Đối chiếu: n* của kiểm định dấu bằng cùng cách mô phỏng với n* beta-binomial đã công bố.
|
||||
|
||||
**Giới hạn đã biết:** chỉ có 8 realization (cụm), nên mô phỏng lấy lại từ cùng 64 giếng; công suất ở n lớn là ước lượng từ cùng một mẫu và không có khoảng bất định riêng. Mô phỏng không thay thế phân tích beta-binomial; nó kiểm xem kết luận về số giếng có đổi khi dùng kiểm định dùng độ lớn hay không.
|
||||
|
||||
## Báo cáo
|
||||
`docs/research/referee-r5-followups-results.md` (tiếng Việt). Hệ quả cho bài (cố định trước): Sec. 6.4 (F1) và Sec. 6.6 / Bảng `tab:t3` (F2) báo kết quả; kết luận về số giếng được nêu theo kiểm định.
|
||||
1
docs/research/referee-r5-followups.sha256
Normal file
1
docs/research/referee-r5-followups.sha256
Normal file
@@ -0,0 +1 @@
|
||||
d631cfad0fd378be05d50314e9279cf80ed8accfc20ae61999a84f33dd4ba4bc docs/research/referee-r5-followups.md
|
||||
251
docs/research/referee-reports/R5_opus_round1.md
Normal file
251
docs/research/referee-reports/R5_opus_round1.md
Normal file
@@ -0,0 +1,251 @@
|
||||
# Referee report R5 (round 1)
|
||||
|
||||
**Manuscript:** *Uncertain well ties in learned seismic property prediction: theory, a benchmark with known timing, and requirements for blind-well tests*
|
||||
**Journal:** Computers & Geosciences
|
||||
**Material read:** `paper/main.tex` and all included sections (00–08, A, B, C) in order, `paper/highlights.txt`, `paper/refs.bib` (as cited), the seven figures referenced in the text (rendered with Ghostscript), `benchmark/README.md`, `repro/README.md`.
|
||||
**Web searches used (3):**
|
||||
1. "well tie time-depth uncertainty propagated into machine learning porosity prediction training labels". No prior work found that feeds tie uncertainty into training. This supports the novelty statement.
|
||||
2. "core-to-log depth matching misalignment training labels machine learning petrophysics dynamic time warping". This found a close petrophysical analogue that the paper does not discuss (depth-shifting core to log before training ML models; Ezenkwu et al., *Petrophysics* 2023; RDDTW, *Petrophysics* 2024; a 2019 AAPG ACE abstract on DTW depth-shifting for ML training sets).
|
||||
3. "learning from misaligned labels registration noise segmentation OpenStreetMap…". This found Fobi et al. (ACM COMPASS 2020, arXiv:2005.13180) and MapRepair (arXiv:2007.12470), later work in the line of Mnih & Hinton (2012).
|
||||
|
||||
---
|
||||
|
||||
## 1. Summary
|
||||
|
||||
The paper studies what happens when the training labels of a seismic-to-porosity network are placed in two-way time by an uncertain well tie. It frames tie error as an error in the *time index* of the label. It derives (Sec. 5, App. A) the following results:
|
||||
- A timing error independent of the data convolves the MSE-optimal predictor with the error density (Prop. 1).
|
||||
- Without anchors, absolute timing is not identified for shift-equivariant networks (Prop. 2).
|
||||
- Classical and Berkson structures of the tie error predict blur and sharpening respectively (Prop. 3).
|
||||
- A calibrated bank of posterior labels has the oracle's population optimum, but its population gain over a single tie is of fourth order in the tie error (Prop. 4, Eq. 9).
|
||||
- A two-mode error reverses the sign of part of the band (Cor. 3).
|
||||
- A misregistered blind-well reference biases method comparisons. To leading order, the reference error must satisfy σ_ref < σ/√2 (Prop. 6, Cor. 4).
|
||||
|
||||
A unifying tempered loss (RML_λ) is used to put point-tie training, shift-tolerant losses, soft-DTW and posterior banks on one footing. Experiments use a synthetic generator built from F3 statistics. Experiment 1 (anchor-posterior banks) failed. Experiment 2 was redesigned after that failure and uses an SMC tie posterior. It reports that labels at the SMC posterior-mean warp reduce seismic-band RMSE by 8–22% against the best deterministic tie, and that training on a 64-particle bank adds 2–11% when the posterior is wide. Experiment 3 maps where these results stop: drift × well count, three misspecification axes, anchor-free losses, a second backbone, and a two-mode error. A detectability analysis rescores saved predictions against perturbed references and estimates how many blind wells are needed. Two field tests, F3 and Volve, both failed their pass rules. The authors argue that neither could have detected the effect. A Teapot Dome inventory was stopped because no adequate reference existed. The benchmark (630 tasks, truth public, 45,200 reference runs, scorer) and a reproduction package are announced.
|
||||
|
||||
## 2. Contributions as I perceive them
|
||||
|
||||
### C1. Theory of tie error in training labels
|
||||
|
||||
(a) *Novelty.* Moderate. The ingredients are classical: errors-in-variables (Carroll et al.), Berkson vs classical error, sampling jitter (Balakrishnan 1962), and the degradation of synthetic–seismic coherence by misties in the well-tie literature (White 1980; Walden & White 1984, not cited). The proofs are short and elementary. The value lies in transposing these ideas to the time index of a learned label and in deriving consequences specific to the problem: Berkson sharpening, the fourth-order bank gain, the two-mode band reversal, and the reference tolerance. Corollary 4 and Proposition 6 are the most practically useful results.
|
||||
|
||||
(b) *Evidence.*
|
||||
- Prop. 1 is confirmed in a controlled experiment (Table 5, Fig. 1): r = 1.009/1.009/1.007 at 4/8/16 ms. The test covers only 6.8–22.5 Hz, and A1 holds there by construction.
|
||||
- Cor. 3 is confirmed (Table 13, Fig. 5): the measured transfer of the midpoint label matches cos(πfΔ) closely.
|
||||
- Prop. 2 is supported only indirectly (anchor removal, Sec. 6.1).
|
||||
- Prop. 3 (Berkson sharpening) is *contradicted* where testable: App. C, "Analyses added after review", reports blur (geometric-mean transfer 0.65–0.99), with six of ten intervals excluding 1 from below and none from above.
|
||||
- Prop. 4 does not explain the main empirical bank gain. Measured gains exceed the classical bound in 7/8 wide cells (Table 7), and the authors call the gain "an empirical regularity … whose source is not identified".
|
||||
- Prop. 5 (coverage) is untested.
|
||||
- Prop. 6/Cor. 4 are checked approximately in an exploratory rescoring (crossings 3.6/3.8/4.3 ms against σ/√2 = 3.0/4.1/5.1 ms).
|
||||
|
||||
(c) *Claim strength vs evidence.* Mostly appropriate in the body, where Table 3 is an honest summary. However, the abstract, the highlights ("Berkson-type error should sharpen it") and the Introduction/Conclusion ("no sharpening was detected") understate a negative result. Where the test had power, the network trained on posterior-mean labels was *blurred*, which is the opposite of the prediction. See M2.
|
||||
|
||||
### C2. A controlled test of training on a tie posterior
|
||||
|
||||
(a) *Novelty.* Genuine. I am not aware of, and my search did not find, prior work that trains a seismic property predictor on samples from a tie posterior and evaluates it against the true registration. The RML_λ unification is, by the authors' own description, a device. Its lemmas are near-tautological (S = 1 gives the NLL; log-sum-exp sandwich; soft-DTW as a soft-min over paths), so I do not count it as a contribution.
|
||||
|
||||
(b) *Evidence.* Table 6 (posterior-mean claim), Table 7 (bank claim), Table 8 (σ_a arm), Fig. 3 and Fig. 4. The design is careful: methods differ only in labels, budgets come from development realizations, rules are locked before the runs, and Experiment 2 uses fresh realizations. The bank claim at N = 16 is well supported: all eight wide-cell intervals lie below 1 (Table 7), and the effect extends across the 100-cell grid (Fig. 6b).
|
||||
|
||||
(c) *Claim strength.* The posterior-mean headline (8–22%) is measured against a competitor set that is weaker than the text suggests. See M1. In Fig. 4b, the calibrated sonic, which interpolates anchors with 7 ms pick noise, sits at 1.82 times the Oracle at 10 dB *with zero drift*. The anchor-only posterior mean, the natural "smoothed" point tie with the correct σ_a, is at 1.08 there. Against the anchor mean, the advantage holds only at 10 dB (Table 6, last column). This qualifier is in the Introduction but not in the abstract or highlights. The "2–11%" bank increment is real, but most of it is reproduced by a Gaussian bank with the posterior's first two moments (Sec. 6.4; App. C). "Training on samples from the posterior" therefore overstates what was shown to matter; "label augmentation at the posterior's spread" fits the evidence better at c = 1.
|
||||
|
||||
### C3. A benchmark with known timing
|
||||
|
||||
(a) *Novelty.* Real within geoscience ML. Existing benchmarks register labels by construction (F3 facies, OpenFWI, FaultSeg3D), and none supplies sparse well labels with an uncertain tie together with the true tie.
|
||||
|
||||
(b) *Evidence.* Tables 2, 11 and 12; the README; manifests; the scorer; reference results.
|
||||
|
||||
(c) *Claim strength.* Appropriately hedged: the truth is public, so the package is "for controlled comparisons, not blind evaluation". Two limitations reduce its value as a benchmark, and the abstract and conclusion should state them.
|
||||
- The single most decisive stress found in the paper, a misspecified anchor uncertainty (Table 8), *cannot be tested*, because `analyst.json` gives the true σ_a = 7 ms in every task. See M5.
|
||||
- The nominal tasks use the registration's own rock physics, wavelet family and warp-prior family, and the training AI log is computed with the nominal rock physics. A method that has the generator's likelihood is close to an oracle posterior on most tasks.
|
||||
|
||||
### C4. Requirements for a field test
|
||||
|
||||
(a) *Novelty.* Good. The observation that reference error biases rather than merely adds variance (Prop. 6), and the √2 tolerance (Cor. 4), are useful and, to my knowledge, not stated before in this form for blind-well validation of learned predictors. The F3 well audit (Table 1: PHIE is a linear function of DT at three wells; the "check shots" are horizon-tie markers) is a valuable service to the many studies that use F3.
|
||||
|
||||
(b) *Evidence.* Table 14 (exploratory), Sec. 6.7, App. B.
|
||||
|
||||
(c) *Claim strength.* The requirements ("≈1 ms", "5–18 wells") are presented as general guidance but are conditional on several things: the effect size of the synthetic benchmark (81–97% per-well win rate), a *sign test* (the least powerful paired test), a smooth reference-error model, and ICCs estimated from 8 clusters with no uncertainty attached. See M4.
|
||||
|
||||
## 3. Coherence of the storyline
|
||||
|
||||
The four-contribution structure is now followed consistently: abstract, Introduction (contribution list and roadmap), Related Work (four-gap Position paragraph), the openings of Sec. 3/5/6, Discussion ("What held") and Conclusions. The title fits the content. One mismatch remains: Experiment 3 is labelled as serving "contribution 3", but its results (misspecification failures, extension to c = 1.5, TCN) are results about training on a tie posterior (contribution 2). Contribution 3 is the released artefact. This is a framing issue, not an error.
|
||||
|
||||
The main disagreements between parts are these:
|
||||
1. **Sharpening.** The abstract presents the Berkson prediction as part of the theory, with no outcome. The Introduction and Conclusion say "not detected". Sec. 6.4 and App. C show blur where the test had power. The highlight "Berkson-type error should sharpen it" reads as an endorsed result. (M2)
|
||||
2. **Competitor strength.** The abstract gives 8–22% against the best deterministic tie and attributes it to "a more accurate tie model". It omits that against the anchor-only posterior mean the gain held fully only at 10 dB (0/2 cells at −5 dB). The Introduction states this. (M1)
|
||||
3. **Bank gain and theory.** The abstract places "population gain … fourth order" next to "training on samples from the posterior added 2–11%". A reader will infer that the theory accounts for the gain. The body says it does not, because the gains exceed the classical bound and are unexplained, and the tested bank was neither calibrated nor near λ → 0 (effective members 3.5–28 of 64). (M3)
|
||||
4. **Misspecification failures.** The abstract omits that under a frequency-dependent wavelet phase the posterior was confidently wrong (cov90 = 0.10–0.17) and *worse* than a cruder tie, and that a truth-free check did not reveal it. For a practitioner this is arguably the most actionable finding in the paper.
|
||||
5. The power-analysis numbers in the abstract are stated without their conditioning on the benchmark effect size and on a sign test.
|
||||
|
||||
## 4. Related work
|
||||
|
||||
The section is extensive and generally accurate. In the places I could check (Mnih & Hinton 2012; Adams & Marlin 2017; Luo et al. 2019; Balakrishnan 1962; Buland & Omre 2003; Gunning & Glinsky 2006), the descriptions are fair. Missing bodies of work:
|
||||
|
||||
- **Age–depth model uncertainty in paleoclimate and geochronology.** This is the closest structural analogue and is absent. A monotone depth→time map is anchored by noisy dates. Bayesian age–depth models produce posterior ensembles (e.g. Haslett & Parnell 2008, *JRSS-C*; Blaauw & Christen 2011, *Bayesian Analysis*, "Bacon"). Those ensembles are propagated into downstream regression and spectral analysis (e.g. McKay, Emile-Geay & Khider 2021, *Geochronology*, geoChronR). The attenuation of high-frequency variance by age errors is documented (e.g. Comboul et al. 2014, *Climate of the Past*). The paper's warp prior + anchors + bank is formally the same construction, and Prop. 1 has a direct counterpart there. At minimum this must be cited and the difference stated (a learned predictor, and a Berkson-type estimated tie).
|
||||
- **Well-tie coherence and timing error.** White (1980, *Geophys. Prospect.*, partial coherence matching) and Walden & White (1984, *Geophys. Prospect.*) analyse how misties and stretch reduce high-frequency coherence between synthetic and seismic. This is the well-tie precedent for Prop. 1 and Cor. 4 and is more relevant than sampling jitter.
|
||||
- **Core-to-log depth matching for ML training sets.** In petrophysics, core labels are depth-shifted to logs, by DTW, constrained DTW, correlation-optimized warping or learned methods, before log-to-core models are trained (e.g. Ezenkwu et al., *Petrophysics* 64(1), 2023; RDDTW, *Petrophysics* 2024). The problem is the same registration problem in depth, and the community treats the shift as exact.
|
||||
- **Marginalizing over alignments in sequence learning.** CTC (Graves et al. 2006) and HMM-based training marginalize the likelihood over monotone alignments. This is the λ = 1 case of RML and the best-known precedent for the soft-DTW identity. One sentence suffices.
|
||||
- **Misaligned labels in remote sensing after Mnih & Hinton.** Fobi et al. (2020) correct misregistered OSM footprints with an alignment network before segmentation, and MapRepair (2020) does so jointly.
|
||||
- **Bayesian inversion with uncertain layer times**, in this journal: Gunning & Glinsky (2004, *Computers & Geosciences* 30, 619–636, "Delivery") carry time uncertainty through model-based inversion. It is worth contrasting with "no learning step uses the posterior".
|
||||
|
||||
Minor misdescription risk: Table 4 lists DILATE under "RML with anchor-free banks" (Sec. 4.7 opening), but DILATE adds a temporal-distortion term and is not an instance of RML. Say "related to" instead.
|
||||
|
||||
## 5. Major comments
|
||||
|
||||
**M1. The headline posterior-mean gain is measured against a weak competitor set; the same-information point tie is missing.**
|
||||
*Location:* Abstract; Introduction, paragraph after the contributions; Sec. 6.3, Table 6; Fig. 4; Conclusions, paragraph 2; highlights.
|
||||
*Why it matters:* At c = 0, where the true warp has no drift, the calibrated sonic is 1.82× the Oracle at 10 dB, N = 16 (Fig. 4b), and the correlation ties are 1.29–1.30×. This is the cost of passing exactly through anchors with 7 ms pick noise, or of maximizing local correlation without a prior. A careful analyst who knows σ_a would fit a smooth drift by least squares. That is essentially the anchor-only GP posterior mean, which sits at 1.08× at c = 0. The text concedes that most of the gain is present at c = 0 and that this is "a comparison between tie models", and the Introduction says the advantage over the anchor mean "held fully only at the highest SNR". The abstract, highlights and conclusions still report 8–22% against the weaker set without that qualifier. "With dense anchors of known uncertainty" does not tell the reader that the competitors were not given that uncertainty.
|
||||
*Fix:*
|
||||
(i) In the abstract and conclusions, report the comparison against the anchor-only posterior mean alongside the 8–22%: holds at 10 dB, 1/2 cells at 0 dB, 0/2 at −5 dB with ratios 0.98/0.97. Or define the headline competitor as the best of the deterministic ties *and* the anchor mean.
|
||||
(ii) Add, or explicitly justify omitting, a point tie that uses the same information as the SMC posterior: the MAP warp of the same tempered target, or an anchor-only least-squares drift fit with known σ_a and no exact interpolation. This needs only registration runs plus training of one method per cell, on existing realizations.
|
||||
(iii) In Sec. 4.8/Table 4, state plainly that the calibrated sonic interpolates noisy anchors exactly, and give its c = 0 penalty.
|
||||
|
||||
**M2. The sharpening prediction (Prop. 3b) was contradicted, not merely "not detected", and the Berkson "test" cannot establish the structure that Prop. 3b needs.**
|
||||
*Location:* Abstract (sentence 3); highlight 2; Introduction, contribution 1 ("this sharpening was not detected"); Table 3; Sec. 5.3 last sentence; Sec. 6.4 first two bullets; Conclusions, paragraph 1; App. C "Sharpening".
|
||||
*Why it matters:*
|
||||
(a) App. C reports intervals excluding 1 *from below* in six of ten cells and from above in none, with predicted values of 1.003–1.214. That is evidence against the prediction in the regime tested.
|
||||
(b) The evidence for "Berkson structure of the bulk offset" is Cov(b⋆ − b̂, b̂) ≈ 0. For any conditional mean b̂ = E[b⋆ | D], this covariance is zero *by construction*, whatever the dependence structure. The check therefore shows only that the SMC mean behaves like a posterior mean. Prop. 3(b) requires the error to be *independent* of D given X. That fails whenever the posterior variance depends on the data, for example a wider posterior where the seismic is weak, which is exactly the heteroscedastic situation of a nonlinear tie. The observed blur is consistent with that failure.
|
||||
*Fix:* Reword the abstract, highlights, Introduction and Conclusion to "predicted to sharpen in a linear-Gaussian model; where testable, the trained network was instead blurred relative to the Oracle". In Sec. 5.3/6.4, state that zero covariance with b̂ is implied by mean-unbiasedness and is not a test of independence. Add a test of independence that has power, for example whether |b⋆ − b̂| or the per-well posterior width correlates with seismic quality or with b̂ (a heteroscedasticity check). Drop "Berkson-type error should sharpen it" from the highlights.
|
||||
|
||||
**M3. The tested bank is not the object the theory analyses, and the theory does not account for the observed bank gain; the abstract implies otherwise.**
|
||||
*Location:* Abstract (sentences 4 and 7); Introduction, contribution 1; Sec. 4.6 (λ = 1/τ_c, effective members 3.5–28/64); Table 7; Discussion "Where the bank gain comes from"; App. C "Tempering limit".
|
||||
*Why it matters:* Prop. 4 concerns a *calibrated* bank at λ → 0. All locked experiments use λ ≈ 0.37, where the loss is closer to soft re-registration (Remark 1). The SMC bank is tempered, finite and not shown to be calibrated. Its warp coverage is 0.53 in the setting with the largest gain (two-anchor, Table 7). The measured gains exceed the classical population bound in 7/8 wide cells, and a Gaussian two-moment bank reproduces most of them. The theory therefore neither predicts the size of the gain nor identifies its mechanism, as the authors candidly state. The exploratory λ → 0 arm (App. C) usefully shows that part of the gain survives without finite tempering, but it is exploratory and was declared after all verdicts.
|
||||
*Fix:* In the abstract, separate the theoretical statement from the empirical gain. For example: "In population, a calibrated bank can gain only a fourth-order amount; the measured bank gains exceeded this bound for classical error and were largely reproduced by a Gaussian bank with the posterior's first two moments, so their source is not identified." Move the λ → 0 result from App. C into Sec. 6.4 as a labelled exploratory bullet, since it bears directly on whether Prop. 4 is relevant.
|
||||
|
||||
**M4. The field-test requirements are conditional on choices that the abstract and the Discussion do not state.**
|
||||
*Location:* Abstract (last sentence); highlight 5; Sec. 6.6; Table 14; Discussion "Practical advice: comparing tie methods", items 1–2; Conclusions, paragraph 4.
|
||||
*Why it matters:* The numbers depend on four choices.
|
||||
(i) The effect size is that of the benchmark, where the bank wins at 81–97% of wells. Any realistic field effect is likely smaller.
|
||||
(ii) The *sign test* discards magnitude. A paired test on per-well log band-RMSE ratios (a t-test, or Wilcoxon signed-rank, which the paper itself cites via Demšar 2006) would need fewer wells at the same reference error.
|
||||
(iii) The beta-binomial ICCs are estimated from 8 clusters, some truncated at 0, and n_b⋆ has no uncertainty attached.
|
||||
(iv) The reference error is smooth and independent of the predictions.
|
||||
Further, the paper does not discuss evaluation designs that relax the reference requirement. Examples are scoring against the reference *posterior* rather than a point reference (done only as a sensitivity on F3, App. B(c)), restricting the score to frequencies where Q_ref ≈ 1, or correcting the bias of Eq. (14) when σ_ref is known.
|
||||
*Fix:*
|
||||
- State in the abstract and highlights "for effects of the size found in the benchmark and a sign test".
|
||||
- Add the Wilcoxon or paired-t n_b⋆ to Table 14.
|
||||
- Give a range of n_b⋆ over plausible ICCs, for example by bootstrapping the realizations.
|
||||
- Add a short paragraph on alternative scoring designs and on whether the √2 tolerance applies to them.
|
||||
|
||||
**M5. The released benchmark omits the paper's most decisive stress and needs a clearer statement of what it can and cannot rank.**
|
||||
*Location:* Sec. 3.3; Table 2; Conclusions; `benchmark/README.md` §1, §7.
|
||||
*Why it matters:* Table 8 shows that misstating σ_a by a factor of two removes the advantage, and the Discussion calls this "the main risk". The package fixes σ_a at its true value in `analyst.json` for all 630 tasks. In the nominal tasks the analyst file and the training AI log also embody the generator's own rock physics and wavelet family. Methods that exploit the full nominal likelihood are therefore favoured by construction. A benchmark that releases this setting as the reference task risks rewarding exactly the overconfidence that Sec. 6.5 shows to fail under wavelet misspecification.
|
||||
*Fix:* Add at least one task family with a misstated σ_a in `analyst.json` (e.g. 3.5 and 14 ms, mirroring Table 8). The data already exist; only the analyst file changes. If that is not possible, state the omission in the abstract or in the conclusion's sentence on the benchmark, not only in Sec. 3.3 and the README. Also report in Table 2 the number of *independent* test realizations (8). Note that with 8 realizations a submitted method's bootstrap interval will be wide and its no-margin "pass" will occur by chance with probability up to 0.36.
|
||||
|
||||
**M6. Statistical inference rests on 8 realizations with percentile-bootstrap intervals, which the paper calls the primary evidence.**
|
||||
*Location:* Sec. 4.9 (2000-resample bootstrap over realizations); Sec. 6 opening; Tables 6–8, 11, 13; App. C "Decision rules under permutation".
|
||||
*Why it matters:* The authors handle the rules honestly. They disclose the no-margin null pass probability (up to 0.36) and the margin rule's 0.004–0.10, and they decline to sum verdicts. They then make the bootstrap interval "the primary evidence". With n = 8 clusters, percentile bootstrap intervals of a ratio of means are known to under-cover, often substantially. Several conclusions rest on intervals that barely exclude 1 or the threshold: −5 dB bank ratio [0.966, 0.995]; the Berkson-bound margins of 0.002–0.003 in Table 7, which the text correctly calls "inside the interval"; S2-H2 at exactly 1.020. Experiment 3's 100 cells share realizations and particles, so its counts (91/100, 44/52) are not independent evidence. The paper says so for the verdicts but not for the counts.
|
||||
*Fix:*
|
||||
- Replace or complement the percentile bootstrap with an interval suited to few clusters, e.g. a t-interval on per-realization log ratios with 7 df, or BCa, and report how many conclusions change.
|
||||
- Show per-realization ratios, e.g. as dots in Fig. 3 or in a supplementary table, for the key cells (Tables 6 and 7).
|
||||
- Add a sentence that the grid counts in Sec. 6.5 are descriptive for the same dependence reason.
|
||||
|
||||
## 6. Minor comments
|
||||
|
||||
1. *01_introduction.tex, paragraph 2.* "Label timing errors of one to several periods are therefore realistic." The 14–66 ms figures compare *uncalibrated* single-anchor sonic integration with the markers. After the marker calibration that any practitioner applies, the relevant residual error is a few ms. By the paper's own numbers it is 3.85 ms for the correlation tie at c = 1 (Sec. 6.2) and σ_a ≈ 7 ms for the markers themselves. That is still significant (Table 5: 4 ms raises band RMSE by 38%), but it is a fraction of a period. Rephrase and quote the residual error.
|
||||
2. *00_abstract.tex.* "matched the predicted blur to within 1%": add "(point estimates; 95% intervals within 4%)", and say that A1 holds by construction in this test.
|
||||
3. *00_abstract.tex / 01_introduction.tex.* "Its population gain over a single tie is of fourth order" holds for a *zero-mean* tie error. For a biased point tie (μ_δ ≠ 0), |1 − P|² is second order (Eq. 2). Say "over the posterior-mean tie" or "for a zero-mean error".
|
||||
4. *06_experiments.tex, Sec. 6.3 paragraph 1, last sentence.* "A Gaussian bank … with no link to the seismic came within 1–2% of the SMC mean at c = 1." The Gaussian bank's mean and covariance come from the seismic-conditioned SMC, so it is linked to the seismic. Say "whose members are not conditioned on the seismic individually". The 1–2% holds only for the full-anchor settings: in the two-anchor setting Gaussian/SMC mean is 0.904–0.954 (Sec. 6.4; App. C). Add the qualifier.
|
||||
5. *06_experiments.tex, Table 8.* With σ_a^reg = 3.5 ms (over-trusting the anchors), σ_post *increases* to 2.52 ms from 0.59 ms. This is counter-intuitive and unexplained. I suspect the type-II MAP refit inflates σ_g to absorb anchor noise as drift. Explain it.
|
||||
6. *06_experiments.tex, Sec. 6.1 "Anchor-free losses fitted noise…".* Prop. 2 predicts non-identified absolute timing. It does not predict that anchor-free losses will be *worse* than their starting labels. "This is what Proposition 2 predicts" overstates the link, especially since on F3 these losses were the best networks (App. B). Use "consistent with".
|
||||
7. *03_data.tex, Sec. 3.2.* "Under the F3 warp prior, the −5 dB setting gives the posterior width closest to F3 (Section 6.3)." Section 6.3 does not contain this comparison. It appears in the Discussion (practical advice, item 2) and App. B. Fix the reference.
|
||||
8. *03_data.tex, Sec. 3.2.* The SNR is nominal per trace. The network sees nine traces with independent noise (up to +9.5 dB), while the tie likelihood uses one trace. State this asymmetry where the settings are named, because "−5 dB" is read by field readers as the network's SNR.
|
||||
9. *04_method.tex, Sec. 4.8.* "the anchor-free losses are RML with anchor-free banks". DILATE is not (see §4).
|
||||
10. *04_method.tex, Sec. 4.7.* Different methods have different selected budgets (Oracle 500, SMC mean 250, calibrated-sonic ensemble 125). The equal-budget check (App. C) is reassuring. Mention it in Sec. 4.7, not only in the appendix.
|
||||
11. *05_theory.tex, Sec. 5.1.* "σ = 8 ms keeps less than 7% of the seismic-band variance": state the spectrum and the integral used. The next sentence correctly notes that the predictor's spectrum is different, so the 7% figure applies to no object in the experiments. Consider removing it.
|
||||
12. *05_theory.tex, Table 3, row Prop. 2.* "anchors removed: warp error about ten times larger." That ablation removes anchors from the *registration posterior*. No network is involved, so it tests the prior's bulk spread, not the network–alignment ridge of Prop. 2(a). Reword.
|
||||
13. *06_experiments.tex, Sec. 6.5 "posterior-mean advantage holds…".* The fit RMSE²_SMC = RMSE²_Oracle + ϑσ²_post with R² = 0.29–0.61 adds little. Either drop it or test it against the second-order heuristic of Sec. 5.3, which predicts the opposite sign under Berkson error.
|
||||
14. *06_experiments.tex, Table 12.* The "bank/mean" column averages over N while the ratio columns are per N; the caption says so, but a per-N value would be clearer given that S2-H2 passes at exactly 1.020.
|
||||
15. *06_experiments.tex, Sec. 6.7.* "With independent wells the two pass rules succeed with probability 0.31 … and 0.11": say "under the null of no difference" in the sentence itself.
|
||||
16. *07_discussion.tex, practical advice (training), item 4.* "The bank is the safer choice" above 1.5 ms. Given that a Gaussian bank came within 2.5%, add that a cheaper Gaussian bank captured most of the gain at c = 1.
|
||||
17. *07_discussion.tex, Limitations.* Add that the decisive σ_a stress was tested in one setting only (10 dB, c = 1, where the posterior is narrow). Its effect at −5 dB, where the posterior is wide and F3-like, is unknown.
|
||||
18. *02_related.tex, Table 4.* The "bench." entry sits in the DL column. A separate column, or a footnote, would be cleaner.
|
||||
19. *benchmark/README.md §6.* M2-Sa is described as "regression with misregistered labels (RML)", while the paper uses "registration-marginalized learning". Harmonize.
|
||||
20. *benchmark/README.md §2 (S8).* "which one is true is hidden (`truth/…/two_mode_side`)" contradicts the release of `truth/`. Say "stored in the truth files".
|
||||
21. *repro/README.md §6.* The README reports "9/11 pass", while the paper (Sec. 6.5) explicitly declines to count verdicts. Align.
|
||||
22. *repro/README.md §4–5.* The analyses added after review (Sec. 6.4 sharpening bullet, the permutation nulls in Sec. 6, the truth-free check in Sec. 6.5, the App. C λ → 0 arm, Table 15 band spectra) are "not in the archives or a verify stage". These numbers appear in the paper. Include them in the clean-room check before submission, or flag them in the text.
|
||||
23. *repro/README.md.* The phase codes used there (P2, P2r, protocol_bench, T2, T3, T4) are not mapped to the paper's names in Table 16 (`tab:codes`). Add the phase mapping to Table 16.
|
||||
24. *paper/figures/f3_volume.pdf* is in the figure folder but not referenced. Remove it or reference it in App. B ("Predicted volume").
|
||||
25. *Sec. 6.2.* "labels at its mean warp were close to the oracle": give the number.
|
||||
26. *General.* The prose is precise but very dense. Many paragraphs pack 4–6 qualified numbers, and the reader must hold many method names and rules in mind. A one-page "reading guide" table (claim → rule → table → status: confirmatory/exploratory/post hoc) near the start of Sec. 6 would help greatly. Table 3 already does this for the theory.
|
||||
|
||||
## 7. Scores (1 = poor, 5 = excellent)
|
||||
|
||||
| Criterion | Score | Justification |
|
||||
|---|---|---|
|
||||
| Novelty | 3 | Training on a tie posterior and the reference-tolerance result are new for this field, but the theory recombines classical results, and the closest analogue (age–depth uncertainty) is not discussed. |
|
||||
| Technical soundness | 3 | The proofs I checked (Props. 1, 4 and 6, Cors. 3 and 4) are correct, and the experimental design is careful. However, the headline competitor set is weak, the Berkson check cannot test independence, and few-cluster bootstrap intervals carry the primary evidence. |
|
||||
| Consistency of claims with evidence | 3 | The body is unusually candid about failures and post hoc status. The abstract and highlights still understate the contradicted sharpening prediction, the anchor-mean qualifier and the conditioning of the power analysis. |
|
||||
| Clarity and organization | 3 | The organization is logical and every number I checked against its table matched. The text is very dense and hedged, which makes the main message harder to extract than necessary. |
|
||||
| Storyline coherence with stated contributions | 4 | The four contributions are followed from abstract to conclusion. The only mismatches are Experiment 3's attribution to contribution 3 and the abstract's juxtaposition of theory and bank gain. |
|
||||
| Reproducibility | 4 | Locked protocols, hashes, a clean-room verification and a scorer are exemplary. Deposits are pending, the review-stage analyses are outside the verification, and the training stages need GPU-days. |
|
||||
| Relevance to *Computers & Geosciences* | 4 | Highly relevant to computational geoscience ML practice, and the benchmark, audit and validation guidance fit the journal well. |
|
||||
|
||||
## 8. Recommendation
|
||||
|
||||
**Major revision.** Confidence: **medium–high.**
|
||||
|
||||
The paper is careful, honest about its failures and post hoc analyses, and its numbers are internally consistent: every value I checked in the abstract, Introduction, Discussion and Conclusions matched its table. The decision rules are disclosed with their null pass rates, and verdicts are not summed. These are real strengths. The deciding issues are:
|
||||
1. **(M1)** The headline 8–22% gain is measured against deterministic ties that ignore the known anchor uncertainty (1.82× the Oracle at zero drift). Against the anchor-only posterior mean the gain holds only at 10 dB, and this is absent from the abstract. A same-information point tie is missing.
|
||||
2. **(M2)** The Berkson-sharpening prediction was contradicted where testable, yet it is advertised in the highlights and described as "not detected". The covariance check cannot establish the required independence.
|
||||
3. **(M3)** The theory analyses a calibrated λ → 0 bank. The experiments use a tempered, uncalibrated bank whose gain exceeds the theoretical bound and is largely reproduced by a two-moment Gaussian bank. The abstract should not imply that theory and experiment agree.
|
||||
4. **(M4/M5)** The field requirements are conditional on the benchmark effect size and a sign test, and the released benchmark cannot test the stress (σ_a) that the paper identifies as decisive.
|
||||
|
||||
Items M1 (abstract and an added competitor), M2, M3 and M4 can be addressed mostly by rewording and by analyses on existing data, plus one additional point-tie arm. None requires new realizations.
|
||||
|
||||
---
|
||||
|
||||
## 9. Response to the previous round
|
||||
|
||||
*(Written after Sections 1–8 were completed and saved. Scores above were not changed.)*
|
||||
|
||||
R4's report (`R4_contrib_round1.md`) was read only at this point. The table assesses whether the current manuscript addresses each of R4's major comments and its most important minor comments.
|
||||
|
||||
### 9.1 Major comments of R4
|
||||
|
||||
| R4 item | Topic | Judgement | Justification |
|
||||
|---|---|---|---|
|
||||
| M1 | Headline gain does not isolate the posterior from a better tie model; MAP arm needed | **Partly** | No MAP or same-model point-tie arm was added. The claim was retreated in Sec. 6.3 and the Conclusions ("a comparison between tie models"), and the abstract says the gain "comes from a more accurate tie model". My M1 adds that even the anchor-mean qualifier is missing from the abstract. |
|
||||
| M2 | σ_a given to every method; no σ_a misspecification axis in the benchmark | **Not addressed** | The omission is now stated more prominently (Sec. 3.3, README §1/§7, Limitations), but no preset was added and σ_a was not removed from `analyst.json`. This is my M5. |
|
||||
| M3 | Berkson sharpening stated as a finding; estimate Ĥ for SMC mean vs Oracle | **Partly** | The Ĥ analysis was done (App. C, Sec. 6.4) and the abstract now says "predicted to sharpen". The analysis found *blur* (six intervals below 1), yet the text says "not detected" and highlight 2 still says "should sharpen it". This is my M2. |
|
||||
| M4 | Decision rules and "verdict" counting | **Addressed** | Null pass rates under permutation are now reported (App. C), the "or" weakening is stated (Sec. 6), "9 of 11" is gone from the paper, bootstrap intervals are declared primary, and S2-H2's marginal pass is flagged. Residues: `repro/README.md` still says "9/11 pass", the 100-cell Spearman ignores nesting, and few-cluster bootstrap coverage remains (my M6). |
|
||||
| M5 | "Pre-registration" vocabulary | **Addressed** | "Hash-locked" is defined in Sec. 6, the text states that these are not pre-registrations in the usual sense, and App. C gives lock and commit timing per protocol. No external deposit was made; R4 offered that only as an option. |
|
||||
| M6 | Package needs a section; README codes, "hidden truth", pointers, licences | **Addressed** | Sec. 3.3 and Table 2 describe the package, Table 16 maps names to codes, "hidden truth" is removed and README titles are harmonized, and the section pointers in `repro/README.md` match the current structure. Licences and DOIs remain TODO (out of scope here). Phase codes are not mapped (my minor 23). |
|
||||
| M7 | Scaled warp prior tests only the benign direction | **Addressed** | Sec. 6.5 gives 57 vs 50 ms (1.14×) and states that only the benign direction was tested. The Conclusions say "tested mainly the benign direction", and the Limitations and README note that a narrower registration prior was not tested. No narrow-prior preset was added; disclosure was one of R4's options. |
|
||||
| M8 | State the assumptions of Prop. 3(b) where it is made | **Addressed** | Sec. 5.3 now calls Berkson "an idealization" and lists the three departures (tempered target with plug-in phase, nonlinearity through e^g, F3 label–axis coupling). The self-consistency condition on S_m is stated in Sec. 5.3 as well as in App. A. |
|
||||
|
||||
**Tally for R4 M1–M8: 5 addressed (M4, M5, M6, M7, M8), 2 partly (M1, M3), 1 not addressed (M2).** I disagree with none of R4's major comments.
|
||||
|
||||
### 9.2 Selected minor comments of R4
|
||||
|
||||
| R4 minor | Judgement | Justification |
|
||||
|---|---|---|
|
||||
| 1. −5 dB cells pass on PCC, not RMSE | Partly | Stated in Sec. 6.3; the abstract's "8–22% … at three noise levels" still does not say it. |
|
||||
| 4. "offset from the check-shot tables" contradiction | Addressed | Now "offset from the markers". |
|
||||
| 6. Give typical value of tie tempering ω | Not addressed | Sec. 4.2 still gives no value of ω. |
|
||||
| 7. λ far from the λ → 0 regime, say in Sec. 4 | Addressed | Sec. 4.6 now states effective members 3.5–28 of 64. |
|
||||
| 8. TCN at grid edge, say in main text | Addressed | Sec. 4.7 and Limitations. |
|
||||
| 9. "7% of seismic-band variance" weighting | Addressed | Sec. 5.1 states the weighting and points to Table 15 (my minor 11 still suggests removing the number). |
|
||||
| 11. Justify (A3) "approximately" for a bidirectional GRU | Not addressed | Sec. 5.2 still says "approximately for the CNN–GRU used here" with no justification. I missed this; I agree with R4. |
|
||||
| 14. "7 of 8" uses the grid-edge cell | Addressed | The text now separates the grid-edge cell. |
|
||||
| 15. Plot the Berkson bound in Fig. 4(b) | Not addressed | Only the caption mentions ρ⋆_Bk. |
|
||||
| 17. Effect sizes in the verdict table | Partly | The text says to read each verdict with its table, but Table 10 still has no ratio or pointer columns. |
|
||||
| 18. Run the truth-free SMC-vs-correlation check | Addressed | Done (App. C). It is informative: the check did not flag the wavelet failure. |
|
||||
| 19. Stretch share of the reference error | Partly | The stretch is acknowledged; its share (b-term ≈ 1/12 of the variance) is not stated. |
|
||||
| 20. ICC "0.00" is a truncation | Addressed | Table 14 now shows "≤ 0". |
|
||||
| 23. σ_post not monotone in σ_a | Not addressed | Same as my minor 5; still unexplained. |
|
||||
| 24. Cost of the posterior | Addressed | Discussion item 4 gives a median of 7 min per cell for the phase fit and 11 s per well for SMC. |
|
||||
| 25. Use the Volve VSP comparison | Addressed | Discussion, field advice item 1. |
|
||||
| 26. "about 1 ms" → "order of 1 ms in simulations" | Addressed | In the body and Conclusions. The abstract and highlight 5 remain unconditioned (my M4). |
|
||||
| 30. F3 trend beats networks: say in Sec. 6.7 | Addressed | Sec. 6.7, first paragraph. |
|
||||
| 33. MSE on mean label worse than λ → 0 bank: say in Sec. 6.4 | Partly | Only in App. C and the Limitations; not in Sec. 6.4 (cf. my M3 fix). |
|
||||
| 34. Uncited bib entries and composite-likelihood citation | Partly | Kendall, Lakshminarayanan, Gneiting and PyLops are now cited, and Herrera 2014 was added. Pauli/Ribatet (annotated "not read in full") remain instead of Varin et al. 2011. |
|
||||
| 35. Composite-loss weight provenance | Addressed | Table 4 footnote. |
|
||||
| 36. Clipped colour scale in Fig. 4 | Addressed | Caption notes 3.15. |
|
||||
| Sec. 3 item 1: experiment inside the Theory section | Not addressed | The blur test remains in Sec. 5.1, but the Sec. 6 opening now points to it. I consider this acceptable. |
|
||||
| Sec. 3 item 9: "calibrated to F3" vs "not calibrated" | Addressed | Abstract now says "built from F3 statistics". |
|
||||
|
||||
### 9.3 Notes prompted by reading R4
|
||||
|
||||
- I missed R4 minor 11 (justifying (A3) for a bidirectional GRU) and R4 minor 6 (no value given for ω). I agree with both.
|
||||
- R4 M4(d) notes that the Spearman correlation over the 100 grid cells treats nested N-subsets on the same realizations as independent. My M6 covers the dependence of the grid *counts* but not this p-value specifically. The −0.66 over 100 cells (Sec. 6.5) should carry no p-value, or a within-family permutation like the one used for the −0.47.
|
||||
- R4's M1 and M3 have since been acted on partly, and in a way that sharpens my own M1 and M2. The MAP arm is still missing, but the Gaussian-bank and λ → 0 analyses added since R4 show that the *posterior* adds little beyond its first two moments at c = 1. The Ĥ analysis that R4 requested turned out *against* the sharpening prediction. The revision reported these results candidly in the appendix and the body but did not carry them into the abstract or highlights.
|
||||
|
||||
@@ -870,6 +870,8 @@ Code đã khoá không bị sửa. [36_bench_verdicts.py](../scripts/36_bench_ve
|
||||
|
||||
**Gói tái lập** (02/11; [39_repro_package.py](../scripts/39_repro_package.py), [repro/README.md](../repro/README.md)). Năm archive dữ liệu dẫn xuất tất định trong `outputs/repro/` (11112 file; F3 và synthetic CC BY-SA 3.0, Volve CC BY-NC-SA 4.0, Teapot CC0 chưa xác minh), manifest [repro/MANIFEST.json](../repro/MANIFEST.json). `verify` chạy lại 12 bước trong phòng sạch không có dữ liệu thô: 12/12 đạt, 63 file viết lại trùng từng byte, 3 trùng giá trị, không file nào khác ([verify_report.md](../repro/verify_report.md)). Chưa deposit; cần người dùng chọn giấy phép cho bảng applicability gộp F3+Volve và giấy phép code.
|
||||
|
||||
**Phân tích exploratory sau 09/11.** [40_band_spectra.py](../scripts/40_band_spectra.py) (phổ dải địa chấn của nhãn và dự đoán), [41_lambda_limit.py](../scripts/41_lambda_limit.py) (bank SMC ở λ → 0; [kết quả](research/lambda-limit-results.md)) và [42_referee_r4.py](../scripts/42_referee_r4.py) (10/11, theo referee R4; [kết quả](research/referee-r4-results.md)): mạng học từ SMC mean không sắc hơn Oracle ở tần số đo được (blur ở mọi ô có lực), nên sharpening Berkson chỉ là dự đoán lý thuyết; luật `better` chỉ đếm dấu (p dưới null tới 0,36/ô), bằng chứng nằm ở CI; độ lệch warp SMC–correlation tie không cảnh báo được lỗi pha wavelet. Bài có thêm mục 3.3 mô tả gói benchmark (σ_a thật trong `analyst.json`).
|
||||
|
||||
### 10.8 Bài báo và trạng thái đến 04/11/2026
|
||||
|
||||
- [paper/](../paper/) theo khung Pivot 1, biên dịch sạch (69 trang sau lượt rà soát chống hallucination ngày 04/11, plan §12 ý 36); phần chính khoảng 18700 từ, so với giới hạn khoảng 5500 của *Computers & Geosciences* (rủi ro R9; người dùng bỏ lượt cắt độ dài ngày 29/10, plan §12 ý 25). Số liệu của bài lấy từ đâu: [paper/README.md](../paper/README.md).
|
||||
|
||||
@@ -212,3 +212,19 @@ run_id,parent,name,status,exit_code,start,end,wall_s,wall,device,git,dirty,code_
|
||||
20261104-043403_repro_build,,repro_build,ok,0,2026-11-04T04:34:03+00:00,2026-11-04T04:37:08+00:00,185.0,0:03:05,,423a333ae9da,True,bc14c15fd6a3cb25,runlog,/home/jovyan/lamlvh/ML-Porosity/.venv/bin/python scripts/39_repro_package.py build
|
||||
20261109-091152_lambda_limit,,lambda_limit,interrupted,-15,2026-11-09T09:11:52+00:00,2026-11-09T10:01:08+00:00,2956.2,0:49:16,cuda:0,df5cb937e850,True,b7df7f480f207561,runlog,/home/jovyan/lamlvh/ML-Porosity/.venv/bin/python scripts/41_lambda_limit.py --stage all --workers 4 --device cuda:0
|
||||
20261110-040642_lambda_limit_resume,,lambda_limit_resume,ok,0,2026-11-10T04:06:42+00:00,2026-11-10T04:15:58+00:00,556.5,0:09:16,cuda:0,df5cb937e850,True,b7df7f480f207561,runlog,/home/jovyan/lamlvh/ML-Porosity/.venv/bin/python scripts/41_lambda_limit.py --stage all --workers 4 --device cuda:0
|
||||
20261110-084123_referee_r4_b2,,referee_r4_b2,ok,0,2026-11-10T08:41:23+00:00,2026-11-10T08:41:50+00:00,26.9,0:00:27,,894fbdfc59d9,False,6ac423af8e33664a,runlog,.venv/bin/python scripts/42_referee_r4.py --stage b2
|
||||
20261110-084208_referee_r4_b2,,referee_r4_b2,ok,0,2026-11-10T08:42:08+00:00,2026-11-10T08:42:20+00:00,12.6,0:00:13,,894fbdfc59d9,True,68ded7f65cca1dd5,runlog,.venv/bin/python scripts/42_referee_r4.py --stage b2
|
||||
20261110-084224_referee_r4_b1,,referee_r4_b1,ok,0,2026-11-10T08:42:24+00:00,2026-11-10T08:44:28+00:00,123.3,0:02:03,,894fbdfc59d9,True,68ded7f65cca1dd5,runlog,.venv/bin/python scripts/42_referee_r4.py --stage b1
|
||||
20261110-084440_referee_r4_b3,,referee_r4_b3,ok,0,2026-11-10T08:44:40+00:00,2026-11-10T08:46:15+00:00,95.7,0:01:36,,894fbdfc59d9,True,68ded7f65cca1dd5,runlog,.venv/bin/python scripts/42_referee_r4.py --stage b3 --workers 12
|
||||
20261110-093701_referee_r5_ci,,referee_r5_ci,failed,1,2026-11-10T09:37:01+00:00,2026-11-10T09:37:10+00:00,9.6,0:00:10,,894fbdfc59d9,True,99ed46a6e76df0bd,runlog,.venv/bin/python scripts/43_referee_r5_ci.py
|
||||
20261110-093717_referee_r5_ci,,referee_r5_ci,ok,0,2026-11-10T09:37:17+00:00,2026-11-10T09:37:27+00:00,9.8,0:00:10,,894fbdfc59d9,True,dd015c977fb3cc3a,runlog,.venv/bin/python scripts/43_referee_r5_ci.py
|
||||
20261110-094635_point_tie_arm,,point_tie_arm,ok,0,2026-11-10T09:46:35+00:00,2026-11-10T10:03:59+00:00,1043.8,0:17:24,cuda:0,894fbdfc59d9,True,9fc48760979c2776,runlog,.venv/bin/python scripts/44_point_tie_arm.py --stage all --workers 4 --device cuda:0
|
||||
20261110-094831_referee_r5_followups,,referee_r5_followups,ok,0,2026-11-10T09:48:31+00:00,2026-11-10T10:04:29+00:00,958.0,0:15:58,,894fbdfc59d9,True,1fdaeff5a40aca2e,runlog,.venv/bin/python scripts/45_referee_r5_followups.py --workers 8
|
||||
20261110-100757_repro_build_review,,repro_build_review,ok,0,2026-11-10T10:07:57+00:00,2026-11-10T10:11:35+00:00,217.4,0:03:37,,894fbdfc59d9,True,daa99fce97aecf29,runlog,.venv/bin/python scripts/39_repro_package.py build
|
||||
20261110-101143_repro_verify_review,,repro_verify_review,failed,1,2026-11-10T10:11:43+00:00,2026-11-10T10:12:27+00:00,43.7,0:00:44,,894fbdfc59d9,True,daa99fce97aecf29,runlog,.venv/bin/python scripts/39_repro_package.py verify --only referee_r4_b1 referee_r4_b2 referee_r5_ci referee_r5_f2 lambda_limit_summary point_tie_summary --work outputs/repro/work_review
|
||||
20261110-101556_repro_verify_review,,repro_verify_review,interrupted,-1,2026-11-10T10:15:56+00:00,2026-11-10T10:18:41+00:00,165.0,0:02:45,,894fbdfc59d9,True,daa99fce97aecf29,runlog,.venv/bin/python scripts/39_repro_package.py verify --work /home/jovyan/lamlvh/ML-Porosity/outputs/repro/work_full
|
||||
20261110-101921_bench_package_generate_sa,,bench_package_generate_sa,ok,0,2026-11-10T10:19:21+00:00,2026-11-10T10:21:45+00:00,143.4,0:02:23,,894fbdfc59d9,True,d0e78bf7f8eaeb3b,runlog,.venv/bin/python scripts/37_bench_package.py generate --update-manifest
|
||||
20261110-102154_bench_package_tables_sa,,bench_package_tables_sa,ok,0,2026-11-10T10:21:54+00:00,2026-11-10T10:22:12+00:00,18.1,0:00:18,,894fbdfc59d9,True,d0e78bf7f8eaeb3b,runlog,.venv/bin/python scripts/37_bench_package.py tables
|
||||
20261110-102213_bench_package_selftest_sa,,bench_package_selftest_sa,ok,0,2026-11-10T10:22:13+00:00,2026-11-10T10:22:26+00:00,13.3,0:00:13,,894fbdfc59d9,True,d0e78bf7f8eaeb3b,runlog,.venv/bin/python scripts/37_bench_package.py selftest
|
||||
20261110-102332_repro_build_review2,,repro_build_review2,ok,0,2026-11-10T10:23:32+00:00,2026-11-10T10:26:24+00:00,172.6,0:02:53,,894fbdfc59d9,True,d0e78bf7f8eaeb3b,runlog,.venv/bin/python scripts/39_repro_package.py build
|
||||
20261110-102624_repro_verify_review,,repro_verify_review,ok,0,2026-11-10T10:26:24+00:00,2026-11-10T11:07:40+00:00,2475.5,0:41:16,,894fbdfc59d9,True,d0e78bf7f8eaeb3b,runlog,.venv/bin/python scripts/39_repro_package.py verify --work /home/jovyan/lamlvh/ML-Porosity/outputs/repro/work_full
|
||||
|
||||
|
@@ -42,7 +42,14 @@ with the `.venv`), except `bench_s1.pdf` and `bench_s8.pdf` (Experiment 3), whic
|
||||
| App. C, "Equal training budgets" | `outputs/bench/summary/equal_budget.csv` |
|
||||
| App. C, "Band content of labels and predictions", Table `tab:bandspectra`; Sec. 7, "Band of the benchmark" (shares below 25 Hz: 72% synthetic labels, 73% Oracle at 10 dB, 54% F3 with 46–68% over wells; 61–79% over realizations; post hoc, descriptive) | `outputs/band_spectra/{table.csv,groups.csv,meta.json}`, written by `python scripts/40_band_spectra.py` (seconds, CPU) from `outputs/f3_wells.npz` and the Oracle predictions and `y_true` in `outputs/p2r/train/<setting>/cells/r*_c1_n16.npz`. Both inputs are in the repro archives; the output is not, and no verify step reruns the script |
|
||||
| App. C, "Tempering limit"; Sec. 7, Limitations "Tempering" (λ = 10⁻³ arm and MSE on the bank-mean label; 7,040 rows reproduced; S_eff ≥ 0.99 of 64; ratios at 250 and 500 iterations; exploratory, descriptive) | `outputs/lambda_limit/{summary.md,reading.json,ratios.csv,seff.csv,selfcheck.json}`, written by `python scripts/41_lambda_limit.py --stage all --workers 4 --device cuda:0` (about 1 h on one H200); declaration `docs/research/lambda-limit.md` (hashed before computing, `.sha256`), results `docs/research/lambda-limit-results.md`; outside every lock and the repro archives |
|
||||
| Sec. 8 (availability: 630 tasks, 21 methods, scorer) | `benchmark/README.md`, `benchmark/MANIFEST.json`, `benchmark/reference/{cells.csv,main_table.md}` (`scripts/37_bench_package.py`); package `outputs/bench/package/` (Zenodo payload, not yet deposited) |
|
||||
| Sec. 3.3, Table `tab:package` (package contents, 658 tasks, 46,320 runs of 21 methods) | `benchmark/README.md`, `benchmark/MANIFEST.json`, `benchmark/reference/cells.csv`; `scripts/37_bench_package.py` |
|
||||
| App. C "Analyses added after review" (sharpening Ĥ, permutation null of the rules, truth-free warp disagreement); Sec. 6 rules paragraph (0.36, 0.004–0.10); Sec. 6.3 (Gaussian bank 1–2%), Sec. 6.4 bullet "Sharpening", Sec. 6.5 wavelet paragraph and S2-H2 note, Sec. 5.3, Sec. 7 "What held", practical advice item 3 | `outputs/referee_r4/{b1_transfer.csv,b2_null.csv,b2_null.json,b3_summary.csv,b3_wells.csv,meta.json}` from `scripts/42_referee_r4.py` (declared in `docs/research/referee-r4-analyses.md`, sha256 963324c1…; results `docs/research/referee-r4-results.md`; exploratory, outside every lock and the repro archives) |
|
||||
| App. C "Intervals for few realizations"; Sec. 6 rules paragraph (38 and 35 of 38); Sec. 6.3 (ratios to the anchor mean, ties relative to the Oracle at c = 0); abstract and introduction (2–33%, 19–33%, 8–11%, 2–4%) | `outputs/referee_r5/{c1_intervals.csv,c2_zero_drift_vs_oracle.csv,meta.json}` from `scripts/43_referee_r5_ci.py` (declared in `docs/research/referee-r5-ci.md`, sha256 accc1c52…; results `docs/research/referee-r5-ci-results.md`; exploratory, outside every lock and the repro archives) |
|
||||
| App. C "Point ties with the same information" (Table `tab:pointtie`), Sec. 6.3 (SMC-MAP and Anchor-LS paragraph), abstract and Sec. 1 (3%) | `outputs/point_tie/{ratios.csv,warp_errors.csv,selfcheck.json,cells/}` from `scripts/44_point_tie_arm.py` (declared in `docs/research/point-tie-arm.md`, sha256 3afdaf29…; results `docs/research/point-tie-arm-results.md`; exploratory) |
|
||||
| App. C "Independence of the tie error", Sec. 6.4 last bullet; App. C "Blind wells needed under other tests", Sec. 6.6 | `outputs/referee_r5/{f1_summary.csv,f1_wells.csv,f2_nstar.csv,f2_power.csv}` from `scripts/45_referee_r5_followups.py` (declared in `docs/research/referee-r5-followups.md`, sha256 d631cfad…; results `docs/research/referee-r5-followups-results.md`; exploratory) |
|
||||
| Sec. 7 practical advice (posterior cost: phase fit median 7 min per cell, SMC median 11 s per well, 5–27 s) | `phase_time_s` and `time_s` of `SMC_g_acf` rows in `outputs/p2r/posterior/*/r*_s0.csv` (median, 10th–90th percentile) |
|
||||
| Sec. 6.5 scaled warp prior (19 / 50 / 57 ms) | Sec. 3.2; `configs/d2_synth_bench.yaml` (`dr_L1`: σ_b ×3) |
|
||||
| Sec. 8 (availability: 658 tasks, 21 methods, scorer) | `benchmark/README.md`, `benchmark/MANIFEST.json`, `benchmark/reference/{cells.csv,main_table.md}` (`scripts/37_bench_package.py`); package `outputs/bench/package/` (Zenodo payload, not yet deposited) |
|
||||
| Sec. 8 (availability: derived-data archives, licences, clean-room check) | `repro/README.md`, `repro/MANIFEST.json` (five archives, 11,112 files; `scripts/39_repro_package.py build`), `repro/verify_report.md` (`scripts/39_repro_package.py verify`); archives in `outputs/repro/` (not yet deposited) |
|
||||
| App. A, Sec. 5 (proof review of 02/11/2026) | `docs/plan.md` §12 item 32; Vietnamese statements synced in `docs/theory.md` |
|
||||
| Sec. 6.6, Table `tab:t3` (detectability; exploratory) | `outputs/t3/{cells.csv,nstar.csv,power.csv,meta.json}`, written by `python scripts/27_t3_power.py`; declaration and Deviation 1 (σ_ref grid) in `docs/research/applicability-teapot.md`. Crossings 3.6, 3.8 and 4.3 ms (R10, R0, Rm5): σ_ref at which `median_ratio` of the N = 16 rows of `cells.csv` reaches 1, by linear interpolation between grid points (`p_better` = 0.5 gives 3.5, 3.8, 4.2 ms); compared with σ/√2 = 3.0, 4.1, 5.1 ms of Corollary 4 |
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Well-tie error in training labels is an error in the time index of the label
|
||||
Misregistered labels blur the learned predictor; Berkson-type tie error sharpens it
|
||||
Tie error blurs the learned predictor; predicted Berkson sharpening was not seen
|
||||
In a synthetic benchmark, tie accuracy mattered more than tie uncertainty
|
||||
Released benchmark: 630 tasks with known true timing, reference results, a scorer
|
||||
In simulation, blind-well tests need ~1 ms references; tested field data lack them
|
||||
Released benchmark: 658 tasks with known true timing, reference results, a scorer
|
||||
Simulated blind-well tests needed ~1 ms references; tested field data lack them
|
||||
|
||||
172
paper/refs.bib
172
paper/refs.bib
@@ -757,3 +757,175 @@
|
||||
url = {https://www.jmlr.org/papers/v7/demsar06a.html},
|
||||
annote = {Abstract read 2026-11-10 (JMLR page): recommends the Wilcoxon signed-ranks test for two classifiers and the Friedman test with post hoc tests for more, over multiple data sets.}
|
||||
}
|
||||
|
||||
@article{white2003goodpractice,
|
||||
author = {White, Rachel E. and Simm, Rob},
|
||||
title = {Tutorial: good practice in well ties},
|
||||
journal = {First Break},
|
||||
volume = {21},
|
||||
number = {10},
|
||||
year = {2003},
|
||||
doi = {10.3997/1365-2397.21.10.25640},
|
||||
annote = {Metadata verified via Crossref 10/11/2026; first paragraph read via OpenAlex. Cited as the standard tutorial on tie practice only.}
|
||||
}
|
||||
|
||||
@article{hale2013dynamic,
|
||||
author = {Hale, Dave},
|
||||
title = {Dynamic warping of seismic images},
|
||||
journal = {Geophysics},
|
||||
volume = {78},
|
||||
number = {2},
|
||||
pages = {S105--S115},
|
||||
year = {2013},
|
||||
doi = {10.1190/geo2012-0327.1},
|
||||
annote = {Metadata via Crossref, abstract read 10/11/2026 (referee R4).}
|
||||
}
|
||||
|
||||
@article{munoz2015multiwelltie,
|
||||
author = {Mu{\~n}oz, Andrew and Hale, Dave},
|
||||
title = {Automatic simultaneous multiple well ties},
|
||||
journal = {Geophysics},
|
||||
volume = {80},
|
||||
number = {5},
|
||||
pages = {IM45--IM51},
|
||||
year = {2015},
|
||||
doi = {10.1190/geo2014-0449.1},
|
||||
annote = {Metadata via Crossref, abstract read 10/11/2026 (referee R4).}
|
||||
}
|
||||
|
||||
@inproceedings{adams2017imprecise,
|
||||
author = {Adams, Roy J. and Marlin, Benjamin M.},
|
||||
title = {Learning Time Series Detection Models from Temporally Imprecise Labels},
|
||||
booktitle = {Proceedings of the 20th International Conference on Artificial Intelligence and Statistics},
|
||||
series = {Proceedings of Machine Learning Research},
|
||||
volume = {54},
|
||||
pages = {157--165},
|
||||
year = {2017},
|
||||
annote = {Metadata via OpenAlex/arXiv 1611.02258, abstract read 10/11/2026 (referee R4).}
|
||||
}
|
||||
|
||||
@inproceedings{nagaraj2025temporal,
|
||||
author = {Nagaraj, Sujay and Gerych, Walter and Tonekaboni, Sana and Goldenberg, Anna and Ustun, Berk and Hartvigsen, Thomas},
|
||||
title = {Learning under Temporal Label Noise},
|
||||
booktitle = {The Thirteenth International Conference on Learning Representations (ICLR)},
|
||||
year = {2025},
|
||||
annote = {arXiv 2402.04398 (comment: ICLR 2025); abstract read 10/11/2026. Class-label noise whose rate varies over time, not timing error.}
|
||||
}
|
||||
|
||||
@article{risholm2013bayesian,
|
||||
author = {Risholm, Petter and Janoos, Firdaus and Norton, Isaiah and Golby, Alex J. and Wells, William M.},
|
||||
title = {Bayesian characterization of uncertainty in intra-subject non-rigid registration},
|
||||
journal = {Medical Image Analysis},
|
||||
volume = {17},
|
||||
number = {5},
|
||||
pages = {538--555},
|
||||
year = {2013},
|
||||
doi = {10.1016/j.media.2013.03.002},
|
||||
annote = {Metadata via OpenAlex, abstract read via Semantic Scholar 10/11/2026 (referee R4).}
|
||||
}
|
||||
|
||||
@inproceedings{luo2019applicability,
|
||||
author = {Luo, Jie and Sedghi, Alireza and Popuri, Karteek and Cobzas, Dana and Zhang, Miaomiao and Preiswerk, Frank and Toews, Matthew and Golby, Alexandra and Sugiyama, Masashi and Wells, William M. and Frisken, Sarah},
|
||||
title = {On the Applicability of Registration Uncertainty},
|
||||
booktitle = {Medical Image Computing and Computer Assisted Intervention -- MICCAI 2019},
|
||||
series = {Lecture Notes in Computer Science},
|
||||
publisher = {Springer},
|
||||
pages = {410--419},
|
||||
year = {2019},
|
||||
doi = {10.1007/978-3-030-32245-8_46},
|
||||
annote = {Metadata via Crossref, abstract read via arXiv 1803.05266 10/11/2026 (referee R4).}
|
||||
}
|
||||
|
||||
@article{haslett2008monotone,
|
||||
author = {Haslett, John and Parnell, Andrew},
|
||||
title = {A simple monotone process with application to radiocarbon-dated depth chronologies},
|
||||
journal = {Journal of the Royal Statistical Society: Series C (Applied Statistics)},
|
||||
volume = {57},
|
||||
number = {4},
|
||||
pages = {399--418},
|
||||
year = {2008},
|
||||
doi = {10.1111/j.1467-9876.2008.00623.x},
|
||||
annote = {Metadata via Crossref, abstract read via OpenAlex 10/11/2026 (referee R5).}
|
||||
}
|
||||
|
||||
@article{blaauw2011bacon,
|
||||
author = {Blaauw, Maarten and Christen, J. Andr{\'e}s},
|
||||
title = {Flexible paleoclimate age-depth models using an autoregressive gamma process},
|
||||
journal = {Bayesian Analysis},
|
||||
volume = {6},
|
||||
number = {3},
|
||||
pages = {457--474},
|
||||
year = {2011},
|
||||
doi = {10.1214/11-BA618},
|
||||
annote = {Metadata via Crossref 10/11/2026 (referee R5); title and venue only.}
|
||||
}
|
||||
|
||||
@article{mckay2021geochronr,
|
||||
author = {McKay, Nicholas P. and Emile-Geay, Julien and Khider, Deborah},
|
||||
title = {{geoChronR} -- an {R} package to model, analyze, and visualize age-uncertain data},
|
||||
journal = {Geochronology},
|
||||
volume = {3},
|
||||
number = {1},
|
||||
pages = {149--169},
|
||||
year = {2021},
|
||||
doi = {10.5194/gchron-3-149-2021},
|
||||
annote = {Metadata via Crossref, abstract read via OpenAlex 10/11/2026 (referee R5).}
|
||||
}
|
||||
|
||||
@article{comboul2014chronological,
|
||||
author = {Comboul, M. and Emile-Geay, J. and Evans, M. N. and Mirnateghi, N. and Cobb, K. M. and Thompson, D. M.},
|
||||
title = {A probabilistic model of chronological errors in layer-counted climate proxies: applications to annually banded coral archives},
|
||||
journal = {Climate of the Past},
|
||||
volume = {10},
|
||||
number = {2},
|
||||
pages = {825--841},
|
||||
year = {2014},
|
||||
doi = {10.5194/cp-10-825-2014},
|
||||
annote = {Metadata and six-author list via Crossref, abstract read via OpenAlex 10/11/2026 (referee R5).}
|
||||
}
|
||||
|
||||
@inproceedings{graves2006ctc,
|
||||
author = {Graves, Alex and Fern{\'a}ndez, Santiago and Gomez, Faustino and Schmidhuber, J{\"u}rgen},
|
||||
title = {Connectionist temporal classification: labelling unsegmented sequence data with recurrent neural networks},
|
||||
booktitle = {Proceedings of the 23rd International Conference on Machine Learning},
|
||||
pages = {369--376},
|
||||
year = {2006},
|
||||
doi = {10.1145/1143844.1143891},
|
||||
annote = {Metadata via Crossref 10/11/2026 (referee R5).}
|
||||
}
|
||||
|
||||
@article{gunning2004delivery,
|
||||
author = {Gunning, James and Glinsky, Michael E.},
|
||||
title = {Delivery: an open-source model-based {B}ayesian seismic inversion program},
|
||||
journal = {Computers \& Geosciences},
|
||||
volume = {30},
|
||||
number = {6},
|
||||
pages = {619--636},
|
||||
year = {2004},
|
||||
doi = {10.1016/j.cageo.2003.10.013},
|
||||
annote = {Metadata via Crossref 10/11/2026 (referee R5); abstract not read, cited as a Bayesian model-based inversion program.}
|
||||
}
|
||||
|
||||
@article{white1980partial,
|
||||
author = {White, R. E.},
|
||||
title = {Partial coherence matching of synthetic seismograms with seismic traces},
|
||||
journal = {Geophysical Prospecting},
|
||||
volume = {28},
|
||||
number = {3},
|
||||
pages = {333--358},
|
||||
year = {1980},
|
||||
doi = {10.1111/j.1365-2478.1980.tb01230.x},
|
||||
annote = {Metadata via Crossref, abstract read via OpenAlex 10/11/2026 (referee R5).}
|
||||
}
|
||||
|
||||
@article{walden1984errors,
|
||||
author = {Walden, A. T. and White, R. E.},
|
||||
title = {On errors of fit and accuracy in matching synthetic seismograms and seismic traces},
|
||||
journal = {Geophysical Prospecting},
|
||||
volume = {32},
|
||||
number = {5},
|
||||
pages = {871--891},
|
||||
year = {1984},
|
||||
doi = {10.1111/j.1365-2478.1984.tb00744.x},
|
||||
annote = {Metadata via Crossref, abstract read via OpenAlex 10/11/2026 (referee R5).}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
\begin{abstract}
|
||||
Seismic reservoir-property predictors are trained on well logs placed in two-way time by uncertain well ties. We ask what tie error does to learning and its evaluation, whether training on a tie posterior helps, and what a field test requires. Treating tie error as an error in the time index of the labels, we show that errors independent of the data blur the optimal predictor, attenuating the seismic band, whereas, in a linear-Gaussian model, the error of a posterior-mean tie sharpens it. Training on samples from a calibrated tie posterior has the population optimum of training on true labels, but its population gain over a single tie is of fourth order in the tie error. A controlled experiment matched the predicted blur to within 1\% for errors of 4--16\,ms below about 23\,Hz. We release a synthetic benchmark calibrated to the F3 block, with known true timing, reference results and a scorer. With a correctly specified tie model and dense anchors of known uncertainty, labels at the mean of a sequential Monte Carlo tie posterior reduced seismic-band RMSE by 8--22\% relative to the best deterministic tie at three noise levels. This gain comes from a more accurate tie; training on samples from the posterior added 2--11\% when it was wide. Field validation remains open: F3 and Volve showed no consistent improvement, and an exploratory power analysis suggests a blind-well comparison needs 5--18 wells with an exact reference in most cases and more than 40 with a 3\,ms reference error.
|
||||
Seismic reservoir-property predictors are trained on well logs placed in two-way time by uncertain well ties. Treating tie error as an error in the time index of the labels, we show that errors independent of the data blur the optimal predictor, attenuating the seismic band; a controlled experiment matched the predicted blur to within 1\% below 23\,Hz. In a linear-Gaussian model a posterior-mean tie is predicted to sharpen the predictor, but where testable the trained network was blurred. A calibrated bank of posterior labels can gain over the posterior-mean tie only a fourth-order amount in population. We release a synthetic benchmark of F3 statistics with known true timing and a scorer. With a correctly specified tie model and dense anchors of known uncertainty, labels at the mean of a sequential Monte Carlo tie posterior reduced seismic-band RMSE by 8--22\% relative to the best deterministic tie and by 2--33\% relative to an anchor-only posterior mean. It comes mainly from a more accurate tie model: the mode of the same posterior gave most of it and averaging added at most 3\%. Training on posterior samples added 2--11\% when the posterior was wide, but a Gaussian bank with the same two moments obtained most of that. Field validation remains open: F3 and Volve showed no consistent improvement, and, for effects like those of the benchmark, an exploratory power analysis suggests a blind-well comparison needs 5--18 wells with an exact reference in most cases and more than 40 with a 3\,ms reference error.
|
||||
\end{abstract}
|
||||
|
||||
\noindent\textbf{Keywords:} well tie; tie uncertainty; registration error; errors-in-variables; seismic porosity prediction; synthetic benchmark; blind-well validation; statistical power
|
||||
|
||||
@@ -3,18 +3,18 @@
|
||||
|
||||
Deep networks are widely used to map seismic amplitudes to reservoir properties such as porosity. The common workflow ties each well to the seismic, resamples the depth logs to two-way time (TWT), trains a regressor on the time-domain labels, and scores blind wells against labels produced by the same tie \citep[e.g.][]{xu2024sts,liu2023lowfrequency}. The workflow treats the resulting time--depth curve as exact. It is not exact: a well tie is an inverse problem with a posterior distribution. Bayesian treatments of that problem have existed for two decades and are still being developed \citep{buland2003bayesianwavelet,gunning2006waveletextractor,lim2025awsm}, but in those treatments the posterior is the end product and no learning step uses it.
|
||||
|
||||
The timing error is large enough to matter. At the four public wells of the F3 block, sonic-integrated TWT differs from the interpreted time--depth markers by up to 14--66\,ms, and the difference changes by up to 46\,ms inside a 500\,ms target window (Section~\ref{sec:data}). The OpendTect time--depth model distributed with the data deviates from the markers by up to 36\,ms, and a second set of model files is offset from them by $-15$ to $+41$\,ms on average. The dominant period of the seismic is 17--20\,ms. Label timing errors of one to several periods are therefore realistic, and because they vary with depth, a bulk lag cannot absorb them.
|
||||
The timing error is large enough to matter. At the four public wells of the F3 block, sonic-integrated TWT differs from the interpreted time--depth markers by at most 14 to 66\,ms, depending on the well, and the difference changes by up to 46\,ms inside a 500\,ms target window (Section~\ref{sec:data}). The OpendTect time--depth model distributed with the data deviates from the markers by up to 36\,ms, and a second set of model files is offset from them by $-15$ to $+41$\,ms on average. The dominant period of the seismic is 17--20\,ms. Label timing errors of one to several periods are therefore realistic, and because they vary with depth, a bulk lag cannot absorb them.
|
||||
|
||||
This error differs from the label errors usually studied. The label values are measured, but they are placed at the wrong times. Work on noisy labels and on errors in variables mostly concerns errors in the values (Section~\ref{sec:related}). A registration error acts on the time index instead. It is correlated along the well, its effect depends on frequency, and it affects the reference used to score blind wells as well as the training labels.
|
||||
|
||||
This study asks three questions: what such an error does to a learned predictor and to its evaluation, whether training on a tie posterior removes its effect, and what a field test needs in order to detect the difference. It makes four contributions, each answering a gap identified in Section~\ref{sec:related}.
|
||||
\begin{enumerate}
|
||||
\item \textbf{A theory of tie error in training labels.} When timing errors are independent of the data, the predictor that minimizes the mean squared error (MSE) is the correctly registered predictor convolved with the error distribution, so the seismic band is attenuated (Proposition~\ref{prop:blur}). A controlled experiment matches this attenuation to within 1\% for errors of 4--16\,ms, in the band where the predictor has coherent power. The error of an estimated tie can instead have the Berkson structure, which sharpens the predictor (Proposition~\ref{prop:tie}). Without time anchors, a shared network and its label alignment can drift together without changing the loss (Proposition~\ref{prop:ident}), so losses that learn the alignment from the network's own predictions, such as soft-DTW \citep{cuturi2017softdtw}, cannot fix absolute timing. Training on a calibrated bank of posterior labels has the population optimum of training on true labels, but its population gain over a single label is only of fourth order in the tie error (Proposition~\ref{prop:bank}). We also relate the coverage of predictive intervals to the error structure (Proposition~\ref{prop:coverage}).
|
||||
\item \textbf{A theory of tie error in training labels.} When timing errors are independent of the data, the predictor that minimizes the mean squared error (MSE) is the correctly registered predictor convolved with the error distribution, so the seismic band is attenuated (Proposition~\ref{prop:blur}). A controlled experiment matches this attenuation to within 1\% for errors of 4--16\,ms, in the band where the predictor has coherent power. The error of an estimated tie can instead have the Berkson structure, which is predicted to sharpen the predictor (Proposition~\ref{prop:tie}); where this could be tested on the benchmark, the trained network was blurred instead (Section~\ref{sec:exp:mech}). Without time anchors, a shared network and its label alignment can drift together without changing the loss (Proposition~\ref{prop:ident}), so losses that learn the alignment from the network's own predictions, such as soft-DTW \citep{cuturi2017softdtw}, cannot fix absolute timing. Training on a calibrated bank of posterior labels has the population optimum of training on true labels, but, for zero-mean errors, its population gain over the posterior-mean label is only of fourth order in the tie error (Proposition~\ref{prop:bank}). We also relate the coverage of predictive intervals to the error structure (Proposition~\ref{prop:coverage}).
|
||||
\item \textbf{A controlled test of training on a tie posterior.} Where the true timing is known, we compare deterministic ties, the mean of a tie posterior, banks of posterior samples and anchor-free alignment losses. To place them on one footing, we write every training objective as a special case of one tempered log-likelihood over a bank of labels, registration-marginalized learning (RML$_\lambda$), which contains point-tie training, hard-min and soft-min shift losses and soft-DTW (Lemmas~\ref{lem:s1}--\ref{lem:sdtw}). RML is a device for this comparison, not a proposed method expected to win. The test separates registration from uncertainty: a posterior helped only once it was more accurate than the best deterministic tie, its mean then gave the main gain, and training on its samples added a smaller gain when it was wide.
|
||||
\item \textbf{A benchmark with known timing.} Synthetic data built from F3 geometry, rock physics and time--depth statistics have known true warps. We vary drift, seismic signal-to-noise ratio, anchor density and well count, misspecify the simulator along three axes, and evaluate under pass rules locked before the main runs. The benchmark is released as 630 tasks with their inputs, the true warps and labels used for scoring, reference results of 21 methods and a scorer that applies the locked rules. Because the truth is public, the package supports controlled comparisons, not blind evaluation.
|
||||
\item \textbf{A benchmark with known timing.} Synthetic data built from F3 geometry, rock physics and time--depth statistics have known true warps. We vary drift, seismic signal-to-noise ratio, anchor density and well count, misspecify the simulator along three axes, and evaluate under pass rules locked before the main runs. The benchmark is released as 658 tasks with their inputs, the true warps and labels used for scoring, reference results of 21 methods and a scorer that applies the locked rules. Because the truth is public, the package supports controlled comparisons, not blind evaluation.
|
||||
\item \textbf{Requirements for a field test.} We give the bias of scoring blind wells against a misregistered reference (Proposition~\ref{prop:reference}), derive how accurately that reference must be tied (Corollary~\ref{cor:tolerance}), and estimate how many blind wells a comparison of tie methods needs (Section~\ref{sec:exp:detect}). Two field cases, F3 and Volve, show what a test that misses these requirements can and cannot show. We also audit the public F3 well data: the porosity labels at three of the four wells are a linear function of the sonic log, and the time--depth markers are horizon-tie picks, not check shots.
|
||||
\end{enumerate}
|
||||
|
||||
The benchmark results assume a correctly specified tie model and dense anchors of known uncertainty. Under these conditions, labels at the mean of a sequential Monte Carlo (SMC) tie posterior reduced seismic-band root-mean-square error (RMSE) by 8--22\% relative to the best deterministic tie at F3-like drift. Most of this advantage was already present without drift, so it reflects a more accurate tie rather than the correction of drift, and against the mean of an anchor-only posterior it held fully only at the highest signal-to-noise ratio. Training on a bank of samples from the same posterior added a gain of 2--11\% when the posterior was wide. Better registration therefore came first, and representing the remaining uncertainty came second. Several tests failed, and each failure identifies something a tie posterior needs. A posterior that does not contract gives no gain, a wrong anchor uncertainty or wavelet phase removes the advantage, and seed ensembles do not carry tie uncertainty to new wells. Field tests on F3 and Volve showed no consistent improvement and could not have detected one, because they lack the blind wells and the independent references that a power analysis requires.
|
||||
The benchmark results assume a correctly specified tie model and dense anchors of known uncertainty. Under these conditions, labels at the mean of a sequential Monte Carlo (SMC) tie posterior reduced seismic-band root-mean-square error (RMSE) by 8--22\% relative to the best deterministic tie at F3-like drift. Most of this advantage was already present without drift, so it reflects a more accurate tie rather than the correction of drift. The mode of the same posterior, used as a point tie, gave most of the gain, and averaging over the posterior added at most 3\%. Against the mean of an anchor-only posterior it was 19--33\% at 10\,dB, 8--11\% at 0\,dB and 2--4\% at $-5$\,dB. Training on a bank of samples from the same posterior added a gain of 2--11\% when the posterior was wide. Better registration therefore came first, and representing the remaining uncertainty came second. Several tests failed, and each failure identifies something a tie posterior needs. A posterior that does not contract gives no gain, a wrong anchor uncertainty or wavelet phase removes the advantage, and seed ensembles do not carry tie uncertainty to new wells. Field tests on F3 and Volve showed no consistent improvement and could not have detected one, because they lack the blind wells and the independent references that a power analysis requires.
|
||||
|
||||
Section~\ref{sec:related} positions each contribution. Section~\ref{sec:data} describes the field data and the benchmark generator, Section~\ref{sec:method} the tie posteriors, the compared methods and the common loss, and Section~\ref{sec:theory} the theory (contribution~1). Section~\ref{sec:experiments} follows the remaining contributions: the controlled test of training on a tie posterior (Sections~\ref{sec:exp:p2}--\ref{sec:exp:mech}; contribution~2), the benchmark studies (Section~\ref{sec:exp:bench}; contribution~3), and detectability and the field cases (Sections~\ref{sec:exp:detect} and~\ref{sec:exp:scope}; contribution~4). Section~\ref{sec:discussion} discusses what held and what failed for each contribution and gives practical advice. Appendices give the formal results and proofs (\ref{app:proofs}), the field tests (\ref{app:field}) and the protocol record (\ref{app:record}).
|
||||
|
||||
@@ -4,22 +4,22 @@
|
||||
Three bodies of work meet in this problem and have so far developed separately: well ties with uncertainty, learned property prediction from few wells, and losses that tolerate temporal misalignment. Two others study uncertain labels, in statistics and machine learning in general and in learned seismic interpretation, and two more bear on evaluation: benchmarks for seismic learning, and the design of comparisons between learning methods. The last paragraph maps the gaps to the four contributions of Section~\ref{sec:intro}.
|
||||
|
||||
\paragraph{Well ties have posteriors, but no learning step uses them.}
|
||||
\citet{buland2003bayesianwavelet} model the mistie between seismic time and log time as latent marker shifts with a triangular prior, and estimate them jointly with the wavelet by Markov chain Monte Carlo (MCMC). \citet{gunning2006waveletextractor} estimate the wavelet jointly with check-shot and marker times, a registration shift and a lateral positioning error per well, using a Laplace approximation for uncertainty. \citet{lim2025awsm} sample the stretch, shift and pinch-point parameters of a time--depth model jointly with the wavelet by parallel-tempering MCMC, and report time--depth uncertainty for 44 wells in the Midland Basin. They keep the median-misfit and minimum-misfit models to estimate angle-consistent wavelets, and no later step uses the posterior.
|
||||
\citet{buland2003bayesianwavelet} model the mistie between seismic time and log time as latent marker shifts with a triangular prior, and estimate them jointly with the wavelet by Markov chain Monte Carlo (MCMC). In this journal, \citet{gunning2006waveletextractor} estimate the wavelet jointly with check-shot and marker times, a registration shift and a lateral positioning error per well, using a Laplace approximation for uncertainty. \citet{lim2025awsm} sample the stretch, shift and pinch-point parameters of a time--depth model jointly with the wavelet by parallel-tempering MCMC, and report time--depth uncertainty for 44 wells in the Midland Basin. They keep the median-misfit and minimum-misfit models to estimate angle-consistent wavelets, and no later step uses the posterior.
|
||||
|
||||
Other methods output a single tie. \citet{wu2017multiwelltie} tie several wells at once with smooth depth-variable shifts. \citet{herrera2012automatedtie} use dynamic time warping; in the published version \citep{herrera2014semiautomatic}, the warping replaces manual stretch-and-squeeze within bounds set by the interpreter and is meant as a guide. \citet{dacostasilva2026autotie} combine time-weighted dynamic time warping, Bayesian optimization of the tie parameters and segment-wise alignment; their abstract reports higher correlations at six wells and no tie uncertainty. \citet{tschannen2022partialtie} estimate the wavelet with a variational network, with uncertainty mainly in the wavelet phase and the bulk shift found by Bayesian optimization within user-set bounds. \citet{di2023welltie} automate the tie with self-supervised learning, and \citet{li2025cascadedtie} without learning, by a local-similarity scan followed by refinement of residual shifts. All these methods output a tie, sometimes with wavelet or shift uncertainty, and stop there.
|
||||
Other methods output a single tie, following the practice reviewed by \citet{white2003goodpractice}. \citet{wu2017multiwelltie} tie several wells at once with smooth depth-variable shifts, and \citet{munoz2015multiwelltie} do so by aligning a synthetic image interpolated between the wells with the seismic image by dynamic image warping \citep{hale2013dynamic}. \citet{herrera2012automatedtie} use dynamic time warping; in the published version \citep{herrera2014semiautomatic}, the warping replaces manual stretch-and-squeeze within bounds set by the interpreter and is meant as a guide. \citet{dacostasilva2026autotie} combine time-weighted dynamic time warping, Bayesian optimization of the tie parameters and segment-wise alignment; their abstract reports higher correlations at six wells and no tie uncertainty. \citet{tschannen2022partialtie} estimate the wavelet with a variational network, with uncertainty mainly in the wavelet phase and the bulk shift found by Bayesian optimization within user-set bounds. \citet{di2023welltie} automate the tie with self-supervised learning, and \citet{li2025cascadedtie} without learning, by a local-similarity scan followed by refinement of residual shifts. All these methods output a tie, sometimes with wavelet or shift uncertainty, and stop there.
|
||||
|
||||
\paragraph{Learned property prediction takes the tie as given.}
|
||||
Recent studies predict porosity or impedance with neural networks or tree ensembles, sometimes with physics constraints or uncertainty estimates \citep{alfarraj2019semisupervised,vashisth2022rwpinn,liu2023lowfrequency,xu2024sts,chen2024multidimensional,li2024bpinn,ntibahanana2024ensemble,corrales2024seis2rock,dou2024seismae,tao2025structural,prabowo2025f3,cordoba2025porosity,rezaei2026krigingrf,sukar2026uncertainty}. In the field studies we read in full that work in time, a tie that is taken as given places the labels on the seismic axis. \citet{xu2024sts} say so explicitly, and their augmentation shifts windows laterally, not in time. \citet{li2024bpinn} calibrate the forward model of a Bayesian physics-informed network with a tie that is then fixed; their posterior is over network weights. Other studies avoid the tie. \citet{alfarraj2019semisupervised} and \citet{vashisth2022rwpinn} use synthetic data only, \citet{rezaei2026krigingrf} work on a depth-converted cube whose conversion is taken as given, and \citet{ali2025syntheticpseudowells} name the seismic-to-well discrepancy as a challenge and train on synthetic pseudo-wells. In \citet{sukar2026uncertainty} the labels are simulated property changes paired with synthetic 4D attribute maps, so no well tie places them.
|
||||
Recent studies predict porosity or impedance with neural networks or tree ensembles, sometimes with physics constraints or uncertainty estimates \citep{alfarraj2019semisupervised,vashisth2022rwpinn,liu2023lowfrequency,xu2024sts,chen2024multidimensional,li2024bpinn,ntibahanana2024ensemble,corrales2024seis2rock,dou2024seismae,tao2025structural,prabowo2025f3,cordoba2025porosity,rezaei2026krigingrf,sukar2026uncertainty}. In the field studies that work in time, a tie that is taken as given places the labels on the seismic axis. \citet{xu2024sts} say so explicitly, and their augmentation shifts windows laterally, not in time. \citet{li2024bpinn} calibrate the forward model of a Bayesian physics-informed network with a tie that is then fixed; their posterior is over network weights. Other studies avoid the tie. \citet{alfarraj2019semisupervised} and \citet{vashisth2022rwpinn} use synthetic data only, \citet{rezaei2026krigingrf} work on a depth-converted cube whose conversion is taken as given, and \citet{ali2025syntheticpseudowells} name the seismic-to-well discrepancy as a challenge and train on synthetic pseudo-wells. In \citet{sukar2026uncertainty} the labels are simulated property changes paired with synthetic 4D attribute maps, so no well tie places them.
|
||||
|
||||
Where these studies estimate uncertainty, it is that of the network or of the data noise, not of the label timing. \citet{cordoba2025porosity} report noise-sensitivity tests, but their abstract does not mention the tie or misregistered labels. Bayesian and variational inversions give posteriors or credible intervals for porosity or impedance \citep{thiebaud2024lfc,rizzuti2024waveletflows,rizzuti2025uhr}, and a bootstrapped ensemble trained on rock-physics synthetics gives a spread of elastic-property predictions \citep{lim2025bootnet}. None treats the tie as a source of uncertainty (for \citet{thiebaud2024lfc} we read the abstract only). \citet{rizzuti2025uhr} treat the wavelet as known, estimated at the trace nearest a projected cone-penetration-test site, and list bringing these effects into the uncertainty framework as future work. \citet{castagna2026quality} argue that the correlation coefficient does not measure the information a prediction shares with the presumed truth, and propose information-theoretic measures, also as training losses. They note that time--depth functions are never exact and that time shifts degrade mainly the higher frequencies. Their measures depend only on value distributions and are insensitive to small shifts, but they neither model the timing error nor carry it into training, and their porosity example with five training wells does not describe the tie.
|
||||
Where these studies estimate uncertainty, it is that of the network or of the data noise, not of the label timing. \citet{cordoba2025porosity} report noise-sensitivity tests, but their abstract does not mention the tie or misregistered labels. Bayesian and variational inversions give posteriors or credible intervals for porosity or impedance \citep{thiebaud2024lfc,rizzuti2024waveletflows,rizzuti2025uhr}, and a bootstrapped ensemble trained on rock-physics synthetics gives a spread of elastic-property predictions \citep{lim2025bootnet}. None treats the tie as a source of uncertainty. A Bayesian model-based inversion program has also been described in this journal \citep{gunning2004delivery}; we know it from its title only and do not assess how it treats time uncertainty. \citet{rizzuti2025uhr} treat the wavelet as known, estimated at the trace nearest a projected cone-penetration-test site, and list bringing these effects into the uncertainty framework as future work. \citet{castagna2026quality} argue that the correlation coefficient does not measure the information a prediction shares with the presumed truth, and propose information-theoretic measures, also as training losses. They note that time--depth functions are never exact and that time shifts degrade mainly the higher frequencies. Their measures depend only on value distributions and are insensitive to small shifts, but they neither model the timing error nor carry it into training, and their porosity example with five training wells does not describe the tie.
|
||||
|
||||
\paragraph{Alignment losses use no anchors and no physical tie.}
|
||||
Soft-DTW \citep{cuturi2017softdtw} and DILATE \citep{leguen2019dilate} replace the pointwise loss with a smoothed minimum over monotone alignments, and shift-tolerant losses take the minimum over a set of bulk lags. Apart from DILATE's penalty on departure from the label time axis, these losses have no prior over warps. Proposition~\ref{prop:ident} shows that, without anchors, the absolute timing they learn is not identified. Learned alignment has also been applied to seismic inputs: \citet{huff2024anglestack} train a CNN on synthetic angle stacks moveout-corrected with true and perturbed velocities and use it to align field angle stacks. There the misaligned quantities are the inputs, and the synthetic targets are aligned by construction.
|
||||
|
||||
\paragraph{Error models for labels mostly concern values, not positions.}
|
||||
Measurement-error models distinguish classical error, independent of the true value, from Berkson error, independent of the assigned value \citep{berkson1950two,fuller1987measurement,carroll2006measurement}. In linear regression, classical error in a covariate attenuates the fitted slope, while Berkson error leaves it unbiased and adds variance. Work on noisy labels in machine learning mostly treats corrupted class labels \citep{frenay2014label,song2023noisy}. Closest to our setting, \citet{mnih2012aerial} train a network to label roads in aerial images from maps whose objects are misplaced. They marginalize the likelihood over a small set of label translations, with a prior set on validation data, and fit it by expectation--maximization. Without its omission term this is a bank of shifted labels with $\lambda = 1$ and no anchors (Section~\ref{sec:method:rml}). They also score with a tolerance of three pixels because the ground truth is itself misregistered, and suggest that poor registration of one test set cost their noise-robust models precision at low recall. Proposition~\ref{prop:reference} states the analogous effect for band MSE.
|
||||
Measurement-error models distinguish classical error, independent of the true value, from Berkson error, independent of the assigned value \citep{berkson1950two,fuller1987measurement,carroll2006measurement}. In linear regression, classical error in a covariate attenuates the fitted slope, while Berkson error leaves it unbiased and adds variance. Work on noisy labels in machine learning mostly treats corrupted class labels \citep{frenay2014label,song2023noisy}, including corruption whose rate changes over time \citep{nagaraj2025temporal}. Errors in the time of a label are rarer: \citet{adams2017imprecise} learn event detectors from noisy time stamps by marginalizing over the timing error, which is the closest analogue of a misplaced label index, although their labels are discrete events and the timing error has no physical model. In medical image analysis, labels defined in one image are transported to another by an estimated registration, and Bayesian registration gives a posterior over that map \citep{risholm2013bayesian}. \citet{luo2019applicability} distinguish the uncertainty of the transformation from that of the transported labels, argue that the first can mislead as a measure of the second, and report that using registration uncertainty did not always help. Closest to our setting, \citet{mnih2012aerial} train a network to label roads in aerial images from maps whose objects are misplaced. They marginalize the likelihood over a small set of label translations, with a prior set on validation data, and fit it by expectation--maximization. Without its omission term this is a bank of shifted labels with $\lambda = 1$ and no anchors (Section~\ref{sec:method:rml}); connectionist temporal classification \citep{graves2006ctc} likewise marginalizes the likelihood over monotone alignments of a sequence. They also score with a tolerance of three pixels because the ground truth is itself misregistered, and suggest that poor registration of one test set cost their noise-robust models precision at low recall. Proposition~\ref{prop:reference} states the analogous effect for band MSE.
|
||||
|
||||
The spectral effect of random timing errors has long been studied for sampling jitter \citep{balakrishnan1962jitter}. A misregistered well label differs in where the error enters. Its values are correct but placed at the wrong times, the error is correlated along the well, and it blurs the seismic band while leaving the low frequencies nearly unchanged (Proposition~\ref{prop:blur}). The classical and Berkson structures carry over to the time index, where they bias the learned predictor in opposite directions (Proposition~\ref{prop:tie}).
|
||||
The spectral effect of random timing errors has long been studied for sampling jitter \citep{balakrishnan1962jitter}. The closest structural analogue is the age--depth model of paleoclimate and geochronology: a monotone depth-to-time map anchored by noisy dates \citep{haslett2008monotone,blaauw2011bacon}, whose posterior ensembles are propagated into later analyses \citep{mckay2021geochronr}, and whose time errors are reported to affect mainly the high-frequency part of a proxy series \citep{comboul2014chronological}. Our setting differs in that the downstream step is a learned predictor trained on the labels, and the tie is estimated from the seismic as well as from anchors. For well ties, \citet{white1980partial} and \citet{walden1984errors} treat the estimation of the wavelet and the accuracy of the match between a synthetic and a trace, without a model of the tie as a source of label error. A misregistered well label differs in where the error enters. Its values are correct but placed at the wrong times, the error is correlated along the well, and it blurs the seismic band while leaving the low frequencies nearly unchanged (Proposition~\ref{prop:blur}). The classical and Berkson structures carry over to the time index, where they bias the learned predictor in opposite directions (Proposition~\ref{prop:tie}).
|
||||
|
||||
\paragraph{In seismic interpretation, label uncertainty describes the interpreter.}
|
||||
\citet{quesada2024faultlabels} collected fault labels on 400 F3 images from 38 annotators with different expertise and confidence, and \citet{mirza2025labelquality} assess the variability of manual salt interpretations together with image quality. \citet{guillon2020gtmetrics} add a tolerance distance to fault and horizon metrics, because picks of the same boundary by different interpreters differ by a few pixels. The tolerance enters only the evaluation, and they name a tolerance-aware training loss as future work. In these works the label is an interpretation of the seismic image itself. In our problem the label values come from well logs, and a physical tie model conditioned on anchors gives a posterior for their position on the seismic axis.
|
||||
@@ -35,7 +35,7 @@ The ingredients are not new: tie posteriors \citep{buland2003bayesianwavelet,gun
|
||||
|
||||
\begin{table}[t]
|
||||
\centering
|
||||
\caption{Positioning. DL: learned property prediction; Tie: automated tie; Tie UQ: posterior or uncertainty of the tie; UQ$\to$train: tie uncertainty used in training; Reg.\ eval.: evaluation that accounts for registration error; bench.: public benchmark whose labels are registered to the seismic by construction or by interpretation; seg.: segmentation of seismic or aerial images; transl.: likelihood marginalized over a few label translations; tol.: spatial tolerance between prediction and label in the metric. \textsuperscript{a}Assessed from the abstract only.}
|
||||
\caption{Positioning. DL: learned property prediction (\checkmark) or, otherwise, the kind of learning task; Tie: automated tie; Tie UQ: posterior or uncertainty of the tie; UQ$\to$train: tie uncertainty used in training; Reg.\ eval.: evaluation that accounts for registration error; bench.: public benchmark whose labels are registered to the seismic by construction or by interpretation; seg.: segmentation of seismic or aerial images; transl.: likelihood marginalized over a few label translations; tol.: spatial tolerance between prediction and label in the metric. \textsuperscript{a}Assessed from the abstract only.}
|
||||
\label{tab:positioning}
|
||||
\small
|
||||
\begin{tabular}{>{\raggedright\arraybackslash}p{0.42\textwidth}ccccc}
|
||||
|
||||
@@ -32,7 +32,7 @@ F06-1 & 244/387 & $-21 \to -66$ & 45 & 36.5 & 10 & $-0.2018+0.0011\,\mathrm{DT}
|
||||
Applying the survey's bin-to-coordinate transform to the wellhead coordinates places F02-1 and F06-1 3.2\,km apart and the other pairs 8--17\,km apart. The distance to the nearest training well therefore differs greatly between leave-one-well-out folds.
|
||||
|
||||
\paragraph{The time--depth sources disagree, and the markers are not check shots.}
|
||||
Integrating the sonic from the first log sample, as is common in learning studies, gives TWT that differs from the TD markers in the window by up to 14--66\,ms, depending on the well. The difference changes with depth by 10--46\,ms (Table~\ref{tab:audit}, Fig.~\ref{fig:tddrift}). It is negative at depth, so sonic time is early, as expected from velocity dispersion. The two TD models distributed with the data also disagree. The OpendTect model deviates from the markers by up to 36.5\,ms. A second set of model files is offset from the check-shot tables by $+40.5$, $+40.2$, $+25.2$ and $-14.6$\,ms on average; at F06-1 the offset changes sign with depth, and a datum correction does not explain it.
|
||||
Integrating the sonic from the first log sample, as is common in learning studies, gives TWT that differs from the TD markers in the window by up to 14--66\,ms, depending on the well. The difference changes with depth by 10--46\,ms (Table~\ref{tab:audit}, Fig.~\ref{fig:tddrift}). It is negative at depth, so sonic time is early, as expected from velocity dispersion. The two TD models distributed with the data also disagree. The OpendTect model deviates from the markers by up to 36.5\,ms. A second set of model files is offset from the markers by $+40.5$, $+40.2$, $+25.2$ and $-14.6$\,ms on average; at F06-1 the offset changes sign with depth, and a datum correction does not explain it.
|
||||
|
||||
The ``check-shot'' tables are these markers, with the same depths and times. They are horizon-tie picks made on this seismic volume, not independent check-shot surveys. We therefore treat them as anchors with a pick uncertainty $\sigma_a$. The median absolute deviation (MAD) of marker--horizon time differences over 18 pairs at the four wells is 6.9\,ms, and we use $\sigma_a = 7$\,ms. Each well has 9--11 anchors in the target window, 8 to about 148\,ms apart.
|
||||
|
||||
@@ -51,11 +51,11 @@ To give all four wells one label definition, we use $\mathrm{PHIE}_{\mathrm{DT}}
|
||||
\subsection{Synthetic benchmark}
|
||||
\label{sec:data:d2}
|
||||
|
||||
The synthetic benchmark makes the true registration known while keeping the F3 statistics. Five F3 horizons (Shallow, FS8, FS7, Truncation, MFS4) define the stratigraphic frame. Porosity is a trend ($\phi_0 = 0.32$, slope $-0.008$ per 100\,ms) plus unit offsets and a sum of two Ornstein--Uhlenbeck fields in stratigraphic coordinates (standard deviations 0.010 and 0.006, correlation lengths 10 and 2\,ms), clipped to $[0.05, 0.45]$. The F3 rock physics maps porosity to DT, RHOB and impedance. Seismic is the reflectivity convolved with a 128\,ms zero-phase statistical wavelet estimated from F3, plus noise at a prescribed signal-to-noise ratio (SNR). The SNR is a power ratio computed on the clean central trace of the input patch over the extended window. The noise is white noise convolved with the same wavelet, so it occupies the seismic band. It is independent between the nine traces of the patch, so averaging over the patch can raise the effective SNR by up to a factor of nine in power.
|
||||
The synthetic benchmark makes the true registration known while keeping the F3 statistics. Five F3 horizons (Shallow, FS8, FS7, Truncation, MFS4) define the stratigraphic frame. Porosity is a trend ($\phi_0 = 0.32$, slope $-0.008$ per 100\,ms) plus unit offsets and a sum of two Ornstein--Uhlenbeck fields in stratigraphic coordinates (standard deviations 0.010 and 0.006, correlation lengths 10 and 2\,ms), clipped to $[0.05, 0.45]$. The F3 rock physics maps porosity to DT, RHOB and impedance. Seismic is the reflectivity convolved with a 128\,ms zero-phase statistical wavelet estimated from F3, plus noise at a prescribed signal-to-noise ratio (SNR). The SNR is a power ratio computed on the clean central trace of the input patch over the extended window; the tie likelihood uses one trace, whereas the network sees nine, so the SNR named for a setting is not the network's effective SNR. The noise is white noise convolved with the same wavelet, so it occupies the seismic band. It is independent between the nine traces of the patch, so averaging over the patch can raise the effective SNR by at most a factor of nine in power.
|
||||
|
||||
The true time--depth warp of each well is drawn from the warp prior of Section~\ref{sec:method:prior}, fitted to the F3 anchors, and scaled by a drift factor $c$ ($g \to c\,g$, $b \to c\,b$). The generating bulk spread is $\sigma_b = 19$\,ms, and the registration uses a wider, fixed $\sigma_b = 50$\,ms. The value $c = 1$ reproduces the F3 drift level, and $c = 0$ is perfect registration. Anchors are the true times at stratigraphic markers plus $\N(0, \sigma_a^2)$ noise with $\sigma_a = 7$\,ms. Each realization has a pool of 16 training wells, from which nested subsets of $N$ wells are drawn, and 8 test wells at least 1\,km from every other well. Labels are scored in the true time of the earth model. Realizations are split into development realizations (numbered from 900), used for every design choice, and test realizations (0--15), used only for results.
|
||||
|
||||
We use five observation settings. Three have the full anchor density, at SNR 10, 0 and $-5$\,dB. The other two thin the anchors: the \emph{half-anchor} setting has SNR 0\,dB with half the anchors, and the \emph{two-anchor} setting has SNR 10\,dB with only the top and bottom anchors. Under the F3 warp prior, the $-5$\,dB setting gives the posterior width closest to F3 (Section~\ref{sec:exp:p2r}). A \emph{cell} is one combination of observation setting, drift factor $c$ and number of training wells $N$.
|
||||
We use five observation settings. Three have the full anchor density, at SNR 10, 0 and $-5$\,dB. The other two thin the anchors: the \emph{half-anchor} setting has SNR 0\,dB with half the anchors, and the \emph{two-anchor} setting has SNR 10\,dB with only the top and bottom anchors. Under the F3 warp prior, the $-5$\,dB setting gives the posterior width closest to F3 (Section~\ref{sec:discussion}, practical advice, and Appendix~\ref{app:field}). A \emph{cell} is one combination of observation setting, drift factor $c$ and number of training wells $N$.
|
||||
|
||||
\paragraph{Misspecified simulators.}
|
||||
The misspecification study of Experiment~3 generates the data with a simulator that departs from the model used for registration, which keeps the nominal rock physics, a statistical wavelet with a constant phase, and the warp prior of Section~\ref{sec:method:prior}. There are three axes, each with a mild and a strong level (Table~\ref{tab:s2}).
|
||||
@@ -65,3 +65,31 @@ The misspecification study of Experiment~3 generates the data with a simulator t
|
||||
\item \emph{Warp prior.} The mild level, the \emph{scaled warp prior}, multiplies the bulk-offset standard deviation by 3 (which exceeds the value fixed in the registration), the drift standard deviation by 1.5 and the correlation length by 0.5. The strong level, the \emph{out-of-family warp}, adds components the prior cannot represent: an 8\,ms step just below Truncation, plus jitter with standard deviation 1\,ms and correlation length 8\,ms.
|
||||
\end{itemize}
|
||||
The model error measures the size of a seismic misspecification. It is the RMS residual between the clean seismic and the best synthetic in the registration's model family at the true warp, divided by the RMS of the noise at 10\,dB. It is 0.23 for the nominal simulator and 1.08--1.93 for the five seismic presets. Appendix~\ref{app:record} records how the levels were chosen.
|
||||
|
||||
\subsection{Released benchmark package}
|
||||
\label{sec:data:package}
|
||||
|
||||
The package turns the synthetic benchmark into tasks on which other tie methods can be run and scored (contribution~3). It contains 658 tasks, 47 per realization: the five observation settings at five drift factors, 14 misspecification settings, six two-mode settings and two anchor-uncertainty settings, on the test realizations 8--15 and the development realizations 900--905 (Table~\ref{tab:package}). A method receives what an analyst would have: seismic patches at every well, and logs and noisy anchors at the training wells. It also receives the analyst's nominal model, which in the misspecification settings still describes the nominal simulator. This file states the true anchor uncertainty, $\sigma_a = 7$\,ms, in all tasks except the two anchor-uncertainty settings, which have the data of the 10\,dB, $c = 1$ setting and a task file that states $\sigma_a = 3.5$ or 14\,ms, as in Experiment~2, where a wrong value removed the advantage (Section~\ref{sec:exp:p2r}). The reference results of these two settings are those of Experiment~2 for realizations 8--15; the stress was tested at 10\,dB only. The truth is included because the generator is public. The package therefore supports controlled comparisons, not blind evaluation, and users must make every design choice on the development realizations. The scorer applies the two rules of Section~\ref{sec:experiments} and reports each ratio with its bootstrap interval. The reference results are 46\,320 runs of 21 methods; Appendix~\ref{app:record} maps their names in the text to the codes used in the package. A manifest of SHA-256 hashes covers every file, and one command regenerates the package and checks it against the manifest.
|
||||
|
||||
\begin{table}[!htbp]
|
||||
\centering
|
||||
\caption{Contents of the released benchmark package.}
|
||||
\label{tab:package}
|
||||
\small
|
||||
\begin{tabular}{p{0.22\linewidth}p{0.72\linewidth}}
|
||||
\toprule
|
||||
Item & Content \\
|
||||
\midrule
|
||||
Task grid & 5 settings $\times$ $c \in \{0, 0.5, 1, 1.5, 2\}$; 14 misspecification settings (7 presets at 10 and $-5$\,dB, $c = 1$); 6 two-mode settings ($\Delta \in \{8, 16, 32\}$\,ms at 10 and $-5$\,dB); 2 anchor-uncertainty settings (10\,dB, $c = 1$, stated $\sigma_a$ of 3.5 and 14\,ms); each on 8 test and 6 development realizations \\
|
||||
Every well & $3 \times 3$ patch of noisy traces, 400--1300\,ms at 4\,ms \\
|
||||
Training wells (16) & porosity and impedance logs on log time $\tau$; marker anchors with noisy times; the first $N$ wells form a task with $N$ wells \\
|
||||
Analyst file & units and windows; nominal wavelet, rock physics and warp prior; $\sigma_a = 7$\,ms (the task file states the value to use); scoring metric \\
|
||||
Truth & test porosity on true time (8 wells $\times$ 126 samples, 600--1100\,ms); true warps of the training wells; the true mode in two-mode tasks \\
|
||||
Splits & test: realizations 8--15, five network seeds in the reference runs; development: 900--905, for every design choice \\
|
||||
Submission & predicted mean (optionally a standard deviation) for the 8 test wells per setting, $c$, $N$, realization and seed \\
|
||||
Scores & RMSE, PCC, band RMSE and band PCC above 6\,Hz, low-band RMSE; NLL, CRPS and interval coverage when a standard deviation is given \\
|
||||
Rules & margin rule against the best deterministic tie; no-margin rule against the SMC mean, SMC bank and Oracle; ratios with 95\% bootstrap intervals over realizations \\
|
||||
Reference & 46\,320 runs of 21 methods with every metric; cell means and posterior widths \\
|
||||
\bottomrule
|
||||
\end{tabular}
|
||||
\end{table}
|
||||
|
||||
@@ -33,7 +33,7 @@ We draw $S = 64$ warps per well from the anchor-conditioned posterior. The propo
|
||||
\paragraph{Sequential Monte Carlo posterior (Experiment~2).}
|
||||
Importance weights over 64 anchor-conditioned samples cannot move mass to warps that the anchor posterior rarely proposes, and in development runs that posterior did not contract to the true warp (Section~\ref{sec:exp:diag}). The second posterior therefore uses tempered sequential Monte Carlo. It starts from $N_p = 1024$ anchor-posterior samples and targets $p(u\mid \text{anchors})\, p(\mathbf s_w\mid u, \psi)^{\omega}$. The tempering exponent rises from 0 to $\omega$ in adaptive steps that keep the effective sample size at least $N_p/2$. Each step uses systematic resampling followed by eight elliptical slice moves. Banks of $S = 64$ labels are drawn without replacement from the $N_p$ particles.
|
||||
|
||||
Before the trial we pre-registered a stability criterion: the 95th percentile over $t$ of the difference between mean warps of independent runs must not exceed 0.5\,ms. On development data $N_p = 1024$ meets it at $c = 1$ in 4 of 4 cells at 10\,dB and in 3 of 4 at $-5$\,dB. At $c = 2$ the mean warp is unstable under every configuration we tried, and the posterior is often multimodal (Section~\ref{sec:exp:mech}). We summarize posterior width by $\sigpost = w_{90}/3.29$, where $w_{90}$ is the 90\% interval width of $\tau(t)$ averaged over the main window and the training wells. No labels are used to compute it.
|
||||
Before the trial the protocol fixed a stability criterion: the 95th percentile over $t$ of the difference between mean warps of independent runs must not exceed 0.5\,ms. On development data $N_p = 1024$ meets it at $c = 1$ in 4 of 4 cells at 10\,dB and in 3 of 4 at $-5$\,dB. At $c = 2$ the mean warp is unstable under every configuration we tried, and the posterior is often multimodal (Section~\ref{sec:exp:mech}). We summarize posterior width by $\sigpost = w_{90}/3.29$, where $w_{90}$ is the 90\% interval width of $\tau(t)$ averaged over the main window and the training wells. No labels are used to compute it.
|
||||
|
||||
\subsection{Labels for each warp}
|
||||
\label{sec:method:labels}
|
||||
@@ -57,7 +57,7 @@ The network outputs a mean $\mu_\theta$ and a standard deviation $\sigma_\theta$
|
||||
The training loss is the mean of $\RML_\lambda$ over windows and wells.
|
||||
|
||||
\paragraph{The tempering $\lambda$ accounts for correlated residuals.}
|
||||
With $\lambda = 1$, differences between bank members are $O(n)$ and the log-sum-exp puts almost all weight on one member. Residuals are also autocorrelated, so a window holds less information than $n$ independent observations. If two members differ by $\Delta_\ell = \sum_i d_i$, and $d_i$ is a product of two zero-mean Gaussian processes with common autocorrelation $r_{\mathrm{ac}}$, then $\Var\Delta_\ell \approx n \Var(d)\,\tau_c$ with $\tau_c = 1 + 2\sum_{k\ge1}r_{\mathrm{ac}}(k)^2$. Setting $\lambda = 1/\tau_c$ gives $\lambda\Delta_\ell$ the variance of a log-likelihood difference over $n/\tau_c$ independent observations, the simplest magnitude adjustment of a composite likelihood \citep{pauli2011composite,ribatet2012composite}. Residuals are not available before training, so we estimate $r_{\mathrm{ac}}$ from the pooled autocorrelation of the high-passed training labels, truncated at the first non-positive lag. This gives $\tau_c \approx 2.7$--$2.9$ samples and $\lambda \approx 0.36$--$0.37$, nearly constant across the grid. The choice is a heuristic fixed before the experiments, and we make no claim about it.
|
||||
With $\lambda = 1$, differences between bank members are $O(n)$ and the log-sum-exp puts almost all weight on one member. Residuals are also autocorrelated, so a window holds less information than $n$ independent observations. If two members differ by $\Delta_\ell = \sum_i d_i$, and $d_i$ is a product of two zero-mean Gaussian processes with common autocorrelation $r_{\mathrm{ac}}$, then $\Var\Delta_\ell \approx n \Var(d)\,\tau_c$ with $\tau_c = 1 + 2\sum_{k\ge1}r_{\mathrm{ac}}(k)^2$. Setting $\lambda = 1/\tau_c$ gives $\lambda\Delta_\ell$ the variance of a log-likelihood difference over $n/\tau_c$ independent observations, the simplest magnitude adjustment of a composite likelihood \citep{pauli2011composite,ribatet2012composite}. Residuals are not available before training, so we estimate $r_{\mathrm{ac}}$ from the pooled autocorrelation of the high-passed training labels, truncated at the first non-positive lag. This gives $\tau_c \approx 2.7$--$2.9$ samples and $\lambda \approx 0.36$--$0.37$, nearly constant across the grid. The choice is a heuristic fixed before the experiments, and we make no claim about it. At this $\lambda$ the bank loss is far from its $\lambda \to 0$ limit, which the theory of Section~\ref{sec:theory} analyses: in the wide cells of Experiment~2 the effective number of members during training was 3.5--28 of 64 (Appendix~\ref{app:record}).
|
||||
|
||||
\paragraph{The loss contains the common alternatives.}
|
||||
The following statements are exact and are checked numerically in the code's unit tests. Proofs are in Appendix~\ref{app:proofs}, which also gives the identity for soft-DTW (Lemma~\ref{lem:sdtw}).
|
||||
@@ -95,14 +95,14 @@ Soft-DTW is RML over every monotone alignment in a band, with a uniform prior, n
|
||||
\subsection{Network and training}
|
||||
\label{sec:method:train}
|
||||
|
||||
All learned methods share one backbone and differ only in their labels and loss; the backbone check of Experiment~3 adds a second. The input is a $3\times3$ trace patch around the well (nine channels), z-scored per channel within each well. Three dilated 1-D convolutions (kernel 5, dilations 1, 2 and 4, 64 channels) feed a two-layer bidirectional gated recurrent unit (GRU); we call this backbone the CNN--GRU, with CNN for convolutional neural network. A $1\times1$ head with a $1\times1$ skip connection outputs $\mu$ and $\sigma$ (softplus, $\sigma \ge 10^{-3}$). Dropout is 0.05. We train with Adam (learning rate $5\times10^{-3}$, gradient clipping at 5) on full batches of all training wells. Losses are computed on 64-sample windows starting at samples $0, 2, \dots, 62$ of the 126-sample main window. Labels are standardized by the mean and standard deviation of the anti-aliased log over the training wells, statistics that do not depend on the tie.
|
||||
All learned methods share one backbone and differ only in their labels and loss; the backbone check of Experiment~3 adds a second. The input is a $3\times3$ trace patch around the well (nine channels), z-scored per channel within each well. Three dilated 1-D convolutions (kernel 5, dilations 1, 2 and 4, 64 channels) feed a two-layer bidirectional gated recurrent unit (GRU); we call this backbone the CNN--GRU, with CNN for convolutional neural network. A $1\times1$ head with a $1\times1$ skip connection outputs a heteroscedastic mean $\mu$ and standard deviation $\sigma$ \citep{kendall2017uncertainties} (softplus, $\sigma \ge 10^{-3}$). Dropout is 0.05. We train with Adam (learning rate $5\times10^{-3}$, gradient clipping at 5) on full batches of all training wells. Losses are computed on 64-sample windows starting at samples $0, 2, \dots, 62$ of the 126-sample main window. Labels are standardized by the mean and standard deviation of the anti-aliased log over the training wells, statistics that do not depend on the tie.
|
||||
|
||||
The number of iterations is selected separately for each method from $\{125, 250, 500, 1000, 2000\}$ by total RMSE on the development realizations (benchmark controls inherit the budget of the method they modify; Table~\ref{tab:benchdesign}); on F3 it is selected by inner validation (Appendix~\ref{sec:exp:f3}). Every method has the same candidate set, and band metrics are not used for selection. The second backbone, a temporal convolutional network (TCN), has no recurrence: four dilated 1-D convolutions (kernel 5, dilations 1, 2, 4 and 8, 64 channels, ReLU, the same dropout) and the same output head without the skip connection. Its iterations were selected by the same rule on development realizations 902--905 (10\,dB, $c = 1$). Every method selected 125, the smallest candidate, and the candidate set was not extended. Ensembles average five seeds (on F3, three inner models $\times$ five seeds), with $\mu = \overline{\mu_s}$ and $\sigma^2 = \overline{\sigma_s^2} + \Var_s \mu_s$.
|
||||
The number of iterations is selected separately for each method from $\{125, 250, 500, 1000, 2000\}$ by total RMSE on the development realizations (benchmark controls inherit the budget of the method they modify; Table~\ref{tab:benchdesign}); on F3 it is selected by inner validation (Appendix~\ref{sec:exp:f3}). Every method has the same candidate set, and band metrics are not used for selection. The second backbone, a temporal convolutional network (TCN), has no recurrence: four dilated 1-D convolutions (kernel 5, dilations 1, 2, 4 and 8, 64 channels, ReLU, the same dropout) and the same output head without the skip connection. Its iterations were selected by the same rule on development realizations 902--905 (10\,dB, $c = 1$). Every method selected 125, the smallest candidate, and the candidate set was not extended, so the TCN budgets sit at the edge of the grid and are not tuned. Ensembles average five seeds (on F3, three inner models $\times$ five seeds), with $\mu = \overline{\mu_s}$ and $\sigma^2 = \overline{\sigma_s^2} + \Var_s \mu_s$ \citep{lakshminarayanan2017deepensembles}.
|
||||
|
||||
\subsection{Compared methods}
|
||||
\label{sec:method:baselines}
|
||||
|
||||
Table~\ref{tab:methods} lists the methods. In the language of Lemmas~\ref{lem:s1}--\ref{lem:shift}, deterministic and posterior-mean ties are RML with $S = 1$ at different warps, the anchor-free losses are RML with anchor-free banks, and the anchor banks and the \mRML{} are RML with anchor-conditioned banks.
|
||||
Table~\ref{tab:methods} lists the methods. In the language of Lemmas~\ref{lem:s1}--\ref{lem:shift}, deterministic and posterior-mean ties are RML with $S = 1$ at different warps, the shift losses are RML with anchor-free banks (soft-DTW is related through Lemma~\ref{lem:sdtw}, and DILATE adds a temporal-distortion term and is only related), and the anchor banks and the \mRML{} are RML with anchor-conditioned banks.
|
||||
|
||||
\begin{table}[!tbp]
|
||||
\centering
|
||||
@@ -116,7 +116,7 @@ Name & Labels / bank & Loss \\
|
||||
\multicolumn{3}{l}{\emph{Field baselines (F3 only)}} \\
|
||||
Depth--time trend & trend fitted on training wells (no seismic) & -- \\
|
||||
Attribute models & ridge, random forest or gradient boosting on seismic attributes and TWT & -- \\
|
||||
Impedance inversion & model-based inversion with a well-interpolated low-frequency model, then linear $\phi$--impedance & -- \\
|
||||
Impedance inversion & model-based inversion \citep{ravasi2020pylops} with a well-interpolated low-frequency model, then linear $\phi$--impedance & -- \\
|
||||
Composite loss & backbone with a composite loss$^{\dagger}$ & composite \\
|
||||
\midrule
|
||||
\multicolumn{3}{l}{\emph{Deterministic ties ($S = 1$)}} \\
|
||||
@@ -154,10 +154,10 @@ Calibrated-sonic ensemble & the five-seed ensemble of the calibrated sonic, the
|
||||
\end{tabular}
|
||||
|
||||
\smallskip
|
||||
\footnotesize $^{\dagger}$Labels from the calibrated sonic; deterministic output. Loss: Huber regression loss $+\,0.60$ correlation $+\,0.05$ first-difference $+\,0.10$ standardized-shape $+\,0.10$ variance-matching $+\,0.20$ best-shift MSE (minimum over shifts of $\pm 8$ samples). $^{\ddagger}$The backbone check also trains the Oracle, calibrated sonic, correlation tie, phase-estimated correlation, \mPM{} and \mRML{} with the TCN backbone.
|
||||
\footnotesize $^{\dagger}$Labels from the calibrated sonic; deterministic output. Loss: Huber regression loss $+\,0.60$ correlation $+\,0.05$ first-difference $+\,0.10$ standardized-shape $+\,0.10$ variance-matching $+\,0.20$ best-shift MSE (minimum over shifts of $\pm 8$ samples). The weights are those of the earlier thesis code from which this baseline is taken; they were not tuned here. $^{\ddagger}$The backbone check also trains the Oracle, calibrated sonic, correlation tie, phase-estimated correlation, \mPM{} and \mRML{} with the TCN backbone.
|
||||
\end{table}
|
||||
|
||||
\subsection{Metrics}
|
||||
\label{sec:method:metrics}
|
||||
|
||||
Accuracy is reported in porosity units (p.u., porosity $\times 100$). We split every trace into a low band ($|f| < f_c$) and a seismic band ($|f| \ge f_c$, $f_c = 6$\,Hz), using a fourth-order Butterworth filter applied forward and backward (zero phase). On F3, energy below 5\,Hz is 0.2--0.5\% of the total. The primary metrics are the root-mean-square error (RMSE) and the Pearson correlation coefficient (PCC) in the seismic band (band RMSE, band PCC), because registration errors act there while the low band is dominated by the trend. We also report total RMSE and PCC and the band standard-deviation ratio. Calibration is described by the coverage of central intervals at 50, 80, 90 and 95\%, the calibration error (mean absolute deviation of coverage from nominal over these levels), the Gaussian negative log-likelihood and the continuous ranked probability score (CRPS). Warp accuracy (synthetic only) is the RMSE of $\tau(t)$ against the true warp over the main window, together with 90\% coverage. Statistics are computed per test well and then averaged over wells (macro-averaged). Intervals are 95\% bootstrap intervals over realizations (2000 resamples). On F3 the time samples within a well are not independent and there are only four wells, so field results are descriptive and we compute no per-sample $p$-values.
|
||||
Accuracy is reported in porosity units (p.u., porosity $\times 100$). We split every trace into a low band ($|f| < f_c$) and a seismic band ($|f| \ge f_c$, $f_c = 6$\,Hz), using a fourth-order Butterworth filter applied forward and backward (zero phase). On F3, energy below 5\,Hz is 0.2--0.5\% of the total. The primary metrics are the root-mean-square error (RMSE) and the Pearson correlation coefficient (PCC) in the seismic band (band RMSE, band PCC), because registration errors act there while the low band is dominated by the trend. We also report total RMSE and PCC and the band standard-deviation ratio. Calibration is described by the coverage of central intervals at 50, 80, 90 and 95\%, the calibration error (mean absolute deviation of coverage from nominal over these levels), the Gaussian negative log-likelihood and the continuous ranked probability score (CRPS) \citep{gneiting2007scoringrules}. Warp accuracy (synthetic only) is the RMSE of $\tau(t)$ against the true warp over the main window, together with 90\% coverage. Statistics are computed per test well and then averaged over wells (macro-averaged). Intervals are 95\% bootstrap intervals over realizations (2000 resamples). On F3 the time samples within a well are not independent and there are only four wells, so field results are descriptive and we compute no per-sample $p$-values.
|
||||
|
||||
@@ -13,8 +13,8 @@ This section gives the first contribution. It asks what a registration error in
|
||||
Result & Statement & Main assumption & Test and outcome \\
|
||||
\midrule
|
||||
Prop.~\ref{prop:blur} & Timing errors independent of the data blur the optimal predictor & independent error & controlled experiment: agrees to within 1\% for 4--16\,ms, below about 23\,Hz \\
|
||||
Prop.~\ref{prop:ident} & Without anchors, a network and its alignment can drift together & model closed under shifts & anchors removed: warp error about ten times larger \\
|
||||
Prop.~\ref{prop:tie} & Classical tie error blurs the predictor; Berkson error sharpens it & error structure & exploratory: Berkson at F3-like drift \\
|
||||
Prop.~\ref{prop:ident} & Without anchors, a network and its alignment can drift together & model closed under shifts & registration without anchors: warp error about ten times larger (tests the prior, not a network) \\
|
||||
Prop.~\ref{prop:tie} & Classical tie error blurs the predictor; Berkson error sharpens it & error structure & exploratory: Berkson structure of the bulk offset at $c = 1$; no sharpening detected \\
|
||||
Prop.~\ref{prop:bank} & A calibrated bank has the oracle's optimum; its gain over one label is of fourth order & calibrated bank, $\lambda \to 0$ & measured gains compared with the bound (Section~\ref{sec:exp:p2r}) \\
|
||||
Cor.~\ref{cor:twomode} & A two-mode error reverses the sign of part of the band & two-point error & two-mode study: as predicted \\
|
||||
Prop.~\ref{prop:coverage} & Coverage follows the error structure & population optimum & not tested: confounded with training length \\
|
||||
@@ -57,7 +57,7 @@ P(f) = \E\big[e^{i2\pi f\delta}\big], \qquad \delta \sim \N(\mu_\delta, \sigma^2
|
||||
\end{equation*}
|
||||
Only the marginal distribution of $\delta(t)$ at each $t$ enters. Whether the error is a smooth drift or independent jitter does not change the population optimum, although it changes finite-sample learning. A non-zero mean $\mu_\delta$ adds a common shift, the direction that Section~\ref{sec:theory:ident} shows to be unidentified. Assumption (A1) is the classical structure of errors-in-variables models \citep{fuller1987measurement,carroll2006measurement}, applied to the time index rather than to the value of the label. It is a modelling assumption: on F3 the same sonic log produces both the label and the time axis, so $\delta$ and $y$ are not strictly independent.
|
||||
|
||||
Blur lowers both the amplitude and the correlation of the prediction in the seismic band (Corollary~\ref{cor:band}). The coherence at each frequency is unchanged, so blur does not destroy information at the population level, but it reweights the band towards low frequencies. Undoing it would require multiplying by $e^{+2\pi^2\sigma^2 f^2}$, which amplifies estimation error wherever $|P| \approx 0$, and $\sigma$ is unknown in practice. Taking the F3 seismic amplitude spectrum as a proxy for the recoverable band, a Gaussian error with $\sigma = 8$\,ms keeps less than 7\% of the seismic-band variance. A predictor with less high-frequency power keeps more, as in Table~\ref{tab:h1}.
|
||||
Blur lowers both the amplitude and the correlation of the prediction in the seismic band (Corollary~\ref{cor:band}). The coherence at each frequency is unchanged, so blur does not destroy information at the population level, but it reweights the band towards low frequencies. Undoing it would require multiplying by $e^{+2\pi^2\sigma^2 f^2}$, which amplifies estimation error wherever $|P| \approx 0$, and $\sigma$ is unknown in practice. Taking the F3 seismic amplitude spectrum as a proxy for the recoverable band, a Gaussian error with $\sigma = 8$\,ms keeps less than 7\% of the seismic-band variance. This weights frequencies by the seismic spectrum, not by that of the predictor, whose power lies mostly below 25\,Hz (Table~\ref{tab:bandspectra}). A predictor with less high-frequency power keeps more, as in Table~\ref{tab:h1}.
|
||||
|
||||
Matching the variance of the prediction to that of the label does not repair the blur: it rescales the amplitude, and the in-band spectrum keeps the shape $|P|^2 S_m$ (Corollary~\ref{cor:var}). The composite-loss baseline (Section~\ref{sec:method:baselines}) combines a variance-matching term with a best-shift term and is expected to behave in the same way.
|
||||
|
||||
@@ -66,9 +66,9 @@ We trained the backbone of Section~\ref{sec:method:train} with MSE on oracle syn
|
||||
\begin{equation}
|
||||
\hat H_\sigma(f) = \frac{\sum \operatorname{Re}[Y^*(f)\hat Y_\sigma(f)]}{\sum \operatorname{Re}[Y^*(f)\hat Y_0(f)]}
|
||||
\end{equation}
|
||||
estimates $P_\sigma(f)$; the sums run over test wells, realizations and seeds, with Hann-tapered traces zero-padded to 256 samples. The pre-registered statistic is $r(\sigma)$, the geometric mean of $\hat H_\sigma/P_\sigma$ over frequencies with $f \ge f_c$, $P_\sigma \ge 0.1$ and reference cross-power at least 10\% of its in-band maximum. The hypothesis is rejected if $r \notin [0.5, 2]$ for any $\sigma > 0$. That interval is loose, so the evidence lies in the point estimates and their intervals. It was not rejected: $r = 1.009$, 1.009 and 1.007 for $\sigma = 4$, 8 and 16\,ms, and $r = 1.093$ for $\sigma = 32$\,ms (Table~\ref{tab:h1}, Fig.~\ref{fig:h1}).
|
||||
estimates $P_\sigma(f)$; the sums run over test wells, realizations and seeds, with Hann-tapered traces zero-padded to 256 samples. The hash-locked statistic is $r(\sigma)$, the geometric mean of $\hat H_\sigma/P_\sigma$ over frequencies with $f \ge f_c$, $P_\sigma \ge 0.1$ and reference cross-power at least 10\% of its in-band maximum. The hypothesis is rejected if $r \notin [0.5, 2]$ for any $\sigma > 0$. That interval is loose, so the evidence lies in the point estimates and their intervals. It was not rejected: $r = 1.009$, 1.009 and 1.007 for $\sigma = 4$, 8 and 16\,ms, and $r = 1.093$ for $\sigma = 32$\,ms (Table~\ref{tab:h1}, Fig.~\ref{fig:h1}).
|
||||
|
||||
Two limits apply. The frequency-selection rule keeps only 6.8--22.5\,Hz, where the MSE predictor has coherent power (72\% of the in-band cross-spectrum), so the test says nothing above about 23\,Hz. At 32\,ms the measured attenuation is 9\% weaker than predicted and the interval excludes 1. This is within the pre-registered tolerance. Two candidate causes were not checked: only four frequencies remain at this $\sigma$, and a shift of 8 samples or more can run off the label trace, which truncates the realized shift distribution.
|
||||
Two limits apply. The frequency-selection rule keeps only 6.8--22.5\,Hz, where the MSE predictor has coherent power (72\% of the in-band cross-spectrum), so the test says nothing above about 23\,Hz. At 32\,ms the measured attenuation is 9\% weaker than predicted and the interval excludes 1. This is within the hash-locked tolerance. Two candidate causes were not checked: only four frequencies remain at this $\sigma$, and a shift of 8 samples or more can run off the label trace, which truncates the realized shift distribution.
|
||||
|
||||
\begin{table}[t]
|
||||
\centering
|
||||
@@ -91,7 +91,7 @@ $\sigma$ (ms) & $r(\sigma)$ & 95\% CI & frequencies & band RMSE & band PCC & ban
|
||||
\begin{figure}[t]
|
||||
\centering
|
||||
\includegraphics[width=\linewidth]{p2_h1.pdf}
|
||||
\caption{Test of Proposition~\ref{prop:blur}. (a) Estimated transfer $\hat H_\sigma(f)$ on the frequencies used (solid) and $e^{-2\pi^2\sigma^2 f^2}$ (dashed). The shaded band below 6\,Hz is outside the seismic band and is not used. (b) $r(\sigma)$ with 95\% intervals over realizations and the number of frequencies used; the shaded region is the pre-registered non-rejection interval $[0.5, 2]$. Setting: $c = 0$, $N = 16$, MSE loss.}
|
||||
\caption{Test of Proposition~\ref{prop:blur}. (a) Estimated transfer $\hat H_\sigma(f)$ on the frequencies used (solid) and $e^{-2\pi^2\sigma^2 f^2}$ (dashed). The shaded band below 6\,Hz is outside the seismic band and is not used. (b) $r(\sigma)$ with 95\% intervals over realizations and the number of frequencies used; the shaded region is the hash-locked non-rejection interval $[0.5, 2]$. Setting: $c = 0$, $N = 16$, MSE loss.}
|
||||
\label{fig:h1}
|
||||
\end{figure}
|
||||
|
||||
@@ -122,7 +122,7 @@ Let $\tilde m(t) = \E[\tilde y(t)\mid X]$ be the optimal predictor of the point
|
||||
|
||||
Which direction carries the independent error decides what the point label does (Proposition~\ref{prop:tie}). If $\delta$ is independent of the label given $X$, the error is classical: the point label blurs the optimal predictor and widens the learned variance. If $\varepsilon$ is independent of the data given $X$, the error is Berkson: the point label sharpens the predictor and narrows the variance. The variance statements hold on average over the window when the error distribution does not change with time. For a zero-mean Gaussian error whose distribution depends on neither time nor $X$, the transfer from $m$ to $\tilde m$ is $e^{-2\pi^2\sigma^2 f^2}$ under classical error and $e^{+2\pi^2\sigma^2 f^2}$ under Berkson error; the latter presupposes that the oracle's spectrum decays faster than $e^{-4\pi^2\sigma^2 f^2}$. A classical error is independent of the true value and a Berkson error of the assigned value \citep{berkson1950two,carroll2006measurement}.
|
||||
|
||||
The Berkson structure is the natural idealization for a tie computed as a posterior mean, $\hat u = \E[u^\star\mid D]$. Then $\E[u^\star - \hat u\mid D] = 0$ by construction, and in a linear-Gaussian model $u^\star - \hat u$ is independent of $D$. For the bulk offset $b$ in \eqref{eq:warp}, the time error equals the posterior error of $b$ and inherits this property; for the drift it does so approximately, when the posterior is narrow. A tie fitted in another way, for example by maximizing a synthetic--seismic correlation, can have either structure or neither. On synthetic data the two can be told apart: for the bulk offset, classical error implies $\Cov(\hat b - b^\star, b^\star) = 0$, and Berkson error implies $\Cov(b^\star - \hat b, \hat b) = 0$.
|
||||
The Berkson structure is an idealization for a tie computed as a posterior mean, $\hat u = \E[u^\star\mid D]$. Then $\E[u^\star - \hat u\mid D] = 0$ by construction, and in a linear-Gaussian model $u^\star - \hat u$ is independent of $D$. For the bulk offset $b$ in \eqref{eq:warp}, the time error equals the posterior error of $b$ and inherits this property; for the drift it does so approximately, when the posterior is narrow. Three features of our setting depart from this idealization: the SMC target is tempered and its phase is a plug-in estimate, so its mean warp is not the posterior mean of a stated posterior; the warp enters the time error nonlinearly through $e^{g}$; and on F3 the label is an affine function of the sonic that also defines the time axis. A tie fitted in another way, for example by maximizing a synthetic--seismic correlation, can have either structure or neither. On synthetic data the two can be told apart: for the bulk offset, classical error implies $\Cov(\hat b - b^\star, b^\star) = 0$, and Berkson error implies $\Cov(b^\star - \hat b, \hat b) = 0$. The second holds for any conditional mean by construction, so it shows that the SMC mean behaves like a posterior mean; it does not show the independence of the error from $D$ that Proposition~\ref{prop:tie}(b) requires, which fails when the posterior width depends on the data. The predicted sharpening of the learned predictor was not detected, and the network was blurred where the test had power (Section~\ref{sec:exp:mech}).
|
||||
|
||||
\paragraph{A calibrated bank removes the dependence on a single tie.}
|
||||
A bank is calibrated when averages over its members equal posterior expectations. Training on a calibrated bank then has, as $\lambda \to 0$, the population optimum of training on the true labels (Proposition~\ref{prop:bank}). Calibration is an idealization. An exact posterior sample reaches it as $S \to \infty$, and a finite bank only approximates it. A sample from a tempered target, such as the SMC posterior of Section~\ref{sec:method:posterior}, does not reach it even in that limit. The mean warp does not share this property: the \mPM{} method trains on the label at the mean warp, which agrees with the mean label only to first order in the posterior spread. If the time error of the mean warp has the Berkson structure, the population optimum of the \mPM{} is sharpened by $1/Q$, while that of the mean label is exact. At finite $\lambda$ the responsibilities of Lemma~\ref{lem:grad} shift weight towards the members that agree with the current network, an implicit re-registration, and the population minimizer changes (Remark~\ref{rem:lambda}).
|
||||
@@ -138,7 +138,7 @@ In population no method beats the oracle in band MSE. If a point-label method co
|
||||
\end{equation}
|
||||
and no method can improve on the point label by more than this factor. With errors that do not depend on $t$ or $X$, $\E|B(\tilde m - m)|^2 = \int_{|f|\ge f_c}|1 - P|^2 S_m\dd f$ under classical error and $\int_{|f|\ge f_c}|1 - Q|^2|Q|^{-2}S_m\dd f$ under Berkson error. For Gaussian errors both integrands equal $(2\pi^2\sigma^2f^2)^2 S_m$ to leading order, so the population distortion is of fourth order in $\sigma$.
|
||||
|
||||
Beyond leading order the Berkson integrand is larger by the factor $e^{4\pi^2\sigma^2f^2}$, so a Berkson error leaves room for a larger gain than a classical error of the same width. For $\sigma = 2$\,ms the factor is 1.10 at 25\,Hz and 1.77 at 60\,Hz. The weight $f^4$ also moves the distortion to high frequencies. For the Oracle predictions of Section~\ref{sec:exp:p2r}, 71--73\% of the band power that is coherent with the label lies below 25\,Hz, but the median frequency of the leading-order distortion is 67--72\,Hz. There the Berkson integral is 1.5--1.7 times the classical one at $\sigma = 1.5$\,ms, 2.1--2.6 times at 2\,ms and 3.3--4.6 times at 2.5\,ms, so a bound computed for one structure does not hold for the other. Section~\ref{sec:exp:p2r} evaluates \eqref{eq:rhostar} for Gaussian errors at the posterior width, with the Oracle network's predictions in place of $m$. We write $\rhoCl$ for the classical bound, which was pre-registered, and $\rhoBk$ for the Berkson bound, which was computed post hoc.
|
||||
Beyond leading order the Berkson integrand is larger by the factor $e^{4\pi^2\sigma^2f^2}$, so a Berkson error leaves room for a larger gain than a classical error of the same width. For $\sigma = 2$\,ms the factor is 1.10 at 25\,Hz and 1.77 at 60\,Hz. The weight $f^4$ also moves the distortion to high frequencies. For the Oracle predictions of Section~\ref{sec:exp:p2r}, 71--73\% of the band power that is coherent with the label lies below 25\,Hz, but the median frequency of the leading-order distortion is 67--72\,Hz. There the Berkson integral is 1.5--1.7 times the classical one at $\sigma = 1.5$\,ms, 2.1--2.6 times at 2\,ms and 3.3--4.6 times at 2.5\,ms, so a bound computed for one structure does not hold for the other. Section~\ref{sec:exp:p2r} evaluates \eqref{eq:rhostar} for Gaussian errors at the posterior width, with the Oracle network's predictions in place of $m$. We write $\rhoCl$ for the classical bound, which was hash-locked, and $\rhoBk$ for the Berkson bound, which was computed post hoc.
|
||||
|
||||
\paragraph{Finite-sample effects can outweigh this population bias.}
|
||||
The label error itself is of first order, and most of its in-band variance moves label noise that is unpredictable from $X$ anyway. To second order in $\sigma$ and averaged over the window, the conditional variance that a network trained on $\tilde y$ has to absorb grows by the mean of $\sigma^2 m'^2$ under classical error and shrinks by about as much under Berkson error. This is a second-order effect, against the fourth-order distortion of $\tilde m$, so with few wells finite-sample effects can outweigh the population bias. The argument is heuristic. It suggests that a tie error with exactly the Berkson structure would not, to second order, make a network worse than the Oracle, because its labels carry less conditional noise than the true labels. A bank can also change finite-sample learning in ways that \eqref{eq:rhostar} does not capture: a learned variance absorbs the spread of the bank and down-weights samples where the members disagree, and for $\lambda > 0$ the responsibilities re-register the labels during training.
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
|
||||
The experiments follow the contributions. Experiments~1 and~2 test whether training on a tie posterior improves the learned predictor when the true timing is known (contribution~2; Sections~\ref{sec:exp:p2}--\ref{sec:exp:mech}). Experiment~3 uses the benchmark to find where those results stop (contribution~3; Section~\ref{sec:exp:bench}). The detectability analysis and the two field tests ask what a field comparison of tie methods requires (contribution~4; Sections~\ref{sec:exp:detect} and~\ref{sec:exp:scope}). Three predictions of the theory are tested along the way: the blur (Section~\ref{sec:theory:blur}), the need for anchors (Experiment~1) and the two-mode reversal (Experiment~3).
|
||||
|
||||
Each experiment and field test ran under a protocol locked before its main run, and the order of design matters for reading them. Experiment~1 tested banks drawn from an anchor-conditioned posterior and failed. Experiment~2, designed after that failure and run on new realizations, replaced the posterior. The field tests on F3 and Volve followed, and Experiment~3 was designed after they had failed. Test labels were never used to choose a shift, checkpoint or hyperparameter. We call a rule \emph{pre-registered} when it was written into a protocol file whose SHA-256 hash was recorded before the main run. These records were made by our own scripts; Appendix~\ref{app:record} states when each protocol was locked and when it was committed to version control.
|
||||
Each experiment and field test ran under a protocol locked before its main run, and the order of design matters for reading them. Experiment~1 tested banks drawn from an anchor-conditioned posterior and failed. Experiment~2, designed after that failure and run on new realizations, replaced the posterior. The field tests on F3 and Volve followed, and Experiment~3 was designed after they had failed. Test labels were never used to choose a shift, checkpoint or hyperparameter. We call a rule \emph{hash-locked} when it was written into a protocol file whose SHA-256 hash was recorded before the main run. These records were made by our own scripts and were not deposited with a third party, so they are not pre-registrations in the usual sense; Appendix~\ref{app:record} states when each protocol was locked and when it was committed to version control.
|
||||
|
||||
Two pre-registered rules decide the synthetic comparisons, and all cells use eight test wells. Under the \emph{margin rule}, the candidate \emph{improves} if its seismic-band RMSE is at most 0.90 times that of the best competitor, \emph{or} its band PCC is at least 0.05 higher. Here ``best'' means the competitor with the smallest mean band RMSE in that cell. Under the \emph{no-margin rule}, the candidate improves if its band RMSE is lower. Under either rule a cell \emph{passes} if the candidate improves in at least 4 of 5 seeds (each averaged over realizations) and in more than half of the realizations (each averaged over seeds). Experiment~1 and the posterior-mean claims use the margin rule. The bank claim, the two-mode claim and the counts of cells in the drift--well-count grid use the no-margin rule, and we say a candidate is \emph{better} when it passes that rule.
|
||||
Two hash-locked rules decide the synthetic comparisons, and all cells use eight test wells. Under the \emph{margin rule}, the candidate \emph{improves} if its seismic-band RMSE is at most 0.90 times that of the best competitor, \emph{or} its band PCC is at least 0.05 higher. Here ``best'' means the competitor with the smallest mean band RMSE in that cell. Under the \emph{no-margin rule}, the candidate improves if its band RMSE is lower. Under either rule a cell \emph{passes} if the candidate improves in at least 4 of 5 seeds (each averaged over realizations) and in more than half of the realizations (each averaged over seeds). Experiment~1 and the posterior-mean claims use the margin rule. The bank claim, the two-mode claim and the counts of cells in the drift--well-count grid use the no-margin rule, and we say a candidate is \emph{better} when it passes that rule. Ratios are of mean band RMSEs over realizations and seeds. The \emph{or} in the margin rule makes it easier to pass than either condition alone. The no-margin rule counts signs only. If the method labels are swapped at random within realizations, so that the two methods are exchangeable, it passes a cell with probability up to $93/256 = 0.36$ with eight realizations, whatever the size of the effect; the margin rule passed under the same permutation with probability 0.004--0.10 in the cells it decided (Appendix~\ref{app:record}, exploratory). A pass under the no-margin rule is therefore weak evidence by itself, and we report every ratio with its 95\% bootstrap interval over realizations, which is the primary evidence. With eight realizations a percentile bootstrap interval can be too narrow; a BCa interval and a $t$-interval on the per-realization log ratios gave the same conclusions in 38 and 35 of 38 main ratios, respectively, the three exceptions being cells whose percentile upper limit lay within 0.005 of 1 (Appendix~\ref{app:record:review}).
|
||||
|
||||
\subsection{Experiment 1: anchor-posterior banks}
|
||||
\label{sec:exp:p2}
|
||||
@@ -53,37 +53,37 @@ Ceiling & Oracle & 0.612 & 0.451 & 0.897 & 0.948 \\
|
||||
\end{table}
|
||||
|
||||
\paragraph{Anchor-free losses fitted noise rather than recovering timing.}
|
||||
At $N = 4$ all four anchor-free losses were worse than the calibrated sonic, the tie whose labels they start from. Hard-min and soft-min shift banks were 38--53\% worse than it at both $N$. At $N = 16$, soft-DTW and DILATE were 4--6\% better than the calibrated sonic but still far behind the correlation tie and the reweighted anchor bank. This is what Proposition~\ref{prop:ident} predicts: within the shift range, the loss cannot tell a better alignment from a jointly shifted network and label.
|
||||
At $N = 4$ all four anchor-free losses were worse than the calibrated sonic, the tie whose labels they start from. Hard-min and soft-min shift banks were 38--53\% worse than it at both $N$. At $N = 16$, soft-DTW and DILATE were 4--6\% better than the calibrated sonic but still far behind the correlation tie and the reweighted anchor bank. This is consistent with Proposition~\ref{prop:ident}, which does not predict the sign of the change: within the shift range, the loss cannot tell a better alignment from a jointly shifted network and label.
|
||||
|
||||
\paragraph{Anchors are necessary.}
|
||||
At $c = 1$, $N = 4$ we removed the anchors from both anchor banks and kept only the warp prior ($\sigma_b = 50$\,ms) and, for the reweighted bank, the tie likelihood. To favour the anchor-free variant, it was given the true (zero) wavelet phase. Warp RMSE rose from 3.15 to 31.1\,ms for the reweighted bank (ratio 9.9, 95\% CI [8.3, 11.4]) and from 3.71 to 33.0\,ms for the unweighted bank. Band RMSE rose from 0.735 to 1.398\,p.u.\ (ratio 1.90, CI [1.80, 2.04]) and from 0.805 to 1.594\,p.u. The size of the warp error is consistent with Proposition~\ref{prop:ident}: with $\sigma_b = 50$\,ms and $N = 4$, $\sd(\beta) \approx 25$\,ms.
|
||||
|
||||
\paragraph{The bank was not better calibrated.}
|
||||
The pre-registered hypothesis that bank ensembles are better calibrated than the calibrated-sonic ensemble was rejected. Pooled over $N$ at $c = 1$, the calibration error was 0.278 for the reweighted bank against 0.230 for that ensemble (difference 0.048, 95\% CI [0.035, 0.061]). Every ensemble under-covered.
|
||||
The hash-locked hypothesis that bank ensembles are better calibrated than the calibrated-sonic ensemble was rejected. Pooled over $N$ at $c = 1$, the calibration error was 0.278 for the reweighted bank against 0.230 for that ensemble (difference 0.048, 95\% CI [0.035, 0.061]). Every ensemble under-covered.
|
||||
|
||||
\subsection{Why Experiment 1 failed}
|
||||
\label{sec:exp:diag}
|
||||
|
||||
The failure lay in registration, not in the loss. A diagnosis on the development realizations showed that 64 anchor-conditioned samples reweighted by tempered tie likelihoods did not contract to the true warp. At $c = 1$ their warp RMSE was 3.25\,ms with a 90\% interval width of 11.6\,ms, comparable to the 3.85\,ms of the correlation tie. The SMC posterior of Section~\ref{sec:method:posterior}, with the wavelet phase re-estimated from its evidence, reached a warp RMSE of 0.56\,ms with 97\% coverage of the 90\% interval, and labels at its mean warp were close to the oracle.
|
||||
|
||||
The lesson is about order. Experiment~1 could not test whether posterior labels help, because its posterior was no better than the best deterministic tie. A tie posterior has to beat that tie in warp error before training on it can show a gain. The second experiment is therefore a new pre-registration, designed after the first failure on development realizations only, and run on realizations 8--15, which had not been generated when its protocol was locked (Appendix~\ref{app:record}).
|
||||
The lesson is about order. Experiment~1 could not test whether posterior labels help, because its posterior was no better than the best deterministic tie. A tie posterior has to beat that tie in warp error before training on it can show a gain. The second experiment therefore has a new hash-locked protocol, designed after the first failure on development realizations only, and run on realizations 8--15, which had not been generated when its protocol was locked (Appendix~\ref{app:record}).
|
||||
|
||||
\subsection{Experiment 2: SMC tie posterior}
|
||||
\label{sec:exp:p2r}
|
||||
|
||||
\paragraph{Design.}
|
||||
We used the five observation settings of Section~\ref{sec:data:d2}, $c \in \{0, 1, 2\}$, $N \in \{4, 16\}$, realizations 8--15 and five seeds. Registration and SMC were run once per (realization, $c$, $N$). The protocol pre-registered three questions.
|
||||
We used the five observation settings of Section~\ref{sec:data:d2}, $c \in \{0, 1, 2\}$, $N \in \{4, 16\}$, realizations 8--15 and five seeds. Registration and SMC were run once per (realization, $c$, $N$). The protocol hash-locked three questions.
|
||||
\begin{itemize}
|
||||
\item \textbf{Posterior-mean claim.} Do labels at the SMC mean warp beat the best deterministic tie (calibrated sonic, correlation tie, phase-estimated correlation; the last borrows the wavelet phase estimated by SMC)? This is decided for each full-anchor setting: a setting passes if both cells at $c = 1$ pass and the zero-drift guard holds. A secondary comparison adds the anchor mean to the competitors.
|
||||
\item \textbf{Bank claim.} Does the \mRML{} beat the \mPM{} when the posterior is wide ($\sigpost \ge 1.5$\,ms, a \emph{wide} cell)? At $N = 16$ the protocol requires three things: the \mRML{} is better than the \mPM{}, in at least two thirds of wide cells; the Spearman correlation between $\sigpost$ and the ratio \mRML{}/\mPM{} over all cells is negative; and the mean ratio over narrow cells is at most 1.02.
|
||||
\item \textbf{Anchor-uncertainty test.} The posterior-mean claim is repeated at 10\,dB, $c = 1$ with every method registered using $\sigma_a = 3.5$ or 14\,ms, while the data are generated with 7\,ms.
|
||||
\end{itemize}
|
||||
Cells at $c = 2$ are reported with an ``unstable posterior'' flag and are not primary evidence for the posterior-mean claim (Section~\ref{sec:method:posterior}); the pre-registered bank tests include them. Calibration was not tested as a hypothesis, because development runs had shown that seed ensembles under-cover more when trained on better labels.
|
||||
Cells at $c = 2$ are reported with an ``unstable posterior'' flag and are not primary evidence for the posterior-mean claim (Section~\ref{sec:method:posterior}); the hash-locked bank tests include them. Calibration was not tested as a hypothesis, because development runs had shown that seed ensembles under-cover more when trained on better labels.
|
||||
|
||||
\paragraph{Posterior-mean labels beat the best deterministic tie in all three full-anchor settings.}
|
||||
At $c = 1$ the \mPM{} reduced band RMSE relative to the best deterministic tie by 14\% and 22\% at 10\,dB ($N = 4$, 16), by 11\% at 0\,dB and by 8--9\% at $-5$\,dB (Table~\ref{tab:h2a}; Fig.~\ref{fig:p2rgrid} shows every method relative to the Oracle). At $-5$\,dB the ratio stayed above 0.90 and the cells passed on band PCC ($+0.10$ and $+0.09$). Most of the gain is already present without drift: at $c = 0$ the macro ratios are 0.81, 0.85 and 0.88, against 0.78--0.92 at $c = 1$. Part of the advantage therefore comes from the seismic-conditioned, phase-estimated tie itself, not from correcting drift.
|
||||
At $c = 1$ the \mPM{} reduced band RMSE relative to the best deterministic tie by 14\% and 22\% at 10\,dB ($N = 4$, 16), by 11\% at 0\,dB and by 8--9\% at $-5$\,dB (Table~\ref{tab:h2a}; Fig.~\ref{fig:p2rgrid} shows every method relative to the Oracle). At $-5$\,dB the ratio stayed above 0.90 and the cells passed on band PCC ($+0.10$ and $+0.09$). Most of the gain is already present without drift: at $c = 0$ the macro ratios are 0.81, 0.85 and 0.88, against 0.78--0.92 at $c = 1$. Part of the advantage therefore comes from the seismic-conditioned, phase-estimated tie itself, not from correcting drift. The deterministic ties are also not point estimates of the SMC model: they interpolate anchors or maximize a local correlation, without its warp prior, profiled likelihood or tempering. To separate the two, we trained on the best of the 1024 saved particles by the tempered log target (an approximation of the mode of the same model) and on the mode of the anchor-only posterior, a least-squares fit of the anchors with the known $\sigma_a$ (exploratory, Appendix~\ref{app:record:review}). The mode of the SMC model reduced band RMSE relative to the best deterministic tie in all 12 cells at $c \in \{0, 1\}$ (0.86 and 0.80 at 10\,dB, 0.89 and 0.90 at 0\,dB, 0.95 and 0.93 at $-5$\,dB for $c = 1$, $N = 4$ and 16), and averaging over the posterior added at most 3\% to it (ratios 0.97--1.01; 95\% interval below 1 in five of 12 cells and above 1 in none). The anchor-only mode did not do so: at $c = 1$ it was worse than the best deterministic tie at 10\,dB (1.15 and 1.25) and at 0\,dB with $N = 16$ (1.05). The gain over deterministic ties therefore comes mainly from the tie model, which uses the seismic with a warp prior, and little from averaging over its posterior. A Gaussian bank with the posterior's first two moments, whose members are not conditioned on the seismic individually, came within 1--2\% of the \mPM{} at $c = 1$ in the full-anchor settings, and was up to 10\% better than it in the two-anchor setting (Section~\ref{sec:exp:bench}).
|
||||
|
||||
The advantage over the anchor mean of Experiment~1 is limited to high SNR. With the anchor mean added as a competitor, the claim holds at 10\,dB (2/2 cells; macro ratio at $c = 0$ is 0.94), in 1 of 2 cells at 0\,dB, and fails at $-5$\,dB (0/2; ratios 0.98 and 0.97 against the anchor mean). This is what one would expect if the seismic likelihood adds little to the anchors at low SNR, which we did not test. The \mRML{} under the same rule passed all three settings against the deterministic ties, and the 10 and 0\,dB settings with the anchor mean included.
|
||||
Without drift the deterministic ties sit 15--29\% above the Oracle (the calibrated sonic up to 82\%, because it passes exactly through anchors with 7\,ms pick noise), against 3--8\% for the anchor mean (Appendix~\ref{app:record:review}). The advantage over the anchor mean of Experiment~1 is smaller and limited to high SNR. With the anchor mean added as a competitor, the claim holds at 10\,dB (2/2 cells; macro ratio at $c = 0$ is 0.94), in 1 of 2 cells at 0\,dB, and fails at $-5$\,dB (0/2; ratios 0.98 and 0.97 against the anchor mean). The ratios to the anchor mean at $c = 1$ were 0.81 and 0.67 at 10\,dB, 0.93 and 0.89 at 0\,dB and 0.98 and 0.97 at $-5$\,dB ($N = 4$, 16; 95\% intervals below 1 in all six cells). The interval excludes 1 even at $-5$\,dB, but the gain there is 2--4\%. This is what one would expect if the seismic likelihood adds little to the anchors at low SNR, which we did not test. The \mRML{} under the same rule passed all three settings against the deterministic ties, and the 10 and 0\,dB settings with the anchor mean included.
|
||||
|
||||
\begin{table}[t]
|
||||
\centering
|
||||
@@ -104,7 +104,7 @@ $-5$\,dB & 0.915 [0.883, 0.953] & +0.102 & 0.923 [0.908, 0.940] & +0.089 & 0.878
|
||||
\end{table}
|
||||
|
||||
\paragraph{The gain requires a correct anchor uncertainty.}
|
||||
With misspecified anchor uncertainty, no cell passed (Table~\ref{tab:sigmaa}). Over-trusting the anchors ($\sigma_a = 3.5$\,ms) made the \mPM{} 14\% \emph{worse} than the best deterministic tie at $N = 16$. Under-trusting them (14\,ms) left a 7\% gain at $N = 16$ that did not pass. The cause is a miscalibrated posterior in both directions. With 3.5\,ms the warp RMSE was 4.8\,ms against a $\sigpost$ of 2.5\,ms (90\% coverage 0.62); with 14\,ms it was 2.8\,ms against 0.9\,ms (coverage 0.52); with the correct 7\,ms it was 0.63\,ms (coverage 0.89). On F3 the markers are not independent check shots and $\sigma_a$ cannot be identified from them, so this is the main risk for transfer to the field. The practical consequence is that $\sigma_a$ must be estimated from independent time--depth data before the posterior is used.
|
||||
With misspecified anchor uncertainty, no cell passed (Table~\ref{tab:sigmaa}). Over-trusting the anchors ($\sigma_a = 3.5$\,ms) made the \mPM{} 14\% \emph{worse} than the best deterministic tie at $N = 16$. Under-trusting them (14\,ms) left a 7\% gain at $N = 16$ that did not pass. The cause is a miscalibrated posterior in both directions. The width of the posterior did not fall monotonically with $\sigma_a$: it was larger at 3.5\,ms than at 7\,ms. We did not identify the reason; the refitted drift hyperparameters are a candidate that we did not test. With 3.5\,ms the warp RMSE was 4.8\,ms against a $\sigpost$ of 2.5\,ms (90\% coverage 0.62); with 14\,ms it was 2.8\,ms against 0.9\,ms (coverage 0.52); with the correct 7\,ms it was 0.63\,ms (coverage 0.89). On F3 the markers are not independent check shots and $\sigma_a$ cannot be identified from them, so this is the main risk for transfer to the field. The practical consequence is that $\sigma_a$ must be estimated from independent time--depth data before the posterior is used.
|
||||
|
||||
\begin{table}[t]
|
||||
\centering
|
||||
@@ -128,7 +128,7 @@ At $N = 16$ all three tests passed (Table~\ref{tab:h2b}, Fig.~\ref{fig:h2b}a). T
|
||||
|
||||
\begin{table}[t]
|
||||
\centering
|
||||
\caption{Bank claim at $N = 16$, wide cells ($\sigpost \ge 1.5$\,ms): band RMSE of the \mRML{} divided by that of the \mPM{} (95\% CI); the classical bound $\rhoCl$ (pre-registered) and the Berkson bound $\rhoBk$ (post hoc) at $\sigpost$, computed by blurring and by sharpening the Oracle's predictions (Section~\ref{sec:theory:post}); and the SMC warp error on the training wells. A ratio below a bound is a larger gain than removing that population distortion could give. $\dagger$: unstable posterior ($c = 2$). $\ddagger$: $\sigpost$ exceeds the 6\,ms grid of the bound; the pre-registered grid of the bound stops at 6\,ms, so the entry is the bound there, and the bound at $\sigpost$ is 0.481. Entries of $\rhoBk$ at $c = 2$ are omitted because amplified estimation error of the Oracle dominates them (0.768, 0.285, 0.132 and $<$0.001, in the order of the table).}
|
||||
\caption{Bank claim at $N = 16$, wide cells ($\sigpost \ge 1.5$\,ms): band RMSE of the \mRML{} divided by that of the \mPM{} (95\% CI); the classical bound $\rhoCl$ (hash-locked) and the Berkson bound $\rhoBk$ (post hoc) at $\sigpost$, computed by blurring and by sharpening the Oracle's predictions (Section~\ref{sec:theory:post}); and the SMC warp error on the training wells. A ratio below a bound is a larger gain than removing that population distortion could give. $\dagger$: unstable posterior ($c = 2$). $\ddagger$: $\sigpost$ exceeds the 6\,ms grid of the bound; the hash-locked grid of the bound stops at 6\,ms, so the entry is the bound there, and the bound at $\sigpost$ is 0.481. Entries of $\rhoBk$ at $c = 2$ are omitted because amplified estimation error of the Oracle dominates them (0.768, 0.285, 0.132 and $<$0.001, in the order of the table).}
|
||||
\label{tab:h2b}
|
||||
\small
|
||||
\setlength{\tabcolsep}{4pt}
|
||||
@@ -151,14 +151,14 @@ two-anchor & 2$^\dagger$ & 11.49 & 0.667 & [0.615, 0.713] & 0.634$^\ddagger$ & -
|
||||
\begin{figure}[t]
|
||||
\centering
|
||||
\includegraphics[width=\linewidth]{p2r_h2b.pdf}
|
||||
\caption{Bank claim. (a) Band RMSE of the \mRML{} divided by that of the \mPM{} against the posterior width $\sigpost$, for every setting $\times$ $c$ $\times$ $N$ cell (filled: $N = 16$; open: $N = 4$; marker shape: drift factor $c$). Bars are 95\% bootstrap intervals over realizations. The dashed line is the pre-registered 1.5\,ms threshold for wide cells. (b) The same ratio against the classical bound $\rhoCl(\sigpost)$. Cells below the diagonal gained more than removing a classical population blur could give. The Berkson bound $\rhoBk$ is lower, and at $N = 16$ only three wide cells, all at $c = 1$, lie below it (Table~\ref{tab:h2b}). For the two-anchor setting at $c = 2$ the bound is evaluated at the 6\,ms edge of its grid.}
|
||||
\caption{Bank claim. (a) Band RMSE of the \mRML{} divided by that of the \mPM{} against the posterior width $\sigpost$, for every setting $\times$ $c$ $\times$ $N$ cell (filled: $N = 16$; open: $N = 4$; marker shape: drift factor $c$). Bars are 95\% bootstrap intervals over realizations. The dashed line is the hash-locked 1.5\,ms threshold for wide cells. (b) The same ratio against the classical bound $\rhoCl(\sigpost)$. Cells below the diagonal gained more than removing a classical population blur could give. The Berkson bound $\rhoBk$ is lower, and at $N = 16$ only three wide cells, all at $c = 1$, lie below it (Table~\ref{tab:h2b}). For the two-anchor setting at $c = 2$ the bound is evaluated at the 6\,ms edge of its grid.}
|
||||
\label{fig:h2b}
|
||||
\end{figure}
|
||||
|
||||
\paragraph{Whether the bank gain exceeds a population correction depends on the error structure.}
|
||||
The measured ratio is below the classical bound $\rhoCl$ in 7 of the 8 wide cells (Fig.~\ref{fig:h2b}b). At $-5$\,dB, $c = 1$, for example, the bound allows no gain (1.000), yet the bank gained 2\%. Labels at a posterior-mean warp are expected to have Berkson error, however, and the Berkson bound is lower. The ratio is below $\rhoBk$ in 3 of the 4 wide cells at $c = 1$ (0\,dB, half-anchor and two-anchor), and in the last two the margin is less than 0.004, well inside the 95\% interval of the ratio. At $c = 2$ sharpening multiplies the high frequencies of the Oracle's predictions by a factor that grows quickly with $\sigpost$, so the estimate of $\rhoBk$ measures amplified estimation error and we do not interpret it. Two variants limit this amplification: one holds the gain at its 60\,Hz value above 60\,Hz, and the other uses the cross-spectrum with the true labels. Both select the same three cells, and with the cross-spectrum the classical bound is exceeded in only 5 of the 8.
|
||||
The measured ratio is below the classical bound $\rhoCl$ in 7 of the 8 wide cells (Fig.~\ref{fig:h2b}b); the eighth, at $\sigpost = 11.5$\,ms, is evaluated at the edge of the bound's grid. At $-5$\,dB, $c = 1$, for example, the bound allows no gain (1.000), yet the bank gained 2\%. If the error of the posterior-mean warp had the Berkson structure, the Berkson bound, which is lower, would apply instead. Neither structure is established for the learned predictor: the bulk offset showed the Berkson correlation, but the network trained on posterior-mean labels was not sharpened (Section~\ref{sec:exp:mech}), so we report both bounds without choosing between them. The ratio is below $\rhoBk$ in 3 of the 4 wide cells at $c = 1$ (0\,dB, half-anchor and two-anchor), and in the last two the margin is less than 0.004, well inside the 95\% interval of the ratio. At $c = 2$ sharpening multiplies the high frequencies of the Oracle's predictions by a factor that grows quickly with $\sigpost$, so the estimate of $\rhoBk$ measures amplified estimation error and we do not interpret it. Two variants limit this amplification: one holds the gain at its 60\,Hz value above 60\,Hz, and the other uses the cross-spectrum with the true labels. Both select the same three cells, and with the cross-spectrum the classical bound is exceeded in only 5 of the 8.
|
||||
|
||||
Both bounds use the posterior width, which understates the error of an overconfident posterior. At the measured warp error of the \mPM{} on the training wells, the ratio is below $\rhoCl$ in 6 of the 8 cells but below $\rhoBk$ in at most one (0\,dB, $c = 1$, under the two variants). An excess over the population bound is therefore not established.
|
||||
Both bounds use the posterior width, which understates the error of an overconfident posterior. At the measured warp error of the \mPM{} on the training wells, the ratio is below $\rhoCl$ in 6 of the 8 cells but below $\rhoBk$ in at most one (0\,dB, $c = 1$, under the two variants). An excess over the population bound is therefore not established under either structure.
|
||||
|
||||
\paragraph{The bank closes part of the gap to the Oracle, and part of that gap is not registration.}
|
||||
In the wide cells at $N = 16$, the \mRML{} closed 27--46\% of the gap between the \mPM{} and the Oracle at $c = 1$, and 39--65\% at $c = 2$, and it never reached the Oracle. At $c = 0$ the SMC warp RMSE on the training wells was 0.2--0.7\,ms and every bound is within 0.4\% of 1, yet the Oracle was still 1--3\% better than the \mPM{} at $N = 16$. The two also differ in training length (500 and 250 iterations). Section~\ref{sec:exp:mech} returns to this.
|
||||
@@ -204,8 +204,9 @@ Calibrated-sonic ens.\ & 125 & 1.10 & 1.36 & 0.662 & 0.79 & 0.199 & 0.199 &
|
||||
|
||||
We examined five possible sources of the bank gain, on the wide cells at $N = 16$ of the Experiment~2 bank. The tests and their readings were declared in advance, but the analysis uses the test realizations and followed the post hoc comparisons above, so none of its results is confirmatory. Appendix~\ref{app:record} gives the details.
|
||||
\begin{itemize}
|
||||
\item \emph{Error structure.} We tested the \mPM{} only, and the bulk offset only. Writing the error of the estimated offset as $\hat b - b^\star$, the Berkson structure predicts zero correlation between this error and $\hat b$ and a negative correlation between the error and $b^\star$. In all four wide cells at $c = 1$ the first correlation was near zero (pooled $-0.026$ $[-0.124, 0.072]$) and the second was $-0.44$ to $-0.77$. For the bulk offset at $c = 1$, the applicable bound is therefore $\rhoBk$. At $c = 2$ the test gave Berkson only at $-5$\,dB.
|
||||
\item \emph{Training length.} At the Oracle's budget of 500 iterations, the ratio of the Oracle to the \mPM{} at $c = 1$ was 0.949, 0.944 and 0.957 at 0\,dB, half-anchor and $-5$\,dB, against 0.927, 0.919 and 0.933 at the pre-registered budgets. Training length thus accounts for 30--35\% of the pre-registered gap, and it does not explain the remaining 4--6\%. At $c = 0$ the gap nearly vanished (0.985--1.006).
|
||||
\item \emph{Error structure.} We tested the \mPM{} only, and the bulk offset only. Writing the error of the estimated offset as $\hat b - b^\star$, the Berkson structure predicts zero correlation between this error and $\hat b$ and a negative correlation between the error and $b^\star$. In all four wide cells at $c = 1$ the first correlation was near zero (pooled $-0.026$ $[-0.124, 0.072]$) and the second was $-0.44$ to $-0.77$. The bulk offset at $c = 1$ therefore has the Berkson correlation structure. At $c = 2$ the test gave Berkson only at $-5$\,dB.
|
||||
\item \emph{Sharpening.} A check declared after referee review estimated the transfer $\hat H$ of Section~\ref{sec:theory:blur} for the network trained on posterior-mean labels relative to the Oracle network, both at 500 iterations, in the ten cells at $c = 1$ ($N = 8$) and $c = 1.5$ ($N = 16$) of the drift--well-count grid. No cell showed sharpening, so where the test could be made the prediction was contradicted. In the five cells where the predicted Gaussian--Berkson transfer exceeded the half-width of the interval, the network was blurred instead (geometric mean of $\hat H$ over 6.8 to 25--38\,Hz of 0.65--0.97, against 1.04--1.21 predicted). The \mRML{} stayed at 0.97--1.02 except in the two-anchor setting (0.88). The Berkson correlation of the bulk offset therefore did not carry over to the learned predictor at the frequencies we could measure, and the Berkson bound $\rhoBk$ cannot be taken as the applicable one. A test with power explains why. Zero covariance between the error and the estimate holds for any conditional mean, but Proposition~\ref{prop:tie}(b) needs the error to be independent of the data at the well, and the posterior width varies with the data. Across the 128 training wells of each cell, the absolute error of the window-mean offset correlated with the posterior width (Spearman 0.04--0.73, with the interval above zero in eight of ten cells at $c \in \{1, 2\}$), and the width varied between wells by a coefficient of 0.25--1.7 (Appendix~\ref{app:record:review}). The error of the posterior-mean tie is not independent of the data, so the Berkson idealization does not hold in this setting.
|
||||
\item \emph{Training length.} At the Oracle's budget of 500 iterations, the ratio of the Oracle to the \mPM{} at $c = 1$ was 0.949, 0.944 and 0.957 at 0\,dB, half-anchor and $-5$\,dB, against 0.927, 0.919 and 0.933 at the hash-locked budgets. Training length thus accounts for 30--35\% of the hash-locked gap, and it does not explain the remaining 4--6\%. At $c = 0$ the gap nearly vanished (0.985--1.006).
|
||||
\item \emph{Gaussian bank.} A bank with the posterior's first two moments and no link to the seismic improved on the \mPM{} in 7 of the 8 cells. At $c = 1$ it matched the \mRML{} in three of four cells (ratios to the \mPM{} 0.970 and 0.970, 0.904 and 0.890, 0.984 and 0.982). At $c = 2$ the SMC bank was ahead in three of four cells.
|
||||
\item \emph{Re-registration.} The warp averaged with the end-of-training responsibilities as weights was closer to the true warp than the uniform mean of the bank in all 8 cells, with 13--39\% lower warp error. This is necessary for re-registration to help at test wells, not sufficient.
|
||||
\item \emph{Multimodality.} Multimodal wells were rare except in the two-anchor setting at $c = 2$ (51\% of wells) and the half-anchor setting at $c = 2$ (19\%), and under the primary criterion the gain was not larger where they occurred (adjusted difference of log ratios $-0.012$ $[-0.043, 0.020]$).
|
||||
@@ -217,7 +218,7 @@ Together these results suggest label augmentation as the main effect at $c = 1$,
|
||||
|
||||
Experiment~3 asks where the results of Experiment~2 stop. It has five studies (Table~\ref{tab:benchdesign}). The \emph{drift--well-count grid} fills the plane of $c$ and $N$ in every setting. The \emph{misspecification study} generates the data with a simulator that departs from the registration's model (Section~\ref{sec:data:d2}). The \emph{alignment-loss comparison} adds the anchor-free losses to the competitors of Experiment~2. The \emph{backbone check} repeats six cells with a TCN. The \emph{two-mode study} replaces the estimated posterior by a label error of known structure, the setting of Corollary~\ref{cor:twomode}. At each training well the bank is the true warp and the true warp shifted by $+\Delta$ or $-\Delta$, with the sign drawn per well and $\Delta \in \{8, 16, 32\}$\,ms.
|
||||
|
||||
The protocol has nine claims with a prediction for each, which yield eleven verdicts with no family-wise correction, decided by the two rules above. The experiment reuses the test realizations and SMC particles of Experiment~2, so its claims are extensions on the same realizations, not independent replications. Nine of the eleven verdicts passed (Table~\ref{tab:benchverdicts}), and the two failures are the most informative results. Appendix~\ref{app:record} explains a discrepancy between the locked code and the locked statements, which changes one conclusion.
|
||||
The protocol has nine claims with a prediction for each, which yield eleven verdicts with no family-wise correction, decided by the two rules above. The experiment reuses the test realizations and SMC particles of Experiment~2, so its claims are extensions on the same realizations, not independent replications. Table~\ref{tab:benchverdicts} lists the verdicts. The posterior-mean claim extended to $c = 1.5$, to the scaled warp prior and to the TCN, and both two-mode predictions held. It failed under unit-dependent rock physics and under a frequency-dependent wavelet phase, and these two failures are the most informative results. Because the verdicts share realizations and particles, we do not add them up; each is read with the ratios and intervals of its own table or figure. Appendix~\ref{app:record} explains a discrepancy between the locked code and the locked statements, which changes one conclusion.
|
||||
|
||||
\begin{table}[!htbp]
|
||||
\centering
|
||||
@@ -272,10 +273,10 @@ Two-member bank better than midpoint label at $\Delta \in \{16, 32\}$\,ms, $N =
|
||||
\end{table}
|
||||
|
||||
\paragraph{The posterior-mean advantage holds in most of the plane of drift and well count.}
|
||||
At 10\,dB, $c = 1.5$, the \mPM{} reduced band RMSE relative to the best deterministic tie (phase-estimated correlation) by 15\% at $N = 4$ (0.853 [0.805, 0.910], 5/5 seeds, 7/8 realizations) and by 20\% at $N = 16$ (0.796 [0.762, 0.826], 8/8). Across all 100 cells, the \mPM{} was better than the best deterministic tie, without a margin, in 91 (Fig.~\ref{fig:bench_s1}a). The ratio was 0.78--0.89 at 10\,dB and 0.84--0.96 at 0 and $-5$\,dB. All nine exceptions are in the settings with sparse anchors, seven in the two-anchor setting and two in the half-anchor setting; four are at $N = 2$. The excess of the \mPM{} over the Oracle grows with the posterior width: fitting $\mathrm{RMSE}^2_{\mathrm{SMC\,mean}} = \mathrm{RMSE}^2_{\mathrm{Oracle}} + \vartheta\,\sigpost^2$ per setting gives $\vartheta = 0.009$--$0.018$\,p.u.$^2$/ms$^2$, with $R^2 = 0.29$ (10\,dB) to 0.61 (0\,dB and two-anchor). This descriptive fit explains only part of the variation, and its source is not identified: the heuristic of Section~\ref{sec:theory:post} predicts no such penalty under exact Berkson error.
|
||||
At 10\,dB, $c = 1.5$, the \mPM{} reduced band RMSE relative to the best deterministic tie (phase-estimated correlation) by 15\% at $N = 4$ (0.853 [0.805, 0.910], 5/5 seeds, 7/8 realizations) and by 20\% at $N = 16$ (0.796 [0.762, 0.826], 8/8). Across all 100 cells, which share realizations and particles, so that the counts are descriptive, the \mPM{} was better than the best deterministic tie, without a margin, in 91 (Fig.~\ref{fig:bench_s1}a). The ratio was 0.78--0.89 at 10\,dB and 0.84--0.96 at 0 and $-5$\,dB. All nine exceptions are in the settings with sparse anchors, seven in the two-anchor setting and two in the half-anchor setting; four are at $N = 2$. The excess of the \mPM{} over the Oracle grows with the posterior width: fitting $\mathrm{RMSE}^2_{\mathrm{SMC\,mean}} = \mathrm{RMSE}^2_{\mathrm{Oracle}} + \vartheta\,\sigpost^2$ per setting gives $\vartheta = 0.009$--$0.018$\,p.u.$^2$/ms$^2$, with $R^2 = 0.29$ (10\,dB) to 0.61 (0\,dB and two-anchor). This descriptive fit explains only part of the variation, and its source is not identified: the heuristic of Section~\ref{sec:theory:post} predicts no such penalty under exact Berkson error.
|
||||
|
||||
\paragraph{The bank gain grows with well count and posterior width.}
|
||||
In all 13 families (setting, $c$) whose $N = 16$ cell is wide, the ratio \mRML{}/\mPM{} was lower at $N = 16$ than at $N = 2$. The pooled Spearman correlation between $\log_2 N$ and the ratio was $-0.47$ (one-sided permutation within families, $p < 10^{-4}$). Across the plane the ratio fell with $\sigpost$ (Spearman correlation $-0.66$ over the 100 cells; Fig.~\ref{fig:bench_s1}b). The \mRML{} was better than the \mPM{} in 44 of the 52 wide cells; all eight exceptions are at $N \le 4$ and have ratios 0.994--1.008. Over the 48 narrow cells the mean ratio was 0.995. The largest gains were in the two-anchor setting, where only two anchors constrain each warp and $\sigpost$ reaches 12\,ms: 0.734 at $c = 1.5$ and 0.667 at $c = 2$ ($N = 16$).
|
||||
In all 13 families (setting, $c$) whose $N = 16$ cell is wide, the ratio \mRML{}/\mPM{} was lower at $N = 16$ than at $N = 2$. The pooled Spearman correlation between $\log_2 N$ and the ratio was $-0.47$ (one-sided permutation within families, $p < 10^{-4}$). Across the plane the ratio fell with $\sigpost$ (Spearman correlation $-0.66$ over the 100 cells; Fig.~\ref{fig:bench_s1}b). The \mRML{} was better than the \mPM{} in 44 of the 52 wide cells (a descriptive count, for the same reason); all eight exceptions are at $N \le 4$ and have ratios 0.994--1.008. Over the 48 narrow cells the mean ratio was 0.995. The largest gains were in the two-anchor setting, where only two anchors constrain each warp and $\sigpost$ reaches 12\,ms: 0.734 at $c = 1.5$ and 0.667 at $c = 2$ ($N = 16$).
|
||||
|
||||
\begin{figure}[!htbp]
|
||||
\centering
|
||||
@@ -285,7 +286,7 @@ In all 13 families (setting, $c$) whose $N = 16$ cell is wide, the ratio \mRML{}
|
||||
\end{figure}
|
||||
|
||||
\paragraph{Under a frequency-dependent wavelet phase the posterior becomes confidently wrong.}
|
||||
The misspecification study failed for the wavelet, contrary to the prediction. The SMC re-estimated a constant phase of 43--46$^\circ$ and its posterior collapsed onto a wrong warp: warp error 2.58 and 2.26\,ms with 90\% coverage 0.17 and 0.10, which is 3.3--3.6 times its width (Table~\ref{tab:s2}). The band RMSE of the \mPM{} rose by 25\% ($N = 4$) and 50\% ($N = 16$) relative to the nominal cells. That of the correlation tie, which uses the statistical wavelet, rose by at most 4\%, which made it the best deterministic tie. At the strong level the loss was larger (the \mPM{} was 1.22 and 1.39 times the correlation tie). The lesson is that a posterior can be worse than a cruder tie when its forward model is wrong. On field data no true warp exposes this. A check that needs no truth is the disagreement between the SMC mean warp and a correlation tie built with the statistical wavelet, which we did not test. Under attenuation the posterior kept its coverage (0.86--0.87), and the cell passed at $N = 16$ only.
|
||||
The misspecification study failed for the wavelet, contrary to the prediction. The SMC re-estimated a constant phase of 43--46$^\circ$ and its posterior collapsed onto a wrong warp: warp error 2.58 and 2.26\,ms with 90\% coverage 0.17 and 0.10, which is 3.3--3.6 times its width (Table~\ref{tab:s2}). The band RMSE of the \mPM{} rose by 25\% ($N = 4$) and 50\% ($N = 16$) relative to the nominal cells. That of the correlation tie, which uses the statistical wavelet, rose by at most 4\%, which made it the best deterministic tie. At the strong level the loss was larger (the \mPM{} was 1.22 and 1.39 times the correlation tie). The lesson is that a posterior can be worse than a cruder tie when its forward model is wrong. On field data no true warp exposes this. A check that needs no truth, the RMS difference between the SMC mean warp and the correlation tie at each training well, did not expose it either (exploratory, Appendix~\ref{app:record}): at $N = 16$ it was 1.00 times its nominal value [0.90, 1.11] under the mild wavelet phase, while the SMC warp error rose from 0.63 to 2.26\,ms. The difference tracked the error of the correlation tie (3.9\,ms), not that of the posterior. Under attenuation the posterior kept its coverage (0.86--0.87), and the cell passed at $N = 16$ only.
|
||||
|
||||
\paragraph{Under unit-dependent rock physics the gain is largely kept but misses the margin.}
|
||||
This claim also failed, for a different reason. Registration was nearly unaffected: the SMC warp error rose from 1.20 to 1.52\,ms at $N = 4$ and from 0.63 to 1.05\,ms at $N = 16$, with 90\% coverage 0.87. The learning problem became harder for every method: the Oracle's band RMSE rose by factors of 1.56 and 1.84, and at $N = 16$ the \mPM{} stayed within 3\% of it. The ratio to the best deterministic tie rose to 0.940 and 0.934, so the cells missed the 0.90 margin, and the band PCC difference ($+0.044$, $+0.041$) stayed below $+0.05$. The \mPM{} still passed the no-margin rule against the best deterministic tie at both $N$. The difference between the squared band RMSE of the best deterministic tie and that of the \mPM{} fell only from 0.137 to 0.122\,p.u.$^2$ at $N = 4$ and from 0.132 to 0.107 at $N = 16$. The tie posterior remained usable here. What failed is the ratio rule: when a change in the simulator raises the error of every method, a ratio dilutes a largely preserved label gain, so absolute gains should be judged beside ratios.
|
||||
@@ -314,8 +315,8 @@ out-of-family warp & -- & 2.25 / 1.38 & 0.67 / 0.70 & 0.892 & 0.820$^\ast$ & 0.9
|
||||
\end{tabular}
|
||||
\end{table}
|
||||
|
||||
\paragraph{The advantage survives a misspecified warp prior, and the bank did not harm.}
|
||||
Under the scaled warp prior the claim passed at 10\,dB, the only misspecified axis for which we claim it. The coverage was 0.78--0.91 under that preset and 0.67--0.70 under the out-of-family warp, and the ratios stayed near their nominal values; with the out-of-family warp at $N = 4$ the cell failed on seeds (3/5) with a ratio of 0.892, a single cell that we did not investigate. At $-5$\,dB the protocol declared a null in advance, because the noise amplitude is 1.78 times that of the signal and buries model errors of 0.19--0.34 of the noise. Of the 14 cells at $-5$\,dB, 13 passed the margin rule. Averaged over $N$, \mRML{}/\mPM{} was at most 1.02 for every preset and setting (0.984--1.020 at 10\,dB, 0.984--1.012 at $-5$\,dB). The bank did not harm, but in this study it helped little: no 10\,dB cell was wide, and it was better than the \mPM{} in 3 of the 14 cells at 10\,dB and 7 of 14 at $-5$\,dB.
|
||||
\paragraph{The advantage survives a scaled warp prior, and the bank did not harm.}
|
||||
Under the scaled warp prior the claim passed at 10\,dB, the only misspecified axis for which we claim it. This preset tests mainly the benign direction. The nominal registration prior on the bulk offset is already 2.6 times wider than the generating spread (50 against 19\,ms); the preset raises the generating spread to 57\,ms, 1.14 times the registration's value, and the drift spread and correlation length that it also changes are refitted in each cell. A registration prior much narrower than the truth was not tested. The coverage was 0.78--0.91 under that preset and 0.67--0.70 under the out-of-family warp, and the ratios stayed near their nominal values; with the out-of-family warp at $N = 4$ the cell failed on seeds (3/5) with a ratio of 0.892, a single cell that we did not investigate. At $-5$\,dB the protocol declared a null in advance, because the noise amplitude is 1.78 times that of the signal and buries model errors of 0.19--0.34 of the noise. Of the 14 cells at $-5$\,dB, 13 passed the margin rule. Averaged over $N$, \mRML{}/\mPM{} was at most 1.02 for every preset and setting (0.984--1.020 at 10\,dB, 0.984--1.012 at $-5$\,dB); the largest value, under the mild wavelet phase, equals the threshold, so this pass is marginal. The bank did not harm, but in this study it helped little: no 10\,dB cell was wide, and it was better than the \mPM{} in 3 of the 14 cells at 10\,dB and 7 of 14 at $-5$\,dB.
|
||||
|
||||
\paragraph{Anchor-free losses do not change the claim, and a Gaussian bank matches the SMC mean.}
|
||||
As worded, the alignment-loss claim passed at 10, 0 and $-5$\,dB. It failed in the half-anchor and two-anchor settings, where it is descriptive, because the \mPM{} did not clear the margin against the deterministic ties when anchors are sparse; the anchor-free losses were never the best competitor at $c \le 1$. The Gaussian bank, a disclosed addition that is not a point tie, was the best competitor at $c = 1$ in every setting, and the ratio of the \mPM{} to it was 0.99--1.02 at 10, 0 and $-5$\,dB. The advantage of the \mPM{} therefore does not extend to a bank with the same first two moments.
|
||||
@@ -367,14 +368,14 @@ We used the cells at 10, 0 and $-5$\,dB with $c = 1$ and $N \in \{4, 16\}$, and
|
||||
With an exact reference, the \mRML{} won at 81--97\% of the test wells, and its median band RMSE was 0.80--0.92 times that of the competitor (Table~\ref{tab:t3}). At $\sigma_{\mathrm{ref}} = 4$\,ms the win rate was 0.46--0.64 and the median ratio 0.96--1.01. At 8\,ms the win rate was 0.22--0.44 and the median ratio exceeded 1 in every cell: against this reference the deterministic tie scored better, although against the true labels it was worse. In the three cells with $N = 16$, the median ratio crossed 1 between 3.6 and 4.3\,ms. Corollary~\ref{cor:tolerance} places the crossing at or below $\sigma/\sqrt2$ for an unshrunk oracle, where $\sigma$ is the tie error of the point label. The RMS warp error of the phase-estimated correlation tie on the training wells of these cells was 4.2, 5.8 and 7.3\,ms at 10, 0 and $-5$\,dB, so $\sigma/\sqrt2$ is 3.0, 4.1 and 5.1\,ms. The simulated crossings, 3.6, 3.8 and 4.3\,ms by linear interpolation, follow the same order and lie within 1\,ms of these values: below them at 0 and $-5$\,dB, and 0.6\,ms above at 10\,dB, outside the corollary's condition. The assumptions explain why the agreement can only be approximate: shrinkage relaxes the condition, the \mRML{} is not an oracle, the tie errors are not constant Gaussian shifts, and the reference error here includes a stretch.
|
||||
|
||||
\paragraph{The number of wells needed rises quickly with the reference error.}
|
||||
With an exact reference, the sign test needs five blind wells at 0\,dB (both $N$) and at 10\,dB with $N = 16$, and 18 and 11 wells at $-5$\,dB with $N = 4$ and 16. At 10\,dB with $N = 4$, the outcomes are strongly correlated within realizations (intra-class correlation 0.45), and no $n_{\mathrm{b}} \le 40$ reaches a pass probability of 0.8. At 1\,ms, four of the six cells need 11--30 wells; at 2\,ms, only 0\,dB stays within 40 (23 and 37 wells); at 3\,ms or more, no cell does. The $k$-of-$n_{\mathrm{b}}$ rule appears to need fewer wells, but it is not a test. With independent wells and no true difference, it passes with probability $5/16 = 0.31$ at $n_{\mathrm{b}} = 4$ and $7/64 = 0.11$ at $n_{\mathrm{b}} = 6$. A one-sided sign test at $\alpha = 0.05$ cannot reject at all with four wells, because its smallest attainable $p$-value is $1/16$.
|
||||
With an exact reference, the sign test needs five blind wells at 0\,dB (both $N$) and at 10\,dB with $N = 16$, and 18 and 11 wells at $-5$\,dB with $N = 4$ and 16. At 10\,dB with $N = 4$, the outcomes are strongly correlated within realizations (intra-class correlation 0.45), and no $n_{\mathrm{b}} \le 40$ reaches a pass probability of 0.8. At 1\,ms, four of the six cells need 11--30 wells; at 2\,ms, only 0\,dB stays within 40 (23 and 37 wells); at 3\,ms or more, no cell does. Tests that use the size of the difference need fewer wells: in a resampling check on the same data, a paired $t$-test and a Wilcoxon signed-rank test on the log ratios needed 25--50\% fewer wells than the sign test at the same reference error (for example 12 and 16 against 24 at $\sigma_{\mathrm{ref}} = 1.5$\,ms, 10\,dB, $N = 16$), and at 3\,ms or more neither reached power 0.8 in the $N = 16$ cells within 40 wells (Appendix~\ref{app:record:review}). The $k$-of-$n_{\mathrm{b}}$ rule appears to need fewer wells, but it is not a test. With independent wells and no true difference, it passes with probability $5/16 = 0.31$ at $n_{\mathrm{b}} = 4$ and $7/64 = 0.11$ at $n_{\mathrm{b}} = 6$. A one-sided sign test at $\alpha = 0.05$ cannot reject at all with four wells, because its smallest attainable $p$-value is $1/16$.
|
||||
|
||||
\paragraph{A worked example.}
|
||||
Consider a comparison at $-5$\,dB with $N = 16$ training wells, where the best deterministic tie has a warp error of $\sigma = 7.3$\,ms on the training wells. Corollary~\ref{cor:tolerance} requires a reference error below $\sigma/\sqrt2 = 5.1$\,ms for the measured advantage to keep its sign, and in the simulation the ranking reversed at 4.3\,ms. Detecting the gain requires much more. A sign test with a power of 0.8 needs 11 blind wells with an exact reference, 16 with $\sigma_{\mathrm{ref}} = 0.5$\,ms and 30 with 1\,ms, and at 1.5\,ms or more 40 wells do not suffice (Table~\ref{tab:t3}). An analyst who can estimate the reference error can read the required number of wells from this table, for predictors of comparable skill. The alternative reference we built for Teapot Dome has a residual of 6.75\,ms (Section~\ref{sec:exp:scope}), which exceeds even the limit for the sign of the comparison.
|
||||
|
||||
\begin{table}[t]
|
||||
\centering
|
||||
\caption{Detectability at blind wells (exploratory; saved test predictions of Experiment~2, $c = 1$). Competitor: the best deterministic tie of the cell. Win: fraction of the 64 test wells at which the \mRML{} has the lower band RMSE against the perturbed reference; ratio: median ratio of band RMSE, \mRML{} to competitor; ICC: intra-class correlation of the win within realizations. $n_{\mathrm{b}}^\star$: smallest number of blind wells at which a one-sided sign test ($\alpha = 0.05$) rejects with probability at least 0.8; --: not reached with 40 wells.}
|
||||
\caption{Detectability at blind wells (exploratory; saved test predictions of Experiment~2, $c = 1$). Competitor: the best deterministic tie of the cell. Win: fraction of the 64 test wells at which the \mRML{} has the lower band RMSE against the perturbed reference; ratio: median ratio of band RMSE, \mRML{} to competitor; ICC: intra-class correlation of the win within realizations ($\le 0$: negative estimate truncated at zero; with eight realizations the estimates are imprecise). $n_{\mathrm{b}}^\star$: smallest number of blind wells at which a one-sided sign test ($\alpha = 0.05$) rejects with probability at least 0.8; --: not reached with 40 wells.}
|
||||
\label{tab:t3}
|
||||
\small
|
||||
\setlength{\tabcolsep}{3pt}
|
||||
@@ -385,9 +386,9 @@ Consider a comparison at $-5$\,dB with $N = 16$ training wells, where the best d
|
||||
Cell & Competitor & win & ratio & ICC & 4\,ms & 8\,ms & 0 & 0.5 & 1 & 1.5 & 2 & $\ge 3$ \\
|
||||
\midrule
|
||||
10\,dB, $N = 4$ & Correlation & 0.81 & 0.85 & 0.45 & 0.53 & 0.39 & -- & -- & -- & -- & -- & -- \\
|
||||
10\,dB, $N = 16$ & Phase-est.\ corr. & 0.97 & 0.80 & 0.00 & 0.46 & 0.22 & 5 & 5 & 11 & 23 & -- & -- \\
|
||||
10\,dB, $N = 16$ & Phase-est.\ corr. & 0.97 & 0.80 & $\le 0$ & 0.46 & 0.22 & 5 & 5 & 11 & 23 & -- & -- \\
|
||||
0\,dB, $N = 4$ & Phase-est.\ corr. & 0.95 & 0.87 & 0.07 & 0.64 & 0.39 & 5 & 8 & 11 & 13 & 23 & -- \\
|
||||
0\,dB, $N = 16$ & Phase-est.\ corr. & 0.97 & 0.87 & 0.00 & 0.48 & 0.27 & 5 & 8 & 13 & 18 & 37 & -- \\
|
||||
0\,dB, $N = 16$ & Phase-est.\ corr. & 0.97 & 0.87 & $\le 0$ & 0.48 & 0.27 & 5 & 8 & 13 & 18 & 37 & -- \\
|
||||
$-5$\,dB, $N = 4$ & Calibrated sonic & 0.84 & 0.92 & 0.39 & 0.60 & 0.44 & 18 & 30 & -- & -- & -- & -- \\
|
||||
$-5$\,dB, $N = 16$ & Phase-est.\ corr. & 0.89 & 0.92 & 0.08 & 0.51 & 0.31 & 11 & 16 & 30 & -- & -- & -- \\
|
||||
\bottomrule
|
||||
@@ -398,7 +399,7 @@ $-5$\,dB, $N = 16$ & Phase-est.\ corr. & 0.89 & 0.92 & 0.08 & 0.51 & 0.31 & 11
|
||||
\label{sec:exp:scope}
|
||||
|
||||
\paragraph{Neither field test met its pass rule.}
|
||||
On F3, with four wells, the rule required the \mRML{} to have a lower band RMSE than the selected deterministic tie at no fewer than three of the four blind wells, and macro coverage of its 80\% and 90\% intervals within $[0.75, 0.85]$ and $[0.85, 0.95]$. On Volve, with six deviated wells and a density-driven porosity label, the (descriptive) rule asked for the same at five of six wells under two hold-out schemes (single wells, and slots, the groups of wells that share a borehole), with total RMSE on the labelled samples. On F3, the \mRML{} improved at one well of four, and coverage was 0.52 and 0.61. Its sensitivity variants (anchor uncertainty, scoring reference, band split, label) improved at one to three wells and never met the coverage condition. On Volve, it improved at two (leave-one-well-out) and three (slot) of six wells, and coverage of the 90\% interval was 0.48 and 0.47. No method had skill at the Volve blind wells: macro $R^2$ was negative for every method, and a constant at the training-well mean of the porosity label (PHIF) had a lower macro RMSE than every network (6.03 and 6.59\,p.u.\ under the two schemes, against 6.50 and 7.13\,p.u.\ for the \mRML; post hoc). We claim no improvement on field data and no calibrated uncertainty. Appendix~\ref{app:field} gives the designs and all tables.
|
||||
On F3, with four wells, the rule required the \mRML{} to have a lower band RMSE than the selected deterministic tie at no fewer than three of the four blind wells, and macro coverage of its 80\% and 90\% intervals within $[0.75, 0.85]$ and $[0.85, 0.95]$. On Volve, with six deviated wells and a density-driven porosity label, the (descriptive) rule asked for the same at five of six wells under two hold-out schemes (single wells, and slots, the groups of wells that share a borehole), with total RMSE on the labelled samples. On F3, the \mRML{} improved at one well of four, and coverage was 0.52 and 0.61. On F3 no learned model beat a depth--time trend in total RMSE (Appendix~\ref{app:field}). Its sensitivity variants (anchor uncertainty, scoring reference, band split, label) improved at one to three wells and never met the coverage condition. On Volve, it improved at two (leave-one-well-out) and three (slot) of six wells, and coverage of the 90\% interval was 0.48 and 0.47. No method had skill at the Volve blind wells: macro $R^2$ was negative for every method, and a constant at the training-well mean of the porosity label (PHIF) had a lower macro RMSE than every network (6.03 and 6.59\,p.u.\ under the two schemes, against 6.50 and 7.13\,p.u.\ for the \mRML; post hoc). We claim no improvement on field data and no calibrated uncertainty. Appendix~\ref{app:field} gives the designs and all tables.
|
||||
|
||||
\paragraph{Neither test could have detected the effect.}
|
||||
After both tests had failed, we stated four conditions under which a field test of this kind bears on the synthetic result and evaluated them without test labels. Their thresholds come mechanically from Experiment~2, so the conditions are post hoc but were not tuned to the field results.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
\label{sec:discussion}
|
||||
|
||||
\paragraph{What held.}
|
||||
The four contributions held to different degrees. The theory predicted the three effects that could be tested in a controlled way: the blur of the seismic band where the predictor has coherent power, the sign reversal under a two-mode error, and the loss of absolute timing without anchors, where the warp error grew about tenfold. In the controlled test, two questions are easy to conflate: whether the tie posterior is informative, and whether training on its uncertainty helps. Once the posterior contracted, labels at its mean beat the deterministic ties, and a bank of its samples added a smaller gain when the posterior was wide. Better registration came first, and marginalizing over what remained came second. The benchmark extended the advantage at 10\,dB to stronger drift, a second backbone and the milder misspecified warp prior, and it located where the advantage stops. All of this holds when the data follow the model that the registration assumes. The field cases met none of the requirements of the fourth contribution, so they neither support nor contradict the synthetic results.
|
||||
The four contributions held to different degrees. Three predictions of the theory held in controlled tests: the blur of the seismic band where the predictor has coherent power, the sign reversal under a two-mode error, and the loss of absolute timing without anchors, where the warp error grew about tenfold. A fourth, sharpening by a posterior-mean tie, was not observed: where the test had power, the network trained on posterior-mean labels was blurred relative to the Oracle. In the controlled test, two questions are easy to conflate: whether the tie posterior is informative, and whether training on its uncertainty helps. Once the posterior contracted, labels at its mean beat the deterministic ties, and a bank of its samples added a smaller gain when the posterior was wide. Better registration came first, and marginalizing over what remained came second. The benchmark extended the advantage at 10\,dB to stronger drift, a second backbone and a scaled warp prior, and it located where the advantage stops. All of this holds when the data follow the model that the registration assumes. The field cases met none of the requirements of the fourth contribution, so they neither support nor contradict the synthetic results.
|
||||
|
||||
\paragraph{What failed, and what each failure teaches.}
|
||||
Table~\ref{tab:lessons} lists the failed tests. Three patterns recur. The training loss did not rescue a poor posterior: in Experiment~1 marginalizing improved on the posterior's mean but not on the best deterministic tie. A posterior that is confidently wrong was worse than a cruder tie, and on field data only independent times could reveal it. A field comparison needs skill, a reference and enough wells before its outcome means anything.
|
||||
@@ -31,23 +31,23 @@ Teapot Dome & Stopped before any porosity value & Reference error 6.75\,ms again
|
||||
\end{table}
|
||||
|
||||
\paragraph{Where the bank gain comes from.}
|
||||
In population, no method improves on a point label by more than the factor $\rho^\star$ of \eqref{eq:rhostar}. The measured gains exceed the classical limit in most wide cells, but at $c = 1$, where the bulk offset has a Berkson error, they exceed the Berkson limit in three of four cells, by at most 0.015 (Section~\ref{sec:exp:p2r}). Finite-sample effects can add to this population effect or outweigh it. A Gaussian bank with only the first two moments obtained most of the gain in three of four cells at $c = 1$, the responsibilities re-registered the training labels, and no evidence under the primary criterion linked the gain to multimodality. The bank gain therefore remains an empirical regularity of this benchmark whose source is not identified.
|
||||
In population, no method improves on a point label by more than the factor $\rho^\star$ of \eqref{eq:rhostar}. The measured gains exceed the classical limit in most wide cells. At $c = 1$ they also exceed the Berkson limit in three of four cells, by at most 0.015, and at the measured warp error in at most one (Section~\ref{sec:exp:p2r}). Which limit applies is not settled: the bulk offset had the Berkson correlation structure, but the network trained on posterior-mean labels was blurred, not sharpened, relative to the Oracle (Section~\ref{sec:exp:mech}). Finite-sample effects can add to this population effect or outweigh it. A Gaussian bank with only the first two moments obtained most of the gain in three of four cells at $c = 1$, the responsibilities re-registered the training labels, and no evidence under the primary criterion linked the gain to multimodality. The bank gain therefore remains an empirical regularity of this benchmark whose source is not identified.
|
||||
|
||||
\paragraph{Practical advice: training on an uncertain tie.}
|
||||
These recommendations hold within this benchmark, where the data follow the registration's model.
|
||||
\begin{enumerate}
|
||||
\item \emph{Check the posterior first.} On development data with known timing, confirm that the posterior beats the best deterministic tie in warp error. If it does not, training on it did not help here (Section~\ref{sec:exp:diag}).
|
||||
\item \emph{Estimate the anchor uncertainty from independent time--depth data outside the test set.} Every positive result of Experiment~2 assumes that $\sigma_a$ is known, so this is a precondition and the main risk. On F3 the markers are horizon-tie picks on the same seismic. A type-II estimate treats them as exact (0.4\,ms), while the spread between markers and horizons suggests 7\,ms. The two values place F3 at opposite ends of the $\sigpost$ axis, at about 0.6\,ms (narrow, like the 10\,dB setting) or 2.5--3.4\,ms (wide, close to $-5$\,dB). The arms at 3.5 and 14\,ms did not change the F3 outcome (Appendix~\ref{sec:exp:f3}).
|
||||
\item \emph{Compare the posterior with a cruder tie.} A large disagreement between the SMC mean warp and a correlation tie built with the statistical wavelet would flag a wrong forward model. We did not test this check, and its usefulness depends on the baseline disagreement in well-specified cases, which we did not measure.
|
||||
\item \emph{Choose by posterior width.} Below $\sigpost = 1.5$\,ms, the \mPM{} and the \mRML{} are equivalent within 1\% on average. Above it, the bank is the safer choice: it passed the no-margin rule in all eight wide cells at $N = 16$ and was better than the \mPM{} in 44 of the 52 wide cells of Experiment~3, the eight exceptions being at $N \le 4$ and within 1\%. Once the posterior exists, the bank adds little training cost: the network is evaluated once per window, and only the likelihood is evaluated for each of the 64 labels. A Gaussian bank with the posterior's mean and covariance came within 2.5\% of the SMC bank at $c = 1$. On real data the width cannot be checked against a true warp, and it depends on $\sigma_a$.
|
||||
\item \emph{Do not rely on agreement with a cruder tie.} One might expect a large disagreement between the SMC mean warp and a correlation tie to flag a wrong forward model. In the benchmark it did not: the disagreement followed the error of the correlation tie and stayed at its nominal value under the mild wavelet-phase error that misled the posterior (Section~\ref{sec:exp:bench}). A truth-free check of the posterior is still missing.
|
||||
\item \emph{Choose by posterior width.} Below $\sigpost = 1.5$\,ms, the \mPM{} and the \mRML{} are equivalent within 1\% on average. Above it, the bank is the safer choice: it passed the no-margin rule in all eight wide cells at $N = 16$ and was better than the \mPM{} in 44 of the 52 wide cells of Experiment~3, the eight exceptions being at $N \le 4$ and within 1\%. Once the posterior exists, the bank adds little training cost: the network is evaluated once per window, and only the likelihood is evaluated for each of the 64 labels. The posterior itself is the main cost: on one GPU the phase fit took a median of 7\,min per cell and the SMC run a median of 11\,s per well (5--27\,s). A Gaussian bank with the posterior's mean and covariance came within 2.5\% of the SMC bank at $c = 1$ in three of four cells, so a cheaper bank captured most of the gain there. On real data the width cannot be checked against a true warp, and it depends on $\sigma_a$.
|
||||
\item \emph{Do not read seed spread as tie uncertainty.} Every seed ensemble under-covered, and carrying the tie posterior to new wells needs another mechanism, for example prediction in depth through the warp posterior, which we did not attempt.
|
||||
\end{enumerate}
|
||||
|
||||
\paragraph{Practical advice: comparing tie methods in the field.}
|
||||
Proposition~\ref{prop:reference} and the detectability analysis turn the field failures into four requirements, derived under the benchmark simulator.
|
||||
\begin{enumerate}
|
||||
\item \emph{A reference independent of the seismic and accurate to about 1\,ms.} To leading order, the measured advantage has the sign of the true one only if the reference error is below $1/\sqrt2$ times the tie error being detected (Corollary~\ref{cor:tolerance}), and power is lost well before that point. Check shots or a vertical seismic profile can in principle meet this requirement once their datum and statics are reconciled with the seismic; we did not test their accuracy. A reference tied by synthetic--seismic matching on the same seismic cannot, because its error is not independent of the predictions.
|
||||
\item \emph{A number of blind wells set by a power analysis, with a test as the pass rule.} With an exact reference, a sign test reached a power of 0.8 with 5--18 blind wells in five of the six cells. At 1\,ms it needed 11--30 wells in four cells, and at 3\,ms or more no cell reached that power with 40 wells. Section~\ref{sec:exp:detect} works through one case.
|
||||
\item \emph{A reference independent of the seismic and, in our simulations, accurate to the order of 1\,ms.} To leading order, the measured advantage has the sign of the true one only if the reference error is below $1/\sqrt2$ times the tie error being detected (Corollary~\ref{cor:tolerance}), and power is lost well before that point. Check shots or a vertical seismic profile can in principle meet this requirement once their datum and statics are reconciled with the seismic. The one comparison we have is at Volve well F-11 T2, where the operator's picks lay within $-6.1$ to $+2.3$\,ms of the VSP and the marker-calibrated sonic within $-2.4$ to $-0.8$\,ms (Appendix~\ref{app:field}). A reference tied by synthetic--seismic matching on the same seismic cannot, because its error is not independent of the predictions.
|
||||
\item \emph{A number of blind wells set by a power analysis, with a test as the pass rule.} With four blind wells, as on F3, a one-sided sign test at $\alpha = 0.05$ cannot reject at all, because its smallest attainable $p$-value is $1/16$. With an exact reference, a sign test reached a power of 0.8 with 5--18 blind wells in five of the six cells. At 1\,ms it needed 11--30 wells in four cells, and at 3\,ms or more no cell reached that power with 40 wells. Section~\ref{sec:exp:detect} works through one case.
|
||||
\item \emph{An anchor uncertainty estimated outside the test set} (item 2 above).
|
||||
\item \emph{Networks with skill in the seismic band at blind wells,} shown before registration is compared.
|
||||
\end{enumerate}
|
||||
@@ -58,10 +58,10 @@ The two field cases meet none of the four. Neither F3 nor Volve is evidence agai
|
||||
\item \textbf{One simulator.} In the nominal cells the data follow the rock physics and the warp-prior family that the registration assumes, with a registration prior on the bulk offset wider than the truth, so the gains there are not estimates of the gains to expect on field data. Every confirmatory result comes from one generator family with statistics estimated on F3. Lateral heterogeneity, multiples, anisotropy and non-stationary noise were not simulated, and the misspecification levels are not calibrated to any field.
|
||||
\item \textbf{Band of the benchmark.} In the benchmark, 72\% of the band power of the synthetic labels and 73\% of that of the Oracle predictions at 10\,dB lies below 25\,Hz, so the low-frequency concentration of the predictions is already present in the labels. The F3 $\mathrm{PHIE}_{\mathrm{DT}}$ labels are richer in high frequencies, with 54\% below 25\,Hz (46--68\% across the four wells), and the F3 seismic peaks near 60\,Hz (Table~\ref{tab:bandspectra}; post hoc and descriptive). The measured sensitivities to timing error may therefore understate what a label with more high-frequency content would suffer. We did not test this.
|
||||
\item \textbf{Dependence between tests.} Experiment~2 was designed after Experiment~1 had failed. Experiment~3 reuses its test realizations and SMC particles and was designed after the field tests and post hoc analyses. F3 also supplied the statistics of the generator, and the Volve test was designed after the F3 test had failed.
|
||||
\item \textbf{Tempering.} Every pre-registered bank used $\lambda = 1/\tau_c$, a heuristic fixed in advance, where RML is not near the limit analysed in Section~\ref{sec:theory:post}. The $\lambda \to 0$ objective and MSE on the bank-mean label were trained only in an exploratory arm declared after all verdicts (Appendix~\ref{app:record}). That arm cannot confirm Proposition~\ref{prop:bank}, because the SMC bank is finite and has not been shown to be calibrated.
|
||||
\item \textbf{Tempering.} Every hash-locked bank used $\lambda = 1/\tau_c$, a heuristic fixed in advance, where RML is not near the limit analysed in Section~\ref{sec:theory:post}. The $\lambda \to 0$ objective and MSE on the bank-mean label were trained only in an exploratory arm declared after all verdicts (Appendix~\ref{app:record}). That arm cannot confirm Proposition~\ref{prop:bank}, because the SMC bank is finite and has not been shown to be calibrated.
|
||||
\item \textbf{Strong drift.} At $c = 2$ the mean warp of the SMC posterior was unstable between runs and the posterior was often multimodal. These cells are not primary evidence for the posterior-mean claim.
|
||||
\item \textbf{Untested stresses.} Experiment~3 did not vary the anchor uncertainty, varied the bulk-offset prior only together with the other drift hyperparameters, and tested cycle skipping only in an idealized two-mode form. At low SNR the SMC stability criterion failed in one of four development cells at $c = 1$, mainly through the phase estimate.
|
||||
\item \textbf{Uncertainty quantification.} Seed ensembles under-covered for every method ($\xi$ of 0.19--0.66 at 10\,dB, $c = 1$, $N = 16$; on F3 the macro 80\% coverage of every pre-registered probabilistic method was 0.38--0.52, on Volve 0.29--0.39). Because training length and label source are confounded, the population statements of Proposition~\ref{prop:coverage} for the point label and the calibrated bank remain untested.
|
||||
\item \textbf{Untested stresses.} The anchor-uncertainty stress was tested in one setting only (10\,dB, $c = 1$, where the posterior is narrow), and its effect at $-5$\,dB, where the posterior is wide and F3-like, is unknown. Experiment~3 did not vary the anchor uncertainty, varied the bulk-offset prior only together with the other drift hyperparameters, and tested cycle skipping only in an idealized two-mode form. At low SNR the SMC stability criterion failed in one of four development cells at $c = 1$, mainly through the phase estimate.
|
||||
\item \textbf{Uncertainty quantification.} Seed ensembles under-covered for every method ($\xi$ of 0.19--0.66 at 10\,dB, $c = 1$, $N = 16$; on F3 the macro 80\% coverage of every hash-locked probabilistic method was 0.38--0.52, on Volve 0.29--0.39). Because training length and label source are confounded, the population statements of Proposition~\ref{prop:coverage} for the point label and the calibrated bank remain untested.
|
||||
\item \textbf{Backbone.} Apart from two F3 ablations, the only second backbone is the TCN, in three settings; it was weaker and selected the smallest budget, so this is a check of robustness. Assumption (A3) holds only approximately for either backbone.
|
||||
\item \textbf{Detectability.} The analysis rescored predictions with the skill of Experiment~2 against references whose errors are smooth and independent of the predictions. A reference tied on the same seismic adds a covariance with the predictions that we did not model.
|
||||
\end{itemize}
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
\section{Conclusions}
|
||||
\label{sec:conclusion}
|
||||
|
||||
A well tie is an uncertain estimate, yet learning workflows treat it as exact. Treating its error as an error in the time index of the label explains two opposite effects: timing errors independent of the data blur the optimal predictor, whereas the error of a posterior-mean tie sharpens it in a linear-Gaussian model. Without anchors, absolute timing is not identified. For Gaussian errors, a calibrated bank of posterior labels has a population gain of only fourth order in the tie error, so finite-sample effects can dominate.
|
||||
A well tie is an uncertain estimate, yet learning workflows treat it as exact. Treating its error as an error in the time index of the label predicts two opposite effects: timing errors independent of the data blur the optimal predictor, whereas the error of a posterior-mean tie is predicted to sharpen it in a linear-Gaussian model; on the benchmark no sharpening was detected. Without anchors, absolute timing is not identified. For Gaussian errors, a calibrated bank of posterior labels has a population gain of only fourth order in the tie error, so finite-sample effects can dominate.
|
||||
|
||||
Where the true timing was known, the outcome depended first on the tie posterior. A posterior that did not contract gave no gain, and one that did gave labels with 8--22\% lower seismic-band RMSE than the best deterministic tie. That gain reflects a more accurate tie. A bank of posterior samples added a smaller gain when the posterior was wide, so registration comes first and representing its remaining uncertainty second.
|
||||
Where the true timing was known, the outcome depended first on the tie posterior. A posterior that did not contract gave no gain, and one that did gave labels with 8--22\% lower seismic-band RMSE than the best deterministic tie. That gain reflects a more accurate tie model (against the mean of an anchor-only posterior it was 2--33\%, shrinking as noise grew): the mode of the same posterior, used as a point tie, gave most of the gain, and averaging over the posterior added at most 3\%. A bank of posterior samples added a smaller gain when the posterior was wide, so registration comes first and representing its remaining uncertainty second.
|
||||
|
||||
The benchmark located where these results stop. The advantage required a correct anchor uncertainty, in the one setting tested, and a wavelet phase within the tie model. It held at stronger drift, with a second backbone and under the milder of two misspecified warp priors, and a two-mode label error reversed the sign of the learned seismic band as predicted. Released with reference results, a scorer and the locked rules, the benchmark lets other tie methods be compared where the truth is known.
|
||||
The benchmark located where these results stop. The advantage required a correct anchor uncertainty, in the one setting tested, and a wavelet phase within the tie model. It held at stronger drift, with a second backbone and under a scaled warp prior that tested mainly the benign direction, and a two-mode label error reversed the sign of the learned seismic band as predicted. Released with reference results, a scorer and the locked rules, the benchmark lets other tie methods be compared where the truth is known.
|
||||
|
||||
Whether such gains hold on field data remains open. F3 and Volve showed no consistent improvement, and Teapot Dome has independent time--depth references at no more than two of the 152 wells with density logs across its target inside the 3-D survey. A field comparison of tie methods needs a reference independent of the seismic and accurate to about 1\,ms, enough blind wells for a test with adequate power, an anchor uncertainty estimated outside the test set, and networks with skill in the seismic band. The detectability analysis and the locked protocols allow these gains to be tested once a dataset that meets these conditions is available.
|
||||
Whether such gains hold on field data remains open. F3 and Volve showed no consistent improvement, and Teapot Dome has independent time--depth references at no more than two of the 152 wells with density logs across its target inside the 3-D survey. A field comparison of tie methods needs, for effects of the size found in the benchmark, a reference independent of the seismic and accurate to the order of 1\,ms in our simulations, enough blind wells for a test with adequate power, an anchor uncertainty estimated outside the test set, and networks with skill in the seismic band. The detectability analysis and the locked protocols allow these gains to be tested once a dataset that meets these conditions is available.
|
||||
|
||||
\paragraph{Data and code availability.}
|
||||
The F3 Demo 2023 data are available from dGB Earth Sciences through the TerraNubis portal under a CC BY-SA 3.0 licence \citep{dgb2023f3demo}. The Volve data are available from Equinor \citep{equinor2018volve}; the licence files of the release name CC BY-NC-SA 4.0, and the data owners are Equinor, ExxonMobil, Bayerngas and the Norwegian Petroleum Directorate. The Teapot Dome data (RMOTC, U.S.\ Department of Energy) are available from the Texas Data Repository \citep{bader2017teapot}. \todo{Verify the Teapot licence on the repository page at submission (recorded as CC0 in the project notes). F3 and Volve were checked on the providers' pages on 2 November 2026.} The code, locked protocols, synthetic generator configurations and the scripts that produce every table and figure are available at \todo{repository URL and archived DOI}. The derived data from which every table and figure is computed (summaries, run-level metrics, saved test predictions and the descriptive F3 porosity volume) are archived with a manifest of SHA-256 hashes at \todo{archive DOI}, in separate archives for the F3-derived and synthetic data (CC BY-SA 3.0) and for the Volve-derived data (CC BY-NC-SA 4.0). A clean-room check recomputes the summaries, verdicts, post hoc tables and figures from the code and these archives alone, without raw seismic data. The benchmark package contains 630 tasks on the test realizations 8--15 and the development realizations 900--905, each with its inputs and the true warps and labels used for scoring, together with the reference results of 21 methods and a scorer that applies the locked rules. The truth is included, so the package supports controlled comparisons rather than blind evaluation; it is archived at \todo{Zenodo DOI; licence inherited from F3 (CC BY-SA 3.0), to be confirmed}.
|
||||
The F3 Demo 2023 data are available from dGB Earth Sciences through the TerraNubis portal under a CC BY-SA 3.0 licence \citep{dgb2023f3demo}. The Volve data are available from Equinor \citep{equinor2018volve}; the licence files of the release name CC BY-NC-SA 4.0, and the data owners are Equinor, ExxonMobil, Bayerngas and the Norwegian Petroleum Directorate. The Teapot Dome data (RMOTC, U.S.\ Department of Energy) are available from the Texas Data Repository \citep{bader2017teapot}. \todo{Verify the Teapot licence on the repository page at submission (recorded as CC0 in the project notes). F3 and Volve were checked on the providers' pages on 2 November 2026.} The code, locked protocols, synthetic generator configurations and the scripts that produce every table and figure are available at \todo{repository URL and archived DOI}. The derived data from which every table and figure is computed (summaries, run-level metrics, saved test predictions and the descriptive F3 porosity volume) are archived with a manifest of SHA-256 hashes at \todo{archive DOI}, in separate archives for the F3-derived and synthetic data (CC BY-SA 3.0) and for the Volve-derived data (CC BY-NC-SA 4.0). A clean-room check recomputes the summaries, verdicts, post hoc tables and figures from the code and these archives alone, without raw seismic data. The benchmark package contains 658 tasks on the test realizations 8--15 and the development realizations 900--905, each with its inputs and the true warps and labels used for scoring, together with the reference results of 21 methods and a scorer that applies the locked rules. The truth is included, so the package supports controlled comparisons rather than blind evaluation; it is archived at \todo{Zenodo DOI; licence inherited from F3 (CC BY-SA 3.0), to be confirmed}.
|
||||
|
||||
\paragraph{Computer code availability.}
|
||||
\todo{Required by Computers \& Geosciences. Fields in the journal's template (unverified against the current guide): name of the code; developers and contact (e-mail, phone); year first available; hardware requirements (development on an NVIDIA RTX 3060 12\,GB and an H200); software required (Python 3.12, PyTorch; give the versions of the environment locks); program language; program size; licence; repository link.}
|
||||
|
||||
@@ -95,7 +95,7 @@ The protocol prescribes four further comparisons, none of which can replace a co
|
||||
\toprule
|
||||
Variant & F02-1 & F03-2 & F03-4 & F06-1 & improved & cov$_{80}$ & cov$_{90}$ \\
|
||||
\midrule
|
||||
Pre-registered (Table~\ref{tab:f3gc}) & 1.008 & 1.000 & 0.981 & 1.070 & 1/4 & 0.52 & 0.61 \\
|
||||
Hash-locked (Table~\ref{tab:f3gc}) & 1.008 & 1.000 & 0.981 & 1.070 & 1/4 & 0.52 & 0.61 \\
|
||||
\mRML{} / \mPM & 0.970 & 1.093 & 0.941 & 1.012 & 2/4 & -- & -- \\
|
||||
$\sigma_a = 3.5$\,ms & 1.010 & 0.939 & 1.003 & 1.034 & 1/4 & 0.48 & 0.59 \\
|
||||
$\sigma_a = 14$\,ms & 0.989 & 0.959 & 1.020 & 1.035 & 2/4 & 0.47 & 0.57 \\
|
||||
@@ -124,7 +124,7 @@ The protocol lists twelve ablations (Table~\ref{tab:f3abl}), scored like every o
|
||||
\toprule
|
||||
Variant & change from \mRML & band RMSE & RMSE & cov$_{80}$ & cov$_{90}$ \\
|
||||
\midrule
|
||||
\mRML & pre-registered method: 64 SMC labels, CNN--GRU backbone & 1.272 & 3.12 & 0.52 & 0.61 \\
|
||||
\mRML & hash-locked method: 64 SMC labels, CNN--GRU backbone & 1.272 & 3.12 & 0.52 & 0.61 \\
|
||||
\midrule
|
||||
Anchor only & 64 anchor-only warps (= anchor bank) & 1.286 & 3.14 & 0.50 & 0.58 \\
|
||||
No anchors & no anchor conditioning; prior hyperparameters at the pre-declared medians & 1.247 & 3.23 & 0.48 & 0.56 \\
|
||||
@@ -200,11 +200,11 @@ Every macro $R^2$ was negative under both schemes ($-0.84$ to $-1.71$, Table~\re
|
||||
|
||||
The reason is the between-well variation of the label. The well means of PHIF span 8.5\,p.u.\ (F-1) to 17.0\,p.u.\ (F-12), so a held-out well differs from the training mean by up to 6.4\,p.u.\ before any seismic information is used. The networks reproduced this offset rather than correcting it: the mean error of the \mRML{} at each well tracked the constant's (lowo: $+3.9$ against $+4.9$\,p.u.\ at F-1, $-5.4$ against $-4.3$ at F-11 A, $-6.8$ against $-6.0$ at F-12). After removing the per-well mean error, the standard deviation of its residual, averaged over wells, was 5.2\,p.u.\ (lowo) and 5.1\,p.u.\ (slot), against an average within-well label standard deviation of 4.8\,p.u., and the standard deviation of its prediction along a well was 1.1--4.1\,p.u. The predictions varied less than the label and did not follow it.
|
||||
|
||||
A free time shift of up to $\pm 64$\,ms between prediction and label, a diagnostic that never alters a score, raised the PCC of the \mRML{} to 0.40--0.82. At three (lowo) and four (slot) of the six wells, however, the chosen shift was 56--64\,ms, at or near the search limit and far outside the tie posterior ($\sigpost$ below 10\,ms). With 16--37 samples, the maximum over 33 lags is an optimistic statistic, and we read this diagnostic as uninformative. The differences between tie methods, up to 0.26\,p.u.\ in macro RMSE, are differences between predictions that are all dominated by an error the tie does not control. The comparison had no power on these wells, and its outcome is not evidence about RML in either direction.
|
||||
A free time shift of up to $\pm 64$\,ms between prediction and label, a diagnostic that never alters a score, raised the PCC of the \mRML{} to 0.40--0.82. At three (lowo) and four (slot) of the six wells, however, the chosen shift was 56--64\,ms, at or near the search limit and far outside the tie posterior ($\sigpost$ below 10\,ms). With 16--37 samples, the maximum over 33 lags is an optimistic statistic, and we read this diagnostic as uninformative. The differences between tie methods, up to 0.26\,p.u.\ in macro RMSE, are differences between predictions that are all dominated by an error the tie does not control. The comparison had no power on these wells, and its outcome is not evidence about the \mRML{} in either direction.
|
||||
|
||||
\begin{table}[t]
|
||||
\centering
|
||||
\caption{Volve nested blind folds, all pre-registered methods (label PHIF, marker-calibrated vertical-sonic reference, $\sigma_a = 7$\,ms, combined ensembles). Macro over six wells; RMSE in p.u. Coverage is descriptive. Last row: a constant prediction at the pooled label mean of the outer training wells, with no seismic input; computed after the run, for scale only.}
|
||||
\caption{Volve nested blind folds, all hash-locked methods (label PHIF, marker-calibrated vertical-sonic reference, $\sigma_a = 7$\,ms, combined ensembles). Macro over six wells; RMSE in p.u. Coverage is descriptive. Last row: a constant prediction at the pooled label mean of the outer training wells, with no seismic input; computed after the run, for scale only.}
|
||||
\label{tab:volveall}
|
||||
\small
|
||||
\begin{tabular}{lcccccccc}
|
||||
@@ -229,7 +229,7 @@ The phase-estimated correlation, the \mPM{} and the \mRML{} were registered and
|
||||
|
||||
\begin{table}[t]
|
||||
\centering
|
||||
\caption{Volve sensitivity to $\sigma_a$ (combined ensembles, descriptive). Macro RMSE in p.u.\ of \mRML{} and of Phase-est.\ corr. at the same $\sigma_a$; improved: wells at which \mRML{} is below Phase-est.\ corr.; coverage of \mRML. The pre-registered comparison of Table~\ref{tab:volvegd} is against the tie chosen by inner validation, which is Calibrated sonic at most wells, so its counts differ.}
|
||||
\caption{Volve sensitivity to $\sigma_a$ (combined ensembles, descriptive). Macro RMSE in p.u.\ of \mRML{} and of Phase-est.\ corr. at the same $\sigma_a$; improved: wells at which \mRML{} is below Phase-est.\ corr.; coverage of \mRML. The hash-locked comparison of Table~\ref{tab:volvegd} is against the tie chosen by inner validation, which is Calibrated sonic at most wells, so its counts differ.}
|
||||
\label{tab:volvesens}
|
||||
\small
|
||||
\setlength{\tabcolsep}{2.5pt}
|
||||
|
||||
@@ -16,7 +16,7 @@ The test was designed after the F3 test had failed and before any porosity metri
|
||||
\subsection{Deviations in the synthetic experiments}
|
||||
|
||||
\paragraph{Experiment 2.}
|
||||
Re-running on new realizations was not among the options pre-registered for a failure of Experiment~1, which prescribed a time-boxed diagnosis followed by a pivot. Two potential stresses were not tested: the bulk-offset prior $\sigma_b$ was neither learned nor varied, and a rock-physics misspecification stress was cut for time.
|
||||
Re-running on new realizations was not among the options that the hash-locked protocol listed for a failure of Experiment~1, which prescribed a time-boxed diagnosis followed by a pivot. Two potential stresses were not tested: the bulk-offset prior $\sigma_b$ was neither learned nor varied, and a rock-physics misspecification stress was cut for time.
|
||||
|
||||
\paragraph{Experiment 3.}
|
||||
The experiment was designed after Experiment~2, after the field tests and after the post hoc analyses of Section~\ref{sec:exp:p2r}, and it reuses the test realizations 8--15. The drift--well-count grid, the alignment-loss comparison and the backbone check also reuse the SMC particles of Experiment~2, after a check that one cell (10\,dB, realization 8, $c = 1$, $N = 4$) reproduces its particles and predictions bit for bit. Two arms are disclosed additions that enter no rule, both motivated by the exploratory analysis of Section~\ref{sec:exp:mech}: the Gaussian bank in the misspecification and alignment-loss studies, and a record of every method's prediction at 500 iterations of the same training trajectories. The two-mode claim was narrowed before the lock: on development data the two-member bank was worse than the midpoint label at $\Delta = 8$\,ms, and that clause became descriptive. The protocol calls the two-member bank calibrated; it is calibrated only in the weaker sense that the truth is a member, not in the sense of Proposition~\ref{prop:bank}.
|
||||
@@ -36,14 +36,14 @@ After the first run we added points to the grid of reference errors, from $\{0,
|
||||
In the wide cells at $N = 16$, the band RMSE of the \mRML{} stayed 4--6\% above the Oracle's at 0\,dB and in the half-anchor and $-5$\,dB settings, and 17\% ($c = 1$) and 63\% ($c = 2$) above it in the two-anchor setting. At $c = 1$, the Oracle's band RMSE was 0.93, 0.92 and 0.93 times that of the \mPM{} at 0\,dB, in the half-anchor setting and at $-5$\,dB, and 0.76 times in the two-anchor setting. These post hoc ratios are below $\rhoCl$ in all four cells, below $\rhoBk$ at $\sigpost$ in three or four of them depending on the estimator, and below $\rhoBk$ at the measured warp error in one or two.
|
||||
|
||||
\paragraph{Exploratory analysis of the bank gain.}
|
||||
Retraining reproduced the pre-registered runs exactly (10\,560 rows, maximum deviation 0), and the post hoc ratios and both bounds had been inspected before the declaration. The first correlation of the Berkson test at $c = 1$ was $0.017$, $-0.035$, $-0.027$ and $-0.052$ (each 95\% interval containing 0), and the estimated offsets were less dispersed than the true ones (variance ratio 0.41--0.81), as Berkson shrinkage implies. For the phase-estimated correlation tie the anchor-referenced test is not clean, so we draw no structural conclusion. The \mPM{} improved at 500 iterations in 7 of the 8 cells (ratios 0.973--0.985), so the budget selected on development data was not optimal for it. At equal budgets the \mRML{}/\mPM{} ratios were 0.980, 0.981, 0.887 and 0.986 at $c = 1$ and 0.962, 0.913, 0.687 and 0.966 at $c = 2$, in the order 0\,dB, half-anchor, two-anchor, $-5$\,dB.
|
||||
Retraining reproduced the hash-locked runs exactly (10\,560 rows, maximum deviation 0), and the post hoc ratios and both bounds had been inspected before the declaration. The first correlation of the Berkson test at $c = 1$ was $0.017$, $-0.035$, $-0.027$ and $-0.052$ (each 95\% interval containing 0), and the estimated offsets were less dispersed than the true ones (variance ratio 0.41--0.81), as Berkson shrinkage implies. For the phase-estimated correlation tie the anchor-referenced test is not clean, so we draw no structural conclusion. The \mPM{} improved at 500 iterations in 7 of the 8 cells (ratios 0.973--0.985), so the budget selected on development data was not optimal for it. At equal budgets the \mRML{}/\mPM{} ratios were 0.980, 0.981, 0.887 and 0.986 at $c = 1$ and 0.962, 0.913, 0.687 and 0.966 at $c = 2$, in the order 0\,dB, half-anchor, two-anchor, $-5$\,dB.
|
||||
|
||||
The members of the Gaussian bank are as wide (marginal standard deviation 0.98--1.00 of the particles') and as wrong (warp error 1.00--1.02 times the SMC members') as the SMC bank. At 0\,dB, $c = 1$, its ratio to the \mPM{} was 0.987 $[0.972, 1.003]$ against 0.967 for the \mRML{}. At $c = 2$ the SMC bank was ahead at 0\,dB (0.969 against 0.952), in the half-anchor setting (0.944 against 0.904) and in the two-anchor setting (0.753 against 0.667), and not at $-5$\,dB. Under the declared reading, four cells were consistent with label augmentation alone, three showed information beyond the first two moments (all at $c = 2$), and one (0\,dB, $c = 1$) was read as against label augmentation; no reading had a majority.
|
||||
|
||||
The responsibility-weighted warp reduced the warp error of the uniform mean of the 64-member bank from, for example, 1.86 to 1.38\,ms at 0\,dB, $c = 1$, from 4.86 to 3.05\,ms in the two-anchor setting at $c = 1$, and from 19.3 to 11.7\,ms in that setting at $c = 2$. The mean of the 64 members differs slightly from the mean of all 1024 particles in Table~\ref{tab:h2b}. The effective number of members was 3.5--28 of 64, so at $\lambda = 1/\tau_c$ RML is not near its $\lambda \to 0$ limit, and the direction was the same at two other temperatures. We called a training well multimodal if a two-component Gaussian mixture fitted the window-mean offsets of its particles much better than one component ($\Delta\mathrm{BIC} > 10$, modes more than 4\,ms apart, smaller weight at least 0.1). With any multimodal well as the criterion, instead of at least a quarter of the wells, the difference of log ratios was $-0.017$ $[-0.031, -0.0002]$, which meets the declared criterion only marginally. The split has little power because multimodality is rare outside the unstable cells.
|
||||
|
||||
\paragraph{Tempering limit.}
|
||||
A further exploratory arm, declared and hashed after all verdicts and before any computation, used the eight wide cells of Experiment~2 at $N = 16$ and three zero-drift cells (10, 0 and $-5$\,dB), with 8 realizations, 5 seeds and the 250 iterations registered for the \mPM{} and the \mRML{}, so the new arms may be disadvantaged. It retrained these two methods and added two arms on the same 64-member banks: RML with $\lambda = 10^{-3}$, an approximation of the $\lambda \to 0$ limit, and MSE on the $\pi$-weighted mean label of the bank. Retraining reproduced the pre-registered runs exactly (7\,040 rows). At $\lambda = 10^{-3}$ the effective number of members was at least 0.99 of 64, against 2.5--24 on average at $\lambda = 1/\tau_c$ in the wide cells. The $\lambda \to 0$ bank had a lower band RMSE than the \mPM{} in all eight wide cells (95\% intervals below 1), with ratios of 0.979, 0.983, 0.940 and 0.976 at $c = 1$ (0\,dB, half-anchor, two-anchor, $-5$\,dB) and 0.822--0.980 at $c = 2$. At $c = 1$ it kept 55--63\% of the gain of the \mRML{} over the \mPM{} in the first three settings; at $-5$\,dB the two banks did not differ (ratio 0.994 $[0.980, 1.008]$). The \mRML{} was better than the $\lambda \to 0$ bank in six of the eight wide cells: all four at $c = 2$, and at 0\,dB and in the two-anchor setting at $c = 1$ (ratios 1.012 and 1.056). With 500 iterations this held in four of the eight, and at $c = 1$ the difference was at most 0.5\% except in the two-anchor setting (4.9\%). MSE on the mean label was 7.6--10.0\% worse than the $\lambda \to 0$ bank in every wide cell, and about 8\% worse at $c = 0$ at 0 and $-5$\,dB, where the bank is narrow. That arm changes the loss and the label together, so this comparison does not separate them. In these cells, part of the bank gain therefore did not require finite tempering, and finite tempering added to it mainly at $c = 2$ and in the two-anchor setting.
|
||||
A further exploratory arm, declared and hashed after all verdicts and before any computation, used the eight wide cells of Experiment~2 at $N = 16$ and three zero-drift cells (10, 0 and $-5$\,dB), with 8 realizations, 5 seeds and the 250 iterations registered for the \mPM{} and the \mRML{}, so the new arms may be disadvantaged. It retrained these two methods and added two arms on the same 64-member banks: RML with $\lambda = 10^{-3}$, an approximation of the $\lambda \to 0$ limit, and MSE on the $\pi$-weighted mean label of the bank. Retraining reproduced the hash-locked runs exactly (7\,040 rows). At $\lambda = 10^{-3}$ the effective number of members was at least 0.99 of 64, against 2.5--24 on average at $\lambda = 1/\tau_c$ in the wide cells. The $\lambda \to 0$ bank had a lower band RMSE than the \mPM{} in all eight wide cells (95\% intervals below 1), with ratios of 0.979, 0.983, 0.940 and 0.976 at $c = 1$ (0\,dB, half-anchor, two-anchor, $-5$\,dB) and 0.822--0.980 at $c = 2$. At $c = 1$ it kept 55--63\% of the gain of the \mRML{} over the \mPM{} in the first three settings; at $-5$\,dB the two banks did not differ (ratio 0.994 $[0.980, 1.008]$). The \mRML{} was better than the $\lambda \to 0$ bank in six of the eight wide cells: all four at $c = 2$, and at 0\,dB and in the two-anchor setting at $c = 1$ (ratios 1.012 and 1.056). With 500 iterations this held in four of the eight, and at $c = 1$ the difference was at most 0.5\% except in the two-anchor setting (4.9\%). MSE on the mean label was 7.6--10.0\% worse than the $\lambda \to 0$ bank in every wide cell, and about 8\% worse at $c = 0$ at 0 and $-5$\,dB, where the bank is narrow. That arm changes the loss and the label together, so this comparison does not separate them. In these cells, part of the bank gain therefore did not require finite tempering, and finite tempering added to it mainly at $c = 2$ and in the two-anchor setting.
|
||||
|
||||
\paragraph{Coverage.}
|
||||
The calibration errors of the four ensembles at 10\,dB, $c = 1$, $N = 16$ were 0.114, 0.300, 0.291 and 0.379 (calibrated sonic, \mPM{}, \mRML{}, Oracle). Because $\xi_O$ is small, Proposition~\ref{prop:coverage}(a) requires only a small excess of predicted variance for a method to cover more than the Oracle, and each method had a larger $\xi$ and a higher coverage than the Oracle in 80--99\% of the 240 realization cells. At 10\,dB, the phase-estimated correlation tie had a median warp error of 3.5\,ms on the training wells against 0.55\,ms for the SMC mean warp, yet at the Oracle's 500 iterations it reached the same $\xi$ as the \mPM{} at 250. Over all settings its excess over the Oracle was the smallest of any method (0.018--0.027). Most of the excess of the \mPM{} and \mRML{} was already present at $c = 0$, where the median warp error of their labels was 0.34\,ms. On the development realizations of Experiment~1 (10\,dB, $c = 1$, $N = 16$), the 90\% coverage of single Oracle models was 0.23 after 500 iterations, and their mean $\sigma$ fell by a factor of five between 125 and 2000 iterations. Within the 250-iteration group of Table~\ref{tab:t4}, the methods with worse labels (anchor mean, correlation tie) had the larger excess. This is the direction that Proposition~\ref{prop:coverage}(b) gives for classical error, but the anchor mean is a posterior mean, and the structure of these label errors was not tested.
|
||||
@@ -64,7 +64,7 @@ The Gaussian bank was better than the \mPM{} in 16 of the 30 cells by the no-mar
|
||||
At $\Delta = 8$\,ms, which is descriptive, the two-member bank was better than the midpoint label at $N = 16$ but not at $N = 4$.
|
||||
|
||||
\paragraph{Equal training budgets.}
|
||||
Every method's training trajectory was also evaluated at 500 iterations, in the cells run in Experiment~3. No verdict-level result changed direction. The no-margin rule for \mRML{}/\mPM{} changed outcome in 14 of the 70 cells of the drift--well-count grid evaluated, all with ratios between 0.97 and 1.01 at both budgets. At 10\,dB, $c = 1.5$, \mPM{}/best deterministic tie was 0.867 and 0.793. At 10\,dB, $c = 1$, it was 0.944 and 0.920 under mild rock-physics error and 1.020 and 1.042 under the mild wavelet phase, so the misspecification failures are not caused by the training length. With the TCN at 10\,dB it was 0.864 and 0.813. The bank gain changed in narrow cells: at 10\,dB, $c = 1.5$, \mRML{}/\mPM{} was 0.997 and 0.999, against 0.978 and 0.987 at the pre-registered budgets. In wide cells it remained (two-anchor setting, $c = 1.5$: 0.916 and 0.747). The ratio of the two-member bank to the midpoint label changed by at most 0.013 (at most 0.01 at $\Delta \in \{16, 32\}$\,ms).
|
||||
Every method's training trajectory was also evaluated at 500 iterations, in the cells run in Experiment~3. No verdict-level result changed direction. The no-margin rule for \mRML{}/\mPM{} changed outcome in 14 of the 70 cells of the drift--well-count grid evaluated, all with ratios between 0.97 and 1.01 at both budgets. At 10\,dB, $c = 1.5$, \mPM{}/best deterministic tie was 0.867 and 0.793. At 10\,dB, $c = 1$, it was 0.944 and 0.920 under mild rock-physics error and 1.020 and 1.042 under the mild wavelet phase, so the misspecification failures are not caused by the training length. With the TCN at 10\,dB it was 0.864 and 0.813. The bank gain changed in narrow cells: at 10\,dB, $c = 1.5$, \mRML{}/\mPM{} was 0.997 and 0.999, against 0.978 and 0.987 at the hash-locked budgets. In wide cells it remained (two-anchor setting, $c = 1.5$: 0.916 and 0.747). The ratio of the two-member bank to the midpoint label changed by at most 0.013 (at most 0.01 at $\Delta \in \{16, 32\}$\,ms).
|
||||
|
||||
\paragraph{Band content of labels and predictions.}
|
||||
This comparison is post hoc and descriptive: it was made after every verdict and enters no rule. Table~\ref{tab:bandspectra} gives the distribution of power above 6\,Hz in the 600--1100\,ms window. The Oracle predictions have almost the same distribution as the synthetic labels. The F3 $\mathrm{PHIE}_{\mathrm{DT}}$ labels have more power at high frequency: 54\% of their band power lies below 25\,Hz (46--68\% across the four wells), against 72\% for the synthetic labels (61--79\% across realizations). Four short well windows do not define a spectrum for F3, and part of the high-frequency power of a sonic-derived label may be unrelated to the seismic.
|
||||
@@ -88,3 +88,76 @@ Oracle prediction, $-5$\,dB & 1.16 & 52 & 20 & 13 & 9 & 6 & 14 \\
|
||||
\bottomrule
|
||||
\end{tabular}
|
||||
\end{table}
|
||||
|
||||
\subsection{Analyses added after review}
|
||||
\label{app:record:review}
|
||||
|
||||
Three exploratory analyses were declared and hashed after a simulated review and before any computation. They read saved predictions, runs and posterior samples, and regenerate the locked synthetic realizations to rebuild deterministic ties; no network was trained and no verdict changed.
|
||||
|
||||
\paragraph{Sharpening.}
|
||||
The transfer $\hat H$ of the network trained on posterior-mean labels relative to the Oracle network, both at 500 iterations, was estimated as in Section~\ref{sec:theory:blur} in the cells at $c = 1$ ($N = 8$) and $c = 1.5$ ($N = 16$) of the drift--well-count grid, with 95\% bootstrap intervals over realizations. Summarized by the geometric mean over the usable frequencies (6.8 to 25--38\,Hz), it was 0.990 [0.978, 1.000] and 0.993 [0.973, 1.011] at 10\,dB, 0.981 and 0.967 [0.948, 0.989] at 0\,dB, 0.934 [0.859, 0.997] and 0.903 [0.850, 0.958] at $-5$\,dB, 0.965 and 0.948 [0.931, 0.974] in the half-anchor setting, and 0.795 and 0.652 in the two-anchor setting. A Gaussian Berkson error at the posterior width predicts 1.003--1.214. The interval excluded 1 from below in six cells and from above in none. At the budgets of Experiment~2 (posterior mean at 250 iterations, Oracle at 500), the posterior-mean network was at 0.79--1.02 at $c = 1$ and the best deterministic tie at 0.72--0.96, below 1 in all ten cells.
|
||||
|
||||
\paragraph{Decision rules under permutation.}
|
||||
Swapping the method labels of a cell at random, either for whole realizations (all 256 assignments) or for each realization--seed unit (20\,000 draws), gives the probability that a rule passes when the two methods are exchangeable. For the margin rule it was 0.004--0.10 per cell with realization swaps and at most $3 \times 10^{-4}$ with unit swaps; for the verdicts that need two cells it was 0.004--0.035 (posterior-mean claim at 10, 0 and $-5$\,dB: 0.016, 0.004, 0.035; its extension to $c = 1.5$, the scaled warp prior and the TCN: 0.027, 0.016, 0.027). For the no-margin rule it was 0.17--0.36 per cell with realization swaps and 0.14--0.16 with unit swaps; for the verdicts, 0.22 (bank claim, at least 6 of 8 wide cells), 0.16 (TCN bank) and 0.36 (two-member bank, four cells) with realization swaps. With eight realizations the no-margin rule cannot fall below $93/256 = 0.36$ per cell under realization swaps, because it counts signs only. In all 14 cells decided by it, the bootstrap interval of the ratio excluded 1. No correction for multiplicity was applied.
|
||||
|
||||
\paragraph{A truth-free check of the posterior.}
|
||||
At each training well, the RMS difference between the SMC mean warp and the correlation tie was computed in the nominal and misspecification settings at $c = 1$. At 10\,dB and $N = 16$ it was 3.9\,ms in the nominal setting, close to the error of the correlation tie (3.9\,ms) and far from that of the SMC mean (0.6\,ms). Relative to the nominal setting it was 1.00 [0.90, 1.11] under the mild wavelet phase, 1.25 [1.06, 1.46] under the strong one, 1.14 and 1.25 under rock physics, 0.85 under attenuation and 0.94--1.00 under the warp presets; at $-5$\,dB all ratios lay in 0.93--1.03. The rank correlation over wells between this difference and the error of the SMC mean was $-0.03$ to 0.22 at $N = 16$. The check followed the error of the correlation tie, not that of the posterior.
|
||||
|
||||
\paragraph{Names used in the package.}
|
||||
Table~\ref{tab:codes} maps the names in the text to the codes of the released package and of the repository.
|
||||
|
||||
\begin{table}[!htbp]
|
||||
\centering
|
||||
\caption{Names in the text and codes in the released package.}
|
||||
\label{tab:codes}
|
||||
\small
|
||||
\begin{tabular}{p{0.56\linewidth}p{0.38\linewidth}}
|
||||
\toprule
|
||||
Text & Package and repository \\
|
||||
\midrule
|
||||
10\,dB, 0\,dB, $-5$\,dB (full anchors); half-anchor; two-anchor & R10, R0, Rm5; R0h; R10tb \\
|
||||
SMC mean; SMC bank & B3d-Sa; M2-Sa \\
|
||||
anchor mean; anchor bank; reweighted anchor bank & B3d; M1; M2 \\
|
||||
sonic tie; calibrated sonic; correlation tie; phase-estimated correlation & B3a; B3b; B3c; B3c-R \\
|
||||
hard-min shift; soft-min shift; soft-DTW; DILATE & B4a; B4b; B4c; B4d \\
|
||||
Gaussian bank; midpoint label; two-member bank; two-member hard-min & Ctl-GP; PM2; BK2; HM2 \\
|
||||
rock physics mild, strong; wavelet phase mild, strong; attenuation & rp\_L1, rp\_L2; wv\_L1, wv\_L2; wv\_Q \\
|
||||
scaled warp prior; out-of-family warp & dr\_L1; dr\_L2 \\
|
||||
Experiment 1; Experiment 2; Experiment 3; blur test & P2; P2r; protocol\_bench; H1 \\
|
||||
mechanism study; detectability; bank coverage test & T2; T3; T4 \\
|
||||
drift--well-count grid; misspecification; alignment losses; backbone; two-mode & S1; S2; S3; S4; S8 \\
|
||||
\bottomrule
|
||||
\end{tabular}
|
||||
\end{table}
|
||||
|
||||
\paragraph{Intervals for few realizations.}
|
||||
With eight realizations, percentile bootstrap intervals of a ratio of means can be too narrow. For 38 main ratios (the posterior-mean claim in six cells, the bank claim in the eight wide cells, the two extension cells of Experiment~3, the 14 presets of the no-harm claim, and six comparisons with the anchor mean), we also computed BCa intervals (9\,999 resamples) and $t$-intervals on the per-realization log ratios (7 degrees of freedom). The percentile intervals reproduced the published ones to within 0.002. BCa intervals changed no conclusion about excluding 1 or a threshold. The $t$-intervals widened the upper limits by up to 0.017 and changed three conclusions about excluding 1, all in cells whose percentile upper limit lay within 0.005 of 1: the bank claim at $-5$\,dB, $c = 1$ (0.995 to 1.001), and the no-harm ratio at $-5$\,dB under the mild rock-physics preset and attenuation (0.999 and 0.997 to 1.001). No conclusion about a threshold changed. For the posterior-mean claim the interval lay entirely below 0.90 only at $N = 16$ in the 10\,dB cell, in its extension to $c = 1.5$ and under the scaled warp prior, with every interval method. Against the mean of an anchor-only posterior, the ratio at $c = 1$ was 0.81 [0.76, 0.85] and 0.67 [0.64, 0.71] at 10\,dB, 0.93 and 0.89 at 0\,dB, and 0.98 [0.97, 0.99] and 0.97 [0.95, 0.98] at $-5$\,dB for $N = 4$ and 16. Without drift, the band RMSE relative to the Oracle was, for the calibrated sonic, correlation tie, phase-estimated correlation, anchor mean and SMC mean, 1.57, 1.21, 1.19, 1.05 and 0.99 at 10\,dB, $N = 4$; 1.82, 1.30, 1.29, 1.08 and 1.02 at 10\,dB, $N = 16$; 1.29, 1.19, 1.17, 1.04 and 0.99 at 0\,dB, $N = 4$; 1.39, 1.24, 1.21, 1.06 and 1.03 at 0\,dB, $N = 16$; 1.15, 1.15, 1.15, 1.03 and 1.01 at $-5$\,dB, $N = 4$; and 1.20, 1.18, 1.16, 1.03 and 1.01 at $-5$\,dB, $N = 16$. These analyses were declared and hashed before computing, are exploratory and enter no verdict.
|
||||
|
||||
\paragraph{Point ties with the same information as the posterior.}
|
||||
For the settings at 10, 0 and $-5$\,dB, $c \in \{0, 1\}$ and $N \in \{4, 16\}$ (96 cells of one realization each), two further point ties were trained with the backbone and the 250 iterations of the \mPM{}: the best of the 1024 saved SMC particles by the tempered log target, which approximates the mode of the same model (SMC-MAP), and the mode of the anchor-only posterior, a least-squares fit of the anchors with the known $\sigma_a$ (Anchor-LS). Retraining the \mPM{} reproduced the registered runs in 96 of 96 rows (maximum deviation $2 \times 10^{-16}$). Table~\ref{tab:pointtie} gives the ratios at $c = 1$. The SMC-MAP ratio to the best deterministic tie was below 1 with every interval method in all 12 cells, including $c = 0$ (0.78--0.89). The \mPM{} relative to SMC-MAP was 0.97--1.01; its percentile interval lay below 1 in five of 12 cells (three with $t$-intervals) and above 1 in none. The \mRML{} relative to SMC-MAP was 0.96--1.00, below 1 in four of 12 cells. The warp error of SMC-MAP at $c = 1$, $N = 16$ was 0.84, 2.21 and 3.36\,ms at 10, 0 and $-5$\,dB (\mPM{}: 0.63, 1.86, 2.91; Anchor-LS: 4.1). The best particle is not the exact mode: its log likelihood exceeded that of 56--74\% of the particles.
|
||||
|
||||
\begin{table}[!htbp]
|
||||
\centering
|
||||
\caption{Point ties with the same information as the posterior, $c = 1$ (exploratory). Ratios of band RMSE (95\% percentile interval over realizations). SMC-MAP: best saved particle by the tempered log target; Anchor-LS: mode of the anchor-only posterior; best tie: best deterministic tie of the cell.}
|
||||
\label{tab:pointtie}
|
||||
\small
|
||||
\setlength{\tabcolsep}{3pt}
|
||||
\begin{tabular}{lcccc}
|
||||
\toprule
|
||||
Ratio & \multicolumn{2}{c}{10\,dB} & \multicolumn{2}{c}{$-5$\,dB} \\
|
||||
& $N = 4$ & $N = 16$ & $N = 4$ & $N = 16$ \\
|
||||
\midrule
|
||||
SMC-MAP / best tie & 0.862 [0.809, 0.924] & 0.803 [0.774, 0.832] & 0.946 [0.915, 0.982] & 0.933 [0.918, 0.951] \\
|
||||
Anchor-LS / best tie & 1.148 [1.073, 1.237] & 1.247 [1.187, 1.318] & 0.951 [0.920, 0.988] & 0.976 [0.961, 0.992] \\
|
||||
\mPM{} / SMC-MAP & 0.994 [0.974, 1.014] & 0.973 [0.965, 0.982] & 0.967 [0.952, 0.984] & 0.989 [0.978, 0.999] \\
|
||||
\mPM{} / Anchor-LS & 0.746 [0.709, 0.775] & 0.627 [0.599, 0.654] & 0.962 [0.951, 0.974] & 0.946 [0.935, 0.957] \\
|
||||
\mRML{} / SMC-MAP & 0.989 [0.971, 1.006] & 0.977 [0.966, 0.988] & 0.962 [0.943, 0.980] & 0.971 [0.954, 0.985] \\
|
||||
\bottomrule
|
||||
\end{tabular}
|
||||
\end{table}
|
||||
|
||||
\paragraph{Independence of the tie error from the data.}
|
||||
For the window-mean offset $a$ at the 128 training wells of each cell ($N = 16$, eight realizations, $c \in \{1, 2\}$, five settings), let $e = a_{\mathrm{true}} - a_{\mathrm{SMC\,mean}}$ and $\sigma_{\mathrm{post}}$ the standard deviation of $a$ over the particles. The Spearman correlation between $|e|$ and $\sigma_{\mathrm{post}}$ was 0.31 and 0.46 at 0\,dB, 0.44 and 0.56 in the half-anchor setting, 0.04 and 0.18 at 10\,dB, 0.73 and 0.59 in the two-anchor setting, and 0.39 and 0.27 at $-5$\,dB ($c = 1$, 2); the 95\% interval over realizations excluded zero in eight of ten cells (not at 10\,dB). The coefficient of variation of $\sigma_{\mathrm{post}}$ between wells was 0.25--1.72. The correlation between $|e|$ and $|a_{\mathrm{SMC\,mean}}|$ was $-0.03$ to 0.09 with intervals containing zero. Coverage of the true offset by the 5--95\% range of the particles was 0.84--0.97, and 0.58 and 0.63 in the two-anchor setting.
|
||||
|
||||
\paragraph{Blind wells needed under other tests.}
|
||||
Resampling realizations and wells from the saved indicators (1\,000 draws per cell, reference error and number of wells), the smallest number of blind wells reaching power 0.8 at $\alpha = 0.05$ was, for the sign test, the Wilcoxon signed-rank test and the paired $t$-test on the log ratio of band RMSEs: 8, 6 and 4 with an exact reference at 10\,dB, $N = 16$; 16, 10 and 8 at $\sigma_{\mathrm{ref}} = 1$\,ms; 24, 16 and 12 at 1.5\,ms; and none, 24 and 20 at 2\,ms. At 0\,dB, $N = 16$: 8, 6 and 4; 16, 8 and 8; 30, 20 and 16 at 0, 1 and 2\,ms. At $-5$\,dB, $N = 16$: 16, 8 and 8; 24, 16 and 12; none, 30 and 24. At 3\,ms none of the $N = 16$ cells reached 0.8 with 40 wells. The sign-test values differ from those of Table~\ref{tab:t3}, which uses a beta-binomial model of the correlation within realizations; the resampling reuses the same eight realizations and carries no interval of its own.
|
||||
|
||||
@@ -342,7 +342,7 @@ const PHASES = [
|
||||
{id:"P7", name:"P7 Review và nộp", start:"2026-11-11", end:"2026-11-14", weeks:"T4–T7 11–14/11",
|
||||
out:"bản nộp", gate:null,
|
||||
tasks:[
|
||||
{id:"p7-rev", t:"Review nội bộ; hình; phụ lục chứng minh; gói tái lập", s:"todo", n:"T4 11/11 – T5 12/11. Phụ lục chứng minh rà xong 02/11, gói tái lập dựng xong 02/11. Rà soát chống hallucination toàn bài xong sớm 04/11 (plan §12 ý 36; <a href=\"docs/research/paper-audit.md\">biên bản</a>): 87 phát hiện, 4 lỗi S1, đều đã sửa; không verdict nào đổi. Còn mở cho tác giả: G1-14, 7 PDF thiếu, licence Volve, null Rm5. Mô phỏng ba referee của venue xong 04/11 (plan §12 ý 37; <a href=\"docs/research/referee-simulation.md\">biên bản</a>): 3/3 Major revision; thư quyết định 5 mục chờ người dùng chọn các mục thí nghiệm mới. Năm hình còn mã cũ đã vẽ lại theo tên mô tả ngày 09/11; clean-room check chạy lại đạt 12/12 (plan §12 ý 40). Nhánh exploratory λ → 0 chạy xong 10/11 và đã ghi vào Limitations và Phụ lục C (plan §12 ý 41). Ngày 10/11 chốt bốn đóng góp, đổi tên bài, viết lại flow theo đóng góp và cho một referee Fable chấm lại: Major revision, chờ người dùng chọn hướng sửa (plan §12 ý 42, D-16)."},
|
||||
{id:"p7-rev", t:"Review nội bộ; hình; phụ lục chứng minh; gói tái lập", s:"todo", n:"T4 11/11 – T5 12/11. Phụ lục chứng minh rà xong 02/11, gói tái lập dựng xong 02/11. Rà soát chống hallucination toàn bài xong sớm 04/11 (plan §12 ý 36; <a href=\"docs/research/paper-audit.md\">biên bản</a>): 87 phát hiện, 4 lỗi S1, đều đã sửa; không verdict nào đổi. Còn mở cho tác giả: G1-14, 7 PDF thiếu, licence Volve, null Rm5. Mô phỏng ba referee của venue xong 04/11 (plan §12 ý 37; <a href=\"docs/research/referee-simulation.md\">biên bản</a>): 3/3 Major revision; thư quyết định 5 mục chờ người dùng chọn các mục thí nghiệm mới. Năm hình còn mã cũ đã vẽ lại theo tên mô tả ngày 09/11; clean-room check chạy lại đạt 12/12 (plan §12 ý 40). Nhánh exploratory λ → 0 chạy xong 10/11 và đã ghi vào Limitations và Phụ lục C (plan §12 ý 41). Ngày 10/11 chốt bốn đóng góp, đổi tên bài, viết lại flow theo đóng góp và cho một referee Fable chấm lại: Major revision. Ngày 10/11 làm nhóm A + B (sửa chữ, ba phân tích exploratory trên dữ liệu đã có; plan §12 ý 43); chưa push được."},
|
||||
{id:"p7-nov", t:"Kiểm tra tính mới lần cuối, tra quartile, đăng preprint", s:"todo", n:"T6 13/11. Quét sơ bộ xong 02/11 (plan §12 ý 31): không bài nào đưa bất định tie vào huấn luyện; thêm Herrera 2014, Autotie 2026 (chỉ abstract) và Castagna 2026 (đọc toàn văn 02/11, plan §12 ý 33). Ngày 13/11: quét lại; abstract IMAGE 2026 của Palavicini Gurria; DOI Quesada 2024."},
|
||||
{id:"p7-sub", t:"Nộp Computers & Geosciences", s:"todo", n:"T7 14/11."}
|
||||
]}
|
||||
@@ -601,6 +601,11 @@ const LOG = [
|
||||
["2026-11-10","Chạy tiếp nhánh exploratory λ → 0 (docs/research/lambda-limit.md, băm 09/11 trước khi tính): lượt 09/11 dừng ở 72/88 job do SIGTERM; chạy lại cùng lệnh trong tmux 10/11 04:06 UTC, 16 job còn lại, 9 phút, exit 0. Tái lập 7.040/7.040 dòng; S_eff của bank λ = 10⁻³ ≥ 0,99 × 64. Bank λ → 0 thắng SMC mean ở 8/8 ô rộng; M2-Sa hơn bank λ → 0 ở 6/8 (4/8 ở 500 vòng); MSE trên nhãn trung bình kém hơn ở 8/8. Kết quả ở docs/research/lambda-limit-results.md; paper: bullet Limitations 'Tempering' thay bullet cũ, đoạn 'Tempering limit' ở Phụ lục C; build sạch, 69 trang. Không đổi verdict, ngưỡng, protocol hay abstract (plan §12 ý 41)."],
|
||||
["2026-11-10","Chốt bốn đóng góp và đổi tên bài (plan §12 ý 42; quyết định D-16): Uncertain well ties in learned seismic property prediction: theory, a benchmark with known timing, and requirements for blind-well tests. Viết lại abstract (khoảng 250 từ), highlights, Introduction, Related Work (đoạn mới về benchmark và về thiết kế so sánh; 6 tài liệu mới đã xác minh), mở đầu Sec. 3/5/6 (định nghĩa pre-registered), Discussion What held và Conclusions theo bốn đóng góp; bỏ hidden truth. Không số mới, không đổi verdict. Build sạch, 71 trang. Một agent Fable đóng vai referee chấm lại bản này."],
|
||||
["2026-11-10","Referee Fable chấm bản đã đổi tên (docs/research/referee-reports/R4_contrib_round1.md): Major revision, độ tin cao; điểm novelty 4, soundness 4, claims–evidence 4, clarity 3, storyline 4, reproducibility 4, relevance 4. Nhận đúng bốn đóng góp; tên bài phù hợp. Vấn đề quyết định: thiếu tie MAP cùng mô hình (hoặc nói rõ là so sánh mô hình tie); σ_a thật được cho mọi phương pháp, benchmark không có trục sai σ_a; Berkson sharpening nói như kết quả nhưng chưa đo; luật không biên và đếm 9/11. Thêm: hash-locked thay pre-registered, mục riêng cho gói benchmark, repro/README.md còn hidden truth và tên cũ, licence F3+Volve, thiếu tài liệu (Adams & Marlin 2017, Nagaraj 2025, registration uncertainty y khoa, White & Simm 2003). Chưa sửa bài; chờ người dùng chọn (plan §12 ý 42)."],
|
||||
["2026-11-10","Commit 894fbdf (chưa push được: máy này thiếu credential Gitea). Làm nhóm A + B theo referee R4 (plan §12 ý 43): ba phân tích exploratory khai báo và băm trước (scripts/42_referee_r4.py; docs/research/referee-r4-results.md). B1: mạng SMC mean không sắc hơn Oracle ở ô nào (cùng 500 vòng); blur ở 6/10 ô, cả 5 ô có lực. B2: luật có biên p 0,004–0,10/ô; luật better chỉ đếm dấu, p tới 0,36/ô, nhưng CI loại 1 ở cả 14 ô. B3: độ lệch warp SMC–correlation tie không cảnh báo được lỗi pha wavelet. Bài: hash-locked thay pre-registered; Berkson thành dự đoán; so sánh giữa mô hình tie; mục 3.3 mới về gói benchmark; bỏ 9/11; 7 tài liệu mới đã xác minh; sửa README. Không đổi verdict. Build sạch, 76 trang."],
|
||||
["2026-11-10","Sau B1 sửa các chỗ dựa vào cận Berkson: Sec. 6.3 báo cả hai cận mà không chọn, Sec. 6.4/7 nói chưa xác định cận nào áp dụng; Introduction và Conclusions coi sharpening là dự đoán. Build sạch, 76 trang. Giao một referee Opus chấm độc lập và đối chiếu với R4 (plan §12 ý 43)."],
|
||||
["2026-11-10","Referee Opus (R5): Major revision, độ tin trung bình–cao; điểm 3/3/3/3/4/4/4. Vấn đề quyết định: đối thủ tất định yếu và thiếu point tie cùng thông tin; dự đoán sharpening thất bại chứ không chỉ chưa thấy, phép kiểm Berkson không đủ; lý thuyết λ → 0 khác thí nghiệm λ ≈ 0,37; điều kiện field hẹp hơn lời văn; bootstrap 8 realization. Đối chiếu R4: 5/8 mục chính đã xử lý, 2 một phần, 1 chưa. Chưa sửa theo R5."],
|
||||
["2026-11-10","Sửa theo R5 (plan §12 ý 44): sửa chữ + khoảng tin cậy exploratory đã khai báo trước (scripts/43_referee_r5_ci.py). BCa không đổi kết luận nào trong 38 tỉ số; t-interval đổi 3 ô sát biên. So với anchor mean lợi ích của SMC mean là 2–33% (0,81/0,67 ở 10 dB; 0,98/0,97 ở −5 dB); không drift, tie tất định vẫn cao hơn Oracle 15–29%. Abstract 249 từ viết lại; sharpening là dự đoán bị mâu thuẫn; thêm tài liệu age–depth, White 1980, Walden & White 1984, CTC. Chưa làm: tie cùng thông tin, trục σ_a, kiểm độc lập Berkson, Wilcoxon n_b. Build sạch, 78 trang."],
|
||||
["2026-11-10","Làm bốn việc còn mở (plan §12 ý 45), mọi phân tích khai báo và băm trước. Point tie cùng thông tin (scripts/44, GPU 17 phút): mode xấp xỉ của posterior SMC thắng tie tất định tốt nhất ở 12/12 ô (0,78–0,95), lấy trung bình posterior thêm ≤ 3%; Anchor-LS (chỉ anchor) kém hơn ở 10 dB c = 1 (1,15–1,25). Kiểm độc lập Berkson bị bác ở 10/10 ô; Wilcoxon và t cặp cần ít giếng hơn kiểm định dấu 25–50%. Benchmark thêm hai setting σ_a sai (658 task, 0 hash cũ đổi). Clean-room thêm archive và sáu bước verify. Clean-room chạy lại 18/18 bước, không file nào khác, không đọc ngoài gói. Bài 80 trang, build sạch."],
|
||||
];
|
||||
/* ===================== HẾT DATA ===================== */
|
||||
|
||||
|
||||
2745
repro/MANIFEST.json
2745
repro/MANIFEST.json
File diff suppressed because it is too large
Load Diff
@@ -1,14 +1,14 @@
|
||||
# Reproduction package
|
||||
|
||||
This directory documents how to reproduce the numbers, tables and figures of the manuscript *Label registration
|
||||
error in sparse-well seismic property learning: theory, a registration-aware benchmark, and the limits of field
|
||||
validation*. The package has four parts:
|
||||
This directory documents how to reproduce the numbers, tables and figures of the manuscript *Uncertain well
|
||||
ties in learned seismic property prediction: theory, a benchmark with known timing, and requirements for blind-well
|
||||
tests*. The package has four parts:
|
||||
|
||||
| part | where | what |
|
||||
|---|---|---|
|
||||
| code and locked protocols | this git repository (archive: `scripts/39_repro_package.py code --rev <commit>`) | `ml_porosity/`, `scripts/`, `operations/`, `tests/`, `configs/` (six locked protocols with `.sha256` and, from P3 on, `.lock.json`), `paper/` |
|
||||
| derived data | five `tar.gz` archives, hashed in [`MANIFEST.json`](MANIFEST.json) | every output file that a number of the manuscript is computed from, split by data licence |
|
||||
| benchmark package | separate deposit, documented in [`../benchmark/README.md`](../benchmark/README.md) | 630 synthetic tasks with hidden truth, 45,200 reference runs, a scorer |
|
||||
| benchmark package | separate deposit, documented in [`../benchmark/README.md`](../benchmark/README.md) | 658 synthetic tasks with their true warps and labels (public, for controlled comparisons rather than blind evaluation), 46,320 reference runs, a scorer |
|
||||
| clean-room check | [`verify_report.md`](verify_report.md) | the summary, post hoc, table and figure stages rerun from the code and the archives only |
|
||||
|
||||
Archive DOI: TODO (not deposited yet). Code licence: TODO (to be chosen by the authors).
|
||||
@@ -102,13 +102,15 @@ locked code is that of the commit or tag in the table.
|
||||
| P0 audit (Sec. 3) | — | `scripts/run_p0.sh` (also rewrites `outputs/f3_wells.npz`, so skip it when the F3 archive is used) | under a minute, CPU | F3 SEG-Y |
|
||||
| P1 field baselines (App. B) | `configs/protocol.yaml`, tag `protocol-v2` | `scripts/05_lowo.py --only B0a,B0b,B1`, `scripts/05_lowo.py --only B2,B3a,B3b --workers 12`, `scripts/06_summarize_p1.py` (the steps of `scripts/run_p1.sh` after 01 and 04) | 15 min, one GPU | none beyond the F3 archive |
|
||||
| P2 first synthetic test (Sec. 6.1) | `configs/protocol_p2.yaml`, cee2ff0 | `scripts/run_p2.sh` | 1 h 29 min (main grid, 6 workers on one H200) | none beyond the F3 archive |
|
||||
| P2r rerun (Sec. 6.2–6.3) | `configs/protocol_p2r.yaml`, tag `protocol-p2r` | `scripts/run_p2r_dev.sh`, then `scripts/run_p2r_main.sh` | dev 2 h 23 min; main 42 min to 1 h 38 min per regime on two H200 | none beyond the F3 archive |
|
||||
| P2r rerun (Sec. 6.3) | `configs/protocol_p2r.yaml`, tag `protocol-p2r` | `scripts/run_p2r_dev.sh`, then `scripts/run_p2r_main.sh` | dev 2 h 23 min; main 42 min to 1 h 38 min per regime on two H200 | none beyond the F3 archive |
|
||||
| T2 mechanism, exploratory (Sec. 6.4) | declared in `docs/research/t2-mechanism.md` | `scripts/32_t2_mechanism.py` | training 18–25 min (GPU), particle tests 7 min (CPU) | none |
|
||||
| Benchmark, protocol_bench (Sec. 6.5) | `configs/protocol_bench.yaml`, 381b5ff (no tag) | `scripts/run_bench.sh posterior train` per study, then `summarize`; `scripts/36_bench_verdicts.py`; `scripts/37_bench_package.py generate`, `tables` | 11.5 h in all (29/10 14:43 to 30/10 02:16 UTC), with S1, S2 and S3+S4+S8 running at once on two H200 (up to 36 workers); e.g. S2 training 3 h 8 min, S3+S4+S8 training 8 h 51 min | none |
|
||||
| T3 detectability, T4 coverage, H2b bound (Sec. 6.3, 6.6) | post hoc | `scripts/27_t3_power.py`, `scripts/30_t4_coverage.py`, `scripts/31_p2r_posthoc.py` | minutes, CPU | none |
|
||||
| P3 F3 field test (Sec. 6.7, App. B) | `configs/protocol_f3.yaml`, tag `protocol-f3` | `scripts/run_p3.ps1` (Windows) | 3 h 42 min on one RTX 3060 | F3 SEG-Y |
|
||||
| P4 Volve field test (Sec. 6.7, App. B) | `configs/protocol_volve.yaml`, tag `protocol-volve` | `scripts/run_p4.sh` | registration 3–5 min, training 47–53 min per σ_a arm on one H200 | Volve |
|
||||
| Applicability, Teapot (Sec. 6.7) | declared in `docs/research/applicability-teapot.md` | `scripts/25_p4_posthoc.py`, `scripts/26_applicability.py`, `python -P scripts/28_teapot_inventory.py`, `python -P scripts/29_teapot_pilot.py` | minutes, CPU | Teapot for 28/29 |
|
||||
| Review analyses, exploratory (Sec. 6.4, 6.5, App. C) | declared in `docs/research/referee-r4-analyses.md` | `scripts/42_referee_r4.py --stage all` (not in the archives or a verify stage) | about 4 min (CPU) | `outputs/p2r`, `outputs/bench` |
|
||||
| Interval check, exploratory (Sec. 6, App. C) | declared in `docs/research/referee-r5-ci.md` | `scripts/43_referee_r5_ci.py` (not in the archives or a verify stage) | 10 s (CPU) | `outputs/p2r`, `outputs/bench` |
|
||||
| Figures | — | `scripts/22_paper_figures.py`, `scripts/38_bench_figures.py` | about 2 min, CPU | none |
|
||||
| Paper | — | `cd paper && pdflatex main && bibtex main && pdflatex main && pdflatex main` | seconds | — |
|
||||
|
||||
@@ -178,7 +180,7 @@ and metric tables are in the archives, so every reported number is recomputed fr
|
||||
statements in three places: S1-H1 needs exactly two N values but S1 has four, so it returns null; S2-H1 has no
|
||||
top-level pass; S3-H1 adds the disclosed Ctl-GP control to the competitor set. `scripts/36_bench_verdicts.py`
|
||||
(outside the lock; checks the lock first) applies the statements as worded. Both readings are reported:
|
||||
`outputs/bench/summary/verdict.json` (as run) and `verdict_final.{json,md}` (as worded, 9/11 pass).
|
||||
`outputs/bench/summary/verdict.json` (as run) and `verdict_final.{json,md}` (as worded; the paper reads each study separately and does not count verdicts).
|
||||
- **Post hoc analyses** outside every lock: `scripts/25`, `26`, `27`, `30`, `31`, `38 --flipband`. They change no
|
||||
registered verdict.
|
||||
- **P3 volume recovery** (Section 4): inference only, registered code and completed rows kept.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Clean-room verification of the reproduction package
|
||||
|
||||
Written by `scripts/39_repro_package.py verify` (2026-11-09T08:33:38+00:00 → 2026-11-09T08:54:41+00:00). Code: 356 files of the working tree at 8d5befb412 with uncommitted changes; package: 11112 files from the archives listed in `repro/MANIFEST.json`; Python 3.13.15, CPU only. No SEG-Y, Volve or Teapot raw data in the clean room; the F3 well files tracked in git are present.
|
||||
Written by `scripts/39_repro_package.py verify` (2026-11-10T10:27:00+00:00 → 2026-11-10T11:07:39+00:00). Code: 379 files of the working tree at 894fbdfc59 with uncommitted changes; package: 11503 files from the archives listed in `repro/MANIFEST.json`; Python 3.13.15, CPU only. No SEG-Y, Volve or Teapot raw data in the clean room; the F3 well files tracked in git are present.
|
||||
|
||||
Status of a rewritten file: identical = same bytes as the original; equal = same values (csv/json/npz within 1e-9 relative, or bytes equal once the clean-room path is replaced by the original one; figures with < 0.01% differing pixels at 110 dpi); differs = see detail; missing = expected but not rewritten; new = written by the step but not part of the package. Reads are those of files under outputs/ (package) and data/ (tracked F3 well files); a read of the original repository would mean the clean room leaked.
|
||||
|
||||
@@ -8,13 +8,19 @@ Status of a rewritten file: identical = same bytes as the original; equal = same
|
||||
|---|---|---|---|---|---|---|---|---|---|---|
|
||||
| p1_summary | `python scripts/06_summarize_p1.py` | 0 | 2 | 2 | 0 | 0 | 0 | 1 | 0 | 0 |
|
||||
| p2_summary | `python scripts/13_summarize_p2.py --mode main` | 0 | 8 | 9 | 0 | 0 | 0 | 4 | 0 | 0 |
|
||||
| p2r_summary | `python scripts/18_summarize_p2r.py` | 0 | 224 | 9 | 0 | 0 | 0 | 0 | 0 | 0 |
|
||||
| p2r_posthoc | `python scripts/31_p2r_posthoc.py` | 0 | 94 | 3 | 0 | 0 | 0 | 0 | 0 | 0 |
|
||||
| t4_coverage | `python scripts/30_t4_coverage.py` | 0 | 23 | 4 | 1 | 0 | 0 | 0 | 0 | 0 |
|
||||
| t3_power | `python scripts/27_t3_power.py` | 0 | 785 | 4 | 1 | 0 | 0 | 0 | 0 | 0 |
|
||||
| bench_summarize | `python scripts/34_run_bench.py summarize` | 0 | 33 | 18 | 1 | 0 | 0 | 0 | 0 | 0 |
|
||||
| bench_verdicts | `python scripts/36_bench_verdicts.py` | 0 | 26 | 3 | 0 | 0 | 0 | 0 | 0 | 0 |
|
||||
| bench_tables | `python scripts/37_bench_package.py tables --out outputs/bench/package` | 0 | 27 | 2 | 0 | 0 | 0 | 3 | 0 | 0 |
|
||||
| p2r_summary | `python scripts/18_summarize_p2r.py` | 0 | 220 | 9 | 0 | 0 | 0 | 0 | 0 | 0 |
|
||||
| p2r_posthoc | `python scripts/31_p2r_posthoc.py` | 0 | 99 | 3 | 0 | 0 | 0 | 0 | 0 | 0 |
|
||||
| t4_coverage | `python scripts/30_t4_coverage.py` | 0 | 21 | 4 | 1 | 0 | 0 | 0 | 0 | 0 |
|
||||
| t3_power | `python scripts/27_t3_power.py` | 0 | 928 | 4 | 1 | 0 | 0 | 0 | 0 | 0 |
|
||||
| bench_summarize | `python scripts/34_run_bench.py summarize` | 0 | 43 | 18 | 1 | 0 | 0 | 0 | 0 | 0 |
|
||||
| bench_verdicts | `python scripts/36_bench_verdicts.py` | 0 | 11 | 3 | 0 | 0 | 0 | 0 | 0 | 0 |
|
||||
| bench_tables | `python scripts/37_bench_package.py tables --out outputs/bench/package` | 0 | 28 | 2 | 0 | 0 | 0 | 3 | 0 | 0 |
|
||||
| referee_r4_b1 | `python scripts/42_referee_r4.py --stage b1` | 0 | 124 | 1 | 0 | 0 | 0 | 1 | 0 | 0 |
|
||||
| referee_r4_b2 | `python scripts/42_referee_r4.py --stage b2` | 0 | 15 | 2 | 0 | 0 | 0 | 1 | 0 | 0 |
|
||||
| referee_r5_ci | `python scripts/43_referee_r5_ci.py` | 0 | 12 | 2 | 0 | 0 | 0 | 1 | 0 | 0 |
|
||||
| referee_r5_f2 | `python scripts/45_referee_r5_followups.py --stage f2` | 0 | 877 | 2 | 0 | 0 | 0 | 1 | 0 | 0 |
|
||||
| lambda_limit_summary | `python scripts/41_lambda_limit.py --stage summary` | 0 | 3 | 5 | 0 | 0 | 0 | 0 | 0 | 0 |
|
||||
| point_tie_summary | `python scripts/44_point_tie_arm.py --stage summary` | 0 | 3 | 4 | 0 | 0 | 0 | 0 | 0 | 0 |
|
||||
| figures_main | `python scripts/22_paper_figures.py` | 0 | 6 | 6 | 0 | 0 | 0 | 0 | 0 | 0 |
|
||||
| figures_bench | `python scripts/38_bench_figures.py` | 0 | 11 | 2 | 0 | 0 | 0 | 0 | 0 | 0 |
|
||||
| s8_flipband | `python scripts/38_bench_figures.py --flipband` | 0 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
|
||||
@@ -64,12 +70,40 @@ Paper figures deleted from the clean room and not regenerated: none.
|
||||
- identical: 3 file(s)
|
||||
|
||||
### bench_tables
|
||||
- package files read: 3226; tracked data read: data/F3_Demo_2023/F3_Demo_2023
|
||||
- package files read: 3228; tracked data read: data/F3_Demo_2023/F3_Demo_2023
|
||||
- new: `outputs/bench/package/reference/cells.csv`
|
||||
- new: `outputs/bench/package/reference/main_table.md`
|
||||
- new: `outputs/bench/package/reference/runs.csv.gz`
|
||||
- identical: 2 file(s)
|
||||
|
||||
### referee_r4_b1
|
||||
- package files read: 807
|
||||
- new: `outputs/referee_r4/meta.json`
|
||||
- identical: 1 file(s)
|
||||
|
||||
### referee_r4_b2
|
||||
- package files read: 1862
|
||||
- not in package: `outputs/referee_r4/meta.json`
|
||||
- identical: 2 file(s)
|
||||
|
||||
### referee_r5_ci
|
||||
- package files read: 1574
|
||||
- new: `outputs/referee_r5/meta.json`
|
||||
- identical: 2 file(s)
|
||||
|
||||
### referee_r5_f2
|
||||
- package files read: 1
|
||||
- new: `outputs/referee_r5/meta_followups.json`
|
||||
- identical: 2 file(s)
|
||||
|
||||
### lambda_limit_summary
|
||||
- package files read: 267
|
||||
- identical: 5 file(s)
|
||||
|
||||
### point_tie_summary
|
||||
- package files read: 197
|
||||
- identical: 4 file(s)
|
||||
|
||||
### figures_main
|
||||
- package files read: 12; tracked data read: data/F3_Demo_2023/F3_Demo_2023
|
||||
- identical: 6 file(s)
|
||||
|
||||
@@ -64,6 +64,7 @@ RUN = ["setting", "c", "n_train", "rid", "seed", "method"]
|
||||
PRED = re.compile(r"r(\d+)_c([\d.]+)_n(\d+)_s(\d+)")
|
||||
WIDE_MS = 1.5 # rules.wide of protocol_bench
|
||||
N_BOOT = 2000
|
||||
SIGMA_A_STRESS = (3.5, 14.0) # σ_a stated in the task file of the settings R10__sa3.5 and R10__sa14 (true value 7 ms)
|
||||
|
||||
|
||||
# ---------------------------------------------------------------- tasks
|
||||
@@ -76,6 +77,9 @@ def settings(p: dict) -> list[dict]:
|
||||
for r in st["S2"]["regimes"] for axis in st["S2"]["presets"].values() for pr in axis]
|
||||
out += [dict(setting=f"{r}__s8d{d:g}", regime=r, preset="nominal", delta_ms=float(d), cs=st["S8"]["drift_factors"])
|
||||
for r in st["S8"]["regimes"] for d in st["S8"]["delta_ms"]]
|
||||
# σ_a stress (added 10/11/2026, after review): the data are those of R10, c = 1; the task file states the wrong σ_a
|
||||
out += [dict(setting=f"R10__sa{v:g}", regime="R10", preset="nominal", delta_ms=None, cs=[1.0], sigma_a_stated=v, tag=f"sa{v:g}")
|
||||
for v in SIGMA_A_STRESS]
|
||||
return out
|
||||
|
||||
|
||||
@@ -83,7 +87,7 @@ def task_arrays(inp, R, s: dict, c: float) -> tuple[dict, dict]:
|
||||
reg = inp.regime(s["regime"])
|
||||
obs, test = inp.observe(R, c, s["regime"], len(R.pool))
|
||||
task = {"rid": np.int64(R.rid), "c": np.float64(c), "snr_db": np.float64(reg["snr_db"]),
|
||||
"anchor_density": np.array(reg["anchor_density"]), "sigma_a_ms": np.float64(inp.sigma_a),
|
||||
"anchor_density": np.array(reg["anchor_density"]), "sigma_a_ms": np.float64(s.get("sigma_a_stated", inp.sigma_a)),
|
||||
"t_seis_ms": R.t_ext, "t_label_ms": R.t_main, "tau_ms": R.tau_fine,
|
||||
"train_names": np.array([o["name"] for o in obs]), "train_seis": np.stack([o["seis"] for o in obs]),
|
||||
"train_phi_log": np.stack([o["phi_log"] for o in obs]), "train_ai_log": np.stack([o["ai_log"] for o in obs]),
|
||||
@@ -133,7 +137,10 @@ def analyst(p: dict, inp) -> dict:
|
||||
"patch": "3 × 3 traces around each well: inline offset −1..1 (outer) × crossline offset −1..1 "
|
||||
"(inner); the centre trace is index 4; labels refer to the centre trace"},
|
||||
"anchors": {"sigma_a_ms": inp.sigma_a,
|
||||
"model": "unit-boundary picks: anchor_tau_ms exact on the log, anchor_t_ms = true time + N(0, σ_a²)"},
|
||||
"model": "unit-boundary picks: anchor_tau_ms exact on the log, anchor_t_ms = true time + N(0, σ_a²)",
|
||||
"note": "the σ_a to use is the `sigma_a_ms` of the task file; it equals sigma_a_ms here except in the settings "
|
||||
"R10__sa3.5 and R10__sa14, where it is deliberately wrong (the picks were generated with the value "
|
||||
"given here)"},
|
||||
"rock_physics_nominal": {"phi_dt": [synth_d2.PHI_DT_A, synth_d2.PHI_DT_B], "rhob": [synth_d2.RHO_0, synth_d2.RHO_1],
|
||||
"formula": "DT = (φ − A)/B µs/m; RHOB = ρ0 − ρ1·φ kg/m³; AI = RHOB·1e6/DT; "
|
||||
"train_ai_log = AI(train_phi_log)"},
|
||||
@@ -170,7 +177,7 @@ def generate(a) -> None:
|
||||
(out / d / rel).parent.mkdir(parents=True, exist_ok=True)
|
||||
np.savez_compressed(out / d / rel, **arr)
|
||||
files[f"{d}/{rel}"] = content_sha(arr)
|
||||
rows.append({"split": sp, "setting": s["setting"], "regime": s["regime"], "preset": s["preset"],
|
||||
rows.append({"split": sp, "setting": s["setting"], "regime": s["regime"], "preset": s.get("tag", s["preset"]),
|
||||
"delta_ms": s["delta_ms"], "c": float(c), "rid": rid, "snr_db": float(task["snr_db"]),
|
||||
"anchor_density": str(task["anchor_density"]), "n_pool": len(task["train_names"]),
|
||||
"n_test": len(task["test_names"]), "n_anchors": len(task["anchor_tau_ms"]),
|
||||
@@ -238,6 +245,9 @@ def setting_of(df: pd.DataFrame) -> pd.Series:
|
||||
|
||||
def reference_runs(p: dict) -> pd.DataFrame:
|
||||
parts = [S.p2r_runs(p).assign(study="P2r")]
|
||||
for v in SIGMA_A_STRESS: # P2r σ_a arm: methods registered with σ_a = v on data generated with 7 ms
|
||||
f = REPO_ROOT / p["reference"]["p2r"]["root"] / "train" / f"R10_sa{v:g}" / "runs.csv"
|
||||
parts.append(pd.read_csv(f).assign(regime="R10", preset=f"sa{v:g}", study="P2r-sa"))
|
||||
for st in ("S1", "S2", "S3", "S4", "S8"):
|
||||
parts.append(S.load_study(p, bench_root(), st)[1].assign(study=st))
|
||||
df = pd.concat(parts, ignore_index=True)
|
||||
@@ -251,6 +261,7 @@ def reference_runs(p: dict) -> pd.DataFrame:
|
||||
|
||||
def sigma_post(p: dict) -> pd.DataFrame:
|
||||
a = pd.read_csv(REPO_ROOT / p["reference"]["p2r"]["root"] / "summary" / "sigma_post.csv")
|
||||
a["setting"] = a["setting"].str.replace("_sa", "__sa", regex=False)
|
||||
d = bench_root() / "posterior"
|
||||
b = S.sigma_post_table({x.name: x for x in sorted(d.iterdir()) if x.is_dir()})
|
||||
cols = ["setting", "c", "n_train", "sigma_post_ms", "warp_rmse_ms", "warp_cov90"]
|
||||
|
||||
@@ -138,6 +138,15 @@ RULES = [
|
||||
("bench/s[12348]/train/*.json", "f3_results", "scripts/34_run_bench.py train"),
|
||||
("bench/posterior/*.csv", "f3_results", "scripts/34_run_bench.py posterior"),
|
||||
("bench/posterior/*.json", "f3_results", "scripts/34_run_bench.py posterior"),
|
||||
# exploratory analyses after review (outside every lock; declared in docs/research/ and hashed before running)
|
||||
("referee_r4/meta.json", None, ""),
|
||||
("referee_r4/tmp/*", None, ""),
|
||||
("referee_r4/*", "f3_results", "scripts/42_referee_r4.py"),
|
||||
("referee_r5/meta*.json", None, ""),
|
||||
("referee_r5/*", "f3_results", "scripts/43_referee_r5_ci.py, scripts/45_referee_r5_followups.py"),
|
||||
("lambda_limit/*", "f3_results", "scripts/41_lambda_limit.py"),
|
||||
("point_tie/*", "f3_results", "scripts/44_point_tie_arm.py"),
|
||||
("band_spectra/*", "f3_results", "scripts/40_band_spectra.py"),
|
||||
# P3 F3 field test (protocol_f3; reproduce from tag protocol-f3)
|
||||
("p3/summary/predictions.npz", "f3_predictions", "scripts/20_summarize_f3.py"),
|
||||
("p3/summary/*", "f3_results", "scripts/20_summarize_f3.py"),
|
||||
@@ -179,6 +188,12 @@ STEPS = [
|
||||
("bench_summarize", ["scripts/34_run_bench.py", "summarize"], "files"),
|
||||
("bench_verdicts", ["scripts/36_bench_verdicts.py"], "files"),
|
||||
("bench_tables", ["scripts/37_bench_package.py", "tables", "--out", "outputs/bench/package"], "files"),
|
||||
("referee_r4_b1", ["scripts/42_referee_r4.py", "--stage", "b1"], "files"),
|
||||
("referee_r4_b2", ["scripts/42_referee_r4.py", "--stage", "b2"], "files"),
|
||||
("referee_r5_ci", ["scripts/43_referee_r5_ci.py"], "files"),
|
||||
("referee_r5_f2", ["scripts/45_referee_r5_followups.py", "--stage", "f2"], "files"),
|
||||
("lambda_limit_summary", ["scripts/41_lambda_limit.py", "--stage", "summary"], "files"),
|
||||
("point_tie_summary", ["scripts/44_point_tie_arm.py", "--stage", "summary"], "files"),
|
||||
("figures_main", ["scripts/22_paper_figures.py"], "figures"),
|
||||
("figures_bench", ["scripts/38_bench_figures.py"], "figures"),
|
||||
("s8_flipband", ["scripts/38_bench_figures.py", "--flipband"], "stdout"),
|
||||
|
||||
390
scripts/42_referee_r4.py
Normal file
390
scripts/42_referee_r4.py
Normal file
@@ -0,0 +1,390 @@
|
||||
"""Three exploratory analyses requested by simulated referee R4 (declared in docs/research/referee-r4-analyses.md,
|
||||
hashed before the first run; outside every lock and the reproduction archives).
|
||||
|
||||
B1 transfer of the posterior-mean network relative to the Oracle network (test of Berkson sharpening)
|
||||
B2 null pass probability of the decision rules under label permutation
|
||||
B3 truth-free disagreement between the SMC mean warp and a correlation tie
|
||||
|
||||
Reads saved predictions, runs, particles and phase files only; B3 regenerates the locked synthetic realizations to
|
||||
rebuild the correlation-tie warps. No network is trained.
|
||||
|
||||
python scripts/42_referee_r4.py --stage all [--workers 8]
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
import hashlib
|
||||
import importlib.util
|
||||
import itertools
|
||||
import json
|
||||
import math
|
||||
import os
|
||||
import time
|
||||
from concurrent.futures import ProcessPoolExecutor
|
||||
from multiprocessing import get_context
|
||||
from pathlib import Path
|
||||
|
||||
import numpy as np
|
||||
import pandas as pd
|
||||
|
||||
from ml_porosity.paths import REPO_ROOT
|
||||
|
||||
DECL = REPO_ROOT / "docs" / "research" / "referee-r4-analyses.md"
|
||||
DECL_SHA = REPO_ROOT / "docs" / "research" / "referee-r4-analyses.sha256"
|
||||
OUT = REPO_ROOT / "outputs" / "referee_r4"
|
||||
P2R = REPO_ROOT / "outputs" / "p2r"
|
||||
BENCH = REPO_ROOT / "outputs" / "bench"
|
||||
NFFT, DT_S, F_MIN, F_HI = 256, 0.004, 6.0, 15.0
|
||||
P2R_BUDGET = {"Oracle": 500, "B3b": 125, "B3c": 250, "B3c-R": 500, "B3d": 250, "B3d-Sa": 250, "M2-Sa": 250}
|
||||
POINT_TIES = ["B3b", "B3c", "B3c-R"]
|
||||
RATIO_MAX, DPCC_MIN, SEED_FRAC = 0.90, 0.05, 4 / 5
|
||||
|
||||
|
||||
def check_declaration() -> str:
|
||||
want = DECL_SHA.read_text().split()[0]
|
||||
got = hashlib.sha256(DECL.read_bytes()).hexdigest()
|
||||
if got != want:
|
||||
raise SystemExit(f"declaration hash mismatch: {got} != {want}")
|
||||
return got
|
||||
|
||||
|
||||
def cross_spectrum(Y: np.ndarray, P: np.ndarray) -> np.ndarray:
|
||||
"""As scripts/12_h1_blur.py: Hann taper, per-well mean removed, summed over wells."""
|
||||
w = np.hanning(Y.shape[1])
|
||||
Fy = np.fft.rfft((Y - Y.mean(1, keepdims=True)) * w, NFFT)
|
||||
Fp = np.fft.rfft((P - P.mean(1, keepdims=True)) * w, NFFT)
|
||||
return np.real(np.conj(Fy) * Fp).sum(0)
|
||||
|
||||
|
||||
# ---------------------------------------------------------------- B1
|
||||
|
||||
def cell_spectra(files: list[Path], methods: dict[str, int]) -> dict[str, dict[int, np.ndarray]]:
|
||||
"""S[method][rid] = cross-spectrum summed over test wells and seeds (one realization per file)."""
|
||||
S = {m: {} for m in methods}
|
||||
for f in files:
|
||||
rid = int(f.name.split("_")[0][1:])
|
||||
with np.load(f) as z:
|
||||
Y = z["y_true"].astype(float)
|
||||
for m, b in methods.items():
|
||||
keys = [k for k in z.files if k.startswith(f"{m}/s") and k.endswith(f"/b{b}/mu")]
|
||||
if keys:
|
||||
S[m][rid] = sum(cross_spectrum(Y, z[k].astype(float)) for k in keys)
|
||||
return S
|
||||
|
||||
|
||||
def transfer_stats(S: dict, m: str, rids: list[int], sigma: float, f: np.ndarray) -> dict:
|
||||
So = sum(S["Oracle"][r] for r in rids)
|
||||
Sm = sum(S[m][r] for r in rids)
|
||||
band = f >= F_MIN
|
||||
use = band & (So >= 0.1 * So[band].max())
|
||||
H = Sm / So
|
||||
gm = lambda sel: float(np.exp(np.mean(np.log(np.clip(H[sel], 1e-3, None))))) if sel.any() else float("nan")
|
||||
bk = np.exp(2 * np.pi ** 2 * (sigma / 1000.0) ** 2 * f ** 2)
|
||||
return {"r": gm(use), "r_hi": gm(use & (f >= F_HI)), "n_freq": int(use.sum()),
|
||||
"f_lo": float(f[use].min()), "f_hi": float(f[use].max()),
|
||||
"r_Bk": float(np.exp(np.mean(np.log(bk[use])))), "r_Bk_hi": float(np.exp(np.mean(np.log(bk[use & (f >= F_HI)])))) if (use & (f >= F_HI)).any() else float("nan")}
|
||||
|
||||
|
||||
def b1(n_boot: int = 2000) -> pd.DataFrame:
|
||||
f = np.fft.rfftfreq(NFFT, DT_S)
|
||||
sp_s1 = pd.read_csv(BENCH / "summary" / "s1_cells.csv")
|
||||
sp_p2r = pd.read_csv(P2R / "summary" / "sigma_post.csv").rename(columns={"setting": "regime"})
|
||||
rows = []
|
||||
jobs = []
|
||||
for reg in ["R10", "R0", "Rm5", "R0h", "R10tb"]:
|
||||
d = BENCH / "s1" / "train" / reg / "cells"
|
||||
for c, N in sorted({(float(p.stem.split("_")[1][1:]), int(p.stem.split("_")[2][1:])) for p in d.glob("r*_c*_n*.npz")}):
|
||||
files = sorted(d.glob(f"r*_c{c:g}_n{N}.npz"))
|
||||
primary = (c, N) in {(1.0, 8), (1.5, 16)}
|
||||
jobs.append(("S1", reg, c, N, files, {"Oracle": 500, "B3d-Sa": 500, "M2-Sa": 500, "B3d-Sa@250": 250}, primary))
|
||||
d = P2R / "train" / reg / "cells"
|
||||
for c in (0, 1, 2):
|
||||
for N in (4, 16):
|
||||
files = sorted(d.glob(f"r*_c{c}_n{N}.npz"))
|
||||
if files:
|
||||
jobs.append(("P2r", reg, float(c), N, files, dict(P2R_BUDGET), False))
|
||||
for study, reg, c, N, files, methods, primary in jobs:
|
||||
real = {m.split("@")[0]: b for m, b in methods.items() if "@" not in m}
|
||||
S = cell_spectra(files, real)
|
||||
if "B3d-Sa@250" in methods:
|
||||
S["B3d-Sa@250"] = cell_spectra(files, {"B3d-Sa": 250})["B3d-Sa"]
|
||||
if study == "S1":
|
||||
s = sp_s1[(sp_s1.regime == reg) & np.isclose(sp_s1.c, c) & (sp_s1.n_train == N)].sigma_post_ms
|
||||
else:
|
||||
s = sp_p2r[(sp_p2r.regime == reg) & np.isclose(sp_p2r.c, c) & (sp_p2r.n_train == N)].sigma_post_ms
|
||||
sigma = float(s.iloc[0]) if len(s) else float("nan")
|
||||
cand = ["B3d-Sa", "M2-Sa"] + (["B3d-Sa@250"] if study == "S1" else [])
|
||||
if study == "P2r":
|
||||
best = None
|
||||
runs = pd.read_csv(P2R / "train" / reg / "runs.csv")
|
||||
g = runs[np.isclose(runs.c, c) & (runs.n_train == N) & runs.method.isin(POINT_TIES)]
|
||||
if len(g):
|
||||
best = g.groupby("method").band_rmse.mean().idxmin()
|
||||
cand.append(best)
|
||||
for m in cand:
|
||||
rids = sorted(set(S["Oracle"]) & set(S[m]))
|
||||
if not rids:
|
||||
continue
|
||||
st = transfer_stats(S, m, rids, sigma, f)
|
||||
rng = np.random.default_rng(0)
|
||||
bs = np.array([[transfer_stats(S, m, list(rng.choice(rids, len(rids))), sigma, f)[k] for k in ("r", "r_hi")]
|
||||
for _ in range(n_boot)])
|
||||
lo, hi = np.nanpercentile(bs, [2.5, 97.5], axis=0)
|
||||
rows.append({"study": study, "regime": reg, "c": c, "n_train": N, "primary": primary,
|
||||
"method": m, "budget": methods.get(m),
|
||||
"oracle_budget": 500, "sigma_post_ms": sigma, "n_rid": len(rids)}
|
||||
| st | {"r_lo": lo[0], "r_hi_ci": hi[0], "rhi_lo": lo[1], "rhi_hi": hi[1]})
|
||||
df = pd.DataFrame(rows)
|
||||
|
||||
def reading(r):
|
||||
if r.r_lo > 1:
|
||||
return "sharpening"
|
||||
if r.r_hi_ci < 1:
|
||||
return "blur"
|
||||
return "not detected"
|
||||
df["reading"] = df.apply(reading, axis=1)
|
||||
df["half_ci"] = (df.r_hi_ci - df.r_lo) / 2
|
||||
df["powered"] = (df.r_Bk - 1) > df.half_ci
|
||||
return df
|
||||
|
||||
|
||||
# ---------------------------------------------------------------- B2
|
||||
|
||||
def grids(run: pd.DataFrame, cand: str, ref: str) -> tuple[np.ndarray, np.ndarray, list[int]]:
|
||||
"""(rid, seed) grids of band RMSE and band PCC: arrays of shape (2, n_rid, n_seed) for (cand, ref)."""
|
||||
a = run[run.method == cand].pivot_table(index="rid", columns="seed", values=["band_rmse", "band_pcc"])
|
||||
b = run[run.method == ref].pivot_table(index="rid", columns="seed", values=["band_rmse", "band_pcc"]).reindex_like(a)
|
||||
if a.isna().any().any() or b.isna().any().any():
|
||||
raise SystemExit(f"incomplete grid for {cand} vs {ref}")
|
||||
R = np.stack([a["band_rmse"].to_numpy(), b["band_rmse"].to_numpy()])
|
||||
P = np.stack([a["band_pcc"].to_numpy(), b["band_pcc"].to_numpy()])
|
||||
return R, P, a.index.tolist()
|
||||
|
||||
|
||||
def rule_pass(R: np.ndarray, P: np.ndarray, kind: str, flip: np.ndarray | None = None) -> np.ndarray:
|
||||
"""R, P: (2, n_rid, n_seed) for (cand, ref). flip: (K, n_rid, n_seed) booleans, True swaps the methods in that
|
||||
unit. Returns (K,) pass flags of the protocol_p2 cell rule ('cell') or the 'better' rule."""
|
||||
if flip is None:
|
||||
flip = np.zeros((1,) + R.shape[1:], bool)
|
||||
ra = np.where(flip, R[1], R[0]); rb = np.where(flip, R[0], R[1])
|
||||
pa = np.where(flip, P[1], P[0]); pb = np.where(flip, P[0], P[1])
|
||||
def imp(axis):
|
||||
xa, xb, ya, yb = ra.mean(axis), rb.mean(axis), pa.mean(axis), pb.mean(axis)
|
||||
if kind == "cell":
|
||||
return (xa <= RATIO_MAX * xb) | (ya >= yb + DPCC_MIN)
|
||||
return xa < xb
|
||||
s, r = imp(1), imp(2) # per seed (mean over rids), per rid (mean over seeds)
|
||||
n_s, n_r = R.shape[2], R.shape[1]
|
||||
return (s.sum(1) >= math.ceil(SEED_FRAC * n_s - 1e-9)) & (r.sum(1) > n_r / 2)
|
||||
|
||||
|
||||
def null_probs(cells: list[tuple], n_mc: int = 20000, need: int | None = None) -> dict:
|
||||
"""cells: list of (R, P, kind, rids). Joint pass probability for all cells under (a) realization-level swaps
|
||||
(exact enumeration; one swap vector shared by the cells) and (b) unit-level swaps (Monte Carlo, independent)."""
|
||||
rids = sorted(set().union(*[set(c[3]) for c in cells]))
|
||||
combos = np.array(list(itertools.product([False, True], repeat=len(rids))))
|
||||
res_a, res_b, obs = [], [], []
|
||||
rng = np.random.default_rng(1)
|
||||
for R, P, kind, rr in cells:
|
||||
idx = [rids.index(r) for r in rr]
|
||||
fa = np.repeat(combos[:, idx][:, :, None], R.shape[2], axis=2)
|
||||
res_a.append(rule_pass(R, P, kind, fa))
|
||||
res_b.append(rule_pass(R, P, kind, rng.random((n_mc,) + R.shape[1:]) < 0.5))
|
||||
obs.append(bool(rule_pass(R, P, kind)[0]))
|
||||
A, B = np.array(res_a), np.array(res_b)
|
||||
need = len(cells) if need is None else need # verdict passes if at least `need` cells pass
|
||||
return {"observed": sum(obs) >= need, "need": need, "observed_cells": obs,
|
||||
"p_rid": float((A.sum(0) >= need).mean()), "p_unit": float((B.sum(0) >= need).mean()),
|
||||
"p_rid_cells": A.mean(1).tolist(), "p_unit_cells": B.mean(1).tolist()}
|
||||
|
||||
|
||||
def b2(n_mc: int) -> tuple[pd.DataFrame, dict]:
|
||||
from ml_porosity.benchmark.protocol import load_protocol
|
||||
from ml_porosity.benchmark.summary import load_study
|
||||
|
||||
p = load_protocol(check_inputs=False)
|
||||
p2r = pd.concat([pd.read_csv(P2R / "train" / reg / "runs.csv").assign(regime=reg)
|
||||
for reg in ["R10", "R0", "Rm5", "R0h", "R10tb"]], ignore_index=True)
|
||||
p2r = p2r[p2r.method.map(P2R_BUDGET).notna()]
|
||||
s1 = pd.concat([p2r, load_study(p, BENCH, "S1")[1]], ignore_index=True)
|
||||
s2 = load_study(p, BENCH, "S2")[1]
|
||||
s4 = load_study(p, BENCH, "S4")[1]
|
||||
s8 = load_study(p, BENCH, "S8")[1]
|
||||
h2b = pd.read_csv(P2R / "summary" / "h2b.csv")
|
||||
|
||||
def best_of(run, comp):
|
||||
return run[run.method.isin(comp)].groupby("method").band_rmse.mean().idxmin()
|
||||
|
||||
def sel(run, **kw):
|
||||
m = np.ones(len(run), bool)
|
||||
for k, v in kw.items():
|
||||
m &= np.isclose(run[k], v) if isinstance(v, float) else (run[k] == v).to_numpy()
|
||||
return run[m]
|
||||
|
||||
verdicts = {}
|
||||
def add(name, specs, need=None):
|
||||
cells, desc = [], []
|
||||
for run, cand, comp, kind, label in specs:
|
||||
ref = comp if isinstance(comp, str) else best_of(run, comp)
|
||||
R, P, rr = grids(run, cand, ref)
|
||||
cells.append((R, P, kind, rr))
|
||||
desc.append({"cell": label, "cand": cand, "ref": ref, "kind": kind, "n_rid": R.shape[1], "n_seed": R.shape[2],
|
||||
"ratio": float(R[0].mean() / R[1].mean()), "dpcc": float(P[0].mean() - P[1].mean())})
|
||||
res = null_probs(cells, n_mc, need)
|
||||
for d, o, pa, pb in zip(desc, res["observed_cells"], res["p_rid_cells"], res["p_unit_cells"]):
|
||||
d |= {"observed_pass": o, "p_rid": pa, "p_unit": pb}
|
||||
verdicts[name] = {"observed": res["observed"], "need": res["need"], "p_rid": res["p_rid"], "p_unit": res["p_unit"], "cells": desc}
|
||||
|
||||
for reg in ["R10", "R0", "Rm5"]:
|
||||
add(f"P2r-H2a/{reg}", [(sel(p2r, regime=reg, c=1.0, n_train=N), "B3d-Sa", POINT_TIES, "cell", f"{reg} c1 N{N}") for N in (4, 16)])
|
||||
wide = h2b[(h2b.n_train == 16) & h2b.wide]
|
||||
add("P2r-H2b(a)", [(sel(p2r, regime=r.regime, c=float(r.c), n_train=16), "M2-Sa", "B3d-Sa", "better", f"{r.regime} c{r.c:g} N16")
|
||||
for r in wide.itertuples()], need=math.ceil(2 / 3 * len(wide) - 1e-9))
|
||||
add("S1-H1", [(sel(s1, regime="R10", c=1.5, n_train=N), "B3d-Sa", POINT_TIES, "cell", f"R10 c1.5 N{N}") for N in (4, 16)])
|
||||
add("S2-H1/drift", [(sel(s2, regime="R10", preset="dr_L1", c=1.0, n_train=N), "B3d-Sa", POINT_TIES, "cell", f"R10 dr_L1 c1 N{N}") for N in (4, 16)])
|
||||
add("S4-H1", [(sel(s4, regime="R10", c=1.0, n_train=N), "B3d-Sa-TCN", [f"{m}-TCN" for m in POINT_TIES], "cell", f"R10 TCN c1 N{N}") for N in (4, 16)])
|
||||
add("S4-H2", [(sel(s4, regime=reg, c=1.0, n_train=16), "M2-Sa-TCN", "B3d-Sa-TCN", "better", f"{reg} TCN c1 N16") for reg in ("Rm5", "R0h")])
|
||||
add("S8-H2", [(sel(s8, regime=reg, delta_ms=float(d), n_train=16), "BK2", "PM2", "better", f"{reg} d{d} N16")
|
||||
for reg in ("R10", "Rm5") for d in (16, 32)])
|
||||
rows = [{"verdict": k} | c for k, v in verdicts.items() for c in v["cells"]]
|
||||
return pd.DataFrame(rows), verdicts
|
||||
|
||||
|
||||
# ---------------------------------------------------------------- B3
|
||||
|
||||
def b3_job(job) -> list[dict]:
|
||||
rid, preset, cells = job
|
||||
os.environ.setdefault("OMP_NUM_THREADS", "2")
|
||||
from ml_porosity.benchmark.data import load_inputs
|
||||
from ml_porosity.benchmark.protocol import load_protocol
|
||||
from ml_porosity.data.wavelet import statistical_wavelet
|
||||
from ml_porosity.registration import pipeline as pl
|
||||
from ml_porosity.registration.smc import phase_basis, phase_wavelet
|
||||
from ml_porosity.registration.tie_likelihood import synth_for_warps
|
||||
from ml_porosity.registration.ties import tie_b3b, tie_b3c, warp_errors, warp_mean
|
||||
|
||||
p = load_protocol(check_inputs=False)
|
||||
inp = load_inputs(p)
|
||||
R = inp.realization(rid, None if preset == "nominal" else preset)
|
||||
reg = inp.reg
|
||||
f = R.cfg["fine_dt_ms"]
|
||||
fac = int(round(R.dt / f))
|
||||
rows = []
|
||||
for regime, N, post, diagf, postcsv in cells:
|
||||
obs, _ = inp.observe(R, 1.0, regime, N)
|
||||
ph = json.loads(Path(str(post).replace("_particles.npz", "_phase.json")).read_text())
|
||||
seis = [o["seis"][o["seis"].shape[0] // 2].astype(float) for o in obs]
|
||||
w0 = statistical_wavelet(np.stack(seis), R.dt, reg["wavelet_ms"])
|
||||
w_c = pl.fine_wavelet(pl.rotate_phase(w0, ph["phase0"]), fac)
|
||||
w_r = phase_wavelet(phase_basis(w0, fac), ph["phase_R"])
|
||||
smc = np.load(post)
|
||||
diag = pd.read_csv(diagf).set_index("well")
|
||||
pc = pd.read_csv(postcsv)
|
||||
pc = pc[(pc.method == "B3c") & (pc.wavelet == "est")].set_index("well")
|
||||
for i, o in enumerate(obs):
|
||||
t_b = tie_b3b(o["tau_k"], o["t_k"], R.tau_fine)
|
||||
tc = tie_b3c(t_b, R.tau_fine, synth_for_warps(R.tau_fine, o["ai_log"], t_b, R.t_fine, R.t_ext, w_c)[0], seis[i], R.t_ext, R.dt)
|
||||
tr = tie_b3c(t_b, R.tau_fine, synth_for_warps(R.tau_fine, o["ai_log"], t_b, R.t_fine, R.t_ext, w_r)[0], seis[i], R.t_ext, R.dt)
|
||||
U = smc[f"{o['name']}/estR/g_acf"].astype(float)
|
||||
tm = warp_mean(R.grid.t_of_tau(U[:, 0], U[:, 1:], tau=R.tau_fine), np.zeros(len(U)))
|
||||
e = lambda t, ref: warp_errors(t[None], R.tau_fine, ref, R.t_main)["warp_rmse_ms"]
|
||||
row = {"rid": rid, "preset": preset, "regime": regime, "n_train": N, "well": o["name"],
|
||||
"D": e(tm, tc), "D_R": e(tm, tr), "E_pm": e(tm, o["t_of_tau_true"]),
|
||||
"E_c": e(tc, o["t_of_tau_true"]), "E_cR": e(tr, o["t_of_tau_true"])}
|
||||
row["chk_pm"] = row["E_pm"] - float(diag.loc[o["name"], "B3d-Sa_warp_rmse_ms"])
|
||||
row["chk_cR"] = row["E_cR"] - float(diag.loc[o["name"], "B3c-R_warp_rmse_ms"])
|
||||
row["chk_c"] = row["E_c"] - float(pc.loc[o["name"], "warp_rmse_ms"])
|
||||
rows.append(row)
|
||||
return rows
|
||||
|
||||
|
||||
def b3(workers: int, n_boot: int = 2000) -> tuple[pd.DataFrame, pd.DataFrame]:
|
||||
presets = ["nominal", "rp_L1", "rp_L2", "wv_L1", "wv_L2", "wv_Q", "dr_L1", "dr_L2"]
|
||||
jobs = []
|
||||
for rid in range(8, 16):
|
||||
for pr in presets:
|
||||
cells = []
|
||||
for regime in ("R10", "Rm5"):
|
||||
for N in (4, 16):
|
||||
if pr == "nominal":
|
||||
base = P2R / "posterior" / regime / f"r{rid}_c1_n{N}_s0"
|
||||
diagf = None
|
||||
dg = pd.read_csv(P2R / "train" / regime / "diag.csv")
|
||||
dg = dg[(dg.rid == rid) & np.isclose(dg.c, 1.0) & (dg.n_train == N)]
|
||||
diagf = OUT / "tmp" / f"diag_{regime}_r{rid}_n{N}.csv"
|
||||
diagf.parent.mkdir(parents=True, exist_ok=True)
|
||||
dg.to_csv(diagf, index=False)
|
||||
else:
|
||||
base = BENCH / "posterior" / f"{regime}__{pr}" / f"r{rid}_c1_n{N}_s0"
|
||||
diagf = BENCH / "s2" / "train" / f"{regime}__{pr}" / "cells" / f"r{rid}_c1_n{N}_diag.csv"
|
||||
cells.append((regime, N, Path(f"{base}_particles.npz"), diagf, Path(f"{base}.csv")))
|
||||
jobs.append((rid, pr, cells))
|
||||
with ProcessPoolExecutor(workers, mp_context=get_context("spawn")) as ex:
|
||||
rows = [r for res in ex.map(b3_job, jobs) for r in res]
|
||||
w = pd.DataFrame(rows)
|
||||
from scipy.stats import spearmanr
|
||||
per = w.groupby(["regime", "n_train", "preset", "rid"])[["D", "D_R", "E_pm", "E_c"]].mean().reset_index()
|
||||
summ = []
|
||||
rng = np.random.default_rng(2)
|
||||
for (regime, N), g in per.groupby(["regime", "n_train"]):
|
||||
nom = g[g.preset == "nominal"].set_index("rid")
|
||||
for pr, h in g.groupby("preset"):
|
||||
h = h.set_index("rid").reindex(nom.index)
|
||||
row = {"regime": regime, "n_train": N, "preset": pr, "D_mean": h.D.mean(), "D_R_mean": h.D_R.mean(),
|
||||
"E_pm_mean": h.E_pm.mean(), "E_c_mean": h.E_c.mean(), "D_ratio_vs_nominal": h.D.mean() / nom.D.mean()}
|
||||
bs = []
|
||||
for _ in range(n_boot):
|
||||
k = rng.choice(nom.index, len(nom))
|
||||
bs.append(h.D.loc[k].mean() / nom.D.loc[k].mean())
|
||||
row["ratio_lo"], row["ratio_hi"] = np.percentile(bs, [2.5, 97.5])
|
||||
ww = w[(w.regime == regime) & (w.n_train == N) & (w.preset == pr)]
|
||||
row["rho_D_Epm"], row["p_D_Epm"] = spearmanr(ww.D, ww.E_pm)
|
||||
row["rho_D_Epm_minus_Ec"], row["p_D_Epm_minus_Ec"] = spearmanr(ww.D, ww.E_pm - ww.E_c)
|
||||
row["n_wells"] = len(ww)
|
||||
summ.append(row)
|
||||
return w, pd.DataFrame(summ)
|
||||
|
||||
|
||||
def main() -> None:
|
||||
ap = argparse.ArgumentParser()
|
||||
ap.add_argument("--stage", default="all", choices=["all", "b1", "b2", "b3"])
|
||||
ap.add_argument("--workers", type=int, default=8)
|
||||
ap.add_argument("--n-mc", type=int, default=20000)
|
||||
args = ap.parse_args()
|
||||
for k in ("OMP_NUM_THREADS", "MKL_NUM_THREADS", "OPENBLAS_NUM_THREADS"):
|
||||
os.environ.setdefault(k, "2")
|
||||
sha = check_declaration()
|
||||
OUT.mkdir(parents=True, exist_ok=True)
|
||||
meta = {"declaration_sha256": sha, "started_utc": time.strftime("%Y-%m-%dT%H:%M:%SZ", time.gmtime())}
|
||||
t0 = time.time()
|
||||
if args.stage in ("all", "b1"):
|
||||
d = b1()
|
||||
d.to_csv(OUT / "b1_transfer.csv", index=False)
|
||||
print(d[d.primary].to_string(), flush=True)
|
||||
meta["b1_seconds"] = time.time() - t0
|
||||
if args.stage in ("all", "b2"):
|
||||
t = time.time()
|
||||
d, v = b2(args.n_mc)
|
||||
d.to_csv(OUT / "b2_null.csv", index=False)
|
||||
(OUT / "b2_null.json").write_text(json.dumps(v, indent=1, default=float))
|
||||
print(d.to_string(), flush=True)
|
||||
print({k: (x["observed"], x["p_rid"], x["p_unit"]) for k, x in v.items()}, flush=True)
|
||||
meta["b2_seconds"] = time.time() - t
|
||||
if args.stage in ("all", "b3"):
|
||||
t = time.time()
|
||||
w, s = b3(args.workers)
|
||||
w.to_csv(OUT / "b3_wells.csv", index=False)
|
||||
s.to_csv(OUT / "b3_summary.csv", index=False)
|
||||
chk = {k: float(w[k].abs().max()) for k in ("chk_pm", "chk_cR", "chk_c")}
|
||||
meta["b3_selfcheck_max_abs_ms"] = chk
|
||||
print(chk, flush=True)
|
||||
print(s.to_string(), flush=True)
|
||||
meta["b3_seconds"] = time.time() - t
|
||||
meta["finished_utc"] = time.strftime("%Y-%m-%dT%H:%M:%SZ", time.gmtime())
|
||||
prev = json.loads((OUT / "meta.json").read_text()) if (OUT / "meta.json").exists() else {}
|
||||
(OUT / "meta.json").write_text(json.dumps(prev | meta, indent=1))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
131
scripts/43_referee_r5_ci.py
Normal file
131
scripts/43_referee_r5_ci.py
Normal file
@@ -0,0 +1,131 @@
|
||||
"""Alternative confidence intervals for the main ratios and the anchor-mean comparison (declared in
|
||||
docs/research/referee-r5-ci.md, hashed before the first run; outside every lock and the reproduction archives).
|
||||
Reads saved runs only; nothing is trained.
|
||||
|
||||
python scripts/43_referee_r5_ci.py
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
import math
|
||||
import time
|
||||
|
||||
import numpy as np
|
||||
import pandas as pd
|
||||
from scipy import stats
|
||||
|
||||
from ml_porosity.paths import REPO_ROOT
|
||||
|
||||
DECL = REPO_ROOT / "docs" / "research" / "referee-r5-ci.md"
|
||||
SHA = REPO_ROOT / "docs" / "research" / "referee-r5-ci.sha256"
|
||||
OUT = REPO_ROOT / "outputs" / "referee_r5"
|
||||
P2R = REPO_ROOT / "outputs" / "p2r"
|
||||
BENCH = REPO_ROOT / "outputs" / "bench"
|
||||
POINT = ["B3b", "B3c", "B3c-R"]
|
||||
BUD = {"Oracle": 500, "B3b": 125, "B3c": 250, "B3c-R": 500, "B3d": 250, "B3d-Sa": 250, "M2-Sa": 250}
|
||||
|
||||
|
||||
def per_rid(run: pd.DataFrame, m: str) -> pd.Series:
|
||||
return run[run.method == m].groupby(["rid", "seed"]).band_rmse.mean().groupby("rid").mean()
|
||||
|
||||
|
||||
def intervals(a: pd.Series, b: pd.Series, rng) -> dict:
|
||||
b = b.reindex(a.index)
|
||||
x, y = a.to_numpy(), b.to_numpy()
|
||||
r = x / y
|
||||
ratio = float(x.mean() / y.mean())
|
||||
idx = rng.integers(0, len(x), (2000, len(x)))
|
||||
bs = x[idx].mean(1) / y[idx].mean(1)
|
||||
pl, ph = np.percentile(bs, [2.5, 97.5])
|
||||
res = stats.bootstrap((x, y), lambda u, v, axis=-1: u.mean(axis) / v.mean(axis), paired=True, vectorized=True,
|
||||
n_resamples=9999, method="BCa", random_state=0, confidence_level=0.95)
|
||||
lr = np.log(r)
|
||||
se = lr.std(ddof=1) / math.sqrt(len(lr))
|
||||
t = stats.t.ppf(0.975, len(lr) - 1)
|
||||
return {"ratio": ratio, "geo_ratio": float(np.exp(lr.mean())), "pct_lo": pl, "pct_hi": ph,
|
||||
"bca_lo": float(res.confidence_interval.low), "bca_hi": float(res.confidence_interval.high),
|
||||
"t_lo": float(np.exp(lr.mean() - t * se)), "t_hi": float(np.exp(lr.mean() + t * se)),
|
||||
"per_rid": ";".join(f"{v:.3f}" for v in r), "n_rid": len(x)}
|
||||
|
||||
|
||||
def main() -> None:
|
||||
want = SHA.read_text().split()[0]
|
||||
got = hashlib.sha256(DECL.read_bytes()).hexdigest()
|
||||
if got != want:
|
||||
raise SystemExit(f"declaration hash mismatch {got}")
|
||||
from ml_porosity.benchmark.protocol import load_protocol
|
||||
from ml_porosity.benchmark.summary import load_study
|
||||
|
||||
t0 = time.time()
|
||||
OUT.mkdir(parents=True, exist_ok=True)
|
||||
rng = np.random.default_rng(0)
|
||||
p = load_protocol(check_inputs=False)
|
||||
p2r = pd.concat([pd.read_csv(P2R / "train" / g / "runs.csv").assign(regime=g) for g in ["R10", "R0", "Rm5", "R0h", "R10tb"]], ignore_index=True)
|
||||
p2r = p2r[p2r.method.map(BUD).notna()]
|
||||
s1 = load_study(p, BENCH, "S1")[1]
|
||||
s2 = load_study(p, BENCH, "S2")[1]
|
||||
h2b = pd.read_csv(P2R / "summary" / "h2b.csv")
|
||||
rows = []
|
||||
|
||||
def add(group, label, run, cand, ref, thr=None):
|
||||
if ref is None:
|
||||
pt = [m for m in POINT if m in set(run.method)]
|
||||
ref = min(pt, key=lambda m: run[run.method == m].band_rmse.mean())
|
||||
iv = intervals(per_rid(run, cand), per_rid(run, ref), rng)
|
||||
rows.append({"group": group, "cell": label, "cand": cand, "ref": ref, "threshold": thr} | iv)
|
||||
|
||||
sel = lambda run, **kw: run[np.logical_and.reduce([np.isclose(run[k], v) if isinstance(v, float) else (run[k] == v) for k, v in kw.items()])]
|
||||
for reg in ["R10", "R0", "Rm5"]:
|
||||
for N in (4, 16):
|
||||
add("H2a", f"{reg} c1 N{N}", sel(p2r, regime=reg, c=1.0, n_train=N), "B3d-Sa", None, 0.90)
|
||||
add("C2 vs anchor mean", f"{reg} c1 N{N}", sel(p2r, regime=reg, c=1.0, n_train=N), "B3d-Sa", "B3d")
|
||||
for r in h2b[(h2b.n_train == 16) & h2b.wide].itertuples():
|
||||
add("H2b", f"{r.regime} c{r.c:g} N16", sel(p2r, regime=r.regime, c=float(r.c), n_train=16), "M2-Sa", "B3d-Sa")
|
||||
for N in (4, 16):
|
||||
add("S1-H1", f"R10 c1.5 N{N}", sel(s1, regime="R10", c=1.5, n_train=N), "B3d-Sa", None, 0.90)
|
||||
add("S2-H1 drift", f"R10 dr_L1 c1 N{N}", sel(s2, regime="R10", preset="dr_L1", c=1.0, n_train=N), "B3d-Sa", None, 0.90)
|
||||
for reg in ["R10", "Rm5"]:
|
||||
for pr in sorted(s2.preset.dropna().unique()):
|
||||
g = sel(s2, regime=reg, preset=pr, c=1.0)
|
||||
if set(g.n_train) >= {4, 16}:
|
||||
add("S2-H2", f"{reg} {pr}", g, "M2-Sa", "B3d-Sa", 1.02)
|
||||
df = pd.DataFrame(rows)
|
||||
# reproduction check against the published percentile intervals (H2b, all cells)
|
||||
chk = []
|
||||
for r in h2b[(h2b.n_train == 16) & h2b.wide].itertuples():
|
||||
x = df[(df.group == "H2b") & (df.cell == f"{r.regime} c{r.c:g} N16")].iloc[0]
|
||||
chk.append(max(abs(x.pct_lo - r.ratio_lo), abs(x.pct_hi - r.ratio_hi)))
|
||||
def verdict(lo, hi, thr):
|
||||
t = 1.0 if (thr is None or pd.isna(thr)) else thr
|
||||
return "below" if hi < t else ("above" if lo > t else "contains")
|
||||
for m in ("pct", "bca", "t"):
|
||||
df[f"{m}_vs_thr"] = [verdict(r[f"{m}_lo"], r[f"{m}_hi"], r.threshold) for _, r in df.iterrows()]
|
||||
df[f"{m}_vs_1"] = [verdict(r[f"{m}_lo"], r[f"{m}_hi"], None) for _, r in df.iterrows()]
|
||||
df.to_csv(OUT / "c1_intervals.csv", index=False)
|
||||
summ = {}
|
||||
for m in ("bca", "t"):
|
||||
summ[m] = {"changes_vs_1": int((df[f"{m}_vs_1"] != df["pct_vs_1"]).sum()),
|
||||
"changes_vs_threshold": int((df[f"{m}_vs_thr"] != df["pct_vs_thr"]).sum()), "n": len(df),
|
||||
"cells_changed": df[(df[f"{m}_vs_1"] != df["pct_vs_1"]) | (df[f"{m}_vs_thr"] != df["pct_vs_thr"])].apply(lambda r: f"{r.group} {r.cell}", axis=1).tolist()}
|
||||
pd.set_option("display.width", 250)
|
||||
print(df[["group", "cell", "ref", "ratio", "pct_lo", "pct_hi", "bca_lo", "bca_hi", "t_lo", "t_hi", "threshold"]].round(3).to_string())
|
||||
print(json.dumps(summ, indent=1))
|
||||
# C2 zero-drift ratios to the Oracle
|
||||
z = []
|
||||
for reg in ["R10", "R0", "Rm5"]:
|
||||
for N in (4, 16):
|
||||
g = sel(p2r, regime=reg, c=0.0, n_train=N)
|
||||
o = g[g.method == "Oracle"].band_rmse.mean()
|
||||
z.append({"regime": reg, "n_train": N} | {m: g[g.method == m].band_rmse.mean() / o for m in ["B3b", "B3c", "B3c-R", "B3d", "B3d-Sa"]})
|
||||
zd = pd.DataFrame(z)
|
||||
zd.to_csv(OUT / "c2_zero_drift_vs_oracle.csv", index=False)
|
||||
print(zd.round(3).to_string())
|
||||
(OUT / "meta.json").write_text(json.dumps({"declaration_sha256": got, "published_pct_reproduction_max_abs_diff": max(chk), "summary": summ,
|
||||
"seconds": time.time() - t0}, indent=1))
|
||||
print("repro max diff", max(chk))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
217
scripts/44_point_tie_arm.py
Normal file
217
scripts/44_point_tie_arm.py
Normal file
@@ -0,0 +1,217 @@
|
||||
"""Point ties with the same information as the SMC posterior (declared in docs/research/point-tie-arm.md, hashed
|
||||
before the first run; exploratory; outside every lock and the reproduction archives).
|
||||
|
||||
Arms (labels at one warp, S = 1, backbone and 250 iterations of B3d-Sa):
|
||||
SMC-MAP the saved SMC particle with the highest tempered log target log p(u|anchor) + gamma * l(u)
|
||||
Anchor-LS the mode (Laplace/Gauss-Newton optimum) of the anchor-only posterior, TiePosterior.mu
|
||||
B3d-Sa is retrained at seed 0 as a reproduction check.
|
||||
|
||||
CUDA_VISIBLE_DEVICES=0 .venv/bin/python scripts/44_point_tie_arm.py --stage all --workers 4 --device cuda:0
|
||||
-> outputs/point_tie/{cells/*.csv, ratios.csv, selfcheck.json, summary.md}
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
import hashlib
|
||||
import importlib.util
|
||||
import json
|
||||
import os
|
||||
import time
|
||||
from concurrent.futures import ProcessPoolExecutor, as_completed
|
||||
from multiprocessing import get_context
|
||||
from pathlib import Path
|
||||
|
||||
import numpy as np
|
||||
import pandas as pd
|
||||
|
||||
from ml_porosity.paths import REPO_ROOT, outputs_dir
|
||||
|
||||
|
||||
def load_script(name: str):
|
||||
spec = importlib.util.spec_from_file_location("s" + name[:2], REPO_ROOT / "scripts" / name)
|
||||
mod = importlib.util.module_from_spec(spec)
|
||||
spec.loader.exec_module(mod)
|
||||
return mod
|
||||
|
||||
|
||||
t2 = load_script("32_t2_mechanism.py")
|
||||
ci = load_script("43_referee_r5_ci.py")
|
||||
run_d2 = t2.run_d2
|
||||
|
||||
DECL = REPO_ROOT / "docs" / "research" / "point-tie-arm.md"
|
||||
DECL_HASH = REPO_ROOT / "docs" / "research" / "point-tie-arm.sha256"
|
||||
OUT = outputs_dir() / "point_tie"
|
||||
P2R = outputs_dir() / "p2r"
|
||||
REGIMES, CS, NS = ["R10", "R0", "Rm5"], [0.0, 1.0], [4, 16]
|
||||
BUDGET = 250
|
||||
ARMS = ["SMC-MAP", "Anchor-LS"]
|
||||
POINT = ["B3b", "B3c", "B3c-R"]
|
||||
REG_BUD = {"B3b": 125, "B3c": 250, "B3c-R": 500, "B3d": 250, "B3d-Sa": 250, "M2-Sa": 250}
|
||||
|
||||
|
||||
def check_declaration() -> str:
|
||||
expected = DECL_HASH.read_text().split()[0]
|
||||
actual = hashlib.sha256(DECL.read_bytes()).hexdigest()
|
||||
if actual != expected:
|
||||
raise SystemExit(f"{DECL.name} differs from its recorded SHA-256")
|
||||
return actual
|
||||
|
||||
|
||||
def point_warps(cell: dict, regime: str, rid: int, c: float, N: int) -> dict:
|
||||
"""Per well: the SMC-MAP and Anchor-LS warps (fine grid)."""
|
||||
from ml_porosity.data.wavelet import statistical_wavelet
|
||||
from ml_porosity.registration.smc import TiePosterior, phase_basis, phase_wavelet
|
||||
from ml_porosity.registration.warp_prior import WarpHyper
|
||||
|
||||
R, obs, reg, ph, out = cell["R"], cell["obs"], cell["reg"], cell["ph"], cell["out"]
|
||||
h = WarpHyper(**out["hyper"])
|
||||
cfg = R.cfg
|
||||
fac = int(round(R.dt / cfg["fine_dt_ms"]))
|
||||
seis = [o["seis"][o["seis"].shape[0] // 2].astype(float) for o in obs]
|
||||
wR = phase_wavelet(phase_basis(statistical_wavelet(np.stack(seis), R.dt, reg["wavelet_ms"]), fac), ph["phase_R"])
|
||||
pc = pd.read_csv(P2R / "posterior" / regime / f"r{rid}_c{c:g}_n{N}_s0.csv")
|
||||
pc = pc[(pc.method == "SMC_g_acf") & (pc.wavelet == "estR")].set_index("well")
|
||||
res = {}
|
||||
for i, (o, w) in enumerate(zip(obs, cell["wells"])):
|
||||
T = TiePosterior(R.grid, h, o["tau_k"], o["t_k"], reg["g_max"], R.tau_fine, o["ai_log"], R.t_fine, R.t_ext, wR,
|
||||
seis[i], (R.t_main[0], R.t_main[-1]))
|
||||
gamma = float(pc.loc[o["name"], "gamma"])
|
||||
base, ll = T.parts(T.z(w["U"]))
|
||||
score = np.where(np.isfinite(base) & np.isfinite(ll), base + gamma * ll, -np.inf)
|
||||
k = int(np.argmax(score))
|
||||
t_map = w["Tf"][k]
|
||||
t_ls = R.grid.t_of_tau(T.mu[0], T.mu[1:], tau=R.tau_fine)
|
||||
res[o["name"]] = {"SMC-MAP": t_map, "Anchor-LS": t_ls, "k": k, "gamma": gamma,
|
||||
"map_rank_frac_ll": float((ll < ll[k]).mean())}
|
||||
return res
|
||||
|
||||
|
||||
def train_job(job) -> tuple[str, float]:
|
||||
regime, rid, c, N, seeds, device, out_dir, P = job
|
||||
import torch
|
||||
|
||||
torch.set_num_threads(2)
|
||||
from ml_porosity.models.bank_train import train_predict
|
||||
from ml_porosity.registration.ties import warp_errors
|
||||
|
||||
t0 = time.time()
|
||||
cell = t2.build_cell(regime, rid, c, N, P, with_register=True)
|
||||
R, out, wells = cell["R"], cell["out"], cell["wells"]
|
||||
stem = t2.tag(regime, rid, c, N)
|
||||
key = dict(regime=regime, rid=rid, c=c, n_train=N)
|
||||
m0, s0 = out["norm"]
|
||||
lam = out["lam"]
|
||||
tcfg = P["training"]["model"] | P["training"]["optimizer"]
|
||||
f_c = P["metrics"]["bands"]["f_c_hz"]
|
||||
nb = lambda a: ((np.asarray(a) - m0) / s0).astype(np.float32)
|
||||
pw = point_warps(cell, regime, rid, c, N)
|
||||
specs, diag = {}, []
|
||||
for arm in ARMS:
|
||||
Y = nb(np.stack([cell["lab"](w["y_aa"], pw[w["name"]][arm]) for w in wells]))
|
||||
specs[arm] = {"kind": "bank", "Y": Y, "logpi": np.zeros((N, 1), np.float32), "lam": lam}
|
||||
specs["B3d-Sa"] = {"kind": "bank", "Y": nb(np.stack([cell["lab"](w["y_aa"], w["tm"]) for w in wells])),
|
||||
"logpi": np.zeros((N, 1), np.float32), "lam": lam}
|
||||
for w in wells:
|
||||
o = w["o"]
|
||||
err = lambda t: warp_errors(np.atleast_2d(t), R.tau_fine, o["t_of_tau_true"], R.t_main)["warp_rmse_ms"]
|
||||
diag.append(key | {"well": w["name"], "SMC-MAP_warp_rmse_ms": err(pw[w["name"]]["SMC-MAP"]),
|
||||
"Anchor-LS_warp_rmse_ms": err(pw[w["name"]]["Anchor-LS"]), "B3d-Sa_warp_rmse_ms": err(w["tm"]),
|
||||
"map_rank_frac_ll": pw[w["name"]]["map_rank_frac_ll"]})
|
||||
rows = []
|
||||
for seed in seeds:
|
||||
for m, sp in specs.items():
|
||||
if m == "B3d-Sa" and seed != 0:
|
||||
continue
|
||||
preds = train_predict(cell["X"], cell["Xte"], sp, tcfg, seed, [BUDGET], device)
|
||||
for b, (mu, sg) in preds.items():
|
||||
mu_p, sg_p = 100 * (mu * s0 + m0), 100 * sg * s0
|
||||
for wt, r in zip(R.test, run_d2.evaluate(cell["yt"], mu_p, sg_p, f_c)):
|
||||
rows.append(key | {"seed": seed, "method": m, "budget": b, "test_well": wt.name} | r)
|
||||
pd.DataFrame(diag).to_csv(out_dir / f"{stem}_diag.csv", index=False)
|
||||
pd.DataFrame(rows).to_csv(out_dir / f"{stem}.csv", index=False) # written last: marks the job complete
|
||||
return stem, time.time() - t0
|
||||
|
||||
|
||||
def registered_runs() -> pd.DataFrame:
|
||||
parts = []
|
||||
for reg in REGIMES:
|
||||
d = pd.read_csv(P2R / "train" / reg / "runs.csv")
|
||||
d = d[d.method.isin(REG_BUD) & d.c.isin(CS) & d.n_train.isin(NS)]
|
||||
parts.append(d.assign(regime=reg))
|
||||
return pd.concat(parts, ignore_index=True)
|
||||
|
||||
|
||||
def summarize(out: Path) -> None:
|
||||
files = sorted(f for f in (out / "cells").glob("*.csv") if not f.name.endswith("_diag.csv"))
|
||||
new = pd.concat([pd.read_csv(f) for f in files], ignore_index=True)
|
||||
new = new.groupby(["regime", "rid", "c", "n_train", "method", "seed"], as_index=False).band_rmse.mean()
|
||||
new = new.rename(columns={"n_train": "n_train"})
|
||||
reg = registered_runs()[["regime", "rid", "c", "n_train", "method", "seed", "band_rmse"]]
|
||||
# reproduction check
|
||||
a = new[new.method == "B3d-Sa"].merge(reg[reg.method == "B3d-Sa"], on=["regime", "rid", "c", "n_train", "seed"], suffixes=("", "_reg"))
|
||||
sc = {"n_rows": int(len(a)), "n_expected": int((new.method == "B3d-Sa").sum()),
|
||||
"band_rmse_abs_dev_max": float((a.band_rmse - a.band_rmse_reg).abs().max())}
|
||||
(out / "selfcheck.json").write_text(json.dumps(sc, indent=1))
|
||||
allr = pd.concat([reg, new[new.method.isin(ARMS)]], ignore_index=True)
|
||||
rng = np.random.default_rng(0)
|
||||
rows = []
|
||||
pairs = {"A": ("B3d-Sa", "SMC-MAP"), "B": ("SMC-MAP", "best"), "C": ("Anchor-LS", "best"), "D": ("B3d-Sa", "Anchor-LS"),
|
||||
"E": ("SMC-MAP", "Anchor-LS"), "F": ("M2-Sa", "SMC-MAP")}
|
||||
for (regime, c, N), g in allr.groupby(["regime", "c", "n_train"]):
|
||||
best = min(POINT, key=lambda m: g[g.method == m].band_rmse.mean())
|
||||
for tag, (x, y) in pairs.items():
|
||||
y = best if y == "best" else y
|
||||
sx = g[g.method == x].groupby(["rid", "seed"]).band_rmse.mean().groupby("rid").mean()
|
||||
sy = g[g.method == y].groupby(["rid", "seed"]).band_rmse.mean().groupby("rid").mean()
|
||||
if len(sx) < 8 or len(sy) < 8:
|
||||
continue
|
||||
rows.append({"cmp": tag, "regime": regime, "c": c, "n_train": N, "num": x, "den": y} | ci.intervals(sx, sy, rng))
|
||||
df = pd.DataFrame(rows)
|
||||
for m in ("pct", "bca", "t"):
|
||||
df[f"{m}_vs_1"] = ["below" if r[f"{m}_hi"] < 1 else ("above" if r[f"{m}_lo"] > 1 else "contains") for _, r in df.iterrows()]
|
||||
df.to_csv(out / "ratios.csv", index=False)
|
||||
# zero-drift ratios to the Oracle and warp errors
|
||||
dg = pd.concat([pd.read_csv(f) for f in sorted((out / "cells").glob("*_diag.csv"))], ignore_index=True)
|
||||
dg.groupby(["regime", "c", "n_train"])[["SMC-MAP_warp_rmse_ms", "Anchor-LS_warp_rmse_ms", "B3d-Sa_warp_rmse_ms", "map_rank_frac_ll"]].mean().to_csv(out / "warp_errors.csv")
|
||||
pd.set_option("display.width", 250)
|
||||
cols = ["cmp", "regime", "c", "n_train", "num", "den", "ratio", "pct_lo", "pct_hi", "bca_lo", "bca_hi", "t_lo", "t_hi"]
|
||||
txt = ["# point-tie arm", "", json.dumps(sc), "", df[cols].round(3).to_markdown(index=False), "",
|
||||
"warp errors (ms) and rank of the MAP particle among the particles' log-likelihoods:", "",
|
||||
pd.read_csv(out / "warp_errors.csv").round(3).to_markdown(index=False)]
|
||||
(out / "summary.md").write_text("\n".join(txt))
|
||||
print("\n".join(txt))
|
||||
|
||||
|
||||
def main() -> None:
|
||||
ap = argparse.ArgumentParser()
|
||||
ap.add_argument("--stage", choices=["train", "summary", "all"], default="all")
|
||||
ap.add_argument("--device", default="cuda:0")
|
||||
ap.add_argument("--workers", type=int, default=4)
|
||||
ap.add_argument("--seeds", type=int, nargs="+", default=t2.SEEDS)
|
||||
ap.add_argument("--rids", type=int, nargs="+", default=t2.RIDS)
|
||||
args = ap.parse_args()
|
||||
for k in ("OMP_NUM_THREADS", "MKL_NUM_THREADS", "OPENBLAS_NUM_THREADS", "NUMBA_NUM_THREADS", "NUMEXPR_NUM_THREADS"):
|
||||
os.environ.setdefault(k, "2")
|
||||
sha = check_declaration()
|
||||
(OUT / "cells").mkdir(parents=True, exist_ok=True)
|
||||
P = run_d2.load_protocol(check=True)
|
||||
print(f"declaration {sha[:12]} and the locked protocols match", flush=True)
|
||||
if args.stage in ("train", "all"):
|
||||
jobs = [(r, rid, c, N, args.seeds, args.device, OUT / "cells", P) for r in REGIMES for c in CS for N in NS for rid in args.rids
|
||||
if not (OUT / "cells" / f"{t2.tag(r, rid, c, N)}.csv").exists()]
|
||||
print(f"{len(jobs)} jobs, {args.workers} workers, device {args.device}", flush=True)
|
||||
t0 = time.time()
|
||||
if jobs:
|
||||
with ProcessPoolExecutor(args.workers, mp_context=get_context("spawn")) as ex:
|
||||
futs = {ex.submit(train_job, j): j[:4] for j in jobs}
|
||||
for i, f in enumerate(as_completed(futs), 1):
|
||||
stem, dt = f.result()
|
||||
print(f"[{i}/{len(jobs)}] {stem} done ({dt:.0f} s; total {time.time() - t0:.0f} s)", flush=True)
|
||||
if args.stage in ("summary", "all"):
|
||||
summarize(OUT)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
os.environ.setdefault("PYTHONHASHSEED", "0")
|
||||
main()
|
||||
146
scripts/45_referee_r5_followups.py
Normal file
146
scripts/45_referee_r5_followups.py
Normal file
@@ -0,0 +1,146 @@
|
||||
"""F1 (powered independence test for the Berkson structure) and F2 (sign, Wilcoxon and paired-t power for the number of
|
||||
blind wells). Declared in docs/research/referee-r5-followups.md, hashed before the first run; exploratory; outside every
|
||||
lock and the reproduction archives. Reads saved data only; nothing is trained.
|
||||
|
||||
python scripts/45_referee_r5_followups.py [--workers 12]
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
import hashlib
|
||||
import importlib.util
|
||||
import json
|
||||
import math
|
||||
import os
|
||||
import time
|
||||
from concurrent.futures import ProcessPoolExecutor
|
||||
from multiprocessing import get_context
|
||||
|
||||
import numpy as np
|
||||
import pandas as pd
|
||||
from scipy import stats
|
||||
|
||||
from ml_porosity.paths import REPO_ROOT, outputs_dir
|
||||
|
||||
DECL = REPO_ROOT / "docs" / "research" / "referee-r5-followups.md"
|
||||
SHA = REPO_ROOT / "docs" / "research" / "referee-r5-followups.sha256"
|
||||
OUT = outputs_dir() / "referee_r5"
|
||||
REGIMES, CS = ["R10", "R0", "Rm5", "R0h", "R10tb"], [1.0, 2.0]
|
||||
|
||||
|
||||
def load_script(name: str):
|
||||
spec = importlib.util.spec_from_file_location("s" + name[:2], REPO_ROOT / "scripts" / name)
|
||||
mod = importlib.util.module_from_spec(spec)
|
||||
spec.loader.exec_module(mod)
|
||||
return mod
|
||||
|
||||
|
||||
def f1_job(job) -> list[dict]:
|
||||
regime, c, rid = job
|
||||
t2 = load_script("32_t2_mechanism.py")
|
||||
P = t2.run_d2.load_protocol(check=True)
|
||||
cell = t2.build_cell(regime, rid, c, 16, P, with_register=False)
|
||||
R, rows = cell["R"], []
|
||||
for w in cell["wells"]:
|
||||
off = t2.window_offsets(w, R)
|
||||
a_true, a_pm = off["a"]["true"], off["a"]["B3d-Sa"]
|
||||
ap = off["a_particles"]
|
||||
rows.append({"regime": regime, "c": c, "rid": rid, "well": w["name"], "e": a_true - a_pm, "sigma_post": float(ap.std()),
|
||||
"a_pm": a_pm, "cover90": float(np.quantile(ap, 0.05) <= a_true <= np.quantile(ap, 0.95))})
|
||||
return rows
|
||||
|
||||
|
||||
def spear(d: pd.DataFrame, x: str, y: str) -> float:
|
||||
return float(stats.spearmanr(d[x], d[y]).statistic)
|
||||
|
||||
|
||||
def f1(workers: int, n_boot: int = 2000) -> tuple[pd.DataFrame, pd.DataFrame]:
|
||||
jobs = [(r, c, rid) for r in REGIMES for c in CS for rid in range(8, 16)]
|
||||
with ProcessPoolExecutor(workers, mp_context=get_context("spawn")) as ex:
|
||||
rows = [r for res in ex.map(f1_job, jobs) for r in res]
|
||||
w = pd.DataFrame(rows).assign(abs_e=lambda d: d.e.abs(), abs_a=lambda d: d.a_pm.abs())
|
||||
rng = np.random.default_rng(0)
|
||||
out = []
|
||||
for (regime, c), g in w.groupby(["regime", "c"]):
|
||||
groups = {rid: d for rid, d in g.groupby("rid")}
|
||||
rid_list = list(groups)
|
||||
b1, b2 = [], []
|
||||
for _ in range(n_boot):
|
||||
d = pd.concat([groups[r] for r in rng.choice(rid_list, len(rid_list))])
|
||||
b1.append(spear(d, "abs_e", "sigma_post"))
|
||||
b2.append(spear(d, "abs_e", "abs_a"))
|
||||
out.append({"regime": regime, "c": c, "n_wells": len(g), "rho_abse_sigma": spear(g, "abs_e", "sigma_post"),
|
||||
"rho_abse_sigma_lo": np.nanpercentile(b1, 2.5), "rho_abse_sigma_hi": np.nanpercentile(b1, 97.5),
|
||||
"rho_abse_abshat": spear(g, "abs_e", "abs_a"), "rho_abshat_lo": np.nanpercentile(b2, 2.5),
|
||||
"rho_abshat_hi": np.nanpercentile(b2, 97.5), "cv_sigma_post": float(g.sigma_post.std() / g.sigma_post.mean()),
|
||||
"cover90": float(g.cover90.mean()), "mean_sigma_post": float(g.sigma_post.mean()),
|
||||
"rmse_e": float(np.sqrt((g.e ** 2).mean()))})
|
||||
s = pd.DataFrame(out)
|
||||
s["independence_rejected"] = (s.rho_abse_sigma_lo > 0) | (s.cv_sigma_post > 0.25)
|
||||
return w, s
|
||||
|
||||
|
||||
def f2() -> pd.DataFrame:
|
||||
ind = pd.read_csv(OUT.parent / "t3" / "indicators.csv.gz")
|
||||
rng = np.random.default_rng(1)
|
||||
ns = [4, 6, 8, 10, 12, 16, 20, 24, 30, 40]
|
||||
rows = []
|
||||
for (regime, n_train, sr), g in ind.groupby(["regime", "n_train", "sigma_ref"]):
|
||||
lr = {rid: {well: d.ratio.apply(math.log).to_numpy() for well, d in dd.groupby("well")} for rid, dd in g.groupby("rid")}
|
||||
rids = list(lr)
|
||||
row = {"regime": regime, "n_train": n_train, "sigma_ref": sr}
|
||||
for n in ns:
|
||||
hits = {"sign": 0, "wilcoxon": 0, "t": 0}
|
||||
for _ in range(1000):
|
||||
pick = rng.choice(rids, math.ceil(n / 8))
|
||||
x = np.array([rng.choice(lr[r][wl]) for r in pick for wl in lr[r]])[:n]
|
||||
hits["sign"] += stats.binomtest(int((x < 0).sum()), n, 0.5, alternative="greater").pvalue < 0.05
|
||||
if np.all(x == x[0]):
|
||||
continue
|
||||
hits["wilcoxon"] += stats.wilcoxon(x, alternative="less").pvalue < 0.05
|
||||
hits["t"] += stats.ttest_1samp(x, 0.0, alternative="less").pvalue < 0.05
|
||||
for k, v in hits.items():
|
||||
row[f"pow_{k}_{n}"] = v / 1000
|
||||
rows.append(row)
|
||||
df = pd.DataFrame(rows)
|
||||
nstar = []
|
||||
for r in df.itertuples():
|
||||
d = r._asdict()
|
||||
e = {"regime": r.regime, "n_train": r.n_train, "sigma_ref": r.sigma_ref}
|
||||
for k in ("sign", "wilcoxon", "t"):
|
||||
ok = [n for n in ns if d[f"pow_{k}_{n}"] >= 0.8]
|
||||
e[f"nstar_{k}"] = min(ok) if ok else None
|
||||
nstar.append(e)
|
||||
return df, pd.DataFrame(nstar)
|
||||
|
||||
|
||||
def main() -> None:
|
||||
ap = argparse.ArgumentParser()
|
||||
ap.add_argument("--workers", type=int, default=12)
|
||||
ap.add_argument("--stage", choices=["all", "f1", "f2"], default="all", help="f1 needs the SMC particle files, which are not in the archives")
|
||||
args = ap.parse_args()
|
||||
for k in ("OMP_NUM_THREADS", "MKL_NUM_THREADS", "OPENBLAS_NUM_THREADS"):
|
||||
os.environ.setdefault(k, "2")
|
||||
got = hashlib.sha256(DECL.read_bytes()).hexdigest()
|
||||
if got != SHA.read_text().split()[0]:
|
||||
raise SystemExit("declaration hash mismatch")
|
||||
OUT.mkdir(parents=True, exist_ok=True)
|
||||
t0 = time.time()
|
||||
pd.set_option("display.width", 250)
|
||||
if args.stage in ("all", "f1"):
|
||||
w, s = f1(args.workers)
|
||||
w.to_csv(OUT / "f1_wells.csv", index=False)
|
||||
s.to_csv(OUT / "f1_summary.csv", index=False)
|
||||
print(s.round(3).to_string(index=False), flush=True)
|
||||
t1 = time.time()
|
||||
if args.stage in ("all", "f2"):
|
||||
p, ns = f2()
|
||||
p.to_csv(OUT / "f2_power.csv", index=False)
|
||||
ns.to_csv(OUT / "f2_nstar.csv", index=False)
|
||||
print(ns.to_string(index=False))
|
||||
(OUT / "meta_followups.json").write_text(json.dumps({"declaration_sha256": got, "f1_seconds": t1 - t0, "f2_seconds": time.time() - t1}, indent=1))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in New Issue
Block a user