Address simulated GP referee reports: E1-E6 and A1-A9 (exploratory), theory scope, per-well field and anchor-error tables, scorer v1.1, paper_gp and response letter

Experiments declared and hashed before computing (docs/research/gp-review-*.md). The SMC-mean gain holds against a practitioner tie, all budgets and a same-target point tie, but is lost at anchor errors of 2 ms or less and reverses with per-well bulk error. No locked protocol, verdict or threshold changed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-17 11:20:54 +00:00
parent 883dccfe21
commit eff975cc96
91 changed files with 8595 additions and 14266 deletions

File diff suppressed because one or more lines are too long

View File

@@ -83,8 +83,8 @@ CUDA_VISIBLE_DEVICES= OMP_NUM_THREADS=2 .venv/bin/python scripts/45_referee_r5_f
CUDA_VISIBLE_DEVICES= OMP_NUM_THREADS=2 .venv/bin/python scripts/48_r6_cheap.py # exploratory: A1 sign test hiệu chỉnh tương quan, A2 F-11 T2 theo tham chiếu, A3 coverage cùng độ dài huấn luyện (khai báo docs/research/r6-replication.md) → outputs/r6/ CUDA_VISIBLE_DEVICES= OMP_NUM_THREADS=2 .venv/bin/python scripts/48_r6_cheap.py # exploratory: A1 sign test hiệu chỉnh tương quan, A2 F-11 T2 theo tham chiếu, A3 coverage cùng độ dài huấn luyện (khai báo docs/research/r6-replication.md) → outputs/r6/
DEVICE=cuda:0 WORKERS=2 scripts/run_r6.sh fingerprints | b3 | c1 R10 R0 Rm5 | c0 R10 R0 Rm5 | sa | arms | summary # exploratory: sao lặp Thí nghiệm 2 trên realization 16–23, σ_a sai ở −5 dB, σ_a = 3,5 ms với siêu tham số drift cố định → outputs/replication/ (chạy trong tmux; log logs/r6_*.out) DEVICE=cuda:0 WORKERS=2 scripts/run_r6.sh fingerprints | b3 | c1 R10 R0 Rm5 | c0 R10 R0 Rm5 | sa | arms | summary # exploratory: sao lặp Thí nghiệm 2 trên realization 16–23, σ_a sai ở −5 dB, σ_a = 3,5 ms với siêu tham số drift cố định → outputs/replication/ (chạy trong tmux; log logs/r6_*.out)
(cd paper && pdflatex main && bibtex main && pdflatex main && pdflatex main) # bản thảo đầy đủ → paper/main.pdf (cd paper && pdflatex main && bibtex main && pdflatex main && pdflatex main) # bản thảo đầy đủ → paper/main.pdf
(cd paper_cg && export TEXINPUTS=.:./els-cas-templates//: BSTINPUTS=.:./els-cas-templates//: && pdflatex supplement && bibtex supplement && pdflatex supplement && pdflatex supplement && pdflatex main && bibtex main && pdflatex main && pdflatex main) # bản rút gọn C&G, template Elsevier CAS (khoảng 5.100 từ) + Supplementary material; build supplement trước (paper_cg/README.md). Từ 13/11/2026 nơi nộp là Geophysical Prospecting (Wiley; phải chuyển khỏi template CAS; docs/research/venue-survey.md §7) (cd paper_gp && pdflatex supplement && bibtex supplement && pdflatex supplement && pdflatex supplement && pdflatex main && bibtex main && pdflatex main && pdflatex main && python3 check_si_refs.py) # bản nộp Geophysical Prospecting (article, giãn dòng đôi) + Supporting Information; build supplement trước (paper_gp/README.md). paper_cg/ (bản C&G) đã xóa khỏi working tree 16/11/2026 theo yêu cầu người dùng, lấy lại từ git 883dccf nếu cần
(cd paper_cg && ./make_submission.sh) # thư mục nộp phẳng paper_cg/submission/ (Figure_1–6, file CAS, highlights.txt), tự build thử python3 scripts/50_ref_overlap.py 8 # kiểm trùng lặp offline: n-gram từ của paper/sections/*.tex và paper_gp/main.tex so với các PDF trong refs/ → outputs/ref_overlap/overlap_n8.json (không gửi gì ra ngoài)
# 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" # 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). # (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ở. # 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ở.
@@ -149,6 +149,7 @@ Biến môi trường máy đặt sẵn `OMP_NUM_THREADS=40` (cả MKL, OpenBLAS
| `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/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/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/49_bank_size.py --stage all` | Exploratory (16/11/2026; ngoài mọi lock và archive tái lập): bank SMC lồng nhau S = 16 ⊂ 64 ⊂ 256 ⊂ 1024 từ cùng 1024 hạt, cùng λ = 1/τ_c, ở 8 ô rộng + 3 ô hẹp của P2r (N = 16, 250 vòng), kèm S_eff và sai số Monte Carlo của warp trung bình; kiểm hash khai báo `docs/research/bank-size.md` trước khi chạy; resume theo ô (khoảng 1 giờ trên một H200). Kết quả `docs/research/bank-size-results.md`. | | `scripts/49_bank_size.py --stage all` | Exploratory (16/11/2026; ngoài mọi lock và archive tái lập): bank SMC lồng nhau S = 16 ⊂ 64 ⊂ 256 ⊂ 1024 từ cùng 1024 hạt, cùng λ = 1/τ_c, ở 8 ô rộng + 3 ô hẹp của P2r (N = 16, 250 vòng), kèm S_eff và sai số Monte Carlo của warp trung bình; kiểm hash khai báo `docs/research/bank-size.md` trước khi chạy; resume theo ô (khoảng 1 giờ trên một H200). Kết quả `docs/research/bank-size-results.md`. |
| `scripts/50_ref_overlap.py [N]` | Kiểm trùng lặp offline (16/11/2026; ngoài mọi lock): so n-gram N từ (mặc định 8) giữa văn xuôi của `paper/sections/*.tex` và `paper_gp/main.tex` (bỏ công thức, lệnh trích dẫn) với văn bản của mọi PDF khác nhau trong `refs/` (PyMuPDF); ghi các đoạn trùng, dài nhất trước, vào `outputs/ref_overlap/overlap_n<N>.json`. Chỉ bắt được tái sử dụng gần nguyên văn và chỉ với `refs/`; không thay iThenticate. |
| `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/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/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/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`. |

View File

@@ -30,6 +30,7 @@
15 15
] ]
}, },
"scorer_version": "1.1",
"n_tasks": 658, "n_tasks": 658,
"files": { "files": {
"tasks/dev/R0/r900_c0.5.npz": "40624bd49fc30748affb193a65ef5efd21727ca3add869f072f2e80dfba3afbb", "tasks/dev/R0/r900_c0.5.npz": "40624bd49fc30748affb193a65ef5efd21727ca3add869f072f2e80dfba3afbb",

View File

@@ -112,6 +112,10 @@ CUDA_VISIBLE_DEVICES= .venv/bin/python scripts/37_bench_package.py selftest
All commands take `--out DIR` (default `outputs/bench/package`). `generate` takes `--split test dev`. All commands take `--out DIR` (default `outputs/bench/package`). `generate` takes `--split test dev`.
### Scorer version
`MANIFEST.json` records `scorer_version`. Version 1.1 (17/11/2026) adds the anchor mean (`B3d`) to the competitor set of the H2a cell rule in the settings where a reference run of it exists (the seven nominal settings); the misspecification and two-mode settings have no such run, so there version 1.1 equals version 1.0. No content hash of the package changed, and `selftest` reproduces the reference rules (for example 0.8529 and 0.7964 for the nominal 10 dB cell at N = 4 and 16). `score` also writes `rule_point_ties_anchor.csv`, the rule against the deterministic ties plus the anchor mean.
### Submission format ### Submission format
``` ```

View File

@@ -27,7 +27,7 @@ Quy ước nhãn:
| **Không phải đóng góp** | Backbone mới, thêm attention, thêm loss, Cycle-GAN, hay chỉ sửa leakage. | | **Không phải đóng góp** | Backbone mới, thêm attention, thêm loss, Cycle-GAN, hay chỉ sửa leakage. |
| **Venue chính** | **Chốt cuối 13/11/2026 (chỉ nơi miễn phí có tiền lệ phương pháp thất bại trên dữ liệu thật):** *Geophysical Prospecting* (EAGE/Wiley), loại Original article; dự phòng *Mathematical Geosciences*; *Computers & Geosciences* chỉ khi đã có repo code công khai (mục 12 ý 51, `docs/research/venue-survey.md` §7). Ngày 12/11 đã chốt *Geoenergy Science and Engineering* (mục 12 ý 50), bỏ ngày 13/11 vì tạp chí này không có tiền lệ như vậy. Cũng ngày 12/11 đã chọn rồi bỏ *Earth Science Informatics* (mục 12 ý 49). Trước đó (29/10, mục 12 ý 22): *Computers & Geosciences*; dự phòng *Geophysical Prospecting*. Trước pivot: *Geophysical Prospecting* hoặc *Journal of Applied Geophysics*; dự phòng *Frontiers in Earth Science*, *Earth Science Informatics*, *Acta Geophysica*. Quartile phải kiểm tra lại trên SCImago khi nộp [XM]. | | **Venue chính** | **Chốt cuối 13/11/2026 (chỉ nơi miễn phí có tiền lệ phương pháp thất bại trên dữ liệu thật):** *Geophysical Prospecting* (EAGE/Wiley), loại Original article; dự phòng *Mathematical Geosciences*; *Computers & Geosciences* chỉ khi đã có repo code công khai (mục 12 ý 51, `docs/research/venue-survey.md` §7). Ngày 12/11 đã chốt *Geoenergy Science and Engineering* (mục 12 ý 50), bỏ ngày 13/11 vì tạp chí này không có tiền lệ như vậy. Cũng ngày 12/11 đã chọn rồi bỏ *Earth Science Informatics* (mục 12 ý 49). Trước đó (29/10, mục 12 ý 22): *Computers & Geosciences*; dự phòng *Geophysical Prospecting*. Trước pivot: *Geophysical Prospecting* hoặc *Journal of Applied Geophysics*; dự phòng *Frontiers in Earth Science*, *Earth Science Informatics*, *Acta Geophysica*. Quartile phải kiểm tra lại trên SCImago khi nộp [XM]. |
| **Thời gian** | **Từ 11/11/2026 người dùng bỏ mọi hạn ngày** ("ngày không quan trọng… làm tất cả những việc bạn cho là cần thiết"; mục 12 ý 46); lịch ở mục 6.1 chỉ còn là thứ tự việc. Trước đó: **chốt 29/10/2026: dời hạn sang thứ 7, 14/11/2026** (mức B của Pivot 1, mục 12 ý 22; lịch theo ngày ở mục 6.1). Ngưỡng và luật của mọi gate không đổi. Lịch nén trước đó (chốt 27/10/2026, hạn 31/10) đã chạy xong 4 cổng: G-A và G-B ngày 26/10, G-C cuối 28/10, G-D cuối 29/10; G-C và G-D không đạt tiêu chí claim (mục 12, ý 16 và 20). Lịch gốc 24 tuần (→ 02/05/2027) đã bỏ. | | **Thời gian** | **Từ 11/11/2026 người dùng bỏ mọi hạn ngày** ("ngày không quan trọng… làm tất cả những việc bạn cho là cần thiết"; mục 12 ý 46); lịch ở mục 6.1 chỉ còn là thứ tự việc. Trước đó: **chốt 29/10/2026: dời hạn sang thứ 7, 14/11/2026** (mức B của Pivot 1, mục 12 ý 22; lịch theo ngày ở mục 6.1). Ngưỡng và luật của mọi gate không đổi. Lịch nén trước đó (chốt 27/10/2026, hạn 31/10) đã chạy xong 4 cổng: G-A và G-B ngày 26/10, G-C cuối 28/10, G-D cuối 29/10; G-C và G-D không đạt tiêu chí claim (mục 12, ý 16 và 20). Lịch gốc 24 tuần (→ 02/05/2027) đã bỏ. |
| **Việc tuần này** | Mục 6.1 (lịch mức B theo ngày) và mục 12 ý 22. Ngày 02/11/2026 đã viết xong các mục kết quả của benchmark (Thí nghiệm 3, Sec. 6.5) và mục cơ chế T2 (Sec. 6.4), cùng trích dẫn dataset F3 và Volve (mục 12 ý 30). S7 đóng gói xong 02/11, trừ bước deposit Zenodo do người dùng làm (mục 12 ý 29). Cũng ngày 02/11, một lượt quét novelty sơ bộ cho todoblock Sec. 2 không thấy bài nào đưa bất định của tie vào huấn luyện; câu "to our knowledge" giữ nguyên (mục 12 ý 31). Cũng ngày 02/11 đã rà phụ lục chứng minh (Sec. 4, App. A) và dựng gói tái lập P5 (`repro/`, `scripts/39_repro_package.py`; mục 12 ý 32). Cũng ngày 02/11 đã đọc toàn văn AWSM, BootNet, P05 (Li, Grana & Liu 2024), Guillon et al. 2020 và hai bài Rizzuti: cách xếp trong Bảng `tab:positioning` không đổi, chú thích ᵃ của các bài này đã bỏ (mục 12 ý 33). Ngày 04/11 đã rà soát chống hallucination toàn bài: 87 phát hiện, trong đó 4 lỗi S1, đều đã sửa; không verdict nào đổi (mục 12 ý 36, `docs/research/paper-audit.md`). Cũng ngày 04/11 đã mô phỏng ba referee của venue (vòng độc lập và vòng phản biện chéo): 3/3 Major revision; yêu cầu số một là bổ sung đối thủ MAP/mode của cùng mô hình SMC để tách chất lượng tie khỏi vai trò của bất định; bài còn nói "hidden truth" trong khi gói giao truth và σ_a thật (mục 12 ý 37, `docs/research/referee-simulation.md`). Ngày 12/11 đã có bản rút gọn cho C&G trong `paper_cg/` (thân bài khoảng 5.050 từ, Supplementary material `\input` nguyên văn `paper/`; mục 12 ý 47). Cũng ngày 12/11 đã khảo sát 16 nơi nộp và chốt *Geoenergy Science and Engineering*, chỉ xét nơi miễn phí (mục 12 ý 49–50); ngày 13/11 chỉ giữ nơi có tiền lệ phương pháp thất bại trên dữ liệu thật và đổi sang *Geophysical Prospecting*, dự phòng *Mathematical Geosciences* (mục 12 ý 51). Tiếp theo (không còn hạn ngày): đọc guide hiện hành của GP, chuyển `paper_cg/` sang định dạng GP (Data Availability Statement, cover letter), review nội bộ, quét lại novelty, tác giả điền khai báo, rồi nộp GP. | | **Việc tuần này** | Mục 6.1 (lịch mức B theo ngày) và mục 12 ý 22. Ngày 02/11/2026 đã viết xong các mục kết quả của benchmark (Thí nghiệm 3, Sec. 6.5) và mục cơ chế T2 (Sec. 6.4), cùng trích dẫn dataset F3 và Volve (mục 12 ý 30). S7 đóng gói xong 02/11, trừ bước deposit Zenodo do người dùng làm (mục 12 ý 29). Cũng ngày 02/11, một lượt quét novelty sơ bộ cho todoblock Sec. 2 không thấy bài nào đưa bất định của tie vào huấn luyện; câu "to our knowledge" giữ nguyên (mục 12 ý 31). Cũng ngày 02/11 đã rà phụ lục chứng minh (Sec. 4, App. A) và dựng gói tái lập P5 (`repro/`, `scripts/39_repro_package.py`; mục 12 ý 32). Cũng ngày 02/11 đã đọc toàn văn AWSM, BootNet, P05 (Li, Grana & Liu 2024), Guillon et al. 2020 và hai bài Rizzuti: cách xếp trong Bảng `tab:positioning` không đổi, chú thích ᵃ của các bài này đã bỏ (mục 12 ý 33). Ngày 04/11 đã rà soát chống hallucination toàn bài: 87 phát hiện, trong đó 4 lỗi S1, đều đã sửa; không verdict nào đổi (mục 12 ý 36, `docs/research/paper-audit.md`). Cũng ngày 04/11 đã mô phỏng ba referee của venue (vòng độc lập và vòng phản biện chéo): 3/3 Major revision; yêu cầu số một là bổ sung đối thủ MAP/mode của cùng mô hình SMC để tách chất lượng tie khỏi vai trò của bất định; bài còn nói "hidden truth" trong khi gói giao truth và σ_a thật (mục 12 ý 37, `docs/research/referee-simulation.md`). Ngày 12/11 đã có bản rút gọn cho C&G trong `paper_cg/` (thân bài khoảng 5.050 từ, Supplementary material `\input` nguyên văn `paper/`; mục 12 ý 47); thư mục này đã bỏ khỏi working tree ngày 16/11, bản nộp GP nằm ở `paper_gp/`, mục 12 ý 55–56). Cũng ngày 12/11 đã khảo sát 16 nơi nộp và chốt *Geoenergy Science and Engineering*, chỉ xét nơi miễn phí (mục 12 ý 49–50); ngày 13/11 chỉ giữ nơi có tiền lệ phương pháp thất bại trên dữ liệu thật và đổi sang *Geophysical Prospecting*, dự phòng *Mathematical Geosciences* (mục 12 ý 51). Ngày 16/11 `paper_gp/main.tex` đã viết lại theo guide live của GP (thứ tự phần, Appendix A với các mệnh đề và chứng minh chính, "[dataset]", lời khai báo AI chi tiết; mục 12 ý 57). Cũng ngày 16/11, ba referee mô phỏng (hai Fable, một mô hình ngoài) đều cho Major revision; kế hoạch sửa sáu giai đoạn ở `docs/research/gp-referee/review-and-revision-plan.md` chờ người dùng chọn thí nghiệm (mục 12 ý 58–59). Tiếp theo (không còn hạn ngày): sửa theo kế hoạch đó, cover letter, review nội bộ, quét lại novelty, tác giả điền tên, khai báo và DOI, rồi nộp GP. |
--- ---
@@ -417,7 +417,7 @@ Chốt ngày 27/10/2026: toàn bộ bài, gồm cả review nội bộ và bản
| **P4 Field 2** | T4 28/10 dựng pipeline (song song P3); T5 29/10 chạy (xong 02:21 UTC trên server Linux) | ROI Volve, tie, pipeline; chạy tập con B1, B3 tốt nhất, B4, B5, M2. Đã áp dụng mục cắt phạm vi 5: B3b, B3c, B3c-R (ứng viên B3), B3d-Sa, M2-Sa | Bảng field 2 (`outputs/p4/summary/`; paper mục 6.5) | **G-D (cuối 29/10):** báo cáo kết quả bất kể chiều nào; giới hạn phạm vi claim theo kết quả. Kết quả: M2-Sa tốt hơn B3 chọn ở 2/6 (lowo) và 3/6 (slot) giếng; coverage90 0,48/0,47; không phương pháp nào có kỹ năng ở giếng blind. Không claim cải thiện, hiệu chuẩn hay transfer (mục 12, ý 20–21) | | **P4 Field 2** | T4 28/10 dựng pipeline (song song P3); T5 29/10 chạy (xong 02:21 UTC trên server Linux) | ROI Volve, tie, pipeline; chạy tập con B1, B3 tốt nhất, B4, B5, M2. Đã áp dụng mục cắt phạm vi 5: B3b, B3c, B3c-R (ứng viên B3), B3d-Sa, M2-Sa | Bảng field 2 (`outputs/p4/summary/`; paper mục 6.5) | **G-D (cuối 29/10):** báo cáo kết quả bất kể chiều nào; giới hạn phạm vi claim theo kết quả. Kết quả: M2-Sa tốt hơn B3 chọn ở 2/6 (lowo) và 3/6 (slot) giếng; coverage90 0,48/0,47; không phương pháp nào có kỹ năng ở giếng blind. Không claim cải thiện, hiệu chuẩn hay transfer (mục 12, ý 20–21) |
| **P5 Viết** | Khung bài và mục audit, lý thuyết, D2 viết dần từ 27/10; viết chính T5 29/10 – T6 30/10; từ 29/10 theo lịch mức B (mục 6.1) | Bản nháp, hình, phụ lục chứng minh, gói tái lập (code + config + dữ liệu dẫn xuất theo CC BY-SA 3.0) | Draft v1 (cuối 29/10), v2 (cuối 30/10). Ngày 29/10: đã viết các mục Volve; trục bài đặt vào lý thuyết và benchmark synthetic, hai field là kiểm tra giới hạn phạm vi (mục 12, ý 21). **Mức A viết xong sớm ngày 29/10** (mục 6.1, mục 12 ý 24): bản nháp theo khung Pivot 1, 55 trang, biên dịch sạch; còn TODO đỏ cho S1–S8, T2, khai báo của tác giả. Rủi ro độ dài: thân bài khoảng 14.750 từ so với giới hạn khoảng 5.500 từ của C&G (đã kiểm trên guide chính thức 12/11/2026; bản rút gọn ở paper_cg/, mục 12 ý 47); người dùng bỏ lượt rút gọn (mục 12 ý 25). **Ngày 02/11/2026:** đã viết S1–S8 (Sec. 6.5) và T2 (Sec. 6.4), thêm trích dẫn dataset, quét novelty sơ bộ (mục 12 ý 30–31); bài 66 trang, thân bài khoảng 18.100 từ. **Cũng ngày 02/11:** rà xong phụ lục chứng minh và dựng gói tái lập (5 archive dữ liệu dẫn xuất theo giấy phép, manifest sha256, kiểm phòng sạch; mục 12 ý 32); bài 67 trang, 68 trang sau lượt đọc toàn văn Sec. 2 (mục 12 ý 33). **04/11:** rà soát chống hallucination toàn bài, 87 phát hiện (4 lỗi S1) đã sửa, không verdict nào đổi; bài 69 trang (mục 12 ý 36). **09/11:** viết lại toàn bài theo văn phong abstract và chuyển phát biểu hình thức sang Phụ lục A, 69 trang, thân bài khoảng 15.400 từ (mục 12 ý 38–39). Còn lại: các TODO tác giả phải điền (tác giả, khai báo, giấy phép code, DOI), deposit do người dùng làm | Review nội bộ | | **P5 Viết** | Khung bài và mục audit, lý thuyết, D2 viết dần từ 27/10; viết chính T5 29/10 – T6 30/10; từ 29/10 theo lịch mức B (mục 6.1) | Bản nháp, hình, phụ lục chứng minh, gói tái lập (code + config + dữ liệu dẫn xuất theo CC BY-SA 3.0) | Draft v1 (cuối 29/10), v2 (cuối 30/10). Ngày 29/10: đã viết các mục Volve; trục bài đặt vào lý thuyết và benchmark synthetic, hai field là kiểm tra giới hạn phạm vi (mục 12, ý 21). **Mức A viết xong sớm ngày 29/10** (mục 6.1, mục 12 ý 24): bản nháp theo khung Pivot 1, 55 trang, biên dịch sạch; còn TODO đỏ cho S1–S8, T2, khai báo của tác giả. Rủi ro độ dài: thân bài khoảng 14.750 từ so với giới hạn khoảng 5.500 từ của C&G (đã kiểm trên guide chính thức 12/11/2026; bản rút gọn ở paper_cg/, mục 12 ý 47); người dùng bỏ lượt rút gọn (mục 12 ý 25). **Ngày 02/11/2026:** đã viết S1–S8 (Sec. 6.5) và T2 (Sec. 6.4), thêm trích dẫn dataset, quét novelty sơ bộ (mục 12 ý 30–31); bài 66 trang, thân bài khoảng 18.100 từ. **Cũng ngày 02/11:** rà xong phụ lục chứng minh và dựng gói tái lập (5 archive dữ liệu dẫn xuất theo giấy phép, manifest sha256, kiểm phòng sạch; mục 12 ý 32); bài 67 trang, 68 trang sau lượt đọc toàn văn Sec. 2 (mục 12 ý 33). **04/11:** rà soát chống hallucination toàn bài, 87 phát hiện (4 lỗi S1) đã sửa, không verdict nào đổi; bài 69 trang (mục 12 ý 36). **09/11:** viết lại toàn bài theo văn phong abstract và chuyển phát biểu hình thức sang Phụ lục A, 69 trang, thân bài khoảng 15.400 từ (mục 12 ý 38–39). Còn lại: các TODO tác giả phải điền (tác giả, khai báo, giấy phép code, DOI), deposit do người dùng làm | Review nội bộ |
| **P6 Benchmark mức B** | CN 1/11 – T3 10/11 (mục 6.1); bắt đầu sớm từ T5 29/10 | T2 cơ chế (exploratory, khai báo trước ở `docs/research/t2-mechanism.md`); sửa generator cho S2 (dev 902–905); khóa `configs/protocol_bench.yaml` trước lần chạy đầu; S1 lấp lưới, S3 B4 dưới SMC, S4 backbone thứ hai, S2 ba trục misspec, S8 cycle-skip có kiểm soát; S7 đóng gói; viết lại các mục kết quả | `configs/protocol_bench.*`, `outputs/t2/`, `outputs/bench/`, gói benchmark | — (không có cổng mới; luật đạt của từng S ghi trong protocol; S2 thiếu thì bài gọi là "controlled synthetic study"). Chạy chính xong 30/10 02:16 UTC; tổng hợp 02/11: 9/11 verdict đạt, S2-H1 không đạt ở rock physics và wavelet, đạt ở drift; S2 đủ nên bài được gọi là benchmark (mục 12 ý 28). S7 đóng gói xong 02/11 (`scripts/37_bench_package.py`, `benchmark/`; 630 task, selftest đạt); còn deposit Zenodo (mục 12 ý 29). Các mục kết quả viết xong 02/11 (mục 12 ý 30) | | **P6 Benchmark mức B** | CN 1/11 – T3 10/11 (mục 6.1); bắt đầu sớm từ T5 29/10 | T2 cơ chế (exploratory, khai báo trước ở `docs/research/t2-mechanism.md`); sửa generator cho S2 (dev 902–905); khóa `configs/protocol_bench.yaml` trước lần chạy đầu; S1 lấp lưới, S3 B4 dưới SMC, S4 backbone thứ hai, S2 ba trục misspec, S8 cycle-skip có kiểm soát; S7 đóng gói; viết lại các mục kết quả | `configs/protocol_bench.*`, `outputs/t2/`, `outputs/bench/`, gói benchmark | — (không có cổng mới; luật đạt của từng S ghi trong protocol; S2 thiếu thì bài gọi là "controlled synthetic study"). Chạy chính xong 30/10 02:16 UTC; tổng hợp 02/11: 9/11 verdict đạt, S2-H1 không đạt ở rock physics và wavelet, đạt ở drift; S2 đủ nên bài được gọi là benchmark (mục 12 ý 28). S7 đóng gói xong 02/11 (`scripts/37_bench_package.py`, `benchmark/`; 630 task, selftest đạt); còn deposit Zenodo (mục 12 ý 29). Các mục kết quả viết xong 02/11 (mục 12 ý 30) |
| **P7 Review + nộp** | T7 31/10 → dời sang T4 11/11 – T7 14/11 (mục 6.1) | GVHD và một người làm địa vật lý đọc; kiểm tra novelty lần cuối (quét SEG/EAGE, tra quartile); preprint (EarthArXiv/ESSOAr) nếu venue cho phép; nộp | Bản nộp | — | | **P7 Review + nộp** | T7 31/10 → dời sang T4 11/11 – T7 14/11 (mục 6.1) | GVHD và một người làm địa vật lý đọc; kiểm tra novelty lần cuối (quét SEG/EAGE, tra quartile); preprint (EarthArXiv/ESSOAr) nếu venue cho phép; nộp. Ngày 16/11: bản nộp GP `paper_gp/` đã theo guide live (mục 12 ý 57); ba referee mô phỏng cho Major revision, kế hoạch sửa ở `docs/research/gp-referee/review-and-revision-plan.md` (mục 12 ý 58–59) | Bản nộp | — |
### 6.1 Lịch mức B sau Pivot 1 (chốt 29/10/2026; hạn T7 14/11/2026) ### 6.1 Lịch mức B sau Pivot 1 (chốt 29/10/2026; hạn T7 14/11/2026)
@@ -884,3 +884,10 @@ Trạng thái ngày 26/10/2026. "Có" nghĩa là toàn văn nằm trong [`refs/`
52. **Kế hoạch ablation hàm loss (13/11/2026; chưa khai báo, chưa chạy).** Người dùng hỏi vì sao dùng Gaussian NLL, rồi yêu cầu bằng chứng thực nghiệm. Survey 13 loss (tài liệu kiểm trên Crossref/arXiv), thiết kế và prompt thực thi trong `docs/research/loss-ablation-plan.md`: 8 loss (Gaussian NLL, MSE, Huber, Laplace, Student-t, β-NLL, Faithful, CRPS Gauss) × nhãn (Oracle, B3b, B3c, B3c-R, SMC mean, bank kỳ vọng, RML_λ cho loss likelihood) = 52 nhánh; nhóm A R10/R0/Rm5 ở c = 1 và 0, nhóm B R0h/R10tb, nhóm C lặp lại trên 16–23; N = 16; siêu tham số chọn trên dev 902–905; luật đọc mô tả L1–L5; tự kiểm tái lập P2r. Ước khoảng 45 giờ-worker (khoảng 6 giờ với 8 worker). Exploratory; không đổi verdict, protocol hay abstract. Không chạy: người dùng bỏ cùng ngày (ý 53). Đã commit và push trong `05f822b` (16/11/2026). 52. **Kế hoạch ablation hàm loss (13/11/2026; chưa khai báo, chưa chạy).** Người dùng hỏi vì sao dùng Gaussian NLL, rồi yêu cầu bằng chứng thực nghiệm. Survey 13 loss (tài liệu kiểm trên Crossref/arXiv), thiết kế và prompt thực thi trong `docs/research/loss-ablation-plan.md`: 8 loss (Gaussian NLL, MSE, Huber, Laplace, Student-t, β-NLL, Faithful, CRPS Gauss) × nhãn (Oracle, B3b, B3c, B3c-R, SMC mean, bank kỳ vọng, RML_λ cho loss likelihood) = 52 nhánh; nhóm A R10/R0/Rm5 ở c = 1 và 0, nhóm B R0h/R10tb, nhóm C lặp lại trên 16–23; N = 16; siêu tham số chọn trên dev 902–905; luật đọc mô tả L1–L5; tự kiểm tái lập P2r. Ước khoảng 45 giờ-worker (khoảng 6 giờ với 8 worker). Exploratory; không đổi verdict, protocol hay abstract. Không chạy: người dùng bỏ cùng ngày (ý 53). Đã commit và push trong `05f822b` (16/11/2026).
53. **Bỏ ablation hàm loss; nêu lý do chọn Gaussian NLL trong bài (13/11/2026).** Người dùng: "vậy chỉ cần nêu lý do, không cần chạy ablation". Ý 52 không khai báo, không chạy; `docs/research/loss-ablation-plan.md` giữ làm hồ sơ. Thêm vào `paper/sections/04_method.tex` đoạn "Why a Gaussian likelihood" (trước Sec. 4 "Network and training"): bốn lý do lấy từ các bổ đề và mệnh đề đã có (S = 1 là NLL dị phương sai nên mọi phương pháp chung một mục tiêu; loss chịu lệch và soft-DTW là trường hợp riêng; log-likelihood bậc hai theo nhãn nên bank khớp trung bình và phương sai hậu nghiệm là calibrated, Mệnh đề bank; σ dự đoán cho NLL, CRPS, coverage) và cái giá (mô hình dư Gauss, không chặn, cho đại lượng bị chặn; dư có thể đuôi nặng). Thêm gạch đầu dòng "Loss family" trong Limitations (Sec. 7): Laplace, Student-t, β-NLL, CRPS không được huấn luyện; nhánh MSE trên nhãn trung bình bank (App. C) đổi nhãn cùng loss; kết quả dưới loss khác chưa kiểm. Tài liệu mới `nix1994meanvariance` (Crossref 13/11: tác giả, tựa, năm, DOI 10.1109/ICNN.1994.374138, tr. 55–60; chưa đọc toàn văn). Không số mới; không đổi verdict, ngưỡng hay protocol. `paper/main.pdf` 84 trang, `paper_cg/supplement.pdf` 80 trang, `paper_cg/main.pdf` 17 trang (không đổi), build sạch, abstract khớp. Đã commit và push trong `05f822b` (16/11/2026). 53. **Bỏ ablation hàm loss; nêu lý do chọn Gaussian NLL trong bài (13/11/2026).** Người dùng: "vậy chỉ cần nêu lý do, không cần chạy ablation". Ý 52 không khai báo, không chạy; `docs/research/loss-ablation-plan.md` giữ làm hồ sơ. Thêm vào `paper/sections/04_method.tex` đoạn "Why a Gaussian likelihood" (trước Sec. 4 "Network and training"): bốn lý do lấy từ các bổ đề và mệnh đề đã có (S = 1 là NLL dị phương sai nên mọi phương pháp chung một mục tiêu; loss chịu lệch và soft-DTW là trường hợp riêng; log-likelihood bậc hai theo nhãn nên bank khớp trung bình và phương sai hậu nghiệm là calibrated, Mệnh đề bank; σ dự đoán cho NLL, CRPS, coverage) và cái giá (mô hình dư Gauss, không chặn, cho đại lượng bị chặn; dư có thể đuôi nặng). Thêm gạch đầu dòng "Loss family" trong Limitations (Sec. 7): Laplace, Student-t, β-NLL, CRPS không được huấn luyện; nhánh MSE trên nhãn trung bình bank (App. C) đổi nhãn cùng loss; kết quả dưới loss khác chưa kiểm. Tài liệu mới `nix1994meanvariance` (Crossref 13/11: tác giả, tựa, năm, DOI 10.1109/ICNN.1994.374138, tr. 55–60; chưa đọc toàn văn). Không số mới; không đổi verdict, ngưỡng hay protocol. `paper/main.pdf` 84 trang, `paper_cg/supplement.pdf` 80 trang, `paper_cg/main.pdf` 17 trang (không đổi), build sạch, abstract khớp. Đã commit và push trong `05f822b` (16/11/2026).
54. **Ablation kích thước bank SMC (exploratory; 16/11/2026; xong).** Người dùng hỏi vì sao bank của RML có S = 64, rồi đồng ý chạy kiểm tra. Khai báo `docs/research/bank-size.md`, băm 02:42:51 UTC (`1a192127…`) trước mọi tính toán; không deviation. `scripts/49_bank_size.py` → `outputs/bank_size/`: 11 ô của T2 (N = 16, realization 8–15, 5 seed, 250 vòng), năm nhánh `B3d-Sa`, `Bank-S16`, `M2-Sa` (S = 64), `Bank-S256`, `Bank-S1024`, bank lồng nhau, cùng λ = 1/τ_c. Chạy trong tmux `bank_size` trên cuda:0 (4 worker), 02:45 → 03:48 UTC, exit 0. Kết quả `docs/research/bank-size-results.md`. Tái lập 7.040/7.040 dòng, sai lệch 0. Theo luật đọc trên 8 ô rộng: Q1 (S256/S64) "không thấy lợi ích" (CI chứa 1 ở 5/8, dưới 1 ở 3/8, trên 1 ở 0; tỉ số 0,961–1,005); Q2 (S1024/S64) "lẫn lộn" (dưới 1 ở 4/8, trên 1 ở 0; 0,936–0,998); Q3 (S16/S64) "không thấy lợi ích từ bank nhỏ hơn" (trên 1 ở 3/8; 1,003–1,059). Cách đọc "S = 64 không làm thiệt" không áp dụng được; bài nói S = 64 có thể đã làm giảm nhẹ lợi ích của bank (tối đa khoảng 2% band RMSE ở c = 1, 6,4% ở hai anchor c = 2). Lợi ích bank so với SMC mean ở c = 1: 1,8–11,0% (S = 64) → 2,9–12,7% (S = 1024). Ở 500 vòng Q2 có 5/8 ô dưới 1, ở 125 vòng không ô nào khác biệt (chỉ mô tả). S_eff tăng tỉ lệ với S (S_eff/S khoảng 0,11–0,42 ở c = 1), nên nhận định trước đó của agent rằng thành viên thêm gần như không nhận trọng số là sai. Sai số MC của warp trung bình 64 thành viên là 0,19–0,32 ms ở c = 1; warp trung bình gần như không chính xác hơn khi S tăng (≤ 0,08 ms ở c = 1). Bài: một câu ở Sec. 4 (đoạn SMC posterior), đoạn "Bank size" ở Phụ lục C, Limitations "Tempering and bank size"; không vào abstract, highlight hay kết luận. `paper/main.pdf` 85 trang, `paper_cg/supplement.pdf` 80, `paper_cg/main.pdf` 17; build sạch. Không verdict, ngưỡng hay protocol nào đổi. Khai báo và script nằm trong commit `05f822b` (trước khi có kết quả; người dùng đã push); kết quả và các sửa đổi bài ở commit kế tiếp (16/11/2026), chưa push vì máy này không có credential Gitea. 54. **Ablation kích thước bank SMC (exploratory; 16/11/2026; xong).** Người dùng hỏi vì sao bank của RML có S = 64, rồi đồng ý chạy kiểm tra. Khai báo `docs/research/bank-size.md`, băm 02:42:51 UTC (`1a192127…`) trước mọi tính toán; không deviation. `scripts/49_bank_size.py` → `outputs/bank_size/`: 11 ô của T2 (N = 16, realization 8–15, 5 seed, 250 vòng), năm nhánh `B3d-Sa`, `Bank-S16`, `M2-Sa` (S = 64), `Bank-S256`, `Bank-S1024`, bank lồng nhau, cùng λ = 1/τ_c. Chạy trong tmux `bank_size` trên cuda:0 (4 worker), 02:45 → 03:48 UTC, exit 0. Kết quả `docs/research/bank-size-results.md`. Tái lập 7.040/7.040 dòng, sai lệch 0. Theo luật đọc trên 8 ô rộng: Q1 (S256/S64) "không thấy lợi ích" (CI chứa 1 ở 5/8, dưới 1 ở 3/8, trên 1 ở 0; tỉ số 0,961–1,005); Q2 (S1024/S64) "lẫn lộn" (dưới 1 ở 4/8, trên 1 ở 0; 0,936–0,998); Q3 (S16/S64) "không thấy lợi ích từ bank nhỏ hơn" (trên 1 ở 3/8; 1,003–1,059). Cách đọc "S = 64 không làm thiệt" không áp dụng được; bài nói S = 64 có thể đã làm giảm nhẹ lợi ích của bank (tối đa khoảng 2% band RMSE ở c = 1, 6,4% ở hai anchor c = 2). Lợi ích bank so với SMC mean ở c = 1: 1,8–11,0% (S = 64) → 2,9–12,7% (S = 1024). Ở 500 vòng Q2 có 5/8 ô dưới 1, ở 125 vòng không ô nào khác biệt (chỉ mô tả). S_eff tăng tỉ lệ với S (S_eff/S khoảng 0,11–0,42 ở c = 1), nên nhận định trước đó của agent rằng thành viên thêm gần như không nhận trọng số là sai. Sai số MC của warp trung bình 64 thành viên là 0,19–0,32 ms ở c = 1; warp trung bình gần như không chính xác hơn khi S tăng (≤ 0,08 ms ở c = 1). Bài: một câu ở Sec. 4 (đoạn SMC posterior), đoạn "Bank size" ở Phụ lục C, Limitations "Tempering and bank size"; không vào abstract, highlight hay kết luận. `paper/main.pdf` 85 trang, `paper_cg/supplement.pdf` 80, `paper_cg/main.pdf` 17; build sạch. Không verdict, ngưỡng hay protocol nào đổi. Khai báo và script nằm trong commit `05f822b` (trước khi có kết quả; người dùng đã push); kết quả và các sửa đổi bài ở commit kế tiếp (16/11/2026), chưa push vì máy này không có credential Gitea.
55. **Lượt academic-humanizer và bản Geophysical Prospecting (16/11/2026).** Người dùng: "dùng /academic-humanizer để viết lại các paper nhưng vẫn giữ được các yêu cầu trước đây", rồi "bản condensed survey phong cách để viết theo journal chúng ta định nộp, không phải C&G". (a) `paper/sections/*.tex` (12 file): tách câu dài, bỏ từ nối và filler, một thuật ngữ cho một đối tượng. Token guard so với HEAD (`883dccf`): mọi số, khóa trích dẫn, khóa ref/label, đoạn toán, thân bảng và đường dẫn hình giữ nguyên ở cả 12 file; các mẫu cấm (pre-registered, hidden truth, 9 of 11, novel, mã repository, chính tả Anh, em-dash...) không tăng. Phạm vi claim, "hash-locked", Berkson sharpening là dự đoán không quan sát được, nội dung abstract theo quyết định 09/11 giữ nguyên. Abstract tách thành câu ngắn hơn (272 token, trước 271; câu dài nhất 41 từ được tách sau ảnh Humalingo), vẫn giống hệt giữa `paper/`, `paper_cg/` và `paper_gp/`. Ảnh ZeroGPT người dùng đưa không được dùng làm mục tiêu tối ưu; công khai việc dùng AI qua tuyên bố AI. (b) Khảo sát văn phong GP: `docs/research/gp-style-survey.md` (guide ngày 19/07/2022 đọc qua Wayback 10/12/2025; trang Wiley/EarthDoc live trả 403). (c) Thư mục mới `paper_gp/` (từ `paper_cg/main.tex`; `paper_cg/` giữ nguyên làm bản dự phòng C&G): class article, giãn dòng đôi, đánh số dòng, `endfloat` (bảng rồi hình ở cuối), `natbib`+`plainnat`; trang tựa có running title (49 ký tự) và 7 từ khóa GP; Acknowledgments có funding (todo) và tuyên bố AI theo dạng EAGE (tác giả xác nhận); abstract; Data Availability Statement (DOI todo); Related work gộp vào Introduction dạng văn xuôi, không kết quả; số liệu audit F3 chuyển sang Data; mục riêng "Field cases and blind-well requirements"; tiêu đề không viết tắt, viết tắt được định nghĩa theo từng mục và trong chú thích; bỏ highlights, CRediT, competing interest. Tham chiếu tới Supporting Information viết dạng chữ (Section S6.1, Table S9...), kiểm bằng `paper_gp/check_si_refs.py` so với `supplement.aux` (28/28 khớp). Không số mới (guard so với bản C&G: chỉ mất số của front/back matter, thêm "64 particles" ở ba chú thích). `08_conclusion.tex`: hai todo C&G nay chỉ sang bản GP. Build sạch: `paper/main.pdf` 85 trang, `paper_cg/supplement.pdf` 80, `paper_cg/main.pdf` 17, `paper_gp/supplement.pdf` 80, `paper_gp/main.pdf` 27. Không verdict, ngưỡng hay protocol nào đổi. Chưa commit.
56. **Bỏ `paper_cg/`; kiểm trùng lặp offline với `refs/` (16/11/2026).** Thư mục `paper_cg/` bị xóa khỏi working tree (không phải do agent); người dùng chọn không khôi phục ("không khôi phục"). Bản `main.tex` đã humanize và các sửa README của nó chưa từng commit; bản đã commit nằm ở `883dccf`. `paper_gp/` là bản rút gọn duy nhất; nếu quay lại C&G thì phải dựng lại. Người dùng gửi ảnh Humalingo (91% "AI", plagiarism 97%, 222 từ khớp, 16 nguồn). Bài chưa công bố, chưa có preprint, repo Gitea không công khai, nên không nguồn công khai nào có thể chứa abstract; điểm detector không dùng làm mục tiêu; khuyên không dán văn bản chưa công bố vào công cụ miễn phí. Chỉ sửa một lỗi thật: tách câu 41 từ của abstract (272 token; giống hệt ở `paper/` và `paper_gp/`; guard PASS; Flesch Reading Ease 44, Flesch–Kincaid lớp 11,8). Kiểm trùng lặp không công khai: `scripts/50_ref_overlap.py` (ngoài mọi lock) so n-gram từ giữa văn xuôi của `paper/sections/*.tex`, `paper_gp/main.tex` và 25 văn bản khác nhau trong `refs/`, chạy offline → `outputs/ref_overlap/`. Kết quả: không có đoạn trùng 8 từ; ở 5–7 từ chỉ có cụm thuật ngữ chung ("root mean square error of the", "with equality if and only if", "CC BY-SA 3.0"); kiểm dương tính: câu trích 15 từ cài vào được bắt đủ 8/8. Không phủ: 7 PDF tải tay ngày 02/11 (không có trên máy này) và diễn đạt lại; kiểm chính thức vẫn là iThenticate (của tạp chí, hoặc của trường với chế độ không lưu). `paper/main.pdf` 85 trang, `paper_gp/main.pdf` 27, build sạch. Chưa commit.
57. **Viết lại `paper_gp/main.tex` theo guide live của *Geophysical Prospecting* (16/11/2026).** Người dùng: "tôi mới add paper_gp/Geophysical Prospecting.pdf để là author guide. hãy đọc và viết lại paper theo guide đó". Guide là trang "forauthors" của Wiley, in ngày 16/11/2026 (thay bản Wayback 2022 dùng ở ý 55; chi tiết `docs/research/gp-style-survey.md` §6). Thay đổi: (1) thứ tự đúng guide: trang tiêu đề (title, running title 49 ký tự, tác giả, affiliation, tác giả liên hệ, keywords), Acknowledgments, Abstract và keywords, Data Availability Statement, main text, References, Tables, Figure legends, **Appendix A**, Figures; bỏ `endfloat`, bảng và hình là khối thường, mỗi cái một trang; (2) Appendix A mới "Formal statements and proofs of the main results": Mệnh đề A1–A5 (blur, nhận dạng, hai cấu trúc sai số, bank hiệu chỉnh kèm đẳng thức băng, reference lệch) và Hệ quả A1–A2 (hai mode, dung sai) cùng chứng minh, chép từ `paper/sections/A_proofs.tex`, không có toán mới, vì guide coi Supporting Information là "not essential"; band bounds, coverage, các lemma của loss vẫn ở Appendix SA; (3) LaTeX cơ bản: bỏ macro tự định nghĩa (trừ `\todo`); mọi phương trình đánh số (1–3, A1–A15); (4) Introduction không còn kết quả (câu "cỡ một chu kỳ trên F3" chuyển thành chỉ dẫn tới Sec. 2; câu "shows how" thành mục tiêu); (5) viết tắt định nghĩa lại trong từng mục (SMC ở Field và Discussion), số dưới 10 bằng chữ, sửa một dangling participle, bỏ tên OpendTect khỏi legend Hình 1; legend tự đứng được; (6) Conclusions ba đoạn, không nhắc hình/bảng/phương trình, hai hướng tiếp theo; (7) "[dataset]" trước F3, Volve, Teapot: `paper_gp/gpnat.bst` (plainnat + trường `prefix`) và `prefix = {[dataset]}` trong `paper/refs.bib` (plainnat của `paper/` bỏ qua trường này); (8) lời khai báo AI chi tiết hơn trong Acknowledgments (Claude, Anthropic, tác tử dòng lệnh, 10–11/2026; viết và rà code, chạy và ghi thí nghiệm, kiểm số và trích dẫn, soạn/sửa văn bản, referee mô phỏng; tác giả chịu trách nhiệm), có todo cho tác giả xác nhận. Kiểm tra: abstract giống hệt `paper/` (True); `check_si_refs.py` 24/24 OK (thêm Corollary S1, Proposition S5, Lemma S2); guard số so với bản trước: không số nào mất, chỉ thêm "2026" (ngày trong khai báo AI) và số mũ −4 trong phụ lục (có trong `A_proofs.tex`); không verdict, ngưỡng, protocol nào đổi. Build sạch: `paper_gp/main.pdf` 37 trang (0 overfull, 0 undefined), `paper/main.pdf` 85 trang. Còn cho tác giả: tên, affiliation, e-mail, ORCID, funding, xác nhận khai báo AI, conflict of interest (ở hệ thống nộp), DOI, cover letter, kiểm trục hình theo guide. File `paper_gp/Geophysical Prospecting.pdf` là trang của nhà xuất bản; chưa đưa vào git. Chưa commit.
58. **Referee mô phỏng cho bản GP (16/11/2026).** Người dùng: "cho 2 agent fable làm referee của GP để chấm chéo bài hiện tại, không cho phép đọc các bài chấm cũ, ngoài ra đưa luôn tôi prompt để tôi cho một vài agent khác cùng chấm. ngoài ra khi chấm được phép bỏ qua các phần TODO bôi đỏ". Hai referee Fable (GP-A: well tie/QI; GP-B: thống kê/UQ/benchmark) chấm `paper_gp/` độc lập, rồi chấm chéo. Họ chỉ được đọc bản thảo, SI, `paper/sections/`, `refs.bib`, hình, hai README của benchmark và repro, và author guide. Họ không được đọc `docs/`, `AGENTS.md`, `outputs/`, `scripts/`, git. Các TODO bôi đỏ được bỏ qua. Prompt để dùng lại: `docs/research/gp-referee/PROMPT.md`. Báo cáo: `GP-{A,B}_round{1,2}.md`. Tổng hợp: `docs/research/gp-referee/summary.md`. Kết quả: cả hai cho **Major revision** ở cả hai vòng; điểm 4/3/3/3/3/2/4 (GP-B hạ claims từ 4 xuống 3 ở vòng 2); không thấy lỗi chứng minh; novelty đứng vững. Must-fix chung: (1) bài tự đứng được, không dựa vào SI; (2) headline so với point tie tốt nhất (2–22%); (3) mô hình nhiễu anchor độc lập 7 ms là giả định, mâu thuẫn với bằng chứng F3/Teapot, cần thay đổi σ_a thật; (4) một tie đúng chuẩn thực hành, hoặc làm trơn anchor; (5) nối lý thuyết với các tie đem so (blur một shift mỗi giếng; l. 190–191 "<7%" mâu thuẫn với Table S7 ≈ 51%); (6) yêu cầu blind-well kèm estimand, và nói rõ 1 ms có đạt được không; (7) effect size với CI thận trọng, Table 2 cùng budget, và đánh dấu rõ dòng locked/khám phá; (8) đồng bộ scorer, README, Data Availability Statement. Lỗi nhỏ đã kiểm: `white2003goodpractice` ghi "Rachel E." (Crossref: R.E.; đúng là Roy E. White); câu khai báo AI "every citation against its source" nói quá; thanh màu và legend của Hình 5 không khớp nhau. Giới hạn: `AGENTS.md` có thể đã được nạp tự động vào subagent. Chưa sửa gì trong bài; người dùng quyết định. Chưa commit.
59. **Vòng chấm GP thứ ba (GP-C) và kế hoạch sửa (16/11/2026).** Người dùng dán báo cáo của mô hình ngoài "6.1 sol": "đây là review của 6.1 sol. dựa vào review này và 2 review của fable, tạo 1 file md review lần chấm này và lên plan sửa". GP-C chỉ đọc PDF chính và guide (không có SI, không chấm chéo): **Major revision, 7/10** (phù hợp 9, mới 7.5, lý thuyết 6.5, thiết kế 7, thực địa 4.5, trình bày 7). Ưu tiên của GP-C: (1) cho định lý, loss và metric khớp nhau: Mệnh đề A4(a) nói về nhãn trung bình posterior $\mathbb E[y\mid D]$, nhưng "SMC mean" dùng nhãn tại warp trung bình (đã kiểm: đúng); bậc bốn chỉ ở λ → 0; (A11) dùng MSE gộp, còn Hình 4b dùng RMSE trung bình theo giếng; (2) đối chứng point tie tối ưu cùng hàm mục tiêu SMC; thêm Di & Abubakar 2023 (có trong `refs.bib`, chưa trích dẫn). Báo cáo gốc: `docs/research/gp-referee/GP-C_round1.md`. Tổng hợp ba referee và kế hoạch: `docs/research/gp-referee/review-and-revision-plan.md` (ma trận 14 vấn đề × 3 referee; kiểm chứng; phán quyết biên tập; sáu giai đoạn: Q1–Q12 sửa nhanh, W1–W10 viết lại, A1–A9 phân tích trên output có sẵn, E1–E5 thí nghiệm mới, R1–R4 phát hành, kiểm tra và vòng chấm mới). Kiểm chứng đáng chú ý: 6.9 ms là MAD đã chuẩn hóa (MAD thô 4.65 ms, median \|Δ\| 5.7 ms, SD 16.5 ms trên 18 cặp của `outputs/marker_vs_horizon.csv`), nên "7 ms ≈ 10 ms Gaussian" của GP-A sai, nhưng chữ "median absolute deviation" trong bài cần sửa thành "scaled MAD"; phần lớn so sánh nhãn tại warp trung bình / nhãn trung bình / bank λ ≈ 0.37 đã có trong `outputs/lambda_limit/` (chỉ thiếu nhãn trung bình với loss NLL); warp RMSE theo ms đã có trong `outputs/point_tie/warp_errors.csv`; lưới power đã có (`outputs/t3/`, `referee_r5/f2_power.csv`, `r6/a1_power.csv`); dự đoán theo seed đã lưu (`outputs/p2r/train/*/cells/*.npz`). Đề xuất: chạy E1 (σ_a thật 1–7 ms và lỗi anchor bulk theo giếng), E2 (tie thực hành, tinh chỉnh trên dev), E4 (tối ưu cùng hàm mục tiêu), E5 (nhãn trung bình với NLL); E3 tùy A3. `docs/research/gp-referee/PROMPT.md` bị mất khỏi đĩa (không rõ nguyên nhân) và đã được khôi phục từ transcript, thêm dòng GP-C. Chưa sửa gì trong bài; người dùng chọn thí nghiệm và cho phép Giai đoạn 0. Chưa commit.
60. **Thực hiện kế hoạch sửa GP: E1, E2, E4, E5, E6, A1–A9, viết lại (17/11/2026).** Người dùng: chạy E1/E2/E4/E5, sửa nhanh Q1–Q12, viết lại W1–W10, phân tích A1–A9 (khai báo và băm trước), scorer thêm anchor mean, cập nhật README và archive, chạy guard, viết response letter, chấm vòng mới. **Khai báo** `docs/research/gp-review-experiments.md` (`17509191…`) và `gp-review-analyses.md` (băm 17/11 01:39 UTC, trước mọi tính toán; ngoài mọi lock; không sửa code khóa; code mới scripts 51–56). **Kết quả** (`docs/research/gp-review-results.md`, `outputs/gp_review/`): E5 nhãn trung bình NLL tốt hơn SMC mean 0,8–1,7% (6 ô), bank vẫn tốt hơn nhãn trung bình 7/8 ô; E6 budget-robust (6/6 ô ở 125/250/500); E4 SMC-opt thắng tie tốt nhất 12/12 (0,79–0,91), R4c không được ủng hộ (8/12); E2 B3p không là tie tốt nhất ở c = 1, headline giữ (5/6 hai bộ realization); **E1 (realization 24–31): gain còn ở σ_true 4 ms (0,93/0,915), mất ở ≤ 2 ms, đảo chiều khi có lỗi bulk 5 ms theo giếng (1,05–1,30)**; A3 đủ nên E3 không chạy; A9 sửa số đếm Gaussian bank (4/4 theo điểm, 2/4 theo cận trên). **Bài:** abstract (285 từ, giống nhau ở `paper/` và `paper_gp/`), Bank gain/ρ* là giới hạn quần thể, σ_a 'nhạy với sai lệch gấp đôi', bảng theo giếng F3/Volve, bảng misspecification và bảng anchor noise ở `paper_gp/`, App. C mục mới (`app:record:gp`). Sự cố: tmux server mất ~06:41 UTC giữa E1 posteriors (chạy lại, bỏ qua job xong). **Đã làm thêm:** README benchmark mục 'Scorer version' (v1.1), `paper_gp/refs.bib` không annote (`paper_gp/make_bib.py`), response letter `docs/research/gp-referee/response-letter.md`, ghi chú 'Not yet archived' trong `repro/README.md`. **Chưa làm:** W1 trọn vẹn (định nghĩa đối thủ và tóm tắt audit F3 một phần còn ở SI), W8 (ngôn ngữ pass/fail ở bảng verdict giữ nguyên), archive/verify cho `outputs/gp_review/` (cần mở rộng script 39), guard số liệu đầy đủ (`paper_gp/` chưa có trong git nên không có mốc so), vòng referee mới, cover letter. Build: `paper/main.pdf` 88 trang, `paper_gp/main.pdf` 44, sạch; `check_si_refs.py` 27/27. Chưa commit.

View File

@@ -0,0 +1,224 @@
# Referee report GP-A — round 1
Manuscript: *Uncertain well ties in learned seismic property prediction: theory, a benchmark with known timing, and requirements for blind-well tests* (Original Paper, *Geophysical Prospecting*).
Referee expertise: well ties, seismic inversion, quantitative interpretation.
Line numbers ("l. 123") are those of `paper_gp/main.pdf`. "S" numbers refer to the Supporting Information (`paper_gp/supplement.pdf`). Red TODO markers were ignored, as instructed.
## Summary of the submission
The paper treats the error of a well tie as an error in the time index of the training labels of a learned seismic property predictor. It gives a small theory: a timing error that is independent of the data filters the optimal predictor by the characteristic function of the error (blur); a common time shift is not identified without anchors; a posterior-mean tie in a linear-Gaussian model would sharpen instead of blur; a calibrated set ("bank") of posterior labels can gain little in population; and a timing error in the blind-well reference biases a comparison of methods. It then builds a 1-D convolutional synthetic benchmark on the geometry and statistics of the F3 block, in which the true time–depth warp of every well is known and the time–depth markers ("anchors") carry independent 7 ms Gaussian noise. On this benchmark, labels placed at the mean of a sequential Monte Carlo tie posterior give a seismic-band error 8–22% below that of the best of three deterministic ties, and training on posterior samples adds 2–11% when the posterior is wide. Both gains disappear or reverse when the stated anchor uncertainty is wrong by a factor of two or the wavelet phase is frequency dependent. A first experiment with a cruder posterior failed and is reported. Field tests on F3 (four wells) and Volve (six wells) show no improvement, and the authors argue that neither test could have detected one. A rescoring exercise leads to stated requirements for a blind-well comparison: a reference independent of the seismic data and accurate to about 1 ms, and 5–18 or more blind wells. An audit of the public F3 well data, a task package with a scorer and a reproduction package accompany the paper.
## Recommendation
**Major revision.** Confidence: high for the well-tie and field aspects, medium for the statistical and machine-learning aspects.
The question is new and worth a paper in this journal, the reporting is unusually candid, and I found no error in the proofs of Appendix A. However, the headline gain is measured against deterministic ties that are handicapped by the benchmark's anchor-noise model, that model is not supported by the authors' own field evidence, several statements about what the theory "predicts" or what the field "requires" go further than the tests, and the article is a digest of an 80-page Supporting Information on which it depends for essential definitions and evidence.
## Scores (1–5)
| Criterion | Score |
|---|---|
| Scope fit | 4 |
| Originality | 3 |
| Technical soundness | 3 |
| Experimental evidence | 3 |
| Claims supported by evidence | 3 |
| Clarity | 2 |
| Reproducibility | 4 |
## Major issues
### 1. The headline gain is measured against ties that interpolate noisy anchors exactly
**Where.** Abstract l. 35–38; l. 241–248; Table 2; Conclusions l. 358–361; Figure 3; Section S6.3; Appendix SC ("Intervals for few realizations", "Point ties with the same information").
**What.** The "best deterministic tie" is the best of three ties (calibrated sonic, correlation tie, phase-estimated correlation) that all start from a sonic "calibrated through the anchors", while each anchor carries independent 7 ms noise (l. 126). Three observations show that the comparison mostly measures the cost of taking noisy anchors at face value.
- At zero drift, where the integrated sonic is the true time–depth relation, these ties are already 15–82% above the Oracle. Figure 3 at 10 dB, c = 0 gives 1.56/1.82 (calibrated sonic), 1.20/1.30 (correlation tie) and 1.19/1.29 (phase-estimated correlation) for N = 4/16. Section S6.3 states the reason: the calibrated sonic "passes exactly through anchors with 7 ms pick noise".
- Their error does not grow with drift. In Figure 3 at 10 dB the correlation tie is 1.20, 1.17, 1.24 (N = 4) and 1.30, 1.38, 1.33 (N = 16) for c = 0, 1, 2; the calibrated sonic is 1.56, 1.53, 1.54 and 1.82, 1.83, 1.81. So the deterministic ties remove the drift; what they cannot remove is the anchor noise. The text draws a related conclusion ("Most of the gain was present without drift", l. 242–243) but attributes it to "a better tie", not to the anchor-noise model.
- A smooth fit to the anchors alone (the "anchor mean") beats all three deterministic ties at −5 dB and at 0 dB with N = 4, and equals the best of them at 0 dB with N = 16. From Table 2, anchor mean / best deterministic tie = 0.888/0.93 = 0.95 and 0.888/0.89 = 1.00 at 0 dB, and 0.915/0.98 = 0.93 and 0.923/0.97 = 0.95 at −5 dB. Against the best point tie of any kind, the gain of the SMC mean is therefore 14% and 22% at 10 dB, 7% and 11% at 0 dB, and 2% and 3% at −5 dB. Section S3.2 says that −5 dB is the setting whose posterior width is closest to F3. In the replication the claim with the anchor mean as competitor held at 10 dB only (l. 268–269).
A practitioner would call the anchor mean a smoothed check-shot calibration, which is a deterministic tie. Excluding it from the set called "best deterministic tie" inflates the headline. The abstract does give the 2–33% range against the anchor mean, but as a separate number whose upper end comes from the 10 dB cells, where the anchor mean is not the best competitor.
In addition, the deterministic ties are specified in one line each (Table 1; Table S4 adds nothing). For the correlation tie the window length, maximum shift, smoothing, wavelet and treatment of the bulk shift are not given. No tie from the literature is run: not a smoothed drift-curve calibration with wavelet extraction by matching (White and Simm 2003), not the dynamic-time-warping tie of Herrera and van der Baan (2014), and not a Bayesian tie that estimates the whole wavelet (Gunning and Glinsky 2006, open source), although all are cited and l. 291–293 says of the last "we did not test them".
**Why it matters.** The first number a reader takes from the abstract and the conclusions is 8–22%. It is the gain over a weak baseline in a benchmark built so that this baseline is weak.
**What would resolve it.**
- Rewording: state the gain against the best point tie of any kind (2–22% by the numbers above) in the abstract, Table 2 and the conclusions, and say that the deterministic ties interpolate the anchors.
- New analysis on existing results: one table with every point tie (three deterministic ties, anchor mean, anchor-only least squares, SMC mode, SMC mean) relative to the Oracle at c = 0 and c = 1, with intervals.
- New experiment: at least one practitioner-grade deterministic tie that smooths the anchors and extracts a wavelet, described fully. A full-wavelet Bayesian tie would also address the wavelet-phase failure of Experiment 3.
### 2. The anchor error model is not supported by the authors' own evidence, and it drives the main results
**Where.** l. 117–120, l. 125–126, l. 249–256, l. 361–362; Sections S3.1, S3.2, S4.1; Table S10; Appendix SB (F3 leave-one-anchor-out test; Teapot Dome); Appendix SC item (vi).
**What.**
- The benchmark gives each of 9–11 anchors per well an independent N(0, 7²) ms error. Section S3.1 says the anchors are "8 to about 148 ms apart". Two anchors 8 ms apart with independent 7 ms errors have a relative error of 9.9 ms, which implies non-physical interval velocities and can reverse their order in time. Check-shot or marker errors of this kind are not independent in practice.
- The value 7 ms comes from "the median absolute difference between markers and horizon picks ... 6.9 ms over 18 pairs" (l. 117–119); Section S3.1 calls the same number a "median absolute deviation (MAD)". These are different statistics. For a Gaussian error the median absolute value is 0.6745σ, so 6.9 ms would correspond to σ of about 10 ms, not 7 ms. This matters because the paper itself finds that a factor of two in σ_a removes the gain.
- More importantly, the quantity measured is a marker-to-horizon mismatch, not the scatter of anchors about the true time–depth curve. The authors' other evidence points to a much smaller scatter and a correlated error. A type-II fit on F3 gives σ_a = 0.4 ms (Section S4.1). In the leave-one-anchor-out test of Appendix SB the mean z² is 0.21 against an expected 1, and the authors conclude that "the anchor prior is therefore too wide rather than too narrow". At Teapot Dome the horizon–top residual was 6.75 ms: "Most of it was a bulk shift per well (6.6 ms)", and "The differential part was 2.8 ms" (Appendix SB).
- So the statement "c = 1 reproduces F3" (l. 125) holds for the drift prior only. The anchor noise, which by issue 1 sets the error of the deterministic competitors, is an assumption.
- The true σ_a is never varied; only the stated one is. With accurate anchors (1–2 ms, as for check shots) the calibrated sonic would approach the Oracle and the headline gain would shrink.
- "The gain requires a correct anchor uncertainty" (l. 249) and "The advantage required a correct anchor uncertainty" (l. 361–362) are stronger than the evidence. The test used a factor of two only. The failure at 3.5 ms arises because the drift hyperparameters are refitted with the wrong σ_a, and "3 of 8 fits with N = 4 and all 8 with N = 16 ended at a bound of the search" (Appendix SC, item vi). With the hyperparameters held fixed, the warp error was 1.07 ms at N = 16 (Table S10), still far below the 3.9 ms of the correlation tie (Appendix SC), but no network was trained in that arm. At 14 ms the ratio at N = 16 was 0.928 [0.867, 1.004], which is a smaller gain, not a loss.
**Why it matters.** The size of the main effect, the "main risk for field use" (l. 256) and the third practical recommendation all follow from an error model that the field data in the paper do not support.
**What would resolve it.**
- Rewording: present i.i.d. 7 ms anchor noise as an assumption, correct the statistic, and restate the anchor-uncertainty result as "a factor-of-two error removed most of the gain in a pipeline that refits the drift prior with the stated value".
- New experiments: (a) vary the true σ_a (for example 1, 2, 4, 7 ms); (b) anchor errors with a per-well bulk component plus a small differential part, as found at Teapot Dome; (c) train the networks for the fixed-hyperparameter arm; (d) estimate σ_a jointly with the drift prior and report what happens.
### 3. The theory is partly standard, and several of its tests are weaker than the text says
**Where.** Section 4 (l. 184–221); l. 229–230; l. 335–337; Abstract l. 27–33; Appendix A; Sections S5.1–S5.3; Table S5; Table S7.
I checked the statements and algebra of Propositions A1–A5 and Corollaries A1–A2 and found them correct under their assumptions. My concerns are about novelty and about the link to the experiments.
- **Proposition A1 is a classical result.** Averaging a signal over random time shifts multiplies its spectrum by the characteristic function of the shifts. Exploration geophysicists know this as the high-cut filter that residual static errors apply to a stack, and the Supporting Information cites the sampling-jitter literature for it (Section S2). The main text presents it without this context ("We ... show that errors independent of the data blur the optimal predictor", l. 27–28). The contribution is the application to label timing, and the text should say so.
- **The blur test is made in the regime most favourable to a population result.** Section S5.1 states that the injected shift "is fixed within each 64-sample window and independent of everything else". Windows start every two samples, so each well contributes many independent draws. A real tie error is one smooth function per well, so a network trained on 4–16 wells sees 4–16 draws. Section S5.1 concedes that this "changes finite-sample learning". The main text (l. 191–195) does not mention it.
- **"Within 1%" omits one of four cases.** The abstract says the experiment "matched the predicted blur to within 1% below 23 Hz" (l. 29–30). Table S7 gives r = 1.093 with interval [1.046, 1.143] at σ = 32 ms. The statement holds for 4–16 ms.
- **"Less than 7% of the seismic-band variance remains" (l. 190–191) does not describe the benchmark.** Section S5.1 explains that this number weights frequencies by the F3 seismic amplitude spectrum. In the benchmark itself, Table S7 gives a band standard-deviation ratio of 0.677 at σ = 8 ms against 0.945 at σ = 0, so about half of the band variance remains ((0.677/0.945)² = 0.51).
- **The identifiability result was not tested as stated.** Proposition A2(a) concerns a shift common to all wells in a joint objective "with a flat prior on b and no seismic tie term". The test cited "as the identifiability result predicts" (l. 229–230) removed the anchors from a bank that is reweighted by the seismic tie likelihood, with no network involved. Table S5 itself says it "tests the prior, not a network". A warp error of 31 ms after reweighting 64 draws from a prior with σ_b = 50 ms shows that 64 prior draws cannot locate an alignment to a few milliseconds; it does not show that the timing is unidentified. With a known zero-phase wavelet and 10 dB data, a correlation over a 4–83 Hz band locates a bulk shift well, apart from cycle skips.
- **The Berkson prediction failed, and the cause is asserted.** l. 335–337 says the sharpening "was not observed, because the error of the posterior-mean tie depends on the data". The Supporting Information says only that "a test with power suggests why" (Section S6.4). Section S5.3 lists other departures from the idealization (a tempered target with a plug-in phase, the non-linear warp). These, and finite-sample effects, were not excluded.
- **The bank bound does not bound the experiments.** "No method can improve on the point label by more than the factor ρ*" (l. 206) holds in population, for a calibrated bank, as λ → 0, when the point-label method has reached its own population optimum. The measured ratio is below this "bound" in seven of eight wide cells (l. 260–261), and the experiments use λ ≈ 0.37 (l. 349). The abstract sentence "In population, a calibrated bank ... can improve on the posterior-mean tie only at fourth order" (l. 31–33) may lead readers to expect that banks cannot matter, which the paper's own data contradict.
**Why it matters.** The first contribution is "a theory of tie error". Of its five results, one is classical, one failed where tested, one is not applicable to the experiments, and one was not tested as stated. The result on the misregistered reference (Proposition A5, Corollary A2) is the most useful and is new to me.
**What would resolve it.** Mostly rewording: attribute Proposition A1, add "in population" and the conditions at l. 206, correct l. 29–30, l. 190–191, l. 229–230 and l. 335–337. A small new experiment would help: a blur arm with one shift (or one smooth warp) per well at N = 4 and 16. Consider moving Proposition A3(b) and A4 to the Supporting Information and presenting them as predictions that were not confirmed.
### 4. The field "requirements" rest on one simulator and face a conceptual problem
**Where.** Abstract l. 42–46; Section 6 (l. 307–328); l. 342–343; Conclusions l. 364–366; Section S6.6; Section S7 (practical advice); Table S15; Table S20.
**What.**
- **What is the true timing in the field?** The requirement is "a reference independent of the seismic data and accurate to about 1 ms" (l. 364–365). The label timing that matters for training is the position of the log in the processed seismic image, which includes the wavelet phase, residual datum and static errors, and imaging-velocity errors. A check shot or a vertical seismic profile measures travel time in the earth, not position in the image. Section S7 says such data "can in principle meet this requirement once their datum and statics are reconciled with the seismic", but that reconciliation is itself a tie to the seismic data. The Volve cube is "a 2011 depth migration converted to time" whose trace headers, read in the standard way, place every sample 8 ms late (Appendix SB). An independent reference cannot see errors of this kind.
- **The paper's own result quantifies the difficulty.** Under the mild wavelet-phase preset the SMC "re-estimated a constant phase of 43–46°" (l. 287) and the warp error became 2.58 and 2.26 ms (Table S15). This is the textbook trade-off between phase and time: 45° at the mean frequency of 49 Hz (Section S3.1) is 45/360 × 20.4 ms = 2.6 ms. By the same relation, 1 ms corresponds to a phase known to about 18° at 50 Hz. The classical literature on tie accuracy (White 1980; Walden and White 1984; White and Simm 2003), which is cited only in Section S2, gives standard errors for the timing and phase of a tie from the bandwidth, the data length and the coherence. The authors should use it to say whether 1 ms is attainable at all. If it is not, the more useful conclusion is that tie methods cannot be ranked by blind-well scores for effects of this size.
- **The numbers are properties of this benchmark.** They come from rescoring networks whose blind-well band correlation is about 0.9 (Table S8), on labels with 72% of their band power below 25 Hz against 54% for F3 (l. 346–348), against a reference error that is a bulk shift plus a linear stretch and is independent of the predictions (Section S6.6), with intra-class correlations from eight realizations that the authors call "imprecise", for the comparison of the SMC bank with the best deterministic tie (issue 1). The abstract hedges ("exploratory", "suggests"). The conclusions do not: "It needs a reference ... accurate to about 1 ms" (l. 364–365).
- **The field cases cannot show that tie error matters on real data.** On F3 no network has skill in the band: Table S20 gives a band error of 1.224 p.u. for a prediction with no band content, 1.21–1.29 p.u. for every network except the sonic tie, and 1.348 p.u. for the sonic tie, whose timing is wrong by 14–66 ms (Table S2). A timing error of the order of a seismic period or more thus changes the band score by about 5–11%. Each F3 model is trained on two wells that are 3–17 km apart. The paper says the tests are uninformative; I agree, and it follows that the premise of the title is demonstrated on synthetic data only.
**Why it matters.** The fourth contribution is "requirements for a field test". As written it could be quoted as a general rule ("1 ms, 5–18 wells").
**What would resolve it.** Rewording and a new analysis on existing results: state the requirement as a result under the benchmark's assumptions; add the phase–time argument and the classical standard errors of a tie; discuss whether the requirement is attainable; reduce the field cases in the article to what they show and move the F3 audit (Table S2 and its evidence), which is the most valuable field content, into the article.
### 5. Realism of the benchmark and practical size of the effect
**Where.** Section 2 (l. 121–138); Section S3.2; Tables S8, S26; Figure 3; l. 294–297; `benchmark/README.md`.
**What.**
- The target is a linear function of sonic slowness and the impedance follows from it, so the task is band-limited acoustic-impedance inversion of a 1-D convolutional model with a deterministic rock-physics relation. The article says that PHIE is linear in sonic at three F3 wells (l. 116–117), but it does not say that the label used everywhere is this sonic transform (Section S3.1). It should.
- The noise is "independent between the nine traces of the patch" while "the tie likelihood uses one trace, whereas the network sees nine" (Section S3.2). The network's signal-to-noise ratio can therefore be up to 9.5 dB above that of the tie. A practitioner would tie to a composite trace. The lateral correlation of the synthetic porosity field is not given, so the reader cannot judge how independent the test wells are from the training wells.
- Blind-well band correlations of 0.90–0.95 from 4–16 wells (Table S8) are far above anything in the field cases (0.15–0.24 on F3).
- The article reports only ratios. In absolute terms the Oracle has a band error of 0.45–0.61 p.u. and the correlation tie 0.57–0.72 p.u. (Table S8), so the headline gain is about 0.1 porosity unit, against a label band amplitude of 1.46 p.u. (Table S26). When the rock physics varies by unit the ratio already rises to 0.93–0.94 (l. 294–296).
- The "seismic band" is everything above 6 Hz up to the 125 Hz Nyquist frequency (l. 172–173), which extends beyond the 4–83 Hz bandwidth of the data (Section S3.1). Label power that no method can predict enters the numerator and the denominator of every ratio.
**Why it matters.** Readers of this journal will ask what the effect means for reservoir characterization. A 0.1 p.u. gain in a band-limited component, in a regime of very high skill, needs to be stated as such.
**What would resolve it.** Rewording and a new analysis on existing results: report absolute band errors and correlations in the article, give ratios by frequency band (for example 6–25, 25–60, above 60 Hz), state the lateral statistics, and discuss the 3 × 3 noise design. A new experiment with laterally coherent noise is listed by the authors as not done (Appendix SC); it would be worth doing.
### 6. Hash-locked and exploratory results are mixed, and the bank effect is at the level of the design's nuisance effects
**Where.** Abstract l. 38–41; l. 241–248; l. 257–264; Table 2; Section S6 (opening); Table S11; Table S12; Appendix SC.
**What.**
- Table 2 and the paragraph at l. 241–248 interleave the hash-locked result (first row) with a secondary comparison (anchor mean), an exploratory analysis (mode) and a replication whose "reading rules were set after the results of Experiment 2 were known" (Section S6.3), without marking them.
- The interpretive sentences of the abstract rest on the exploratory analysis: "The mode of the same posterior gave most of it, and averaging added at most 3%" (l. 39–40). The "mode" is "the best of the 1024 saved particles by the tempered log target", and "its log likelihood exceeded that of 56–74% of the particles" (Appendix SC). It is a good particle, not a mode.
- "Training on posterior samples added 2–11%" (l. 40–41) suggests a range. Table S11 gives 3.3%, 3.0%, 11.0% and 1.8% in the four wide cells at c = 1; the 11% is the two-anchor setting, where the posterior is overconfident (coverage 0.53). At equal budgets Appendix SC gives 0.980, 0.981, 0.887 and 0.986, that is 2.0%, 1.9%, 11.3% and 1.4%. In the replication two of three wide cells passed (0.983 and 0.876) and 0.993 did not. The other design effects are as large: bank size changes the error by up to 2%, a longer budget improves the SMC mean by 1.5–2.7%, and a t-interval removes the conclusion at −5 dB (Appendix SC). Outside the two-anchor setting the bank effect is therefore not clearly separated from these.
- Budgets differ between competitors: Table S12 lists 500 iterations for the Oracle and the phase-estimated correlation, 250 for the SMC mean, the anchor mean and the correlation tie, and 125 for the calibrated sonic. They were chosen by total error on two development realizations (Appendix SC), not by the band error that is scored. Equal-budget results exist only for the cells of Experiment 3.
- The −5 dB cells pass the margin rule on correlation only, since their ratios are 0.915 and 0.923 (Section S6.3). The article says the SMC mean "beat the best deterministic tie ... by 8–9% at −5 dB" (l. 241–242) under a rule that it defines with a 0.90 threshold (l. 174–176).
- All intervals are percentile bootstrap intervals over eight realizations (l. 174). The authors checked BCa and t-intervals (Appendix SC), which is good; the article should show the more conservative interval.
**Why it matters.** The reader of the article cannot tell which statements were fixed in advance. The pass/fail language of the rules also draws attention away from effect sizes, which the authors themselves call "the primary evidence" (l. 179).
**What would resolve it.** Rewording and a new analysis on existing results: mark every exploratory or post hoc number in the abstract, Table 2 and Section 5; call the mode "the best particle"; give the four bank gains instead of a range; add an equal-budget version of Table 2; report t-intervals; reduce the verdict language in the article.
### 7. The article is not self-contained
**Where.** Whole article; l. 104–107; author guide, "Supporting Information" and "Abstract".
**What.** The guide says that Supporting Information "is not essential to the article". Here it is 80 pages, described as "the full-length manuscript from which the article was condensed" (Section S1), and the article cannot be assessed without it. Examples of essential material found only there: how the deterministic ties are built (not even there in full); the definition of the signal-to-noise ratio; the "zero-drift guard" (used at l. 227 and l. 238, never defined in the article); what "tempering" does (l. 146); the intervals of Table 2 (Table S9); the anchor-uncertainty table (S10); the misspecification table (S15); the detectability table (S17); the designs and tables of both field cases; the F3 audit (Table S2). The article body is about 300 double-spaced lines. The journal has no page charges.
The writing is also hard to follow for a reader outside the project. "Calibrated" is used in four senses: calibrated sonic, calibrated bank, calibrated uncertainty, and a test "calibrated for wells that share training data". "Anchor" is used from l. 82 but never defined as the time–depth markers. "Bank", "cell", "wide", "guard", "hash-locked", "margin rule" and "Oracle" are project terms. The abstract uses several of them ("calibrated bank of posterior labels", "anchor-only posterior mean", "Gaussian bank with the same two moments"), whereas the guide asks for an abstract "informative to a more general public".
**Why it matters.** Supporting Information is not typeset or edited, and most readers will not open it. As submitted, the article asks them to accept the main results on trust.
**What would resolve it.** Restructuring, no new work. I suggest a longer article that contains the benchmark, the competitor definitions, Experiment 2 with its full tables and the misspecification results, with a short theory section. The field cases, the detectability analysis and the F3 audit could form a second paper; together with Proposition A5 they would make a coherent contribution on blind-well validation. A table of terms would help in either case.
### 8. Benchmark release and reproduction documentation
**Where.** Data Availability Statement (l. 50–59); l. 134–138; `benchmark/README.md`; `repro/README.md`.
**What.**
- The scorer inherits issue 1. Its rule is "against the best point tie of the cell (lowest mean band RMSE among B3b, B3c, B3c-R)" (`benchmark/README.md`, Section 5), which excludes the anchor mean (B3d) and the anchor-only least-squares tie. A new method will be declared an improvement against the weak baseline.
- The truth is public and the analyst file gives every method the generating wavelet, warp prior and anchor noise. The authors say so (l. 136–138), and the comparison is therefore controlled, not blind. A fresh-realization option in the scorer (new seeds generated at scoring time) would reduce tuning on the public test truth.
- In the rock-physics presets the analyst receives an impedance log computed "with the nominal rock physics" (`benchmark/README.md`, Section 4). In a real well the tie uses the measured sonic and density logs, so this preset is a log-error scenario for the tie, not only a rock-physics error for the predictor. The article should say so.
- The Data Availability Statement says "the derived data behind every table and figure are archived ... with ... a clean-room check that recomputes them". The pipeline and verification tables of `repro/README.md` do not list the replication on realizations 16–23, the point-tie (mode) analysis, the −5 dB anchor-uncertainty test, the tempering-limit and bank-size arms, or the calibrated sign test, and they state that two review-analysis scripts are "not in the archives or a verify stage". Two rows of Table 2 ("replication", "Mode of SMC model") and the calibrated well counts of the abstract therefore have no documented route to reproduction in this README.
- The paper relies on analyses being "declared and hashed before computing". The only records named are internal documents (`docs/research/...` in `repro/README.md`). These declarations, with their hashes and time stamps, should be part of the archive, in English.
- `repro/README.md` states that the main repository documentation is "in Vietnamese". Both READMEs refer to section numbers and labels of another version of the manuscript ("Sec. 3.3", "Sec. 6.3", "Table `tab:codes`") and use internal codes (H2a, P2r, S1–S8) that the article has replaced.
**Why it matters.** The benchmark is the third contribution, and its value depends on a fair default comparison and on documentation that matches the paper.
**What would resolve it.** Rewording and packaging: add the anchor mean and the anchor-only tie to the scorer's competitor set; update both READMEs to the submitted article; add the later analyses and the declarations to the archive and the verification stages; provide English documentation.
## Minor issues
1. l. 38: "anchor-only posterior mean". Table S4 defines the anchor mean as the "weighted mean warp of the Experiment 1 anchor posterior" and `benchmark/README.md` as the "weighted mean warp of an anchor-conditioned bank". If the weights are the seismic tie weights of Experiment 1, the tie is not anchor-only. Please state the weights.
2. l. 96–97 and l. 55–56: "reference results of 21 methods", while Table 1 lists ten families. Say where the 21 are listed (15 methods plus six with the second backbone, by my count from `benchmark/README.md`).
3. l. 125: the generating bulk spread is 19 ms and the registration uses a fixed 50 ms (Section S3.2). The article gives only "σ_b = 50 ms fixed" (l. 143) and uses "50/√N ms" at l. 198–199 without saying that 50 is σ_b.
4. l. 158–162: "RML" appears as a symbol in equation (2) and Table 1 and is described as "the relaxed minimum". The Supporting Information expands it as registration-marginalized learning. Define it once.
5. l. 172–178: state that the "best competitor" of a cell is chosen by its mean test error (Section S6), and that the intervals are percentile intervals from 2000 resamples of eight realizations.
6. l. 230–231: the anchor posterior "had a warp RMSE of 3.25 ms, no better than the 3.85 ms of the correlation tie". 3.25 is lower than 3.85; Section S6.2 says "comparable to".
7. l. 262–263: the Gaussian bank "came within 2.5% of the SMC bank at c = 1 in three of four cells". From Section S6.4 and Appendix SC the four pairs of ratios to the SMC mean are 0.987 and 0.967, 0.970 and 0.970, 0.904 and 0.890, 0.984 and 0.982, so the largest difference is 2.1%, and Appendix SC gives 0.975–1.001 for SMC bank / Gaussian bank at c = 1. It seems to be within 2.5% in all four cells. Please reconcile.
8. l. 268–269: with the anchor mean as competitor, the 0 dB result went from one of two cells to none. Say that this cell did not replicate.
9. l. 311–312: the crossings are "within 1 ms of σ/√2 = 3.0, 4.1 and 5.1 ms". At 10 dB the crossing (3.6 ms) lies above the value that Corollary A2 gives as necessary. Section S6.6 explains this by shrinkage; the article should too.
10. l. 338–339: "Do not use alignment losses without anchors." In the experiments the alignment losses start from the calibrated sonic, which uses the anchors (Table 1). On F3 they had the lowest band errors of all networks (Table S20: 1.211–1.254 against 1.256–1.286 p.u.), although no method had skill there. The advice should be worded as a benchmark result.
11. Figure 3 against Appendix SC: at 10 dB, c = 0, N = 4 the figure shows 1.56 and 1.20 for the calibrated sonic and the correlation tie; Appendix SC ("Intervals for few realizations") gives 1.57 and 1.21. The other 28 values I compared agree.
12. Figure 1: the graphic labels the curves "OpendTect TD model" and "DT model", while the legend (l. 461–464) describes them without these names. The guide asks authors to avoid trade names, and figure and legend should agree.
13. Figure 5: the colour bar reads "SMC mean / best point tie", the legend (l. 483–485) "best deterministic tie". The values match the deterministic ties (for example 0.86 and 0.78 at 10 dB, c = 1). The cell annotations in Figures 3 and 5 are too small to read at normal scale, which the guide requires.
14. Figure 2(b): the non-rejection interval [0.5, 2] fills the panel and hides the deviation at 32 ms. Give the intervals in the legend or use a narrower axis.
15. Appendix A, l. 509–516: the assumption labels (A1)–(A3) collide with the equation numbers (A1)–(A4), as in "Fubini, using (A2)) gives equation (A1)". Rename the assumptions.
16. Appendix A, Proposition A2: "up to window-edge effects". With 64-sample windows and shifts of up to β_max samples, the edge fraction is β/64 per window. State how large β_max may be for the statement to be useful.
17. Reference list, l. 448: "Rachel E. White and Rob Simm". Crossref records the authors of doi:10.3997/1365-2397.21.10.25640 as "R.E. White" and "R. Simm". To my knowledge the first author is Roy E. White, the author of White (1980), which `refs.bib` lists as "White, R. E.". Page numbers are missing. Several conference papers are cited by arXiv links instead of proceedings pages (l. 423–431).
18. `paper/refs.bib` contains `annote` fields with internal notes. They should be removed. They also state that several works were cited without being read in full, for example "abstract not read" (Gunning and Glinsky 2004), "Abstract and full text not obtained" (Balakrishnan 1962) and "first paragraph read" (White and Simm 2003). Section S2 says of one reference "we know it from its title only", and Table S1 marks six works as "assessed from the abstract only". For a paper on well ties in this journal, White (1980), Walden and White (1984) and White and Simm (2003) should be read and used (see issue 4).
19. Related work. A recent paper on regression with time-shifted labels may be relevant to Section S2: "Lost in Time? A Meta-Learning Framework for Time-Shift-Tolerant Physiological Signal Transformation" (AAAI 2026). I found it by keyword search and have not read it in full. Model-based Bayesian inversion that carries wavelet and layer-time uncertainty into the property posterior should be discussed in the Introduction, since it is the non-learning counterpart of the idea. My own searches found no work that feeds a tie posterior into the training of a predictor, so I have no objection to that claim of novelty.
20. Data Availability Statement, l. 52–53: the Teapot Dome data are cited through a derived well-tie dataset (Bader 2017). The original release by the Rocky Mountain Oilfield Testing Center should also be cited.
21. Section S3.1 reports that the F3 "check-shot" tables are horizon-tie picks and that the porosity log is an exact linear function of sonic at three wells. These claims concern a public data product that many studies use. Please document the evidence in enough detail for a reader to repeat the check (file names, the regression, the comparison of depths and times).
## Strengths
- The question is important and neglected. Learned property prediction is routinely trained on tied logs, and I know of no earlier systematic treatment of the tie as a source of label error.
- The reporting is candid to a degree I rarely see. The failed first experiment, both misspecification failures, both field failures, the failed truth-free check and the failed Berkson prediction are all reported, with deviations from the protocols listed.
- The F3 audit is valuable in its own right: time–depth sources that disagree by tens of milliseconds, markers that are not check shots, and a "porosity" that is a transform of sonic.
- Proposition A5 and Corollary A2, with the observation that blind wells sharing training wells make a sign test anti-conservative, are useful for any blind-well validation, not only for ties.
- The wavelet-phase result ("confidently wrong" posterior, coverage 0.17 and 0.10) is a clear warning, and it agrees with the classical phase–time trade-off.
- The replication on new realizations, the equal-budget checks and the alternative intervals show care. The proofs in Appendix A are correct as far as I could check.
- The numbers are consistent. I compared about 60 values between the article, the Supporting Information and Figure 3 and found two discrepancies of 0.01 (minor issue 11) and one unclear count (minor issue 7).
- The reproduction design (content hashes, deterministic archives, a clean-room rerun) is well above the norm.
## Confidential comments to the editor
The work deserves publication after substantial revision. My main reservation is not about honesty, which is exemplary, but about what the headline number measures (issues 1 and 2) and about the form of the submission (issue 7). The authors may prefer to split the material into two papers; I would support that.
The statement on generative artificial intelligence (l. 13–24) discloses extensive use: writing and reviewing the analysis code, running the experiments, checking numbers and citations, drafting text, and producing simulated referee reports. Whether this is acceptable is your decision under the journal's policy. Two observations bear on it. The annotations in the bibliography file show that several cited works were assessed from abstracts or metadata only, and one author's first name appears to have been expanded wrongly (minor issues 17 and 18). I would ask the authors to confirm that they have themselves verified the F3 audit, because it makes factual claims about a third party's public data product that others will quote.
The claims that protocols and exploratory analyses were fixed before computation are self-certified, as the authors state. I could not verify them and did not try. I did not run any code.
## Files read
Within the repository, only files on the allowed list:
- `paper_gp/main.tex` (in full).
- `paper_gp/main.pdf` (text extracted for line numbers; pages 21 and 32–37 rendered to view Table 3 and Figures 1–6).
- `paper_gp/supplement.tex` (in full).
- `paper_gp/supplement.pdf` (text extracted, used to locate page and table numbers).
- `paper/sections/02_related.tex`, `03_data.tex`, `04_method.tex`, `05_theory.tex`, `06_experiments.tex`, `07_discussion.tex`, `A_proofs.tex`, `B_field.tex`, `C_record.tex` (in full). I did not open `00_abstract.tex`, `01_introduction.tex` or `08_conclusion.tex`, which the supplement does not input.
- `paper/refs.bib` (entry count and nine entries: `white2003goodpractice`, `white1980partial`, `walden1984errors`, `gunning2004delivery`, `balakrishnan1962jitter`, `bader2017teapot`, `herrera2012automatedtie`, `kendall2017uncertainties`, and the start of the entries that follow them in the file).
- `paper/figures/`: directory listing only. I viewed the six figures of the article as embedded in `main.pdf`. I did not open `p2_phase.pdf` or `f3_volume.pdf`.
- `benchmark/README.md`, `repro/README.md` (in full).
- `paper_gp/Geophysical Prospecting.pdf` (text extracted, in full).
Written: this report only (`docs/research/gp-referee/GP-A_round1.md`). I created the directory and did not list or read anything else in `docs/`.
External checks, with topic keywords only and no manuscript text: the Crossref record of doi:10.3997/1365-2397.21.10.25640; web searches on well-tie uncertainty in learned seismic property prediction, time-shifted labels in regression, the accuracy of synthetic-to-seismic matching, and Bayesian inversion with time uncertainty.
The session in which I worked contained project notes that are not part of the submission. As instructed, I did not use them.

View File

@@ -0,0 +1,87 @@
# Referee report GP-A — round 2 (cross-review)
Manuscript: *Uncertain well ties in learned seismic property prediction: theory, a benchmark with known timing, and requirements for blind-well tests*.
I read the report of referee GP-B and checked each point below against the article (`paper_gp/main.pdf`, line numbers "l. 123") and the Supporting Information (S numbers). The two reports were written independently and agree on most of the substance. Both recommend major revision.
## Agreements
1. **The article is not self-contained (GP-B issue 1; my issue 7).** GP-B's list of evidence that is only in the Supporting Information matches mine (Tables S9, S10, S11, S15, S17). GP-B adds two points that I endorse: the results are numbered differently in Appendix A and in Appendix SA with no mapping, and Section S1 speaks of "four contributions" while the article poses three questions (l. 90–92).
2. **The blur test is made in the favourable regime (GP-B issue 2; my issue 3).** GP-B's count is more exact than my "many": 32 windows per well, so 512 independent shifts per realization at N = 16 (Sections S4.6 and S5.1). We agree on the correction of "less than 7%" (l. 190–191; about 51% remains by Table S7) and on the abstract's "within 1%" (l. 29–30), which omits σ = 32 ms.
3. **The population limit is presented as a bound on the experiments (GP-B issue 3c; my issue 3).** l. 206 and l. 260–261 leave the reader unsure whether a bound was violated. GP-B is right that the sentence of Section S6.3, "An excess over the population bound is therefore not established under either structure", belongs in the article.
4. **"Because" at l. 335–337 is not established (GP-B issue 3d; my issue 3).**
5. **Competitors (GP-B issue 4; my issue 1).** We agree that the deterministic ties interpolate noisy anchors, that the anchor mean is a deterministic smoother wrongly kept out of the "best deterministic tie", that the correlation tie is not specified, that no published tie was run, and that "mode" is the wrong word for the best of 1024 particles. GP-B notes that the Conclusions (l. 358–361) give only the 8–22% range; I agree.
6. **Anchor uncertainty (GP-B issue 5a, 5b; my issue 2).** Same reading of the statistic (a median absolute value of 6.9 ms corresponds to σ of about 10 ms), of the 14 ms arm (0.928 [0.867, 1.004]), of the refit that ends at a search bound, and of the untrained fixed-hyperparameter arm.
7. **Blind-well numbers are properties of the simulator (GP-B issue 6a; my issue 4).** Both reports object to the unqualified "accurate to about 1 ms" at l. 364–365.
8. **Statistical reporting (GP-B issue 7; my issue 6).** We agree on the "or" in the margin rule at −5 dB, on budgets chosen from two development realizations, on the weaker replication of the bank result, and on the best competitor being chosen by test error. I also endorse GP-B's point that the pass/fail vocabulary gives a confirmatory appearance that the self-certified locks cannot support.
9. **Reproduction documentation (GP-B issue 8; my issue 8).** Same list of analyses missing from `repro/README.md`, same remarks on section numbers, Vietnamese documentation and the impedance log given to the analyst in the rock-physics presets.
10. **Smaller points I checked and endorse.**
- l. 229–231 mixes a test value (3.15 ms, l. 229) with development values (3.25 and 3.85 ms; Section S6.2 says "on the development realizations"). I had noted only "no better than".
- Table 3, row on anchor-free losses: Section S6.5 says the claim "failed in the half-anchor and two-anchor settings", and the footnote of Table 3 covers only the locked-code difference.
- l. 160 gives λ ≈ 0.36–0.37, but τ_c ≈ 2.7–2.9 (Section S4.5) implies 0.34–0.37.
- l. 219–220: "only if σ_ref < σ/√2 at every frequency" is garbled; the condition is on σ_ref.
- Section S3.1 cites "a national well-log archive" without a reference.
- The suggested reference Lundsgaard, Klemm and Cherrett (2015) exists (Crossref: *Geophysics* 80(2), M15–M31, "Joint Bayesian wavelet and well-path estimation in the impedance domain") and is not in `paper/refs.bib`. It should be cited with the Bayesian ties. I did not verify the other suggested references.
## Disagreements
1. **"The first departure in the forward model ... reverses the result" (GP-B issue 4d) is overstated.** Only the two wavelet-phase presets reverse it. Table S15 gives, for SMC mean / best deterministic tie at N = 4 / 16: rock physics mild 0.940 / 0.934 and strong 0.963 / 0.955; attenuation 0.927 / 0.842; scaled warp prior 0.862 / 0.798; out-of-family warp 0.892 / 0.820; wavelet phase mild 1.023 / 1.042 and strong 1.217 / 1.386. The article says the same at l. 294–299. So the gain is reduced but kept in five of seven presets. GP-B's sentence is right in one sense: the mild phase preset has the smallest model error of the seismic presets (1.08, Table S15). The fair statement is that the result is fragile to wavelet phase specifically, which is the classical trade-off between phase and time.
2. **The abstract's 2–33% is not simply "the weaker comparison" reported beside the stronger one (GP-B strengths, issue 4b).** The upper end comes from the 10 dB cells (0.81 / 0.67 in Table 2), where the anchor mean is not the best competitor. A reader cannot recover from l. 36–38 that the gain against the best point tie of any kind is 14% and 22% at 10 dB, 7% and 11% at 0 dB, and 2% and 3% at −5 dB (my issue 1). I credit the authors for reporting the comparison, but the abstract still needs this number.
3. **Score for "claims supported by evidence": GP-B gives 4, I keep 3.** GP-B's own report lists unsupported or overstated statements at l. 190–191, l. 206, l. 229–230, l. 249, l. 263–264, l. 335–337, l. 338–339, l. 362 and l. 364–365, and they include the Conclusions. The care is in the Supporting Information and partly in the abstract; the article body and the Conclusions overstate.
4. **Anchor residuals "would estimate σ_a directly" (GP-B issue 5c) is too optimistic.** The check is worth making, and I list it below. Three things in the text limit what to expect.
- The drift prior absorbs a wrong σ_a: with 3.5 ms the refit chose a correlation length of 10–15 ms (l. 253–255), so the posterior follows the anchors and their residuals will look consistent with the stated value. The check needs fixed drift hyperparameters.
- On F3 a type-II fit gave σ_a = 0.4 ms, which the authors themselves reject (Section S4.1).
- The seismic data constrain time only up to the wavelet phase. In the phase preset the posterior moved by 2.3–2.6 ms (Table S15), so anchor residuals about a seismic-driven posterior measure the anchors against the model's wavelet, not against true time.
I also would not call the paper's advice to obtain σ_a from independent data "unnecessarily pessimistic". In the −5 dB setting, which Section S3.2 calls the closest to F3 in posterior width, the seismic data add little to the anchors (Table 2: 0.98 / 0.97).
5. **"For the conditional one, the nominal test and the smaller well counts apply" (GP-B issue 6c) needs two qualifications.** I accept the main point (see "Points I missed"). First, blind wells of one field are spatially correlated through the geology, whatever the training set, and neither the paper nor GP-B treats this. Second, the smaller well counts of Table S17 are averages over realizations with different win rates. For one field the power is that of its own trained models, which may be well above or below the average; the limiting powers of 0.37 and 0.46 (Section S6.6) say that, in more than half of the realizations at N = 4, the effect is too small to detect with any number of wells.
6. **Keywords printed twice (GP-B minor 1) follows the guide.** The parts list puts "Abstract and keywords" together, and the submission checklist asks "Does the title page list the keywords?". No change needed.
7. **`repro/README.md` on locks (GP-B issue 8b) is incomplete, not false.** The sentence says each protocol "was locked before its test data were generated or scored". The new cells of Experiment 3 were scored after its lock. The sentence fails for the cells "read from Experiment 2" (Table S13) and hides that the realizations had been analysed post hoc before Experiment 3 was designed (Section SC.2). The remedy GP-B asks for is right.
8. **"Driven by the cells at c = 2" (GP-B issue 7d) is probably right but not shown.** In Table S11 and Figure 4(a) the wide cells at c = 1 also have ratios of 0.89–0.98. The replication, which has no c = 2 cells, gives −0.45 (l. 270), which supports GP-B. The request to drop the cell-level permutation p-values stands either way.
## Points I missed
1. **The estimand of the blind-well test (GP-B issue 6b, 6c).** This changes my assessment of the fourth contribution. Conditional on the trained models, the nominal sign test is valid for the question "do these two predictors differ at new wells of this field". It is anti-conservative only for the marginal question, over training sets and earth models, and a single field cannot answer that question with any number of wells. The intra-class correlation needed for the "calibrated" test is estimated here from eight simulated realizations and cannot be estimated from one field. The article states the anti-conservativeness without qualification (l. 313–314), and the abstract ends with "This assumes a test calibrated for wells that share training data" (l. 45–46; also l. 342–343 and l. 365–366). In round 1 I listed this observation among the strengths. I withdraw that as stated: the observation is correct for the marginal null only, and the recommended test cannot be carried out in the field as described.
2. **Testing Proposition A3(a) on the ties that are actually compared (GP-B issue 3, resolution).** The true tie errors of every method are known at the training wells. Their empirical characteristic functions give a predicted transfer for each method, which can be compared with the measured transfers already reported (0.72–0.96 for the best deterministic tie, 0.79–1.02 for the SMC mean; Appendix SC, "Sharpening"). This needs no new training and would either connect the theory to Experiment 2 or show where it fails. It is better than my round-1 request, which asked only for rewording and a new blur arm.
3. **The blur test uses a mean-squared-error loss (GP-B issue 2b).** The legend of Figure 2 says so (l. 470–471), while every compared method uses the Gaussian likelihood with a learned standard deviation (l. 157–162). The new blur arm should use the likelihood loss.
4. **Standard truth-free diagnostics were not tried (GP-B issue 5c).** Section S7 says "A truth-free check of the posterior is still missing" after one check. The phase and amplitude spectrum of the tie residual is routine quality control in well-tie practice and is the natural check for a frequency-dependent phase. I should have asked for it in my issue 4. With the caveats of disagreement 4, the same holds for standardized anchor residuals.
5. **Permutation p-values over dependent cells (GP-B issue 7d).** "p < 0.001" (Section S6.3) and "p < 10⁻⁴" (Section S6.5) treat cells that share realizations and nested well subsets as exchangeable.
6. **"So most of the gain is label augmentation" (l. 263–264; GP-B minor 11).** Section S6.4 says the results "suggest" this and that "None of them identifies a mechanism".
7. **The two-mode reversal is verified on part of the reversed band only (GP-B minor 13).** In Figure 6(a3) the usable frequencies stop near 25 Hz, while the reversed band for Δ = 32 ms is 15.6–46.9 Hz. The article (l. 300–301) should give the range.
8. **Notation (GP-B minor 6).** σ, S and P each have two meanings in the article.
None of these changes my recommendation. Points 1 and 2 change the content of my must-fix list.
## Revised recommendation
**Major revision.** Confidence: high for the well-tie and field aspects, medium for the statistical aspects. Unchanged from round 1.
What changed:
- My view of the blind-well requirements is more critical. Besides the conceptual problem I raised (timing is relative to the processed seismic image, and 1 ms corresponds to about 18° of wavelet phase at 50 Hz), the recommended "calibrated" test has no stated estimand and cannot be calibrated from field data. I withdraw the round-1 strength that credited the anti-conservative sign test without qualification.
- My request on the theory is now more concrete: the empirical-characteristic-function analysis on existing results, and a blur arm with one error per well and the likelihood loss.
- I add truth-free diagnostics (tie-residual spectra, anchor residuals) as an analysis on existing results.
What did not change: the headline comparison (my issue 1) and the anchor error model (my issue 2) remain the two most important problems. GP-B's report supports the first and the statistical half of the second. It does not address the points that the independent 7 ms anchor noise is physically implausible and is contradicted by the paper's own F3 and Teapot Dome evidence, that the true σ_a is never varied, that the gain is about 0.1 porosity unit in absolute terms, and that the scorer's default competitor set excludes the anchor mean. I maintain these. My scores are unchanged.
## Consolidated must-fix list
1. **Make the article self-contained** (restructuring / rewording). Move into the article: the intervals of Table 2; compact versions of Tables S10, S15 and S17; the definitions of the deterministic ties, the signal-to-noise ratio and the zero-drift guard; the equal-budget check; the F3 audit. Give a mapping between the A- and S-numbered results, mark every exploratory or post hoc number, and reduce the protocol history and verdict vocabulary.
2. **Report the main result against the best point tie of any kind** (rewording + analysis on existing results + new experiment). State the 2–22% range, with the anchor mean among the competitors, in the abstract, Table 2 and the Conclusions. Say that the deterministic ties interpolate the anchors and are the authors' implementations; specify them fully; replace "mode" by "best particle". Add one tie that smooths the anchors and extracts a wavelet, or one published automatic tie tuned on the development realizations.
3. **Treat the anchor error model as an assumption and test it** (rewording + new experiment). Correct the statistic at l. 118–119. Vary the true σ_a (for example 1, 2, 4, 7 ms) and add anchor errors with a per-well bulk component, as the paper found at Teapot Dome. Train the fixed-hyperparameter arm. Restate l. 249 and l. 361–362 as a sensitivity to a factor-of-two error under a refit that conditions on σ_a.
4. **Connect the theory to the compared ties** (analysis on existing results + small new experiment + rewording). Compare the transfer predicted from each method's known tie errors with the measured transfer. Add a blur arm with one shift or one smooth warp per well at N = 4 and 16, with the likelihood loss. Attribute Proposition A1 to the classical result. Correct l. 29–30, l. 190–191, l. 206, l. 229–231, l. 260–261 and l. 335–337.
5. **Restate the blind-well requirements** (rewording + analysis on existing results). State the estimand and give the conditional and the marginal reading. Either say how an analyst would calibrate the test in one field or drop that requirement from the abstract and the Conclusions. Present the well counts and the 1 ms figure as results of this benchmark. Add the relation between wavelet phase and time and the classical standard errors of a tie, and say whether 1 ms is attainable. Give power curves in quantities an analyst can state.
6. **Try standard truth-free diagnostics** (analysis on existing results). Amplitude and phase spectra of the tie residual, and standardized anchor residuals with fixed drift hyperparameters, in the nominal, wrong-σ_a and wavelet-phase cells whose particles are saved. Report the outcome whichever way it goes.
7. **Report effect sizes, not passes** (rewording + analysis on existing results). Absolute band errors and correlations; ratios by frequency band; the conservative interval; the four bank gains and their replication instead of "2–11%"; an equal-budget version of Table 2; the correlation clause at −5 dB; no cell-level permutation p-values.
8. **Align the release with the paper** (packaging / rewording). Add the anchor mean and the anchor-only tie to the scorer's competitor set. Bring both READMEs to the article's numbering and names, in English, covering the later analyses and the declarations of the exploratory work, or limit the Data Availability Statement to what is covered. Correct the reference list (the first name in White and Simm 2003; the internal `annote` notes; sources cited without having been read).
## Files read
- `docs/research/gp-referee/GP-B_round1.md` (in full).
- `docs/research/gp-referee/GP-A_round1.md` (my own report; not reopened, its content was in my working context).
- Round-1 files, consulted again from my round-1 extractions and readings to check line numbers and quotations: `paper_gp/main.tex`, `paper_gp/main.pdf` (text extraction and the rendered pages 21 and 32–37), `paper/sections/03_data.tex`, `04_method.tex`, `05_theory.tex`, `06_experiments.tex`, `07_discussion.tex`, `C_record.tex`, `repro/README.md`, `paper_gp/Geophysical Prospecting.pdf` (text extraction).
- `paper/refs.bib`: one keyword search for the references GP-B suggests (none present).
Written: `docs/research/gp-referee/GP-A_round2.md` only. I checked that this file did not exist before writing and opened nothing else in `docs/`.
External check: the Crossref record of doi:10.1190/geo2014-0378.1. No manuscript text was sent to any service. No code was run. The project notes present in my session context were not used.

View File

@@ -0,0 +1,252 @@
# Referee report GP-B — round 1
Manuscript: *Uncertain well ties in learned seismic property prediction: theory, a benchmark with known timing, and requirements for blind-well tests* (Original Paper, *Geophysical Prospecting*).
Referee expertise: measurement error, uncertainty quantification, inverse problems, design of benchmark comparisons.
Conventions: "l. 123" is a line number of `paper_gp/main.pdf`. The Supporting Information (SI) has no line numbers, so I cite its sections and tables (Section S6.3, Table S10, ...). Red TODO markers were ignored, as instructed.
## Summary of the submission
The paper treats the error of a well tie as an error in the time index of the training labels of a seismic porosity predictor. It shows that an index error independent of the data turns the optimal predictor into a blurred one (a convolution with the error density), distinguishes classical from Berkson index error, and derives a population limit on what a "calibrated bank" of posterior labels can gain over a point label. It also derives the bias that a misregistered blind-well reference adds to a comparison of methods. On a synthetic generator with F3 statistics, labels at the mean of a sequential Monte Carlo (SMC) tie posterior lowered the seismic-band error by 8–22% relative to three deterministic ties (7–19% on new realizations) and by 2–33% relative to an anchor-only posterior mean. Training on a bank of posterior samples added 2–11% when the posterior was wide, and a Gaussian bank with the same two moments obtained most of that. The gain disappeared when the stated anchor uncertainty was wrong by a factor of two or the wavelet phase was frequency dependent. Two field tests (F3, Volve) showed no improvement, and the authors argue that neither could have detected one. An exploratory power analysis gives the number of blind wells and the reference accuracy that a field comparison would need. A task package with 658 tasks, reference runs and a scorer is to be released.
The submission is unusually candid: it reports a failed first experiment, a failed theoretical prediction, two failed field tests, and the order in which the experiments were designed.
## Recommendation
**Major revision.** Confidence: **medium** (high on the statistical and theoretical points, medium on the adequacy of the geophysical baselines).
The mathematics I checked is correct and the claims are mostly scoped with care. Three things prevent acceptance in the present form. The article is not self-contained: the evidence for several headline statements is only in an 80-page SI. The theory is verified only in a regime that is not that of a well tie, and it does not explain the comparative results. The positive result is measured against the authors' own deterministic ties on data generated by the registration's own model, and the third element of the title rests on an exploratory analysis whose recommended test cannot be carried out on field data as described.
## Scores (1–5)
| Criterion | Score |
|---|---|
| Scope fit | 4 |
| Originality | 3 |
| Technical soundness | 3 |
| Experimental evidence | 3 |
| Claims supported by evidence | 4 |
| Clarity | 2 |
| Reproducibility | 4 |
## Major issues
### 1. The article is not self-contained, and the SI is a second, longer paper
**Where.** Whole article (l. 60–369, about 12 double-spaced pages of text) against `supplement.pdf` (80 pages); Section S1.
**Problem.** The author guide defines Supporting Information as "information that is not essential to the article". Here the SI holds evidence that the article's main statements need:
- the 95% intervals of Table 2 (Table S9);
- the anchor-uncertainty test, cited at l. 249–256 only as Table S10;
- the bound comparison of l. 260–261 (Table S11);
- the misspecification table behind l. 286–297 (Table S15);
- the detectability table (Table S17). It supports the last three sentences of the abstract (l. 43–46), the third element of the title and the third paragraph of the Conclusions, yet the article has no table or figure for it.
The SI is the full-length manuscript with its own Discussion. It numbers the same results differently (Propositions S1–S6 and Corollaries S1–S4 against A1–A5 and A1–A2) without a mapping. It speaks of "four contributions" (Section S1), while the article poses three questions (l. 90–92).
**Why it matters.** A reader of the journal cannot judge the main claims from the article. A referee has to review about 115 pages (37 of article and appendix, 80 of SI).
**Resolution (restructuring, no new work).** Move into the article: intervals in Table 2; a compact version of Tables S10, S15 and S17; the equal-budget check of Section SC.3. Cut from the article what is protocol history (most of Table 3 and its footnotes can go to the SI). Give a mapping between the A- and S-numbered results. Shorten the SI to what is supplementary.
### 2. The blur test does not test the regime of a well tie, and one main-text number is misleading
**Where.** l. 187–195, Figure 2, abstract l. 29–30, Conclusions l. 355–356; Sections S5.1 and S4.6, Table S7.
**Problem.**
(a) In the test, the injected shift "is fixed within each 64-sample window and independent of everything else" (Section S5.1), and the loss uses windows "starting at samples 0, 2, ..., 62" (Section S4.6). Each well therefore contributes 32 independent shifts, and each label sample is seen under up to 32 different shifts. With N = 16 wells that is 512 draws per realization. Least squares on many shifted copies of a label fits their average, which is the convolved label by construction. The test therefore checks the estimator of the transfer and the capacity of the network at 7–23 Hz. It does not check the statement that matters for ties. A tie error is one smooth function per well, so with N = 4 or 16 the network sees 4 or 16 draws. The empirical characteristic function of four shifts is not a Gaussian filter. The SI concedes the point in one sentence ("Whether the error is a smooth drift or independent jitter does not change the population optimum, although it changes finite-sample learning"), but the experiment tests only the favourable case.
(b) The test uses a mean-squared-error loss at zero drift (legend of Figure 2), whereas every compared method uses the heteroscedastic Gaussian likelihood.
(c) The usable band is 6.8–22.5 Hz. The registered non-rejection interval [0.5, 2] is, as the SI says, loose.
(d) l. 190–191 states: "at σ = 8 ms less than 7% of the seismic-band variance remains". Section S5.1 shows that this number weights frequencies by the F3 seismic amplitude spectrum "as a proxy for the recoverable band", "not by that of the predictor". In the authors' own test the band standard-deviation ratio falls from 0.945 (σ = 0) to 0.677 (σ = 8 ms) (Table S7), so about (0.677/0.945)² ≈ 51% of the predictor's band variance remains. The article drops the qualifier.
(e) The abstract's "to within 1% below 23 Hz" holds for 4, 8 and 16 ms. At 32 ms the ratio is 1.093 with interval [1.046, 1.143] (Table S7), which excludes 1.
**Why it matters.** "Confirmed below 23 Hz" (l. 356) is the only positive test of the theory, and it is carried over to ties in the Conclusions.
**Resolution.** New experiment, cheap: repeat the test with one shift per well, and with drift-like errors drawn from the warp prior, at N = 4 and 16, with the likelihood loss. Report how far the measured transfer departs from the Gaussian filter. Rewording: correct l. 190–191 (state the proxy, or give the 51%), and qualify the abstract.
### 3. The theory does not explain the comparative results, and the "bound" is presented in a misleading way
**Where.** l. 200–213, l. 260–261, l. 272–277, l. 335–337, l. 349, abstract l. 30–33; Sections S5.3, S6.3, S6.4, SC.3.
**Problem.**
(a) No tie that is actually compared is shown to satisfy either condition of Proposition A3. The Berkson prediction for the posterior mean was contradicted (transfer 0.65–0.97 against 1.04–1.21 predicted, l. 274–275). For the correlation tie "we draw no structural conclusion" (Section SC.3). The only verified case is an injected independent error.
(b) Proposition A4 and the limit ρ* assume a calibrated bank, λ → 0 and the population optimum. The experiments use λ ≈ 0.37 with 3.5–28 effective members of 64 (Section S4.5), a bank drawn from a tempered target, which by Section S5.3 does not reach calibration even with infinitely many samples, and 4–16 wells. The two-mode study shows the loss acting as re-registration (transfer 0.92–1.00 against 0.05–0.59 for cos², l. 303–305), which is outside the theory.
(c) l. 206 says "No method can improve on the point label by more than the factor" ρ*. l. 260–261 then reports that the measured ratio "was below the classical bound ρ*_cl in seven of eight wide cells but below the Berkson bound ρ*_Bk in only three of the four cells at c = 1". A reader cannot tell whether a bound was violated. The SI's own conclusion, "An excess over the population bound is therefore not established under either structure" (Section S6.3), is missing from the article. ρ* is a population ratio between two optimal predictors. It is estimated by putting the Oracle network's predictions in place of m, and it does not bound the ratio of two finitely trained networks.
(d) l. 335–337: "The sharpening predicted for posterior-mean ties was not observed, because the error of the posterior-mean tie depends on the data." The SI is more careful ("A test with power suggests why") and lists three other departures from the idealization (tempered target, plug-in phase, non-linear warp; Section S5.3). The causal "because" is not established.
**Why it matters.** The title leads with "theory". Of the three theoretical statements in the abstract, one is a known convolution identity tested outside the relevant regime (issue 2), one failed, and one concerns a limit in which no experiment operates.
**Resolution.**
- New analysis on existing results: the true tie errors of every method are known on the training wells. Compute the empirical characteristic function of each method's error, predict its transfer from Proposition A3(a), and compare with the measured transfer (the SI already reports 0.72–0.96 for the best deterministic tie, Section SC.4). This would connect the theory to Experiment 2 quantitatively, or show where it fails.
- Rewording: call ρ* a "population limit", state at l. 206 that it holds for population optima and λ → 0, and state the conclusion of Section S6.3 at l. 260–261. Replace "because" at l. 336 by "consistent with".
- In the abstract, say that the experiments did not operate in the fourth-order regime.
### 4. Strength and classification of the competitors behind the headline number
**Where.** l. 241–248, Table 2, Figure 3, abstract l. 35–40, Conclusions l. 358–361; Sections S4.7, S6.3, SC.4, Table S4.
**Problem.**
(a) "Best deterministic tie" means the best of three ties implemented by the authors. The calibrated sonic "passes exactly through anchors with 7 ms pick noise" and is up to 82% above the Oracle at zero drift (Section S6.3). No analyst would interpolate anchors of known 7 ms noise. The deterministic ties as a group are 15–29% above the Oracle at zero drift (Section S6.3). The article does not say how the window, maximum lag or smoothing of the correlation tie were set. No published automatic tie is run, although several are cited in Section S2 (dynamic time warping, Herrera and van der Baan 2014; Muñoz and Hale 2015; Wu and Caumon 2017).
(b) The anchor mean is a smoother of the anchors, deterministic given them. It is classed as a "posterior-mean tie" and excluded from the "best deterministic tie". In Figure 3 it is the best method without the SMC model at −5 dB (1.08 and 1.11 times the Oracle, against 1.15–1.21 for the deterministic ties). Against it the gain is 2–3% at −5 dB (Table 2), and Section S3.2 says that −5 dB "gives the posterior width closest to F3". With it as a competitor the claim fails at −5 dB and, in the replication, at 0 dB (l. 268–269). The abstract reports both ranges, which I credit. The Conclusions (l. 358–361) give only 8–22%.
(c) "The mode of the same posterior" (abstract l. 39; l. 244; l. 333; Table 2) is the best of 1024 saved particles by the tempered target. Section SC.4 says "The best particle is not the exact mode: its log likelihood exceeded that of 56–74% of the particles." In a function-valued parameter space, the best of 1024 draws is closer to a typical draw than to the mode. The conclusion that averaging adds little probably survives, but the word is wrong.
(d) The data follow the registration's own model: the same wavelet up to a constant phase, exact rock physics, warps from the same prior family, independent Gaussian anchor errors with the true σ_a given. The SMC warp error of 0.6 ms on a 4 ms grid reflects this. That a correctly specified Bayesian tie beats heuristics on its own simulated data is expected. The first departure in the forward model (mild frequency-dependent phase) reverses the result (1.023 and 1.042, l. 288). The article says so (l. 344–345), and this is the more informative finding.
**Why it matters.** The size of the headline gain is set by the weakness of the baselines and by the correct specification, not by the method.
**Resolution.**
- Rewording: give the anchor-mean comparison in the Conclusions; replace "mode" by "a high-probability particle"; state how the correlation tie was tuned.
- New experiment (moderate): add one published automatic tie tuned on the development realizations, and an optimized posterior mode. If these are not run, say in the abstract that the deterministic ties are the authors' implementations.
### 5. The anchor uncertainty: its value, the strength of the claim, and a missing diagnostic
**Where.** l. 118–120, l. 249–256, l. 339, l. 362; Sections S3.1, S4.1, S6.3, S7, SC.4 (vi), Table S10.
**Problem.**
(a) l. 118–119 sets σ_a = 7 ms from a "median absolute difference" of 6.9 ms; Section S3.1 calls the same number a "median absolute deviation (MAD)". These are different statistics. Neither is a standard deviation: for Gaussian errors σ = 1.4826 × MAD ≈ 10.2 ms. The quantity is also a difference between two interpretations of the same seismic volume (markers and horizon picks), not an error against an independent time. Since a factor of two in σ_a removes the gain, an ambiguity of 1.5 in the "F3-like" value is material.
(b) "The gain requires a correct anchor uncertainty" (l. 249) is stronger than the evidence. With 14 ms the ratio at N = 16 is 0.928 [0.867, 1.004] (Table S10): a gain of 7% that misses a 10% margin. With 3.5 ms the failure comes largely from the refit of the drift hyperparameters, where "3 of 8 fits with N = 4 and all 8 with N = 16 ended at a bound of the search" (Section SC.4 (vi)). With the hyperparameters held fixed the warp error is 1.86 and 1.07 ms, still well below the roughly 4 ms of the deterministic ties, but no network was trained on that posterior. The result is therefore a sensitivity of one empirical-Bayes step that conditions on σ_a, at two wrong values.
(c) No attempt is made to learn σ_a or to detect a wrong value. At 10 dB the seismic likelihood places the warp to 0.6 ms, so the anchor residuals about the posterior would estimate σ_a directly. A prior on σ_a, or a posterior predictive check of standardized anchor residuals, is standard practice and needs no true warp. The SI states that "A truth-free check of the posterior is still missing" (Section S7) after trying one check only (disagreement with the correlation tie). The same applies to the wavelet: the spectrum and phase of the tie residual are a natural check for a frequency-dependent phase.
**Why it matters.** The paper names σ_a "the main risk for field use" (l. 256) and advises readers to obtain it from independent data (l. 339). That advice may be unnecessarily pessimistic where the seismic data constrain the tie, and the diagnostic the paper says is missing was not looked for among standard tools.
**Resolution.** New analysis on existing results: posterior predictive checks of anchor residuals and of seismic residual spectra, in the nominal, wrong-σ_a and wavelet-phase cells whose particles are saved. New experiment (optional but valuable): σ_a estimated jointly. Rewording at l. 118–119 (state the statistic and its relation to σ) and l. 249, l. 362 ("was sensitive to a factor-of-two error under a hyperparameter fit that conditions on σ_a").
### 6. Blind-well requirements: effect sizes, the estimand, and a test that cannot be calibrated in the field
**Where.** l. 218–221, l. 307–318, l. 342–343, l. 364–366, abstract l. 43–46; Sections S5.5, S6.6, Table S17, Section SC.4 (i).
**Problem.**
(a) The numbers (5–18 wells, 1 ms, 1.5 ms) are properties of this simulator. The effect sizes are those of the nominal cells, which the article says "are not field estimates" (l. 344–345). The Oracle network there has a band correlation of 0.90 with four wells and 0.95 with 16 (Table S8), against at most 0.24 for any method on F3 (Table S20). The analysis is exploratory and uses eight realizations. The Conclusions nevertheless state the requirement without qualification: "It needs a reference ... accurate to about 1 ms" (l. 364–365).
(b) The recommended "test calibrated for wells that share training data" (l. 343, l. 365) needs the intra-class correlation of the outcome. Here it is estimated from eight simulated realizations (0 to 0.45, "imprecise", Section S6.6). A field has one training set, so this correlation cannot be estimated from field data. The paper does not say how an analyst would calibrate the test.
(c) The estimand is not stated. Conditional on the trained models, outcomes at independent blind wells are independent, and the nominal sign test is valid for the null "these two trained predictors do not differ at new wells of this field". The nominal test is anti-conservative only for the marginal null, over hypothetical training sets and earth models. A single field cannot address that null with any number of blind wells, which is what the limiting power of 0.37 and 0.46 (Section S6.6) expresses. The paper should say which question a field test is meant to answer. For the conditional one, the nominal test and the smaller well counts apply.
(d) Corollary A2 compares an oracle with a classically blurred predictor under a common shrinkage. The simulation compares the SMC bank with a deterministic tie. At 10 dB the simulated crossing (3.6 ms) lies above the "necessary" value σ/√2 = 3.0 ms (Section S6.6), so in practice the condition is not necessary. l. 219–220 ("only if σ_ref < σ/√2 at every frequency") is garbled: the condition is on σ_ref, and "at every frequency" belongs to the proof.
**Why it matters.** This is the part of the paper that practitioners are most likely to reuse, and it is in the title.
**Resolution.** New analysis on existing results: power curves parametrized by quantities an analyst can state (mean and between-well spread of the log error ratio, reference error, and the intra-class correlation as a sensitivity axis), with intervals from resampling realizations. Rewording: state the estimand; give the conditional and marginal readings; present Corollary A2 as a leading-order guide; qualify l. 364–366 with "in this benchmark".
### 7. Statistical reporting and the verdict framework
**Where.** l. 172–182, l. 241–242, l. 258, l. 269–271, Table 3; Sections S6 (opening), S6.3, S6.5, SC.1, SC.3, SC.4.
**Problem.**
(a) The protocols are "hash-locked" by the authors' own scripts. Section SC.1 records that the protocol of Experiment 1 was committed after its run, that of Experiment 3 during its runs and the field protocols after theirs, with self-reported time stamps. The authors disclose this, which I credit. The pass/fail vocabulary and Table 3 still give the article a confirmatory appearance that cannot be verified. Ratios with intervals should carry the argument.
(b) The margin rule has an "or". At −5 dB the ratios are 0.915 and 0.923, above 0.90, and the cells pass on the correlation clause (+0.10 and +0.09; Section S6.3). The interval lies entirely below 0.90 only at 10 dB with N = 16 (Section SC.4). l. 241–242 does not say this.
(c) "In Experiments 1 and 2, every design choice was made on two development realizations (900 and 901)" (Section SC.1). This includes one iteration budget per method from a five-point grid: 500 for the Oracle, 250 for the SMC mean and bank, 125 for the calibrated sonic (Table S12). The SMC mean improved at 500 iterations in seven of eight cells (Section SC.3). The equal-budget check (Section SC.3) partly answers this and belongs in the article.
(d) Permutation p-values treat cells as exchangeable units. The Spearman correlation of −0.85 with "p < 0.001" (Section S6.3) is over 15 cells that share realizations and nested well subsets, and it is driven by the cells at c = 2 that are flagged unstable. In the replication it is −0.45 (l. 270). The same applies to "p < 10⁻⁴" in Section S6.5. Remove these p-values or bootstrap the correlation over realizations.
(e) The bank result replicated more weakly than the article suggests. Two of three wide cells passed, the −5 dB cell did not (0.993), and the 0 dB cell was no longer wide (Section S6.3). In the original run the t-interval of the −5 dB cell includes 1 (Section SC.4). The abstract gives the replication range for the mean claim but not for the bank claim, which would be about 1–12%.
(f) The "best" competitor of a cell is chosen by its mean error on the test realizations (Section S6, opening). This is conservative for the candidate, but it is a choice made with test labels and should be stated next to l. 181–182 ("Test labels never chose a shift, checkpoint or hyperparameter").
**Why it matters.** With eight realizations and many dependent cells, the reader needs to see effect sizes and intervals, not counts of passes.
**Resolution.** Rewording and re-reporting from existing results. No new experiment.
### 8. Reproducibility documentation does not yet match the Data Availability Statement
**Where.** l. 53–58; `repro/README.md` Sections 4–6; `benchmark/README.md`.
**Problem.**
(a) The statement says that "the derived data behind every table and figure are archived ... with ... a clean-room check that recomputes them". The pipeline table and the twelve verify stages of `repro/README.md` (latest run dated 2026-11-09) do not mention several analyses that the article reports: the replication on realizations 16–23 (Table 2, abstract l. 37), the point-tie analysis ("Mode" row of Table 2), the −5 dB anchor-uncertainty test, the calibrated sign test (abstract l. 43–46), and the tempering-limit, bank-size and band-content analyses. Two review scripts are listed as "not in the archives or a verify stage". Training is outside the check, which is reasonable but should be said in the statement.
(b) `repro/README.md` states that each phase "was locked before its test data were generated or scored". Sections S6.5 and SC.1 say that Experiment 3 reuses the test realizations and particles of Experiment 2.
(c) Both READMEs cite section numbers of another version of the manuscript ("Sec. 3.3", "Sec. 6.3", "Sec. 6.7", "App. B", "App. C"). The description of every script is in `../README.md` "(in Vietnamese)".
(d) Benchmark design. The test split has eight realizations and its truth is public, so later users can tune to it. The scorer applies a no-margin rule that passes with probability up to 0.36 under exchangeability (documented, to the authors' credit). The analyst file gives the generating warp prior and the true σ_a, so every task except the misspecified ones is correctly specified by construction. In the rock-physics presets the analyst receives an impedance log computed with the nominal rock physics (`train_ai_log`), whereas a real analyst ties with measured sonic and density logs; that stress therefore acts on the tie in a way that does not occur in practice.
**Why it matters.** The benchmark is one of the three stated products, and the journal expects the data behind the results to be archived.
**Resolution.** Extend the archives and the verify stages to the later analyses, or limit the statement to what is covered. Align the READMEs with the article's numbering and provide the script documentation in English. Let the scorer report ratios and intervals first. Document how to generate fresh test realizations (the replication shows that it is possible).
## Minor issues
1. l. 7–8 and l. 47–48: the keywords appear twice.
2. l. 69–70 and Section S2: the novelty statement rests partly on abstracts (entries marked "a" in Table S1), and one program is described as known "from its title only" (Gunning and Glinsky 2004, a Bayesian inversion in which layer times are uncertain). These should be read before the claim is made. A short search of mine also found no work that feeds a tie posterior into training, so I do not dispute the claim.
3. Related work to add: Lundsgaard, Klemm and Cherrett (2015, *Geophysics*, doi:10.1190/geo2014-0378.1), a joint Bayesian estimate of wavelet and well path (I know it from its record and abstract only); the functional-data literature on phase variation, where the blurring of a mean by random time shifts is classical (Kneip and Gasser 1992; Marron et al. 2015); multi-reference alignment; and Schroeter, Sidorov and Marshall (2021, AAAI) on misaligned labels. Proposition A1 should be presented as a known identity applied to a new setting. Section S2 already says the ingredients are not new; the article does not.
4. l. 126: "N(0, 7²) ms" gives a variance in ms. Write "standard deviation 7 ms".
5. l. 152–153: say that σ_post is a Gaussian-equivalent standard deviation, averaged over the window and the training wells (Section S4.3).
6. l. 158 and l. 189: σ is both the predicted standard deviation of the network and the standard deviation of the timing error. S is both the bank size and a power spectrum; P is both a characteristic function and a filter in Corollary A2.
7. l. 160: "λ = 1/τ_c ≈ 0.36–0.37". Section S4.5 gives τ_c ≈ 2.7–2.9, which implies 0.34–0.37.
8. l. 196–199: Proposition A2(c) is a curvature calculation with "≈", not a proposition. Call it a remark.
9. l. 229–230: "as the identifiability result predicts". Table S5 itself says this "tests the prior, not a network". With a 50 ms prior and no anchors, a warp error of 31 ms follows from the prior width. It is not a test of the joint ridge of Proposition A2.
10. l. 230–231: "no better than the 3.85 ms". The value 3.25 ms is lower; Section S6.2 says "comparable". The sentence also mixes a development value (3.25) with the test value of l. 229 (3.15).
11. l. 263–264: "so most of the gain is label augmentation". Section S6.4 concludes "None of them identifies a mechanism", and one cell was read against label augmentation (Section SC.3). Soften.
12. l. 283–285: "91 of 100 cells" and "44 of 52" are counts of dependent cells. The SI says they are descriptive; the article should too.
13. l. 300–301: the reversal is verified on the usable frequencies, which in Figure 6(a3) stop near 25 Hz. Section S6.5 writes "usable frequencies in 15.6–46.9 Hz". State the actual range.
14. l. 338–339: "Do not use alignment losses without anchors." These losses were run at single untuned settings (γ = 0.1, α = 0.5, ±8 samples; Table S4), and their labels start from the anchor-calibrated sonic. On F3 they had the lowest band error of all networks (Table S20). Scope the advice to what was tested.
15. Table 2 (l. 455–456): add the intervals. Table 3: the row on anchor-free losses "passes", but the claim fails in the half-anchor and two-anchor settings and fails as run by the locked code; the footnote covers only the second.
16. Figure 1: the key and axis use "Integrated DT", "OpendTect TD model", "DT model" and "TWT", which the legend (l. 461–464) does not define. The guide asks that legends define all abbreviations and that trade names be avoided.
17. Figure 5: the colour-bar label reads "SMC mean / best point tie"; the text and the legend say "best deterministic tie". The cell text in Figures 3 and 5 is small at page width.
18. Corollary A1 (l. 612–622): under structure (b) the identity forces the spectrum of m to vanish at the zeros of Q. This is in the proof (l. 626–627) and should be in the statement.
19. l. 506–507: stationarity is "a working assumption for well logs". Say which results need it (the spectral statements, Proposition A5, Corollary A2) and which do not (equations A1, A6–A9).
20. Section S3.1: "A national well-log archive shows ..." has no citation; the archive is named only in `repro/README.md`.
21. Reference list: three conference papers are cited by arXiv URL (l. 423–431). The guide's examples put the year after the authors; the content is complete, so this is for production.
22. The SI uses "seismic" as a noun throughout, which the guide asks authors to avoid. The article has been corrected; the SI has not.
23. Section SC.4 mentions "four simulated external reviews". The Acknowledgments disclose this, but the SI should explain the term where it first appears.
## Strengths
- **Candour.** The failed first experiment, the failed sharpening prediction, the two failed field tests, the order of design, the self-certified nature of the locks and the discrepancy between locked code and locked statements are all reported. The abstract states the assumptions of the benchmark before its result and reports the weaker comparison (2–33%) beside the stronger one.
- **Correct mathematics.** I checked Propositions A1, A3, A4 and A5, Corollaries A1 and A2, and Lemmas S1–S5, Corollaries S1–S2 and Proposition S5 of the SI. The proofs are correct under their stated assumptions. The algebra of equation (A15) and the bound for σ_ref ≥ σ/√2 are right. The numerical asides I recomputed are also right: 5/16, 7/64 and 93/256; the nominal sizes of the sign test at 5, 10, 20 and 40 wells; the factors 1.10, 1.77 and 1.167; the two-mode band edges; the frequency counts of Table S7.
- **Internal consistency.** Every number I traced from the article to the SI agreed, apart from the items listed above. The package arithmetic agrees with `benchmark/README.md` (47 tasks × 14 realizations = 658; 21 methods).
- **Useful negative results.** The collapse of the posterior under a frequency-dependent phase (coverage 0.17 and 0.10) with no warning from a disagreement check; the Gaussian bank that reproduces most of the bank gain; the same-information point tie that reproduces most of the posterior-mean gain. These are the right controls, and they change the reading of the result from "uncertainty helps" to "a better tie model helps".
- **The F3 audit.** That the "check-shot" tables are horizon-tie picks, that the porosity log is an exact linear function of the sonic log at three wells, and that the time–depth sources disagree by up to a seismic period is of direct value to the many users of this public dataset. It deserves more room in the article.
- **The reference-bias result** (Proposition A5): more blind wells do not remove the bias of a misregistered reference. It is simple, correct and relevant to practice.
- **Statistical care above the norm of the field.** Realizations are the resampling unit; the null pass rate of the sign-counting rule is computed; percentile intervals are checked against BCa and t-intervals; a replication on new realizations was run.
- **Release.** Hash manifest, deterministic archives and a clean-room rerun are well beyond common practice.
## Confidential comments to the editor
1. **Use of generative AI.** The Acknowledgments state that a large-language-model agent wrote and reviewed the analysis code, ran the experiments, checked "every reported number against the output files and every citation against its source", drafted text and produced simulated referee reports. This is disclosed in detail, as the journal's policy requires. The extent goes beyond language editing, and the checks of numbers and citations were made by the same tool that produced them. I suggest asking the authors to state which checks a human author carried out independently. The protocol hashes and time stamps were also produced by this pipeline, which adds to the point that the "locks" are self-certified.
2. I could not verify any number against output files or inspect the benchmark package or the archives; they are not yet deposited and were outside what I was given. My checks are of internal consistency, of the proofs and of the documentation.
3. The decision between major revision and rejection with resubmission depends on how the journal views a paper whose article is a 15-page summary of an 80-page SI. The science is honest and would interest readers of the journal, in particular the audit of F3, the reference-bias result and the boundary cases. I recommend major revision with a restructured, self-contained article as a condition.
4. The topic fits the journal. The style (protocol history, verdict tables) is that of a machine-learning benchmark paper and will need adapting for the readership.
5. No concern about dual publication or plagiarism arose from what I read. I did not run a similarity check.
## Files read
Allowed files, opened:
- `paper_gp/main.tex` (complete)
- `paper_gp/main.pdf` (text extracted with line numbers; pages 32–37 rendered to view Figures 1–6)
- `paper_gp/supplement.tex` (complete)
- `paper_gp/supplement.pdf` (used only to map section and table numbers)
- `paper/sections/02_related.tex`, `03_data.tex`, `04_method.tex`, `05_theory.tex`, `06_experiments.tex`, `07_discussion.tex`, `A_proofs.tex`, `B_field.tex`, `C_record.tex` (complete)
- `paper/refs.bib` (entry keys listed and searched by keyword; not read entry by entry)
- `benchmark/README.md`, `repro/README.md` (complete)
- `paper_gp/Geophysical Prospecting.pdf` (text extracted, complete)
Allowed files, not opened: `paper/sections/00_abstract.tex`, `01_introduction.tex`, `08_conclusion.tex` (the supplement does not input them); the files of `paper/figures/` (the figures were viewed as embedded in `main.pdf`; only the directory listing was read).
External sources: four web searches with topic keywords only (well-tie uncertainty in learned property prediction; phase variation and multi-reference alignment; misaligned labels; Bayesian ties), and five Crossref title look-ups to confirm the references suggested in minor issue 3. No manuscript text was sent to any service.
Not read: `docs/`, `AGENTS.md`, `CLAUDE.md`, the root `README.md`, `report.html`, `outputs/`, `scripts/`, `configs/`, `ml_porosity/`, `paper_gp/README.md`, `paper/README.md`, git history. My session context contained a project instruction file; I disregarded it and used nothing from it. My scratch folder already held files left by an earlier session (their names appeared in a directory listing); I did not open them and worked only from the extractions I made myself.

View File

@@ -0,0 +1,122 @@
# Referee report GP-B — round 2 (cross-review)
Manuscript: *Uncertain well ties in learned seismic property prediction: theory, a benchmark with known timing, and requirements for blind-well tests*.
I have read the report of referee GP-A and checked each of its points that I discuss below against the article and the Supporting Information (SI). "l. 123" is a line of `paper_gp/main.pdf`. Red TODO markers were ignored.
The two reports were written independently and agree on the recommendation, on six of the seven scores and on most major issues. GP-A is stronger than I was on what the headline number measures and on the field side. I was stronger on the estimand of the blind-well test, on diagnostics that need no truth, and on the cell-level p-values. I keep those points.
## Agreements
1. **The headline gain is set by the anchor-noise model (GP-A issue 1).** I checked GP-A's reading of Figure 3 and it is correct. At 10 dB the calibrated sonic is 1.56, 1.53, 1.54 (N = 4) and 1.82, 1.83, 1.81 (N = 16) times the Oracle for c = 0, 1, 2, and the correlation tie is 1.20, 1.17, 1.24 and 1.30, 1.38, 1.33. The deterministic ties therefore remove the drift, and what remains is the cost of anchors with 7 ms noise. This is a sharper statement than my issue 4(a), and I adopt it.
2. **The gain against the best point tie of any kind is 2–22% (GP-A issue 1).** The arithmetic from Table 2 is right: 14% and 22% at 10 dB, 7% and 11% at 0 dB, 2% and 3% at −5 dB. This is the number the abstract and the Conclusions should lead with.
3. **The anchor-uncertainty claim is too strong (GP-A issue 2, last bullet; my issue 5(b)).** Both reports quote the same evidence: 0.928 [0.867, 1.004] at 14 ms, the hyperparameter fits ending at a search bound, and no network trained in the fixed-hyperparameter arm.
4. **The statistic behind σ_a = 7 ms (GP-A issue 2; my issue 5(a)).** Both reports find that a median absolute value of 6.9 ms corresponds to a Gaussian σ of about 10 ms, and that l. 118–119 and Section S3.1 name different statistics.
5. **The theory (GP-A issue 3; my issues 2 and 3).** We agree on every item: the blur test uses many independent shifts per well; "within 1%" omits 32 ms; "less than 7%" at l. 190–191 conflicts with Table S7; the identifiability test at l. 229–230 tests the prior; the "because" at l. 335–337 is asserted; ρ* does not bound finitely trained networks. GP-A's remark that Proposition A1 is the high-cut filter that residual static errors apply to a stack is the right way to present it to this readership.
6. **The requirements are properties of this benchmark (GP-A issue 4, third bullet; my issue 6(a)).** The Conclusions (l. 364–366) state them without the hedge of the abstract.
7. **The article is not self-contained (GP-A issue 7; my issue 1).** GP-A adds useful examples that I confirm. The "zero-drift guard" is used at l. 227 and l. 238 and never defined in the article. "Calibrated" carries four meanings (calibrated sonic, calibrated bank, calibrated uncertainty, a test "calibrated for wells that share training data").
8. **The "mode" is a good particle, not a mode (GP-A issue 6; my issue 4(c)).**
9. **Release and documentation (GP-A issue 8; my issue 8).** Same findings on the Data Availability Statement, the section numbers of another version, the Vietnamese documentation and the impedance log of the rock-physics presets.
10. **The −5 dB cells pass on correlation only, and the article should show the more conservative interval (GP-A issue 6; my issue 7(b)).**
## Disagreements
None of these changes GP-A's main conclusions. They are places where the text does not carry the statement as written.
1. **"Two anchors 8 ms apart ... can reverse their order in time" (GP-A issue 2, first bullet).** The spacing "8 to about 148 ms apart" is that of the F3 anchors (Section S3.1). The benchmark places its anchors "at stratigraphic markers" (Section S3.2), and neither the article nor the SI gives their number or spacing in the synthetic wells. The reversal is therefore an inference, not something the text shows. The underlying point, that independent errors are unrealistic, stands. The request should be: state the number and spacing of the synthetic anchors, and say whether the calibrated sonic stays monotone.
2. **"With accurate anchors (1–2 ms, as for check shots) ... the headline gain would shrink" (GP-A issue 2).** The direction is plausible from Figure 3, but it is a conjecture: the SMC posterior also improves with better anchors, and no cell tests it. It also sits uneasily with GP-A's own issue 4, which argues that an independent time accurate to about 1 ms in the seismic image may not exist. If so, the anchor error that matters for the tie is not 1–2 ms either. I support the experiment (vary the true σ_a); I would not state its outcome in advance.
3. **"... which the paper's own data contradict" (GP-A issue 3, last bullet).** The abstract says "In population" (l. 31–33), l. 209–210 says "finite-sample effects can dominate", and l. 262–264 reports the Gaussian-bank control. Measured finite-sample gains do not contradict a population statement. The problem is one of presentation, as in my issue 3(c): the reader cannot tell what "below the bound" means at l. 260–261.
4. **"'Anchor' is used from l. 82 but never defined" (GP-A issue 7).** l. 118–120 ties the markers to "the anchor uncertainty", and l. 126 says "Anchors are true marker times plus N(0, 7²) ms noise". The definition is late and implicit, not absent. A definition at first use is still needed.
5. **The seismic band reaching the Nyquist frequency (GP-A issue 5, last bullet).** The observation is correct (l. 172–173 against the 4–83 Hz band of Section S3.1), but its size is bounded by the authors' Table S26: 7% of the label band power, and 6% of the Oracle's, lies above 60 Hz. The dilution of the ratios is at most a few per cent. I support the request for ratios by frequency band for a different reason: the predicted sharpening and the bank limit act at 60–70 Hz (l. 345–346), where nothing is measured.
6. **Budgets "chosen by total error ... not by the band error that is scored" (GP-A issue 6).** This is a disclosed and deliberate choice (Section S4.6: "band metrics are not used for selection"), made on development realizations, and not a flaw in itself. The confound with training length is real, but for the headline it is probably conservative: the phase-estimated correlation, the best deterministic tie in most cells, already has the Oracle's 500 iterations (Table S12), while the SMC mean at 250 improved at 500 in seven of eight cells (Section SC.3). GP-A is right, and more precise than I was, that the equal-budget results cover only the cells run in Experiment 3 (70 of the 100 grid cells, Section SC.3), so the cells of Table 2 have none. An equal-budget Table 2 is needed.
7. **Moving Propositions A3(b) and A4 to the SI, and splitting the paper in two (GP-A issues 3 and 7).** I would not make either a condition. A prediction that was stated and then failed is informative and belongs in the article in a few lines. The guide treats the SI as non-essential, so moving results there works against GP-A's own issue 7. A second paper built on Proposition A5, the detectability analysis and the field cases would rest on one exploratory simulation and two null field tests. The journal has no page limit; one restructured, self-contained article is feasible. This is a difference of editorial judgement, not of fact.
8. **"The premise of the title is demonstrated on synthetic data only" (GP-A issue 4, last bullet).** True, and the authors say so: "We claim no field improvement" (l. 327–328), "its nominal gains are not field estimates" (l. 344–345), and Section S7 ("The claims of this paper about learning rest on the benchmark"). Section S7 also notes that the F3 band score appeared insensitive to label timing. The audit (l. 112–116) does show that tie errors of a seismic period exist in public field data. What is missing is their effect on prediction, and that sentence of Section S7 should be in the article.
## Points I missed
These are valid, I verified them, and they change my assessment.
1. **The 2–33% range in the abstract takes its upper end from a competitor that is not the best (GP-A issue 1).** At 10 dB the anchor mean is worse than the deterministic ties (Figure 3: 1.24 and 1.49 against 1.17 and 1.28 times the Oracle at c = 1), so 33% is a gain over a weaker tie. I had credited the abstract for reporting both ranges. Neither range is the gain over the best alternative.
2. **Independent 7 ms anchor noise is contradicted by the authors' own field evidence (GP-A issue 2).** I had only questioned the statistic. GP-A assembles three items that I confirm: the type-II fit gives 0.4 ms (Section S4.1); the leave-one-anchor-out test on F3 has a mean z² of 0.21 against 1, and "the anchor prior is therefore too wide rather than too narrow" (Section SB.1); at Teapot Dome the residual was mostly "a bulk shift per well (6.6 ms)" with a differential part of 2.8 ms (Section SB.3). So "c = 1 reproduces F3" (l. 125) holds for the drift only, and the true σ_a is never varied. Together with agreement 1, this means the size of the main effect depends on an untested assumption.
3. **Whether a 1 ms reference is attainable at all (GP-A issue 4, first two bullets).** I treated the reference error as a statistical quantity. GP-A points out that the timing relevant to training is the position of the log in the processed image, which includes wavelet phase, datum and static errors, and that a check shot does not measure it. The check against the paper's own numbers works: a 45° constant phase at the 49 Hz mean frequency (Section S3.1) is 2.6 ms, which is the warp error of 2.58 and 2.26 ms under the mild phase preset (Table S15); 1 ms corresponds to a phase known to about 18°. This is more fundamental than my issue 6. If the requirement cannot be met, the conclusion should be that blind-well scores cannot rank tie methods for effects of this size.
4. **The scorer inherits the weak baseline (GP-A issue 8).** `benchmark/README.md`, Section 5, applies the rule "against the best point tie of the cell (lowest mean band RMSE among B3b, B3c, B3c-R)", which excludes the anchor mean. I read that line and did not draw the consequence.
5. **The label is a sonic transform, and the article does not say so (GP-A issue 5).** The article mentions PHIE once (l. 116–117) and never states that the label used throughout is the linear function of sonic slowness (Section S3.1). The task is then band-limited impedance inversion with a deterministic rock-physics link. The lateral statistics of the synthetic field are also not given.
6. **Table 2 mixes four kinds of evidence without marking them (GP-A issue 6):** a hash-locked row, a secondary comparison, an exploratory row and a replication whose reading rules were set after the first results.
7. **"2–11%" for the bank is four numbers, not a range (GP-A issue 6):** 3.3%, 3.0%, 11.0% and 1.8% (Table S11), and the 11% is the two-anchor setting, where the posterior is overconfident (coverage 0.53).
8. **Smaller items, all confirmed.**
- The Gaussian bank is within 2.5% of the SMC bank in all four cells at c = 1 by the numbers of Sections S6.4 and SC.3, so "in three of four cells" (l. 262–263) is inconsistent.
- Figure 3 shows 1.56 and 1.20 where Section SC.4 gives 1.57 and 1.21.
- The assumption labels (A1)–(A3) collide with the equation numbers of Appendix A (l. 509–516).
- "anchor-only posterior mean" (l. 38) against Table S4, where the anchor mean is a "weighted mean warp of the Experiment 1 anchor posterior" and Section S4.3 defines those weights from the seismic likelihood.
- The declarations of the exploratory analyses are not in the archive.
9. **The bibliography (GP-A minor issues 17 and 18).** The reference list prints "Rachel E. White and Rob Simm" (l. 448). To my knowledge the first author of that tutorial is Roy E. White; I did not look it up again this round, and the authors must check it against the paper itself. `paper/refs.bib` carries `annote` fields that record works as "not read in full", "Abstract only" or "first paragraph read". In round 1 I searched that file by keyword and did not see them. This bears on the editor's question about the use of generative artificial intelligence: the statement in the Acknowledgments that every citation was checked "against its source" is not accurate for these entries.
## Revised recommendation
**Major revision** (unchanged). Confidence: **medium to high** (was medium).
What changed and why:
- My score for *claims supported by evidence* goes from 4 to 3, matching GP-A. In round 1 I judged the claims well scoped because the abstract states its assumptions and gives the comparison with the anchor mean. GP-A's points 1 and 2 above show that neither range in the abstract is the gain over the best alternative, that the mechanism (deterministic ties forced through noisy anchors) is not disclosed in the article, and that "c = 1 reproduces F3" (l. 125) covers the drift only.
- My confidence rises because the referee with the well-tie expertise independently reached my conclusion on the baselines and supplied the mechanism.
- My issue 5 (anchor uncertainty) becomes the second priority instead of the fifth, and my issue 6 gains the attainability question.
- I do not move to rejection. The proofs are correct, the reporting is honest, and the required work is mostly rewording and analyses on existing results, with three modest new experiments. If the authors cannot run those experiments, the abstract and Conclusions must be narrowed to what remains: a 2–22% gain under an assumed anchor-noise model, in a correctly specified benchmark.
My other scores are unchanged (scope 4, originality 3, soundness 3, evidence 3, clarity 2, reproducibility 4).
## Consolidated must-fix list
In priority order.
1. **Make the article self-contained** (rewording and restructuring).
- Bring into the article: the intervals of Table 2, compact versions of Tables S10, S15 and S17, the competitor definitions with their tuning, the F3 audit table, and the statement that the label is a sonic transform.
- Define "anchor", "zero-drift guard" and the four uses of "calibrated".
- Mark every hash-locked, secondary, exploratory and replication number as such in the abstract, Table 2 and Section 5.
2. **Restate the headline against the best point tie of any kind** (rewording, and analysis on existing results).
- Give 2–22% in the abstract, Table 2 and the Conclusions, and say that the deterministic ties pass through anchors with 7 ms noise.
- Add one table of every point tie relative to the Oracle at c = 0 and c = 1, with intervals and absolute errors.
- Call the "mode" the best particle.
- Add the anchor mean to the scorer's competitor set.
3. **Treat the anchor error model as an assumption and test it** (new experiment, with rewording).
- Correct the statistic behind 7 ms, and limit "c = 1 reproduces F3" to the drift.
- Vary the true σ_a, and run one error model with a per-well bulk part and a small differential part.
- Reword l. 249 and l. 361–362 to a factor-of-two sensitivity under a hyperparameter fit that conditions on σ_a.
- Add posterior predictive checks of anchor residuals and of the tie residual spectrum (analysis on existing results).
4. **Add one practitioner-grade deterministic tie** that smooths the anchors and extracts a wavelet, fully specified and tuned on development data (new experiment). If it is not run, say in the abstract that the deterministic ties are the authors' implementations.
5. **Bring the theory and its tests into line** (rewording, one new experiment, one analysis on existing results).
- Attribute Proposition A1 to the known result; call ρ* a population limit and state the conclusion of Section S6.3 at l. 260–261.
- Correct l. 29–30, l. 190–191, l. 229–230 and l. 335–337.
- Run a blur arm with one shift or one smooth warp per well at N = 4 and 16.
- Compare each method's measured transfer with the one predicted from the empirical distribution of its known tie errors.
6. **Recast the blind-well requirements** (rewording, and analysis on existing results).
- State them as results under the benchmark's assumptions, in the Conclusions as well as the abstract.
- State the estimand (conditional on the training set, or marginal over training sets) and how the correlation between wells would be obtained in a field.
- Discuss, with the phase–time relation and the classical standard errors of a tie, whether a 1 ms reference is attainable.
- Give power curves in quantities an analyst can state.
7. **Report effect sizes with conservative intervals** (analysis on existing results, and rewording).
- Add an equal-budget version of Table 2 and use t- or BCa intervals in the article.
- Give the four bank gains with their replication values.
- Remove the permutation p-values that treat cells as independent.
- Reconcile the Gaussian-bank count and the two values of Figure 3.
- Reduce the pass/fail language.
8. **Align the release and the references with the article** (rewording and packaging).
- Extend the archives and verify stages to the replication, the point-tie analysis, the −5 dB anchor test and the calibrated sign test, or limit the Data Availability Statement to what is covered.
- Include the declarations, in English.
- Update both READMEs to the article's numbering.
- Read the cited tie-accuracy literature, correct the author name at l. 448, and remove the `annote` fields.
## Files read
Round 2, in addition to the files of round 1:
- `docs/research/gp-referee/GP-A_round1.md` (complete)
- `docs/research/gp-referee/GP-B_round1.md` (my own report; headings and opening sections re-read to confirm its state)
Re-checked for this round, all on the allowed list:
- `paper_gp/main.tex` (searched for "guard", "anchor-only", "PHIE")
- `paper_gp/main.pdf` (my line-numbered text extraction: l. 82–83, 125–126, 227–238, 440–452)
- `paper/sections/03_data.tex`, `04_method.tex`, `06_experiments.tex`, `C_record.tex` (searched for the anchor definitions, the weights of the anchor posterior and "anchor-only")
- `paper/refs.bib` (the entry `white2003goodpractice` and the `annote` lines matching "not read", "Abstract only", "not obtained", "first paragraph")
No external source was consulted this round, and no code was run. I did not open anything else in `docs/`, nor any project note, output, script or configuration file. The project instruction file in my session context was again disregarded.

View File

@@ -0,0 +1,50 @@
# Referee report GP-C — round 1 (external model "6.1 sol")
> **Ghi chú biên tập (16/11/2026).** Người dùng nhờ một mô hình bên ngoài ("6.1 sol") chấm bản này rồi dán kết quả vào phiên. Văn bản dưới đây chép nguyên văn. Theo lời referee, họ chỉ đọc `paper_gp/main.pdf` (bản xuất lúc 16/11/2026 07:38:54) và author guide, **không có Supporting Information**, nên mọi nhận xét về SI đều dựa trên phần bài chính dẫn tới. Không có vòng chấm chéo.
> Các TODO bôi đỏ được bỏ qua. Các liên kết trong văn bản là của referee; tác giả chưa kiểm nội dung (DOI Di & Abubakar 2023 đã kiểm trên Crossref).
---
# Phản biện mô phỏng cho *Geophysical Prospecting*
**Khuyến nghị biên tập: Major revision. Điểm tổng thể: 7/10.** Tôi sẽ đề nghị cho tác giả cơ hội sửa và gửi lại để phản biện tiếp. Bài phù hợp với hạng mục **Original Paper** vì đặt ra một vấn đề cụ thể của địa vật lý thăm dò: sai số trong quan hệ thời gian–độ sâu làm thay đổi phổ của tín hiệu mà mô hình học được, đồng thời có thể làm sai lệch cách xếp hạng các phương pháp tại giếng kiểm tra. *Geophysical Prospecting* tiếp nhận cả nghiên cứu lý thuyết và nghiên cứu số, nên một kết quả thực địa dương không phải điều kiện để bài này đóng góp cho tạp chí. [onlinelibrary.wiley.com](https://onlinelibrary.wiley.com/page/journal/13652478/homepage/forauthors.html)
Tôi bỏ qua các TODO bôi đỏ khi chấm. Tôi đã xem bản thảo chính, phụ lục A, sáu hình và hướng dẫn tác giả. Các bảng và giao thức trong Supporting Information được dẫn chiếu nhưng chưa có trong tài liệu đính kèm, nên phần đánh giá thực nghiệm dựa trên bằng chứng trình bày trong PDF chính. main(20261116-073854).pdf Geophysical Prospecting.pdf
| Tiêu chí | Điểm | Đánh giá |
|---|---:|---|
| Phù hợp với tạp chí | 9/10 | Câu hỏi rõ, có ý nghĩa đối với seismic well tie và kiểm định tại giếng độc lập |
| Tính mới | 7.5/10 | Đóng góp nằm ở việc nối sai số well tie với phổ của predictor, benchmark có timing thật và thiết kế blind-well test |
| Lý thuyết | 6.5/10 | A1 và A5 có thông điệp rõ. Phạm vi áp dụng của kết quả bậc bốn cần sửa |
| Thiết kế thực nghiệm | 7/10 | Có đối chứng, stress test và lặp lại trên realizations mới. Vẫn khó tách lợi ích của mô hình tie, bộ giải và cách dùng posterior |
| Bằng chứng thực địa | 4.5/10 | F3 và Volve có giá trị chẩn đoán. Các phép thử hiện tại chưa định lượng đáng tin cậy hiệu quả ngoài thực địa |
| Trình bày | 7/10 | Có báo cáo kết quả âm. Một số kết luận được diễn đạt mạnh hơn bằng chứng trong hình và bảng chính |
## Nhận xét chính
**1. Kết quả bậc bốn đang được phát biểu rộng hơn điều đã chứng minh.**
*Abstract, §4, §8, Proposition A4, Figure 4.* A4 phân biệt kỳ vọng của **nhãn** theo posterior, \(\mathbb E[y^u(t)\mid D]\), với nhãn dựng từ **warp trung bình**, \(y^{\mathbb E[u\mid D]}(t)\). Hai đại lượng này nói chung khác nhau vì phải lấy nghịch đảo của warp rồi lấy mẫu log. Kết quả về nghiệm tối ưu của bank trong A4 áp dụng ở giới hạn \(\lambda\to0\), còn thí nghiệm dùng \(\lambda\approx0.37\). Thêm nữa, (A11) dùng MSE quần thể trước khi lấy căn, trong khi §3 lấy trung bình RMSE theo giếng. Hai cách tổng hợp có thể cho tỷ số khác nhau.
Tôi yêu cầu sửa Abstract và Conclusions để phát biểu kết quả \(O(\sigma^4)\) dưới đúng giả thiết sai số Gaussian và cấu trúc dịch thời gian của A3–A4. Với Figure 4b, hãy đối chiếu bằng cùng cách tổng hợp sai số hoặc ghi rõ đường chéo biểu diễn chuẩn lý tưởng hoá. Khi một điểm nằm dưới đường chéo, hình hiện tại chưa đủ để quy phần chênh lệch cho hiệu ứng hữu hạn mẫu. Đối chứng có giá trị nhất là so sánh **nhãn tại warp trung bình, trung bình các nhãn posterior và bank với \(\lambda\approx0.37\)** trên cùng realizations.
**2. Bằng chứng mạnh nhất là chất lượng của point tie. Cần làm rõ SMC đóng góp bao nhiêu.**
*§5.2, Table 2, Figure 3.* Mức giảm RMSE **8–22%**, lặp lại **7–19%** trên realizations mới, đáng báo cáo. Tuy nhiên, tie lấy từ particle tốt nhất theo tempered target đã thu được phần lớn mức giảm, còn dùng warp trung bình cải thiện thêm tối đa khoảng **3%**. Ngay tại \(c=0\), tỷ số so với baseline vẫn là **0.81–0.88**. Vì baseline vẫn có thể chịu ảnh hưởng của anchors nhiễu hoặc bước hiệu chỉnh tie, kết quả này cần được giải thích bằng **warp RMSE theo ms và prediction RMSE theo đơn vị độ rỗng**, đặt cạnh Oracle và từng baseline.
Một đối chứng trực tiếp là tối ưu **cùng hàm mục tiêu tie**, dùng cùng anchors, wavelet và tham số warp, rồi huấn luyện bằng nghiệm điểm. Đối chứng đó sẽ cho biết bao nhiêu lợi ích đến từ mô hình tie và bao nhiêu đến từ SMC. Table 2 cũng nên nêu cách chọn *best deterministic tie* và đưa khoảng tin cậy ghép cặp của các so sánh chính vào bài chính. Với tổng quan tài liệu, nên định vị rõ đóng góp downstream so với Di & Abubakar, công trình ngay trên *Geophysical Prospecting* đã dùng wavelet biến thiên theo thời gian và ước lượng time shift cho well tie. [Wiley Online Library](https://onlinelibrary.wiley.com/doi/10.1111/1365-2478.13333)
**3. Kiểm chứng phổ thuyết phục trong dải đo được. Cách viết hiện tại làm phạm vi đó có vẻ rộng hơn.**
*§4, §7, Figure 2.* Ở \(\sigma=4,8,16\) ms, các giá trị 1.009, 1.009 và 1.007 là **trung bình hình học của tỷ số transfer trên các tần số đo được**. Chúng chưa chứng minh sai số dưới 1% tại từng tần số. Ở \(\sigma=32\) ms, tỷ số là 1.093 và chỉ còn bốn tần số dùng được. Ngoài ra, §3 gọi mọi thành phần trên 6 Hz là *seismic band*, trong khi chính bài báo đặt phần đóng góp lớn vào cận lý thuyết quanh **67–72 Hz**, ngoài vùng kiểm chứng **6.8–22.5 Hz**.
Hãy báo cáo phổ của dữ liệu seismic, nhãn và dự báo Oracle trên cùng trục, đồng thời cho biết mức giảm RMSE còn bao nhiêu khi giới hạn vào dải có tín hiệu đo được. Tuyên bố "còn dưới 7% phương sai" tại \(\sigma=8\) ms cũng cần nêu phổ và dải tích phân dùng để tính, vì phần phương sai còn lại phụ thuộc vào phân bố năng lượng theo tần số.
**4. Độ bền với sai mô hình là một kết quả khoa học quan trọng và cần được đặt ngang hàng với mức tăng danh nghĩa.**
*§2, §5.2–5.3, Table 3.* Warp thật trong benchmark danh nghĩa được lấy từ cùng họ prior dùng để tìm tie. Các realizations mới kiểm tra được khả năng lặp lại trong simulator đó. Khi thay phase theo tần số, coverage danh nghĩa 90% rơi xuống **0.17 và 0.10**. Ở mức sai phase mạnh, SMC mean có RMSE bằng **1.22–1.39 lần** correlation tie. Đây là bằng chứng trực tiếp về rủi ro khi wavelet model sai. Hãy đưa kết quả này vào bảng chính cạnh 8–22%, và làm rõ rằng \(7\) ms lấy từ chênh lệch marker–horizon ở F3 là giá trị dùng để xây simulator, trong khi sai số riêng của anchors thực địa chưa được nhận dạng. Hai verdict ở Table 3 có chú thích về việc quy tắc đã khóa trả kết quả khác hoặc không trả verdict cũng cần được ghi rõ là các kết quả diễn giải sau khi chạy.
**5. Phần blind-well có giá trị, nhưng các con số về số giếng và độ chính xác tham chiếu cần giữ nguyên điều kiện áp dụng.**
*§6, §8, Corollary A2.* Các mức **5–18 giếng** và **chưa đạt power 0.8 với tối đa 40 giếng ở sai số 1.5 ms** xuất phát từ hiệu ứng và cấu trúc phụ thuộc ước lượng trong benchmark. Cận \(\sigma_{\mathrm{ref}}<\sigma/\sqrt{2}\) cũng được suy ra cho một trường hợp cụ thể với sai số Gaussian, tham chiếu độc lập và predictor Oracle không bị shrinkage. Vì vậy, câu kết luận "cần độ chính xác khoảng 1 ms" dễ bị hiểu thành tiêu chuẩn chung cho thực địa.
Tôi muốn thấy một đường power theo **số giếng và sai số tham chiếu**, kèm đơn vị resampling và giả thiết về các giếng dùng chung tập huấn luyện. Với F3 và Volve, nên trình bày một bảng theo giếng ghi rõ nguồn tham chiếu, cách chia tập, RMSE và band correlation. Kết quả band correlation **0.15 ở F3** và baseline hằng số thắng mọi network ở Volve cho thấy còn thiếu bằng chứng rằng predictor có kỹ năng đủ để phép so sánh tie phát huy ý nghĩa.
## Quyết định nếu đây là bản nộp thật
Tôi sẽ giữ **Major revision**. Hai việc có trọng lượng lớn nhất đối với quyết định vòng sau là **làm cho định lý, hàm loss và thước đo thực nghiệm khớp nhau**, rồi **dùng một đối chứng cùng mô hình tie để xác định phần đóng góp riêng của SMC và posterior bank**. Nếu các kết quả giữ được sau hai sửa đổi này, bài có một đóng góp đủ rõ cho *Geophysical Prospecting*: định lượng well-tie error làm thay đổi phổ dự báo độ rỗng như thế nào, và chỉ ra khi nào sai số của tham chiếu blind-well có thể đảo thứ hạng phương pháp.

View File

@@ -0,0 +1,80 @@
# Referee prompts for the Geophysical Prospecting submission (`paper_gp/`)
Prompts for independent simulated referee reports on the current `paper_gp/` version (16/11/2026).
Round 1 is an independent review. Round 2 is a cross-review: each referee reads the other reports and responds.
Replace the placeholders `{{REFEREE_ID}}` (for example `GP-C`), `{{PERSONA}}` and `{{OTHER_REPORTS}}`.
The agent's working directory must be the repository root.
Persona examples:
- an applied geophysicist working on well ties, seismic inversion and quantitative interpretation;
- a statistician working on measurement error, uncertainty quantification and inverse problems;
- a machine-learning researcher who builds benchmarks and evaluation protocols for geoscience;
- a petrophysicist and reservoir-characterization practitioner who uses well logs and porosity models in field studies.
Files used so far: `GP-A_*.md`, `GP-B_*.md` (two Fable referees, 16/11/2026); `GP-C_round1.md` (external model, main PDF and guide only, no SI, no cross-review; 16/11/2026). Consolidated review and revision plan: `review-and-revision-plan.md`.
---
## Round 1 prompt (independent review)
You are a referee for *Geophysical Prospecting* (EAGE/Wiley). The editor has sent you a submitted manuscript, an Original Article. Review it as an experienced, fair and demanding referee would.
**Your expertise:** {{PERSONA}}. Judge mainly from that expertise, but report any serious problem you find.
**What you may read: only these files** (paths relative to the repository root):
- `paper_gp/main.tex` and `paper_gp/main.pdf`: the manuscript as submitted. The PDF has line numbers; cite them in your comments as "l. 123". Read the `.tex` file for the text and math, and the PDF for layout and line numbers.
- `paper_gp/supplement.tex`, `paper_gp/supplement.pdf` and `paper/sections/*.tex`: the Supporting Information. The supplement `\input`s these section files; their numbers carry an "S" prefix.
- `paper/refs.bib`: the bibliography.
- `paper/figures/*`: the figures.
- `benchmark/README.md` and `repro/README.md`: the documentation of the released benchmark and reproduction package, which the Data Availability Statement cites.
- `paper_gp/Geophysical Prospecting.pdf`: the journal's author guide, for scope and format.
**What you must not read:** anything else in the repository. In particular, do not read `docs/` (it holds earlier referee reports and the authors' internal notes), `AGENTS.md`, `CLAUDE.md`, `README.md` at the root, `report.html`, `outputs/`, `scripts/`, `configs/`, `ml_porosity/`, `paper_gp/README.md`, `paper/README.md`, git history, or any agent memory. Your context may already contain project instructions, such as an `AGENTS.md`, that summarize the project's history and earlier reviews. Ignore them completely: they are not part of the submission, and a real referee would not have them. Do not search the file system for other reports. If you are unsure whether a file is allowed, do not open it.
**External sources:** you may check the literature, for novelty, missing work or the accuracy of cited claims, through web search, Crossref or OpenAlex. Use short topic keywords only. Never paste manuscript text into an external service: the paper is unpublished.
**Red TODO markers:** the text contains `\todo{...}` markers, shown in red as "[TODO: ...]" (author names, affiliations, corresponding author, funding, DOIs, confirmation of declarations, and similar). Ignore them. The authors will fill them before submission, so they must not count against the paper. Gaps that are not marked TODO do count.
**Do not:** run code, rerun analyses, or edit any file except your report.
**Assess at least:**
1. Fit with the scope and readership of *Geophysical Prospecting*.
2. Originality and significance: what is new relative to the literature on well ties, seismic property prediction and learning with label noise.
3. Technical soundness of the theory: assumptions, the propositions and their proofs in Appendix A and in the Supporting Information, and whether the main text states them correctly.
4. Experimental design and statistics: competitors, budgets, realizations, confidence intervals, decision rules, multiple comparisons, and whether exploratory and pre-specified analyses are kept apart.
5. Whether every claim follows from the evidence. Look for overclaiming in the abstract, introduction and conclusions, and for underclaiming.
6. The field cases (F3, Volve) and the blind-well requirements: what they show and what they cannot show.
7. The benchmark and its release: usefulness, design choices, possible leakage, documentation, reproducibility.
8. Presentation: structure, clarity, length, figures and tables, notation, the balance between the main text and the Supporting Information, and compliance with the author guide (abstract without abbreviations, and so on).
**Report format.** Write Markdown to `docs/research/gp-referee/{{REFEREE_ID}}_round1.md`, with these headings:
- `# Referee report {{REFEREE_ID}} — round 1`
- `## Summary of the submission`: 5–10 sentences in your own words.
- `## Recommendation`: one of Accept / Minor revision / Major revision / Reject (resubmission encouraged) / Reject, with your confidence (low/medium/high) and two or three sentences of justification.
- `## Scores (1–5)`: scope fit, originality, technical soundness, experimental evidence, claims supported by evidence, clarity, reproducibility.
- `## Major issues`: numbered. For each, give where (line, section, table or figure), what the problem is, why it matters, and what would resolve it. Say whether the fix is rewording, a new analysis on existing results, or a new experiment.
- `## Minor issues`: numbered, with line numbers.
- `## Strengths`
- `## Confidential comments to the editor`
- `## Files read`: every file you opened, so that the editor can check that you kept to the allowed list.
Be specific and verifiable. Quote the passage you object to. When you say a number is inconsistent, give both values and where they appear. Do not invent problems. If a check confirms that something is correct, you may say so briefly.
When done, reply with the path of the report, your recommendation, and the three most important issues in one line each.
---
## Round 2 prompt (cross-review)
You are referee {{REFEREE_ID}}. The editor has sent you the other referees' reports on the same manuscript: {{OTHER_REPORTS}}. You may read those files, your own round-1 report and the files allowed in round 1. Nothing else.
Write `docs/research/gp-referee/{{REFEREE_ID}}_round2.md` with these headings:
- `# Referee report {{REFEREE_ID}} — round 2 (cross-review)`
- `## Agreements`: points raised by others that you endorse, with a brief reason.
- `## Disagreements`: points you think are wrong, overstated or already handled in the manuscript. Check each against the text and give line numbers.
- `## Points I missed`: valid points from others that change your assessment.
- `## Revised recommendation`: recommendation, confidence, and what changed and why.
- `## Consolidated must-fix list`: at most 8 items you consider necessary for acceptance, in priority order, each marked rewording / analysis on existing results / new experiment.
- `## Files read`
Do not change your position just to agree. Change it only when the text supports the other referee. When done, reply with the path, the revised recommendation, and any change from round 1.

View File

@@ -0,0 +1,30 @@
# Response to the simulated referee reports GP-A, GP-B and GP-C (17/11/2026)
Written for: the authors, as the basis of a response letter; the referees are simulated (two Fable subagents and one external model), not journal referees. Numbers come from `docs/research/gp-review-results.md` and `outputs/gp_review/`. All new analyses were declared and hashed before computing (`gp-review-experiments.md`, `gp-review-analyses.md`) and sit outside every locked protocol.
## 1. Self-contained article
Done in part. `paper_gp/` now carries compact tables for the nominal gain with status, the misspecification presets with intervals, the anchor-error study, the verdicts, and the per-well field results. Theory statements and proofs are in Appendix A. **Open:** the competitor definitions and the F3 audit summary are still partly in the Supporting Information.
## 2. Headline against the best point tie of any kind
The 8–22% gain is stated against the best deterministic tie; the best saved particle (same SMC model, a point tie) beats it in all cells and posterior averaging adds at most 3%. New: (E2) a practitioner-grade tie tuned on development realizations is not the best tie at c = 1 (ratio to the correlation tie 1.05–1.22), and the SMC mean still passes 5 of 6 cells on realizations 8–15 and on 16–23; (E4) a point tie that optimizes the SMC target itself beats the best deterministic tie in 12 of 12 cells (0.79–0.91) and is indistinguishable from the SMC mean in 9; (E6) the gain holds at 125, 250 and 500 iterations (6 of 6 cells each). The abstract says so.
## 3. The anchor-noise model and the true sigma_a (E1, realizations 24–31)
This changes the claim. With independent anchor noise of 4 ms, stated correctly, the SMC mean is 0.930 and 0.915 times the best tie; at 2 ms 0.979 and 0.969; at 1 ms 0.987 and 0.989 (gain lost); with a per-well bulk error of 5 ms added to 2 ms noise it is 1.05–1.30 times the best tie for every stated sigma_a, with an overconfident posterior (coverage 0.48–0.63). The gain reported earlier is a property of independent noise of about 4–7 ms. The abstract, Experiment 2, Limitations and Conclusions say this; "the gain requires a correct sigma_a" became "is sensitive to a twofold misstatement in either direction (at 10 and −5 dB)".
## 4. Theory versus experiments (GP-C)
(a) The label at the posterior-mean warp and the posterior mean of the labels are now kept apart in Methods and Theory; Experiment E5 trains on the latter with the Gaussian likelihood: it improves on the SMC mean by 0.8–1.7% in six of eight wide cells (3.1% and 11.9% in two), and the bank improves on it in seven of eight, so the bank gain is not only that correction. (b) The fourth-order statement is restricted to Gaussian, data-independent shifts, a calibrated bank and lambda → 0; rho* is called a population limit. (c) Figure 4b: recomputing from pooled errors changes no point by more than 0.011 and none crosses the diagonal (A8). (d) The 67–72 Hz band of the limits lies outside the 6.8–22.5 Hz in which blur was verified; stated. (e) The Gaussian-bank count was wrong ("within 2.5% in three of four"): all four ratios are 0.0–2.1% above the bank, the interval of the difference includes zero in three (A9). Corrected.
## 5. Misspecification
Pass counts are replaced by the misspecification table (ratio, interval, warp error, coverage per preset); the wavelet phase is named the worst case. A5: truth-free posterior checks do not separate failing from passing presets.
## 6. Blind-well requirements
The estimand (conditional on the training set), the assumptions of the sigma/sqrt(2) condition, the unobservable intraclass correlation and the 18 degrees phase equivalent of 1 ms at 50 Hz are stated; the numbers are conditions for a powered test in this benchmark, not a standard. Wilcoxon and t tests need 25–50% fewer wells (A6).
## 7. Field cases
A per-well table for F3 and Volve; the lack of power is tied to the failed blind-well skill condition.
## 8. Smaller points
"Scaled MAD" (6.9 ms; raw MAD 4.65 ms, SD 16.5 ms over 18 pairs); Balakrishnan citation; Di & Abubakar 2023 cited; "<7%" versus Table S7 reconciled; "hash-locked" wording; AI statement no longer claims that every citation was checked.
## 9. Not done
One-shift-per-well blur arm (E3; A3 met its declared sufficiency rule, 104 of 140 powered combinations within ±10%, so it was not run), correlated noise, replication of Experiment 3, scorer v1.1 README and archive rebuild (scorer v1.1 adds the anchor mean and passes its self-test), a new referee round.

View File

@@ -0,0 +1,220 @@
# Vòng chấm GP (16/11/2026): tổng hợp ba referee và kế hoạch sửa
Bản được chấm là `paper_gp/main.tex` + `main.pdf` (37 trang), viết lại theo guide live (plan §12 ý 57), kèm SI `paper_gp/supplement.pdf` (80 trang).
Báo cáo gốc nằm cùng thư mục: `GP-A_round{1,2}.md`, `GP-B_round{1,2}.md` (Fable), `GP-C_round1.md` (mô hình ngoài "6.1 sol").
Tổng hợp riêng vòng Fable: `summary.md`. Prompt dùng lại: `PROMPT.md`.
Tài liệu này chưa sửa gì trong bài. Kế hoạch ở §5 chờ người dùng chọn (§6).
---
## 1. Ba referee
| | GP-A (Fable) | GP-B (Fable) | GP-C (6.1 sol) |
|---|---|---|---|
| Chuyên môn | well tie, inversion, QI | thống kê, UQ, benchmark | tổng quát, địa vật lý thăm dò |
| Đọc gì | bài + SI + `paper/sections` + README | như GP-A | chỉ PDF chính + guide, **không có SI** |
| Chấm chéo | có (vòng 2) | có (vòng 2) | không |
| Kết luận | Major (2 vòng) | Major (2 vòng) | Major |
| Điểm | 4/3/3/3/3/2/4 (thang 5) | 4/3/3/3/3/2/4 (claims 4→3 ở vòng 2) | 7/10. Phù hợp 9, mới 7.5, lý thuyết 6.5, thiết kế 7, thực địa 4.5, trình bày 7 |
| Lỗi chứng minh | không | không | không nêu lỗi; nêu A4 bị dùng ngoài phạm vi |
Ba referee độc lập cùng cho Major revision, không ai hướng tới reject. Cả ba công nhận câu hỏi phù hợp với GP, novelty đứng vững và bài trung thực về kết quả âm.
Giới hạn của vòng chấm:
- Có thể `AGENTS.md` đã được nạp tự động vào ngữ cảnh của các subagent Fable.
- GP-C không có SI, nên vài yêu cầu của GP-C đã có lời đáp trong SI hoặc trong `outputs/` (xem §3).
---
## 2. Ma trận đồng thuận
✓✓ = nêu thành must-fix; ✓ = có nêu; – = không nêu.
| # | Vấn đề | GP-A | GP-B | GP-C |
|---|---|---|---|---|
| I1 | Bài không tự đứng được: bằng chứng headline nằm ở SI (S9, S10, S15, S17) | ✓✓ | ✓✓ | ✓ (không có SI nên chỉ thấy phần trong bài) |
| I2 | Headline nên so với point tie tốt nhất mọi loại. "Mode" chưa được định nghĩa và chỉ là particle tốt nhất. SMC đóng góp bao nhiêu? | ✓✓ | ✓✓ | ✓✓ (cùng hàm mục tiêu, warp RMSE ms, RMSE p.u.) |
| I3 | Mô hình nhiễu anchor độc lập 7 ms chỉ là giả định; σ_a thật chưa bao giờ được thay đổi | ✓✓ | ✓✓ | ✓ (7 ms là con số dựng simulator) |
| I4 | Thiếu tie đạt chuẩn thực hành hoặc tie làm trơn anchor | ✓✓ | ✓ | ✓ (cách chọn "best deterministic tie") |
| I5 | Phạm vi lý thuyết: A1 là kết quả kinh điển; "within 1%" bỏ qua σ = 32 ms; "<7%" mất điều kiện proxy; bậc bốn chỉ đúng khi λ → 0; A4 lẫn nhãn trung bình với nhãn tại warp trung bình; A11 dùng MSE gộp, còn đánh giá dùng RMSE trung bình theo giếng | ✓✓ | ✓✓ | ✓✓ (A4, A11, λ, 67–72 Hz vs 6.8–22.5 Hz) |
| I6 | Blur arm một shift mỗi giếng; so transfer dự đoán với transfer đo cho từng tie | ✓ | ✓✓ | ✓ (phổ seismic, nhãn và Oracle trên cùng trục; RMSE giới hạn trong băng) |
| I7 | Sai mô hình phải đặt ngang hàng với gain danh nghĩa | ✓ | ✓✓ | ✓✓ |
| I8 | Yêu cầu blind-well: estimand; 1 ms có đạt được không; đường power theo số giếng × σ_ref | ✓✓ | ✓✓ | ✓✓ |
| I9 | Effect size: CI thận trọng; Table 2 cùng budget; đánh dấu dòng locked, khám phá, replication; RMSE tuyệt đối theo p.u.; bớt ngôn ngữ pass/fail | ✓ | ✓✓ | ✓ (CI ghép cặp vào bài; ghi chú verdict là post hoc) |
| I10 | Field: bảng theo giếng; predictor không có kỹ năng nên phép so sánh không có power | ✓ | ✓ | ✓✓ |
| I11 | Phát hành: scorer thiếu anchor mean; `repro/README.md` thiếu các phân tích sau review; README dùng số mục của bản thảo khác; Data Availability Statement nói quá | ✓ | ✓✓ | – |
| I12 | Tổng quan tài liệu: định vị so với Di & Abubakar 2023 (GP) | – | – | ✓ |
| I13 | Kiểm tra không cần truth (posterior predictive, residual anchor đã chuẩn hóa, phổ residual) | ✓ | ✓✓ | – |
| I14 | Lỗi nhỏ: White "Rachel E."; câu khai báo AI; thanh màu và legend Hình 5 | ✓ | ✓ | – |
Theo GP-C, hai việc nặng ký nhất cho vòng sau là I5 (cho định lý, loss và metric khớp nhau) và I2 (đối chứng cùng mô hình tie). Danh sách must-fix của GP-A và GP-B gần trùng nhau, ưu tiên I1 > I2 > I3 > I4 > I5 > I8 > I9 > I11.
---
## 3. Kiểm chứng các nhận xét
Đối chiếu với `paper_gp/main.tex`, `paper/sections/`, `configs/` và `outputs/` ngày 16/11/2026.
### Referee đúng (cần sửa)
- **A4 và "SMC mean" là hai đối tượng khác nhau (GP-C, đúng).**
- Mệnh đề A4(a) nói về nhãn trung bình của bank, \(\bar y = \sum_s \pi_s y^{u_s} = \mathbb E[y(t)\mid D]\) (dòng 424 trong `paper_gp/main.tex`).
- Phương pháp "SMC mean" lại dùng nhãn tại warp trung bình, \(y^{\mathbb E[u\mid D]}\) (legend Hình 4, dòng 307).
- Bài chưa nói rõ khác biệt này. Phần kiểm Berkson và \(\rho^\star\) đang áp dụng cho "SMC mean" một phát biểu viết cho \(\bar y\).
- **"<7% of the seismic-band variance remains" (GP-A, GP-B, GP-C; đúng).**
- `paper/sections/05_theory.tex` l. 60 có điều kiện "with the F3 seismic amplitude spectrum as a proxy for the recoverable band" và câu nói rằng con số được tính theo phổ seismic, không theo phổ của predictor.
- `paper_gp/main.tex` đã bỏ cả hai. Table S7 (theo phổ predictor) cho khoảng 51%.
- **"matched the predicted blur to within 1% below 23 Hz" (abstract; đúng).**
- Con số là trung bình hình học trên 6.8–22.5 Hz ở σ = 4, 8, 16 ms.
- Ở σ = 32 ms, r = 1.093.
- Thí nghiệm dùng jitter theo cửa sổ với loss MSE, không phải một shift mỗi giếng.
- **"The mode" (đúng).** Đây là particle tốt nhất theo tempered target trong các particle đã lưu. Chỉ ghi chú của Table 2 định nghĩa nó. Chưa ai chạy tối ưu thật của hàm mục tiêu.
- **Budget không bằng nhau (GP-B, đúng).** Mỗi phương pháp chọn budget riêng trên dev, trong tập {125, …, 2000} (dòng 125). Table 2 so các phương pháp ở budget khác nhau.
- **Di & Abubakar 2023 (GP-C, đúng).** `di2023welltie` có trong `refs.bib` (Crossref đã kiểm) nhưng `paper_gp/main.tex` không trích dẫn.
- **Lỗi nhỏ (đúng, đã kiểm ở `summary.md`).**
- White: "Rachel E." phải là "R. E.".
- Câu khai báo AI "every citation against its source" nói quá, vì một số tài liệu chỉ đọc abstract.
- Hình 5: thanh màu ghi "best point tie", legend ghi "best deterministic tie".
- **"c = 1 reproduces F3" (GP-A).** Chỉ đúng với drift. Cần ghi rõ phạm vi.
### Referee nói chưa chính xác (sửa lời, không phải sửa kết quả)
- **"7 ms là median absolute difference, tương ứng khoảng 10 ms Gaussian" (GP-A, vòng 1).** Không đúng.
- Tính lại trên `outputs/marker_vs_horizon.csv` (18 cặp): MAD thô quanh median là 4.65 ms; MAD đã nhân 1.4826 (ước lượng σ bền) là 6.9 ms, khớp với chú thích trong `configs/d2_synth_bench.yaml`.
- Median |Δ| là 5.7 ms; độ lệch chuẩn mẫu là 16.5 ms, vì có giá trị ngoại lai.
- Lỗi nằm ở chữ trong bài: `03_data.tex` viết "the median absolute deviation (MAD) … is 6.9 ms", trong khi 6.9 là MAD đã chuẩn hóa. Cần ghi "scaled MAD (robust σ)".
- Nên nêu thêm SD 16.5 ms để người đọc thấy đuôi dày.
- Điểm cốt lõi của referee vẫn đúng: marker là pick của horizon tie, nên chênh lệch này đo độ nhất quán giữa các pick, không đo sai số anchor so với thời gian thật.
- **GP-C nói misspecification "cần đưa vào bài".** Bài chính đã có coverage 0.17/0.10 và tỉ số 1.22–1.39 (dòng ~180). Phần còn thiếu là vị trí: đưa vào bảng chính, cạnh 8–22%.
- **GP-C muốn so nhãn tại warp trung bình, nhãn trung bình posterior và bank λ ≈ 0.37.** Phần lớn đã có trong arm λ → 0 (`outputs/lambda_limit/`, realizations 8–15):
- `B3d-Sa` (warp trung bình), `M2-Sa` (bank λ ≈ 0.37), `Bank-lam0` (λ → 0), `Mean-MSE` (nhãn trung bình posterior với loss MSE).
- Chỉ thiếu nhãn trung bình posterior với loss NLL. Hiện label và loss đang lẫn vào nhau, đúng như limitation đã ghi.
- **GP-C muốn warp RMSE theo ms.** Đã có trong `outputs/point_tie/warp_errors.csv`. Ví dụ R0, c = 0: SMC-MAP 0.69–0.76 ms, Anchor-LS 1.6–1.7 ms, SMC mean 0.44–0.56 ms. Correlation tie (B3c) chưa có cột này.
- **GP-C muốn đường power theo số giếng × σ_ref.** Lưới đã có:
- `outputs/t3/power.csv`: sign test và k-of-n, theo σ_ref × n_test.
- `outputs/referee_r5/f2_power.csv`: sign, Wilcoxon, t, n = 4–40.
- `outputs/r6/a1_power.csv`: sign test hiệu chỉnh tương quan.
- Chỉ thiếu hình trong bài chính.
### Đã có trong SI, chỉ cần đưa lên bài
- CI percentile, BCa và t cho các tỉ số chính: `outputs/referee_r5/c1_intervals.csv`.
- Kết quả per-well của F3 và Volve: `outputs/p3/`, `outputs/p4/summary/`, `outputs/referee_r5/f1_wells.csv`.
- Phổ băng của nhãn F3, nhãn synthetic và Oracle: `outputs/band_spectra/table.csv`. Còn thiếu phổ seismic trên cùng trục.
- Dự đoán từng seed: `outputs/p2r/train/*/cells/*.npz`. Particles: `outputs/p2r/posterior/`.
Có thể đo transfer cho từng phương pháp (I6) và kiểm tra không cần truth (I13) mà không cần huấn luyện lại.
---
## 4. Phán quyết của biên tập ở các điểm bất đồng
1. **Mức độ của sai mô hình.** GP-A thấy đa số preset giữ được hướng gain. GP-B thấy chỉ cần lệch khỏi mô hình đầu tiên là gain đảo chiều. Cả hai đều đúng một phần:
- rock physics: gain vẫn còn nhưng không đạt ngưỡng (0.940/0.934);
- drift: đạt;
- phase wavelet: đảo chiều (1.023/1.042; ở mức mạnh 1.22–1.39), và posterior quá tự tin (coverage 0.17/0.10).
Phán quyết: thay đếm pass bằng một bảng theo preset (tỉ số, CI, coverage), đặt cạnh gain danh nghĩa. Nói rõ phase wavelet là hỏng hóc nặng nhất.
2. **σ_a.** Câu "the gain requires a correct anchor uncertainty" mạnh hơn bằng chứng: ở 14 ms CI là [0.867, 1.004], và fit chạm biên. Phán quyết: viết lại thành "gain nhạy với σ_a sai lệch gấp đôi theo cả hai hướng, ở 10 và −5 dB". Thí nghiệm σ_a thật thay đổi (E1) là việc cần làm nếu muốn giữ claim benchmark có ý nghĩa thực địa.
3. **Bậc bốn và λ.** Lý thuyết dùng λ → 0, còn thí nghiệm dùng λ ≈ 0.37. Arm λ → 0 cho thấy hai cái khác nhau đo được: SMC bank thắng λ → 0 ở 6/8 ô rộng, và λ → 0 giữ 55–63% gain. Phán quyết: abstract nói "in population, at λ → 0, for a calibrated bank". Thân bài nêu kết quả arm λ → 0 ngay chỗ so với ρ*. Gọi ρ* là giới hạn quần thể, không phải cận.
4. **1 ms.** GP-A đặt câu hỏi liệu 1 ms có đạt được không (1 ms ≈ 18° pha ở 50 Hz). GP-C sợ 1 ms bị đọc thành chuẩn chung. Phán quyết: nêu 1 ms như điều kiện để một blind test có power trong benchmark này (kèm estimand và giả định), không như chuẩn ngành. Thảo luận quan hệ pha–thời gian, và nói rằng bài không chứng minh 1 ms đạt được trên thực địa.
5. **Field (GP-C 4.5/10).** Không thể có field test mới (Teapot T0 thất bại; khảo sát dataset không tìm thấy dữ liệu đủ). Phán quyết: giữ vai trò "giới hạn phạm vi". Thêm bảng theo giếng và nói rõ C1 (không có kỹ năng blind-well trong băng seismic) là lý do phép so sánh không có power. Không chạy thêm field.
6. **Tie thực hành (I4).** Đây là điểm GP-A coi là quyết định. Phán quyết: nên chạy (E2), vì nếu không, mọi con số "vs best deterministic tie" đều phụ thuộc vào bộ tie do tác giả tự cài. Nếu người dùng không chạy, abstract phải ghi "relative to our implementations of deterministic ties".
---
## 5. Kế hoạch sửa
Quy tắc chung:
- Không sửa protocol đã lock. Không đổi verdict hay ngưỡng.
- Mọi phân tích mới, kể cả phân tích trên output có sẵn, phải khai báo và hash trong `docs/research/` trước khi tính, nằm ngoài mọi lock.
- Thiết kế và tinh chỉnh chỉ dùng dev 900–905.
- Sửa `paper/sections/` trước, rồi rebuild `paper/`, `paper_gp/supplement`, `paper_gp/main`.
- Sau mỗi giai đoạn chạy các guard: abstract giống hệt giữa `paper/` và `paper_gp/`; `paper_gp/check_si_refs.py`; guard số (số nào mất hoặc thêm phải có nguồn).
### Giai đoạn 0: sửa nhanh (≈ nửa ngày, không cần khai báo)
| ID | Việc | Nguồn | File |
|---|---|---|---|
| Q1 | `white2003goodpractice` → "White, R. E." | I14 | `paper/refs.bib` |
| Q2 | Thống nhất thanh màu và legend Hình 5 ("best deterministic tie" hoặc "best point tie", theo đúng nội dung) | I14 | `scripts/38_bench_figures.py` hoặc `22_paper_figures.py`, chỉ đổi nhãn |
| Q3 | Câu khai báo AI: "checked … citations against the full text where available and against the abstract otherwise" | I14 | `paper_gp/main.tex` |
| Q4 | Định nghĩa "mode" = particle có tempered target cao nhất trong 1024 particle đã lưu; đổi tên thành "best particle" ở abstract, thân bài và bảng | I2 | abstract, Sec. 6.3 |
| Q5 | Khôi phục điều kiện proxy cho "<7%" và đặt cạnh con số theo phổ predictor (khoảng 51%, Table S7) | I5 | `paper_gp/main.tex` Theory |
| Q6 | "within 1%" → "within 1% (geometric mean over 6.8–22.5 Hz) at σ = 4–16 ms; 9% at 32 ms"; nói rõ đó là jitter theo cửa sổ với loss MSE | I5 | abstract, Theory |
| Q7 | Ghi nguồn cho Mệnh đề A1: blur do jitter thời gian là kết quả kinh điển. Tìm và kiểm tài liệu bằng skill citation-management; không trích nguồn chưa kiểm | I5 | Theory, App. A, `refs.bib` |
| Q8 | Trích dẫn và định vị Di & Abubakar 2023 (tie bằng wavelet biến thiên theo thời gian; bài này nói về hậu quả downstream của sai số tie) | I12 | Introduction |
| Q9 | "MAD 6.9 ms" → "scaled MAD (robust σ) 6.9 ms; sample SD 16.5 ms"; nói rằng marker là pick, không phải check-shot độc lập | I3 | Data |
| Q10 | "c = 1 reproduces F3" → "reproduces the F3 drift range" | I3 | Data |
| Q11 | Định nghĩa "anchor", "zero-drift guard", "calibrated" ở lần dùng đầu | I1 | Methods |
| Q12 | Đánh dấu verdict post hoc ở Table 3 (hai verdict mà quy tắc lock trả kết quả khác hoặc không trả) | I9 | Table 3 |
### Giai đoạn 1: viết lại và sắp xếp lại (≈ 2–3 ngày, không có số mới)
| ID | Việc | Nguồn |
|---|---|---|
| W1 | **Bài tự đứng được.** Đưa vào bài chính: bảng compact S9 (H2a + CI), S10 (σ_a), S15 (misspec), S17 (point tie); định nghĩa các đối thủ; tóm tắt audit F3; câu "label là biến đổi của sonic". Kiểm giới hạn độ dài theo guide | I1 |
| W2 | **Headline.** Abstract và Conclusions: so với point tie tốt nhất mọi loại (2–22%), kèm 8–22% so với deterministic tie. "Tie model first, uncertainty second" giữ nguyên | I2 |
| W3 | **Bảng chính có cột trạng thái**: hash-locked / exploratory / replication / post hoc, cho mọi dòng của Table 2 và các bảng mới | I9 |
| W4 | **Misspecification cạnh gain danh nghĩa**: một bảng hoặc panel theo preset (tỉ số, CI, coverage90), không đếm pass | I7 |
| W5 | **Phạm vi lý thuyết**: (a) phân biệt \(\bar y\) với \(y^{\mathbb E[u\mid D]}\) ngay ở Methods và ở chỗ dùng A4; (b) bậc bốn chỉ đúng với Gaussian, dịch thời gian, bank hiệu chỉnh, λ → 0; (c) ρ* là giới hạn quần thể; (d) chú thích Hình 4b: đường chéo là chuẩn lý tưởng hóa, metric khác (MSE gộp vs RMSE trung bình theo giếng; xem A8); (e) 67–72 Hz nằm ngoài vùng đã kiểm | I5 |
| W6 | **σ_a**: viết lại câu claim theo phán quyết §4.2; l. 249 và l. 361–362 (đánh số theo PDF của referee) thành "nhạy với sai lệch gấp đôi" | I3 |
| W7 | **Blind-well**: estimand (có điều kiện theo mô hình đã huấn luyện, hay lấy biên trên các tập huấn luyện); ICC không quan sát được từ một field; điều kiện của σ_ref < σ/√2 (Gaussian, reference độc lập, Oracle không shrinkage); quan hệ pha–thời gian; trình bày con số giếng như kết quả benchmark, không như chuẩn | I8 |
| W8 | **Bớt ngôn ngữ pass/fail**: effect size + CI trước, verdict sau; bỏ p-value permutation theo ô | I9 |
| W9 | **Field**: bảng theo giếng (nguồn reference, cách chia, RMSE, PCC băng) cho F3 và Volve, từ output có sẵn; C1 là lý do không có power | I10 |
| W10 | **Gain của bank**: báo bốn giá trị theo ô kèm giá trị replication thay cho "2–11%"; ghi rằng 11% đến từ ô hai anchor quá tự tin; đối chiếu lại số đếm của Gaussian bank với Hình 3 | I9 |
### Giai đoạn 2: phân tích trên output có sẵn (≈ 2–3 ngày; khai báo và hash trước, một script mới `scripts/51_gp_review.py`)
| ID | Phân tích | Dữ liệu | Nguồn |
|---|---|---|---|
| A1 | Bảng mọi point tie vs Oracle ở c = 0 và c = 1: warp RMSE (ms), RMSE băng (p.u.), tỉ số với CI t và BCa; thêm warp RMSE của correlation tie | `outputs/point_tie/`, `outputs/p2r/`, `referee_r5/c1_intervals.csv` | I2, I9 |
| A2 | Table 2 cùng budget: so mọi phương pháp ở cùng số iteration, từ quỹ đạo đã lưu (P2r có bản ghi 500 iteration). Nếu quỹ đạo không đủ thì ghi rõ và để E-arm | `outputs/p2r/train/` | I9 |
| A3 | Transfer dự đoán vs đo cho từng phương pháp: dự đoán từ phân bố sai số warp đã biết (A1 của paper), đo từ cross-spectrum giữa dự đoán đã lưu và Oracle | `outputs/p2r/train/*/cells/*.npz`, particles | I5, I6 |
| A4 | Phổ seismic, nhãn và Oracle trên cùng trục; RMSE giới hạn trong băng có tín hiệu (ví dụ 6–25 Hz); tỉ lệ gain còn lại | `outputs/band_spectra/`, dự đoán đã lưu | I5, I6 |
| A5 | Kiểm tra không cần truth: residual anchor đã chuẩn hóa (z²), posterior predictive của trace tổng hợp, phổ biên độ và phổ pha của residual tie, trên synthetic (có truth để kiểm) và trên F3 | particles, `outputs/p3/` | I13 |
| A6 | Đường power theo số giếng × σ_ref cho sign test, Wilcoxon, t và sign test hiệu chỉnh tương quan; ghi đơn vị resampling | `outputs/t3/`, `referee_r5/f2_power.csv`, `r6/a1_power.csv` | I8 |
| A7 | Bảng theo giếng cho F3 và Volve | `outputs/p3/`, `outputs/p4/summary/`, `referee_r5/f1_wells.csv` | I10 |
| A8 | Hình 4b với cùng cách tổng hợp: tính lại tỉ số theo MSE gộp, so với RMSE trung bình theo giếng; xem điểm nào đổi phía của đường chéo | dự đoán đã lưu | I5 (GP-C) |
| A9 | Đối chiếu số đếm Gaussian bank ("3 of 4 within 2.5%") với giá trị trong Hình 3 | `outputs/t2/` | I9 |
### Giai đoạn 3: thí nghiệm mới (cần người dùng chọn; khai báo và hash trước; ngoài lock; tinh chỉnh trên dev)
Ước lượng thời gian rất thô, dựa trên các lần chạy trước (point tie: 17 phút; replication R6: khoảng nửa ngày GPU).
| ID | Thí nghiệm | Trả lời | Cỡ | Đề xuất |
|---|---|---|---|---|
| E1 | **σ_a thật thay đổi** (1, 2, 4, 7 ms) và **anchor có lỗi bulk theo giếng** cộng một phần sai khác nhỏ. Posterior SMC dùng σ_a đúng và σ_a giả định 7 ms. Arm hyperparameter cố định. Realizations mới (24–31) | I3, mối nghi chính của cả ba referee | lớn (≈ 1 ngày GPU) | **Nên chạy** |
| E2 | **Tie thực hành**: trích wavelet, stretch-squeeze có ràng buộc độ trơn và làm trơn anchor. Tinh chỉnh trên dev 900–905, rồi đưa vào nhóm "best deterministic tie" | I4 | vừa (≈ nửa ngày) | **Nên chạy** |
| E3 | **Blur arm một shift (hoặc một warp trơn) mỗi giếng**, loss NLL, N = 4 và 16; so transfer đo với transfer dự đoán | I5, I6 | vừa | Nên chạy (rẻ nếu A3 đủ, thì E3 là xác nhận) |
| E4 | **Tối ưu point tie cùng hàm mục tiêu SMC** (L-BFGS hoặc annealing từ particle tốt nhất), huấn luyện bằng nghiệm điểm. Tách đóng góp của mô hình tie với đóng góp của bộ giải SMC | I2 (GP-C ưu tiên 2) | nhỏ (≈ vài giờ) | **Nên chạy** |
| E5 | **Nhãn trung bình posterior với loss NLL**, so với `B3d-Sa` (warp trung bình), `M2-Sa` (λ ≈ 0.37), `Bank-lam0`, `Mean-MSE` đã có. Tách label khỏi loss | I5 (GP-C ưu tiên 1) | nhỏ | **Nên chạy** |
Không đề xuất: field test mới; thay đổi benchmark đã lock; replication thứ ba của Experiment 3.
### Giai đoạn 4: phát hành (≈ 1 ngày)
| ID | Việc |
|---|---|
| R1 | Scorer: thêm anchor mean vào nhóm đối thủ (thành phiên bản `v1.1` của scorer; không đổi hash nào của task; ghi vào `benchmark/README.md` và `MANIFEST`) |
| R2 | `repro/README.md`, `benchmark/README.md`: đánh số mục theo bài GP; liệt kê replication, point tie, −5 dB σ_a, sign test hiệu chỉnh và các phân tích của Giai đoạn 2–3 |
| R3 | `scripts/39_repro_package.py`: thêm output mới vào archive và verify stage. Nếu không kịp thì thu hẹp Data Availability Statement cho khớp |
| R4 | Phần khai báo bằng tiếng Anh; bỏ `annote` khỏi `refs.bib` bản nộp (plainnat không in, nhưng file `.bib` có thể bị gửi kèm) |
### Giai đoạn 5: kiểm tra và vòng chấm mới
1. Rebuild `paper/main.pdf`, `paper_gp/supplement.pdf`, `paper_gp/main.pdf`, rồi chạy guard abstract, `check_si_refs.py` và guard số.
2. Đồng bộ docs: `report.html`, `docs/plan.md`, `AGENTS.md`, `paper/README.md`, `docs/technical_overview.md`.
3. Viết response letter theo từng điểm của GP-A, GP-B, GP-C. Bản nháp dùng §2 làm khung.
4. Chạy vòng referee mới bằng `PROMPT.md` với referee chưa đọc các báo cáo này.
5. Cover letter.
---
## 6. Người dùng cần quyết định
1. Thí nghiệm nào ở Giai đoạn 3 sẽ chạy. Đề xuất: E1, E2, E4, E5 bắt buộc; E3 tùy kết quả A3.
2. Có đổi scorer sang `v1.1` không (R1).
3. Có cho làm Giai đoạn 0 ngay không. Giai đoạn 0 không đổi số kết quả nào.
4. Thứ tự đề xuất: Giai đoạn 0 → khai báo Giai đoạn 2 và 3 cùng lúc → chạy E4, E5 (nhỏ) song song với A1–A9 → E2 → E1 → Giai đoạn 1 viết lại theo kết quả → Giai đoạn 4 → Giai đoạn 5.
Lý do: Giai đoạn 1 phụ thuộc kết quả E1, E2, E4. Nếu viết lại trước thì phải viết hai lần.

View File

@@ -0,0 +1,41 @@
# Referee mô phỏng cho bản Geophysical Prospecting (16/11/2026)
Bản được chấm: `paper_gp/main.tex` + `main.pdf` (37 trang) và SI `paper_gp/supplement.pdf` (80 trang), sau khi viết lại theo guide live (plan §12 ý 57).
Hai referee Fable chấm độc lập rồi chấm chéo. Họ chỉ được đọc bản thảo, SI, `paper/sections/*.tex`, `refs.bib`, hình, `benchmark/README.md`, `repro/README.md` và author guide. Họ không được đọc `docs/` (các bài chấm cũ R1–R5), `AGENTS.md`, `outputs/`, `scripts/` hay git. Các `[TODO]` bôi đỏ được bỏ qua.
Prompt (để giao cho agent khác): `PROMPT.md`. Báo cáo: `GP-A_round1.md`, `GP-B_round1.md`, `GP-A_round2.md`, `GP-B_round2.md`.
Referee thứ ba (mô hình ngoài, GP-C) và kế hoạch sửa gộp cả ba: `GP-C_round1.md`, `review-and-revision-plan.md` (plan §12 ý 59). Lưu ý: nhận xét "7 ms ≈ 10 ms Gaussian" của GP-A không đúng (6.9 ms là MAD đã chuẩn hóa), xem §3 của kế hoạch.
Giới hạn: `AGENTS.md` có thể đã được nạp tự động vào ngữ cảnh của subagent. Cả hai được dặn bỏ qua và cho biết đã bỏ qua, nhưng điều này không chặn được về mặt kỹ thuật.
## Kết quả
| Referee | Chuyên môn | Vòng 1 | Vòng 2 | Điểm (scope / orig. / sound. / evid. / claims / clarity / repro.) |
|---|---|---|---|---|
| GP-A | well tie, inversion, QI | Major, tin cậy cao (tie/field) | Major, không đổi | 4/3/3/3/3/2/4 |
| GP-B | thống kê, UQ, thiết kế benchmark | Major, tin cậy trung bình | Major, tin cậy trung bình–cao | 4/3/3/3/4→3/2/4 |
Không referee nào thấy lỗi trong các chứng minh (Appendix A, các lemma SI, Mệnh đề S5). Khoảng 60 số đối chiếu giữa bài và SI đều khớp, trừ vài lệch 0.01. Claim novelty ("To our knowledge…") đứng vững qua tìm kiếm tài liệu.
## Must-fix chung (hai danh sách vòng 2 gần trùng nhau)
1. **Bài tự đứng được** (sắp xếp lại): bằng chứng cho các câu headline đang nằm ở SI (Tables S9, S10, S15, S17), trong khi guide coi SI là không thiết yếu.
2. **Headline so với point tie tốt nhất** (sửa lời + phân tích trên kết quả có sẵn): so với point tie tốt nhất mọi loại, kể cả anchor mean, gain là 2–22%. Abstract đang ghi 8–22% (so với deterministic tie) và 2–33% (so với anchor mean). Hai referee cũng thấy 8–22% chủ yếu đo cái giá của việc ép tie đi qua anchor có nhiễu 7 ms.
3. **Mô hình sai số anchor là giả định và cần kiểm tra** (thí nghiệm mới + sửa lời): nhiễu anchor độc lập 7 ms mâu thuẫn với chính bằng chứng F3 (type-II σ_a 0.4 ms, LOAO z² 0.21) và Teapot (chủ yếu là bulk shift). σ_a thật không bao giờ được thay đổi. Câu "gain requires a correct anchor uncertainty" mạnh hơn bằng chứng (14 ms: [0.867, 1.004]; fit chạm biên). Câu "c = 1 reproduces F3" (l. 125) chỉ đúng với drift.
4. **Một deterministic tie đúng chuẩn thực hành, hoặc một tie làm trơn anchor** (thí nghiệm mới).
5. **Nối lý thuyết với các tie đem so** (sửa lời + một arm blur với một shift trơn mỗi giếng, dùng likelihood loss + dự đoán transfer từ sai số tie đã biết rồi so với transfer đo được). Câu "less than 7% of the seismic-band variance remains" (l. 190–191) mâu thuẫn với Table S7 (khoảng 51%). "within 1%" bỏ qua σ = 32 ms (r = 1.093). Lý thuyết giả định λ → 0, trong khi thí nghiệm dùng λ ≈ 0.37.
6. **Viết lại yêu cầu blind-well** (sửa lời + kết quả có sẵn): nêu estimand (có điều kiện theo mô hình đã huấn luyện, hay lấy biên trên các tập huấn luyện); ICC mà sign test hiệu chỉnh cần thì một field không cho được; nói rõ tham chiếu 1 ms có đạt được không (1 ms ≈ 18° pha ở 50 Hz). Hai referee bất đồng ở mức độ, không ở hướng.
7. **Effect size với khoảng tin cậy thận trọng thay cho pass, và Table 2 cùng budget** (kết quả có sẵn + sửa lời): Table 2 đang trộn các dòng hash-locked, phụ, khám phá và replication mà không đánh dấu. "2–11%" của bank chỉ là bốn con số, và 11% đến từ ô hai-anchor quá tự tin. Gain tuyệt đối khoảng 0.1 p.u. nhưng bài chỉ báo tỉ số.
8. **Đồng bộ phần phát hành** (packaging): scorer mặc định không đưa anchor mean vào nhóm đối thủ; `repro/README.md` thiếu replication, mode/point tie và sign test có hiệu chỉnh, trong khi Data Availability Statement nói mọi bảng và hình đều được bao phủ; README dẫn số mục của bản thảo khác; một phần tài liệu script viết bằng tiếng Việt.
GP-B đề xuất thêm: các kiểm tra không cần truth (posterior predictive, residual anchor đã chuẩn hóa, phổ biên độ và phổ pha của residual tie), p-value theo từng ô, và nói rõ label là một biến đổi của sonic.
## Lỗi nhỏ đã kiểm chứng
- `paper/refs.bib` `white2003goodpractice` ghi "White, Rachel E.". Crossref chỉ có "R.E." (kiểm tra 16/11/2026); tác giả là Roy E. White. Tên "Rachel" do agent tự điền ra. Cần sửa thành "White, R. E.".
- `refs.bib` có 75 trường `annote` (ví dụ "abstract only"). Plainnat không in chúng ra, nhưng câu khai báo AI ("to check … every citation against its source") nói quá, vì một số tài liệu chỉ đọc abstract (đánh dấu ᵃ trong `paper/`). Cần sửa câu khai báo cho đúng.
- Hình 5: thanh màu ghi "best point tie" còn legend ghi "best deterministic tie".
- "Mode" thực ra là particle tốt nhất trong 1024 particle đã lưu Ghi chú của Table 2 đã định nghĩa là "best SMC particle by tempered target", nhưng abstract và l. 166 ghi "The mode of the same posterior" mà không kèm định nghĩa.
## Chưa làm
Chưa sửa gì trong bài. Người dùng quyết định mục nào sửa lời, mục nào cần thí nghiệm mới (các mục 3, 4, 5 cần chạy thêm, phải khai báo và hash trước khi tính, nằm ngoài mọi lock).

View File

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

View File

@@ -0,0 +1 @@
ac04abe0efb09986a268d72c47ad6ac996041c542541edca322bbba8f0517477 docs/research/gp-review-analyses.md

View File

@@ -0,0 +1,195 @@
# GP review, Phase 3: new experiments (E1, E2, E4, E5, E6; E3 conditional)
Declared on 17/11/2026, before any of these experiments was run and before realizations 24–31 were generated. The
SHA-256 of this file is recorded in `gp-review-experiments.sha256`, and `scripts/52_gp_experiments.py` refuses to run
if the hash differs. Everything here is **exploratory**. It lies outside every locked protocol: no locked protocol,
script, input or output is edited, and the locked scripts 14 and 15 are called unchanged, with in-process
replacements of single functions where stated (the pattern of `scripts/47_r6_fixed_hyper.py`). No threshold of a
locked protocol changes. Every design choice is fixed here or tuned on development realizations 900–905; no choice
uses test labels. Source: `gp-referee/review-and-revision-plan.md` (Phase 3), approved by the user on 17/11/2026
(E1, E2, E4, E5 mandatory; E3 only if A3 of `gp-review-analyses.md` is not sufficient). E6 is added because A2
cannot be done from saved outputs.
Outputs go to `outputs/gp_review/e{1..6}/`; results are written to `gp-review-results.md`. Driver:
`scripts/run_gp_review.sh`. Long runs use the user's tmux server.
## Common definitions
As in `gp-review-analyses.md`: cells, per-realization error, ratio, intervals (primary: percentile bootstrap over
realizations; BCa and t as sensitivity; "CI below 1" = upper limit < 1, "CI above 1" = lower limit > 1), best
deterministic tie ({B3b, B3c, B3c-R}; "with anchor mean" adds B3d), registered budgets. The **locked H2a cell rule**
is `h2a_cells` of `scripts/18_summarize_p2r.py` (the `gate_gb` rule of `scripts/13`), applied without change.
Training uses `train_predict` with the protocol model and optimizer, NLL, seeds 0–4, unless stated otherwise.
## E4. Point tie optimizing the SMC target
Question: does the gain over deterministic ties come from the tie model (its target) or from SMC sampling?
- **Target** per training well: F(z) = log p(u | anchors) + γ ℓ(u) as `TiePosterior.parts`, γ from the scripts/14
posterior CSV (`SMC_g_acf`, `estR`), the same objects as `scripts/44_point_tie_arm.py`.
- **Optimizer**: from each of the 4 saved particles with the highest F, `scipy.optimize.minimize` (L-BFGS-B) on −F
with a forward-difference gradient (step 10⁻³ in z, one batched `parts` call; a component whose forward point is
infeasible uses the backward difference, and is 0 if both are infeasible), `maxiter` 200, `ftol` 10⁻⁹,
`gtol` 10⁻⁶; infeasible points (|g| > g_max or not covering the main window) have −F = 10¹². The arm **SMC-opt**
uses the point with the highest F among the 4 optima and the 4 starts, so F(SMC-opt) ≥ F(SMC-MAP).
- **Training**: one label per well at the SMC-opt warp, NLL, budget 250 (as SMC-MAP and B3d-Sa).
- **Cells**: R10, R0, Rm5 × c ∈ {0, 1} × N ∈ {4, 16}, realizations 8–15 (12 cells; the cells of
`outputs/point_tie/`).
- **Recorded per well**: F at SMC-MAP and SMC-opt, both parts of F, number of starts improved, ‖z_opt − z_MAP‖,
warp RMSE (ms).
- **Ratios per cell**: (E4-1) SMC-opt / best deterministic tie; (E4-2) B3d-Sa / SMC-opt; (E4-3) SMC-opt / SMC-MAP;
(E4-4) SMC-opt / Anchor-LS.
- **Readings** (12 cells): (R4a) "the target, not the sampler, carries the gain over deterministic ties" if E4-1 is
CI below 1 in ≥ 10 of 12 cells; (R4b) "posterior averaging improves on the optimized point" if E4-2 is CI below 1
in ≥ 6 of 12, "the optimized point is better than averaging" if CI above 1 in ≥ 6 of 12, otherwise "no consistent
difference"; (R4c) "optimizing beyond the best particle changes little" if the E4-3 ratio lies in [0.98, 1.02] in
≥ 10 of 12 cells.
## E5. Posterior-mean labels trained with the Gaussian likelihood
Question (GP-C): Proposition A4(a) concerns the posterior mean of the labels, E[y | D], whereas "SMC mean" uses the
label at the posterior-mean warp. Separate the label from the loss.
- **Arms**: **Mean-NLL**, one label per well equal to the π-weighted mean of the 64 bank labels of M2-Sa (the
label of `Mean-MSE` in `scripts/41`), trained with NLL (S = 1); **Mean-NLL-1024**, the mean label over all valid
labels of the 1024 saved particles, NLL; **B3d-Sa** retrained as a reproduction check (rows must equal the
registered rows at budget 250; otherwise the mismatch is reported and the E5 ratios are not read).
- **Reused rows** (same cells, seeds and budgets): M2-Sa, Bank-lam0 (λ = 10⁻³) and Mean-MSE from
`outputs/lambda_limit/`.
- **Cells**: the 11 T2 cells at N = 16 (8 wide: (R0,1), (R0h,1), (R10tb,1), (Rm5,1), (R0,2), (Rm5,2), (R0h,2),
(R10tb,2); 3 narrow: (R10,0), (R0,0), (Rm5,0)), realizations 8–15, budgets 125, 250 and 500 (one run, snapshots);
primary budget 250.
- **Readings** over the 8 wide cells at budget 250: (R5a, label) Mean-NLL / B3d-Sa: "the mean of labels is better"
if CI below 1 in ≥ 5 of 8, "the label at the mean warp is better" if CI above 1 in ≥ 5 of 8, otherwise "no
consistent difference"; (R5b, loss) Mean-NLL / Mean-MSE with the same rule ("NLL better" / "MSE better" / none);
(R5c, bank) M2-Sa / Mean-NLL with the same rule ("bank better" / "mean label better" / none). Descriptive:
Bank-lam0 / Mean-NLL (the λ → 0 bank and the mean label have the same mean-square minimizer for μ at fixed σ),
Mean-NLL-1024 / Mean-NLL, coverage90 and mean σ of every arm.
## E6. Equal-budget table
Question: does the registered budget asymmetry (B3b 125, B3c 250, B3c-R 500, Oracle 500, posterior methods 250)
drive Table 2?
- **Methods**: Oracle, B3b, B3c, B3c-R, B3d, B3d-Sa, M2-Sa with the labels of `scripts/15` `run_cell` (variant a),
each trained once to 500 iterations with predictions at 125, 250 and 500 (the budget list passed to `train_predict`
is replaced in the worker process; locked code unchanged). Predictions are saved.
- **Cells**: R10, R0, Rm5 × c ∈ {0, 1} × N ∈ {4, 16}, realizations 8–15 (96 cell-realizations).
- **Reproduction check**: the rows of every method at its registered budget must equal the P2r rows (all metrics,
tolerance 10⁻⁹). Otherwise the mismatch is reported and E6 is not read.
- **Analysis**: at each budget b, every method at b; the locked H2a cell rule for B3d-Sa and M2-Sa against {B3b, B3c,
B3c-R} and against the set with B3d, at c ∈ {0, 1}, with the zero-drift macro ratio.
- **Reading**: k_b = number of the 6 c = 1 cells (3 regimes × 2 N) in which B3d-Sa passes the cell rule against
{B3b, B3c, B3c-R} at budget b. "Budget-robust" if k_b ≥ 5 for every b ∈ {125, 250, 500}; "budget-dependent" if
k_b ≤ 3 for some b; otherwise "partly robust". The set with B3d and M2-Sa are reported with the same counts,
without a reading.
## E2. A practitioner-grade deterministic tie
Question (GP-A): do the "best deterministic tie" numbers depend on the authors' simple ties? E2 adds a tie built
the way an interpreter would build it, tuned on development data, as a fourth deterministic competitor **B3p**.
**Tie.** Synthetic sonic time is τ itself.
1. *Anchor calibration* of the drift d(τ) = t − τ: `exact` = B3b (piecewise linear through the anchors, bulk shift
outside); `smooth` = cubic smoothing spline of d_k against τ_k with the smoothing chosen by generalized
cross-validation (`scipy.interpolate.make_smoothing_spline`) when there are ≥ 5 anchors, the least-squares line
with 3–4 anchors, B3b with ≤ 2; constant extrapolation outside the anchor range; dt/dτ ≥ 0.05 enforced.
2. *Wavelet* from the N training wells of the cell only: `stat` = statistical zero-phase wavelet
(`statistical_wavelet`, length as registration); `stat+phase` = the same with one constant phase per cell chosen
on a 15° grid in [−90°, 90°] to maximize the mean seismic–synthetic correlation over the training wells at the
current tie; `LS` = deterministic multi-well least-squares (Wiener) wavelet from the reflectivity at the current
tie and the seismic in the main window ± 50 ms, same length, 1% prewhitening, Hann taper.
3. *Bulk shift*: the 1-ms lag in [−B, B] that maximizes the seismic–synthetic correlation, B ∈ {0, 12} ms.
4. *Dynamic warping*: traces on a 1-ms grid (seismic by cubic interpolation of the 4-ms trace, synthetic from the
fine forward model), both scaled to unit RMS, window = extended window ∩ synthetic support; error
e(t, l) = (syn(t) − seis(t + l))², lags l ∈ {−L, …, L} ms, L ∈ {4, 8, 16, 24}; strain limit ε ∈ {0.02, 0.05, 0.10}
imposed as lag knots every h = round(1/ε) ms that differ by at most 1 ms between neighbours, linear between
knots (a simplified form of smooth dynamic warping, Hale 2013); minimum total error by dynamic programming;
constant lag outside the window.
5. *Update* t₁(τ) = t(τ) + l(t(τ)) (positive lag = synthetic must be later, the B3c convention); monotone because
the strain is below 1.
6. *Iterations* n ∈ {1, 2}: in the second, the wavelet (`stat+phase`, `LS`) is re-estimated at the first-pass ties
and steps 3–5 are redone from the step-1 tie.
Grid: 2 × 3 × 2 × 4 × 3 × 2 = 288 configurations.
**Tuning (development only).** Per regime (R10, R0, Rm5, R0h, R10tb), the configuration with the smallest mean warp
RMSE (ms, main window) over realizations 900–905, c ∈ {0, 1, 2}, N ∈ {4, 16} (first N pool wells), all training
wells. Ties go to the simpler configuration (n = 1, B = 0, smaller L, larger ε, `exact`, `stat` before
`stat+phase` before `LS`). Reported: the dev warp RMSE of B3p, B3b, B3c and B3c-R on the same wells. **Budget**:
with the R10 configuration, development realizations 900/901, c = 1, N ∈ {4, 16}, seeds 0/1, candidates
{125, 250, 500, 1000, 2000}, smallest mean total RMSE (`select_budgets`, the rule of protocol_p2); one budget for all
regimes, as for the registered methods.
**Evaluation.** B3p is trained on (a) the P2r cells, 5 regimes × c ∈ {0, 1, 2} × N ∈ {4, 16}, realizations 8–15;
(b) the replication cells R10, R0, Rm5 × c ∈ {0, 1} × N ∈ {4, 16}, realizations 16–23; (c) the E1 cells. Warp RMSE
is recorded for every training well. Analyses: warp RMSE of B3p against the other ties; the locked H2a cell rule for
B3d-Sa and M2-Sa against {B3b, B3c, B3c-R, B3p} and {B3b, B3c, B3c-R, B3d, B3p} at c ∈ {0, 1} with the zero-drift
ratio, on 8–15 and on 16–23; B3d-Sa / B3p with intervals.
**Reading** (realizations 8–15, B3d-Sa against {B3b, B3c, B3c-R, B3p}, the 6 c = 1 cells of R10, R0, Rm5):
"the headline survives a practitioner tie" if ≥ 5 of 6 cells pass; "narrowed" if 3–4 of 6; "does not survive" if
≤ 2 of 6. The same count on 16–23 is reported as a replication.
## E1. True anchor error varies; per-well bulk anchor error
Question (all three referees): the benchmark draws independent 7 ms anchor errors and gives the registration the true
σ_a. Does the SMC gain hold when anchors are more accurate than assumed, when σ_a is stated correctly at other
values, and when the anchor error has a per-well bulk component, as the F3 marker–horizon evidence suggests?
- **Realizations 24–31**, never used before (checked: no outputs exist). Their fingerprints (as `scripts/46`
`stage_fingerprints`) are written to `outputs/gp_review/e1/fingerprints.json` before any posterior is run.
- **Regime** R10 (10 dB, full anchors), c = 1, N ∈ {4, 16}, registration seed 0, training seeds 0–4.
- **Anchor data model**: t_k = boundary time + σ_true ε_k + β_w, with ε_k the realization's own standard normal
draws (`eps_a`; the same draws in every condition) and β_w = σ_B · z_w, z_w standard normal from
`numpy.random.default_rng([rid, crc32(well name), 2417])` (the same draws in every bulk condition). Implemented by
replacing `D2Realization.observe` in the worker process (only the anchor-time line changes).
- **Conditions** (σ_true, σ_B; σ_reg; drift hyperparameters):
| Condition | σ_true (ms) | σ_B (ms) | σ_reg (ms) | hyperparameters |
|---|---|---|---|---|
| iid7-reg7 (nominal) | 7 | 0 | 7 | refit |
| iid4-reg4 | 4 | 0 | 4 | refit |
| iid4-reg7 | 4 | 0 | 7 | refit |
| iid2-reg2 | 2 | 0 | 2 | refit |
| iid2-reg7 | 2 | 0 | 7 | refit |
| iid1-reg1 | 1 | 0 | 1 | refit |
| iid1-reg7 | 1 | 0 | 7 | refit |
| bulk-reg2 | 2 | 5 | 2 | refit |
| bulk-reg5.4 | 2 | 5 | 5.39 (√29, the marginal SD) | refit |
| bulk-reg7 | 2 | 5 | 7 | refit |
| iid2-reg2-fix | 2 | 0 | 2 | fitted at σ_a = 7, then σ_a set to σ_reg (as `scripts/47`) |
| bulk-reg2-fix | 2 | 5 | 2 | as above |
- **Methods**: the seven registered methods (Oracle, B3b, B3c, B3c-R, B3d, B3d-Sa, M2-Sa) at their registered
budgets through the locked scripts/14 `run_job` and scripts/15 `run_cell` (posterior 1024 particles, `estR`), plus
SMC-MAP (budget 250) and B3p (E2 budget) when E2 is done.
- **Comparisons** per condition and N: (P1) B3d-Sa / best deterministic tie (and with B3p when available);
(P2) B3d-Sa / B3d; (P3) M2-Sa / B3d-Sa; (P4) warp RMSE, warp coverage90 and width of the SMC posterior;
(P5) the paired effect of a misstated σ_reg on the same realizations: B3d-Sa(σ_reg = 7) / B3d-Sa(σ_reg = σ_true)
for σ_true ∈ {1, 2, 4} and bulk-reg7 / bulk-reg5.4.
- **Reading of P1** per condition: "gain holds" if CI below 1 at both N; "gain lost" if the CI contains 1 at both N;
"reversed" if CI above 1 at either N; "partial" otherwise. Declared statements, each read separately and never
pooled into a count: (S1) "the SMC-mean gain persists when anchors are more accurate than assumed" if iid4-reg7,
iid2-reg7 and iid1-reg7 all read "gain holds"; (S2) "… when σ_a is stated correctly" if iid4-reg4, iid2-reg2 and
iid1-reg1 all read "gain holds"; (S3) for each σ_reg ∈ {2, 5.39, 7}, "… under per-well bulk anchor error" if the
bulk condition reads "gain holds".
## E3 (conditional on A3)
Run only if A3 of `gp-review-analyses.md` is not sufficient by its declared rule. Arm: Oracle labels shifted by one
constant per well, δ_w = s · z_w with z_w from `default_rng([rid, crc32(well name), 3301])`, s ∈ {2, 4, 8} ms;
R10, c = 0, N ∈ {4, 16}, realizations 8–15, NLL, budget 500, seeds 0–4. Measured transfer against
H_pred(f) = mean_w cos(2π f δ_w) with the A3 statistic g. Reading: "the blur prediction holds for constant shifts"
if g ∈ [0.9, 1.1] in ≥ two thirds of the powered combinations (A3 definition).
## Resources and order
E5, E6 and E4 first (GPU training and CPU optimization, about 10 workers with 2 threads), then E2 (CPU tuning, then
training), then E1 (192 posterior jobs at 1.5 GB each, then training). cuda:0, a shared machine: other users' jobs
are never touched. Every stage resumes by skipping cells whose CSV exists.
## Reporting
Results, the declared readings and every deviation from this declaration (with its reason) go to
`gp-review-results.md`. Numbers enter the paper only with their status (exploratory) and these readings.

View File

@@ -0,0 +1 @@
17509191bcee281e82e1cde1cd8bebd94afdb823f1ed3a8eac1e9f33beadbc28 docs/research/gp-review-experiments.md

View File

@@ -0,0 +1,123 @@
# GP review, Phases 2–3: results (exploratory)
Declarations, hashed before any computation on 17/11/2026:
- `gp-review-analyses.md` (A1–A9; `gp-review-analyses.sha256`);
- `gp-review-experiments.md` (E1, E2, E4, E5, E6; E3 conditional on A3; `gp-review-experiments.sha256`,
`17509191bcee…`).
Everything here is exploratory and outside every locked protocol. No locked protocol, script, input or output was
edited; no verdict or threshold changed. Driver `scripts/run_gp_review.sh`; outputs `outputs/gp_review/`. Intervals:
percentile bootstrap over realizations (primary), BCa and t as sensitivity; "CI below 1" means the upper limit is
below 1.
Status of this file: E5 and A1–A9 are complete. E6, E4, E2 (training) and E1 (posteriors) are running (17/11/2026, 02:50 UTC). Sections are filled as each finishes.
## E5. Posterior-mean labels trained with the Gaussian likelihood
Script `scripts/52_gp_experiments.py --stage e5` (88 cell-realizations, 11 T2 cells at N = 16, realizations 8–15,
seeds 0–4, one run per seed with snapshots at 125/250/500 iterations); summary `outputs/gp_review/e5/`
(`reading.json`, `summary.md`, `ratios.csv`, `coverage.csv`, `label_distance.csv`).
**Reproduction check:** B3d-Sa retrained at 250 iterations reproduces 3,520/3,520 registered rows exactly
(max |Δ| = 0 on band RMSE, RMSE and NLL). The ratios are read.
**Declared readings (8 wide cells, budget 250):**
| Reading | Ratio | CI below 1 | CI above 1 | Range | Declared reading |
|---|---|---|---|---|---|
| R5a, label | Mean-NLL / B3d-Sa | 5 | 0 | 0.881–0.992 | the mean of labels is better |
| R5b, loss | Mean-NLL / Mean-MSE | 7 | 0 | 0.927–0.994 | NLL better |
| R5c, bank | M2-Sa / Mean-NLL | 7 | 0 | 0.757–0.999 | bank better |
R5a meets the rule (≥ 5 of 8) exactly; the gain from averaging labels instead of averaging warps is small
(0.8–1.7% in six cells, 3.1% in the R0h c = 2 cell and 11.9% in the two-anchor R10tb c = 2 cell). The same counts at 125 and 500 iterations
(not part of the declared reading): R5a 5 and 7 cells below 1, R5b 7 and 8, R5c 7 and 7; no cell has a CI above 1 in
any of the three comparisons at any budget.
**Descriptive (declared without a rule):**
- Bank-lam0 / Mean-NLL (the λ → 0 bank against the mean label; both have the same mean-square minimizer for μ at
fixed σ): CI below 1 in 6 of 8 wide cells at 250 (0.934–0.995), 2 at 125, 4 at 500; never above 1. Training on the
bank is therefore not equivalent to training on the averaged label, even at λ → 0, under the Gaussian likelihood.
- Mean-NLL-1024 / Mean-NLL (1024 against 64 particles for the mean label): 0.984–1.004, CI below 1 in one wide cell
(R10tb, c = 1). The RMS distance between the two mean labels is 0.035–0.112 p.u. in the wide cells, against
0.11–0.72 p.u. between the mean label and the label at the mean warp.
- Narrow cells (c = 0): Mean-NLL / B3d-Sa 0.994–1.002 and M2-Sa / Mean-NLL 0.997–1.001; nothing to separate when
the posterior is narrow.
- Coverage90 at 250 iterations stays 0.27–0.49 for every NLL arm (Bank-lam0 up to 0.67 in R10tb c = 2); the MSE arm
is not comparable (its σ is not trained). No arm is calibrated.
**Answer to GP-C (Proposition A4(a) concerns E[y | D]):** the label used by "SMC mean" (the label at the
posterior-mean warp) and the posterior mean of the labels differ, and the posterior mean of the labels is slightly
better (R5a). The bank still improves on the posterior mean of the labels in 7 of 8 wide cells (R5c), by 0.1–2.5% in
three c = 1 cells, 9.5% in the two-anchor c = 1 cell and 2.1–24% in the c = 2 cells, with the largest value in
the two-anchor c = 2 cell. So the bank
gain reported in the paper is not only the label correction of Proposition A4(a).
## E6. Equal-budget table
Done (96 cell-realizations; self-check rows reproduced, max |Δ| = 0). **Reading: budget-robust** — k_b = 6 of 6 at c = 1 at 125, 250 and 500 iterations for B3d-Sa against {B3b, B3c, B3c-R}. Tables `outputs/gp_review/e6/` (`h2a_by_budget.csv`, `band_rmse_by_budget.csv`).
## E4. Point tie optimizing the SMC target
Done (96 cell-realizations; SMC-MAP reproduces `outputs/point_tie/` exactly, 768/768 rows, max |Δ| = 0). Declared readings over 12 cells: **R4a** SMC-opt/best deterministic tie, CI below 1 in 12 of 12 (0.79–0.91): the target, not the sampler, carries the gain. **R4b** B3d-Sa/SMC-opt: CI below 1 in 1, above 1 in 2 of 12 (9 contain 1): no consistent difference. **R4c** SMC-opt/SMC-MAP in [0.98, 1.02] in 8 of 12 (rule ≥ 10): not supported; SMC-opt is below 1 in 4 cells (0.97–0.98 at c = 1, R0). SMC-opt/Anchor-LS: below 1 in 12 of 12 (0.83–0.94). Tables `outputs/gp_review/e4/`.
## E2. Practitioner-grade deterministic tie
Done. B3p (calibration, wavelet, smoothing, tuned on dev realizations 900–901 per regime; budget 125) has dev warp RMSE 4.6/5.2/5.5/3.8/9.5 ms for R10/R0/Rm5/R0h/R10tb. At c = 1 it is not the best deterministic tie (B3p/B3c 1.05–1.22 at R10), so the best-tie denominator and the H2a cells do not change: **B3d-Sa passes 5 of 6 c = 1 cells against point ties + B3p on realizations 8–15 and on 16–23 — the headline survives a practitioner tie.** SMC mean/B3p 0.67–0.95 (R10 N = 4/16: 0.70/0.67). Tables `outputs/gp_review/e2/` (`h2a_with_b3p.csv`, `ratios.csv`, `selected.json`).
## E1. True anchor error varies; per-well bulk anchor error
Done (192 posterior + 192 training + 192 SMC-MAP + 80 B3p jobs; realizations 24–31, R10, c = 1; self-check B3d-Sa 192/192 cells reproduce, max |Δ| = 0). Ratio SMC mean / best deterministic tie (N = 4 / N = 16, 95% percentile interval); table `outputs/gp_review/tables/anchornoise.tex`, files `outputs/gp_review/e1/summary/`.
| σ_true (ms) | σ_B | σ_reg | N = 4 | N = 16 | SMC warp RMSE (ms, N = 16) | cov90 | declared reading |
|---|---|---|---|---|---|---|---|
| 7 | 0 | 7 | 0.854 [0.831, 0.877] | 0.785 [0.741, 0.827] | 0.55 | 0.91 | gain holds |
| 4 | 0 | 4 | 0.930 [0.899, 0.966] | 0.915 [0.885, 0.943] | 0.52 | 0.93 | gain holds |
| 4 | 0 | 7 | 0.947 [0.922, 0.977] | 0.928 [0.911, 0.944] | 0.78 | 0.75 | gain holds |
| 2 | 0 | 2 | 0.979 [0.952, 1.006] | 0.969 [0.961, 0.979] | 0.49 | 0.93 | partial |
| 2 | 0 | 7 | 0.984 [0.972, 1.000] | 0.997 [0.983, 1.008] | 0.85 | 0.70 | gain lost (partial with B3p) |
| 1 | 0 | 1 | 0.987 [0.965, 1.007] | 0.989 [0.976, 1.002] | 0.45 | 0.92 | gain lost |
| 1 | 0 | 7 | 0.988 [0.970, 1.007] | 1.007 [0.985, 1.025] | 0.87 | 0.69 | gain lost |
| 2 | 5 | 2 | 1.128 [1.024, 1.276] | 1.297 [1.206, 1.394] | 3.16 | 0.48 | reversed |
| 2 | 5 | 5.4 | 1.136 [1.015, 1.277] | 1.108 [1.059, 1.167] | 2.13 | 0.61 | reversed |
| 2 | 5 | 7 | 1.046 [0.975, 1.128] | 1.052 [1.007, 1.100] | 1.75 | 0.63 | reversed |
Declared statements (never pooled): **S1** (gain persists when anchors are more accurate than assumed): does not hold (it holds at σ_true = 4, partial/lost at 2, lost at 1). **S2** (gain when σ_a is stated correctly): does not hold (holds at 4, partial at 2, lost at 1). **S3** (per-well bulk error): does not hold at any σ_reg. Adding B3p to the competitors changes only iid2-reg7 (partial). The gain shrinks because the deterministic ties become accurate when the anchors are (SMC warp RMSE is 0.45–0.55 ms in all correctly stated cases), not because the SMC posterior degrades; with a per-well bulk error the posterior is overconfident (cov90 0.48–0.63, warp RMSE 1.8–3.2 ms) and the correlation tie is better. SMC-MAP/B3d-Sa 1.00 ± 0.02 in the nominal condition. Paired misstatement (P5, bulk): σ_reg = 7 against 5.4 gives 0.95–0.99 (below 1 at N = 16 for B3d-Sa and M2-Sa).
## E3
Not run: A3 was sufficient (see A1–A9).
## A1–A9
Done 17/11/2026, 02:09–02:36 UTC (`scripts/51_gp_review.py`, 336 cell jobs + 64 A5 jobs, CPU). Full tables and the 12
deviations of the worker: `outputs/gp_review/a_results.md` (declaration hash `ac04abe0…` checked at run time; the
worker did not edit `docs/` or `paper*/`). Summary:
- **A1:** best deterministic tie 1.11–1.29 × Oracle; SMC mean and SMC-MAP 0.98–1.09 × Oracle; CI below 1 against the
best tie in 12/12 cells in both realization sets; Anchor-LS above 1 in 3/12 and 2/12. E2 and E4 rows missing at run
time (re-run the aggregation after they finish).
- **A3 decision: sufficient, E3 not run** (140 powered combinations, 104 with g in [0.9, 1.1] = 0.74; Spearman 0.93).
Weak points: the ±10% band is lenient, the SMC bank agrees least (5/17), Oracle trained 500 iterations.
- **A4:** 6–25 Hz ratios 0.86–0.98 against 0.78–0.92 for f ≥ 6 Hz (keeps 0.24–0.63 of the gain at c = 1).
- **A5:** truth-free checks do not separate failing from passing presets (only anchor z² flags no passing preset, and flags 2 of 4 failing).
- **A6:** sign / Wilcoxon / t / calibrated-sign wells for 80% power, exact reference: 5/6/4/5 (R10 N = 16), 11/8/8/18 (Rm5 N = 16).
- **A7:** F3 mean and bank each beat the gate competitor at 1/4 wells; Volve gate reproduced (2/6, 3/6, full-band RMSE).
Table `tab:fieldwells` (`scripts/55_gp_field_table.py`).
- **A8:** 0 of 30 points of Figure 4b change side; pooled vs plotted differ by ≤ 0.011.
- **A9:** the "within 2.5% in three of four cells" count was wrong: by point ratio 4 of 4 (0.0–2.1% above the bank), by
the upper interval limit 2 of 4. Text corrected in `paper/` and `paper_gp/`.
## Deviations from the declarations
1. The code is split over three scripts: `scripts/52_gp_experiments.py` (E3–E6), `scripts/53_gp_practitioner_tie.py`
(E2) and `scripts/54_gp_anchor_noise.py` (E1), where the declaration names script 52 for all. Reason: size and
separate stages. The declaration hash is checked by all three.
2. E2: the dev B3c-R baseline exists only for development realizations that have phase files.
3. E1: B3p is computed once per anchor model (it does not depend on the registered σ_a).
4. E1: predictions are saved (`save_preds=True`) to allow transfer checks.
5. Q2 (Phase 0) changed figure labels only; no number in any figure changed.
6. Scorer v1.1 adds the anchor mean B3d to the competitor set only in the settings where B3d exists (the 7 nominal
settings); the misspecification and S8 settings have no B3d run, so their v1.1 rule equals v1.0.

View File

@@ -0,0 +1,289 @@
# Văn phong và định dạng *Geophysical Prospecting*: yêu cầu chính thức, mẫu bài, quy tắc viết lại (16/11/2026)
Mục đích: chuẩn bị viết lại `paper_cg/main.tex` (bản rút gọn kiểu C&G, Elsevier CAS) theo kiểu *Geophysical Prospecting* (GP; EAGE/Wiley; Original article), venue đã chốt ngày 13/11/2026 (`docs/plan.md` §12 mục 51, `docs/research/venue-survey.md` §7). Tài liệu này chỉ khảo sát; không sửa `paper_cg/` hay `paper/`. Ghi chú thô nằm trong scratchpad của phiên (không phải nguồn lâu dài).
Quy ước: "**[Guide]**" = bắt buộc hoặc khuyến nghị trong hướng dẫn tác giả chính thức; "**[Good-paper]**" = tài liệu hướng dẫn biên tập "What makes a good GP paper" (do journal phát hành, không phải luật); "**[Mẫu]**" = thông lệ quan sát được trong các bài đã đăng. Ngày truy cập mọi nguồn là 16/11/2026, trừ khi ghi khác.
## 0. Truy cập nguồn: cái gì đọc được, cái gì không
| Nguồn | Kết quả |
|---|---|
| Wiley author guidelines live, https://onlinelibrary.wiley.com/page/journal/13652478/homepage/forauthors.html | **403** (curl và WebFetch). Không giả user-agent. |
| EarthDoc live, https://www.earthdoc.org/content/journals/gpr?page=submit-a-paper | **403** (Cloudflare). |
| **EarthDoc qua Wayback**, capture 10/12/2025: http://web.archive.org/web/20251210202622/https://www.earthdoc.org/content/journals/gpr?page=submit-a-paper | **Đọc được toàn văn** (khoảng 5 800 từ), ghi "Author Guidelines updated 19 July 2022". Đây là nguồn chính của §1. |
| Wiley author guidelines qua Wayback, capture 19/03/2022: http://web.archive.org/web/20220319231155/https://onlinelibrary.wiley.com/page/journal/13652478/homepage/forauthors.html | Đọc được; là bản trước cập nhật 07/2022. Dùng để so sánh. |
| "What makes a good Geophysical Prospecting paper?" (M.N. Luheshi & T.J. Moser), https://onlinelibrary.wiley.com/pb-assets/assets/13652478/What%20makes%20a%20good%20Geophysical%20Prospecting%20paper-1629792321043.pdf qua Wayback 26/06/2025 (`web.archive.org/web/20250626055319/...`) | Đọc được toàn văn. |
| EAGE statement on AI generated content, https://eage.org/eage_news/eage-statement-on-ai-generated-content-for-papers/ qua Wayback 10/06/2026 (`web.archive.org/web/20260610114717/...`) | Đọc được. |
| Authorea template GP, https://authorea.com/templates/geophysical_prospecting | **403**; Wayback timeout. Không xem được nội dung template. |
| Wiley PDF/epdf của các bài GP (`onlinelibrary.wiley.com/doi/pdfdirect/...`) | **403**, kể cả bài CC BY. KU research profiles (bản CC BY của Fernandes 2022, Lorentzen 2022) cũng 403 Cloudflare. |
| arXiv API | **429 Rate exceeded** lúc tìm preprint của Senn 2025, Feng 2026, Heidari 2022. |
| eScholarship (preprint Um et al. 2022) | Tải về file rỗng. |
Hệ quả: guide hiện hành được đọc qua bản lưu ngày 10/12/2025 (nội dung ghi cập nhật 19/07/2022). Nếu Wiley/EAGE sửa guide sau 10/12/2025 thì tài liệu này chưa thấy; cần đọc lại trang live lúc nộp (từ trình duyệt của tác giả).
## 1. Yêu cầu chính thức [Guide]
Nguồn của mọi dòng trong bảng: EarthDoc guide, capture 10/12/2025 (trừ khi ghi khác).
| Mục | Yêu cầu (trích nguyên văn ngắn) | Ghi chú cho bài của ta |
|---|---|---|
| Loại bài | "Original Papers – reports on original and newly established developments, results, or insights… Most of the submissions fall in this category." Research Notes "4–6 pages"; Review Papers; Letters "one or two pages". | Original Paper. |
| Phạm vi | "The journal welcomes theoretical and numerical studies as well as case studies and review papers." Scope: "potential field, electromagnetic and seismic methods applied to exploration and monitoring". | Bài lý thuyết + synthetic + field case nằm trong scope. |
| Độ dài | Không có giới hạn từ, trang, hình hay bảng cho Original Papers. [Good-paper]: "less is more". | Không buộc phải giữ 5 500 từ của C&G. |
| File nộp | "Manuscripts should be submitted for review as PDF, Rich Text Format, LaTex or Word documents." "Where LaTeX or TeX is used, please use only the basic functions, avoiding complicated macros or cross-references." Nộp `.tex` thì phải kèm PDF. | **Xung đột trực tiếp** với `xr-hyper` + `\Sref` (29 tham chiếu chéo sang supplement) và macro `\mPM`, `\mRML`. |
| Template | Chỉ nêu Authorea: "https://authorea.com/templates/geophysical_prospecting". Không nêu class LaTeX chính thức nào. | Không bắt buộc template. |
| Thứ tự phần | Title (không viết tắt); running title "< 50 characters"; tên tác giả; affiliation; **Acknowledgments**; Abstract and keywords; Data Availability Statement; Main text; References; Tables ("each table complete with title and footnotes"); Figure legends; Appendices; "Figures should be included within the same file as the text for peer review (each figure should be presented on a separate page)". | Acknowledgments đứng *trước* abstract trong file nộp. Bảng, legend, hình dồn về cuối. |
| Checklist | "Is the manuscript typeset double-spaced and laid out in single column?"; "Does the title page list the keywords?"; title page có e-mail và affiliation đầy đủ của tác giả liên hệ. | Double spacing, một cột. |
| Abstract | "brief but comprehensive summary and should be able to stand by itself. It should state the major result or conclusion of the paper. It should be informative to a more general public and not a mere listing of the contents of the paper. It should not contain any references, abbreviations or acronyms." **Không có giới hạn số từ.** Bản 2020 (Wiley 2022) còn thêm "It can be structured (intro/methods/results/conclusion) or unstructured"; câu này đã bị bỏ trong bản 07/2022. | 269 từ được phép. Nhưng phải bỏ "RMSE" (xem §3.3). |
| Keywords | "Please provide up to seven keywords from the following list: Acoustics, Acquisition, Anisotropy, Attenuation, Borehole geophysics, Computing aspects, Data processing, Elastics, Electromagnetics, Full waveform, Gravity, Imaging, Interpretation, Inverse problem, Inversion, Logging, Magnetics, Modelling, Mathematical formulation, Monitoring, Multicomponent, Noise, Numerical study, Parameter estimation, Passive method, Petrophysics, Potential field, Rays, Reservoir geophysics, Resistivity, Rock physics, Signal processing, Seismics, Theory, Time lapse, Tomography, Velocity analysis, Wave." "The selection of alternative keywords are subject to editorial approval." | Danh sách không có "machine learning", "well tie", "uncertainty". |
| Chính tả | "The journal uses British spelling; however, authors may submit using either British/US spelling". | Giữ American spelling được. |
| Footnote | "Footnotes to the text are not allowed". | Footnote trong bảng thì được ("title and footnotes"). `main.tex` chỉ có 1 footnote, nằm trong bảng verdict: giữ. |
| Introduction | "explains the context…, reviews the relevant literature, states the objectives and outlines the work. Generally, the introduction does not contain equations or figures. A priori, the introduction should not contain results, descriptions or conclusive remarks." | Intro hiện có tham chiếu Fig. `tddrift`, số liệu F3 và câu kết quả trong contribution (2). Related work tách riêng: guide đặt review literature *trong* Introduction. |
| Đánh số mục | "Section numbering is optional. If the sections are numbered, the introduction starts with 1." | Tùy chọn. |
| Viết tắt | "The paper title, section titles and abstract are to be free of abbreviations… Initially, use the word in full at the first occurrence in each section, followed by the abbreviation in parentheses… Abbreviations should be kept to a minimum." [Good-paper]: "GP has a strict policy against abbreviations". | `main.tex` dùng SMC 20 lần, RMSE 16, TCN 4, PCC 3, DT 3, TWT 2, GRU 1. Tiêu đề "Experiment 2: SMC tie posterior" vi phạm. |
| Kết | "A conclusion should be a relatively small section with a few paragraphs… Generally, a conclusion does not contain references to equations, figures or tables." Discussion có thể dài hơn và được trích dẫn, tham chiếu hình. | Conclusions hiện một đoạn, không tham chiếu hình: đạt. |
| Tài liệu tham khảo | Harvard author–date: "Smith (2000)"; xếp alphabet; "Submissions are not required to reflect the precise reference formatting of the journal… however it is important that all key elements of each reference are included." Ví dụ: "Koefoed, O., (1967) Units in geophysical prospecting. Geophysical Prospecting 15, 1-6. https://doi.org/10.1111/j.1365-2478.1967.tb01768.x". | Bst tùy chọn, miễn author–year. |
| Trích dẫn dữ liệu | "mandatory data citation policy… authors are required to include data citations as part of their reference list." Định dạng: "[dataset] Authors; Year; Dataset title; Data repository or archive; Version (if any); Persistent identifier (e.g. DOI)". | F3, Volve, Teapot, gói benchmark, kho repro phải có mục `[dataset]` trong References. |
| Hình | Legend "must be understandable without reference to the text. Include definitions of any symbols used and define/explain all abbreviations and units". "In the text, figures should be referenced with the word Figure and the number should be written without parenthesis. All axes should be labelled with quantity, unit and range. The colour scale should be explained." Hình màu miễn phí. | `Fig.~` (6 chỗ) → `Figure~`. |
| Phương trình | "All equations should be numbered… referred to by their number between parentheses, optionally with… 'equation (1)'". Vô hướng nghiêng; vector "upright, bold and in lower case"; ma trận "upright, bold and in upper case"; phương trình là một phần của câu, có dấu câu. | `main.tex` có 3 equation, 1 `\eqref`. Kiểm tra `\bm` (bold italic) so với quy ước upright bold. |
| Đơn vị, số | SI; "Use a zero before decimal points"; "write '7 to 9' or '7–9', not '7~9'"; "Avoid contractions". | Đạt. |
| Dùng từ | "'Seismic' is an adjective and not a noun… use 'the seismic data were acquired' instead of 'the seismic was acquired'." Hiện tượng vật lý dùng số ít: "'reflected events/data' instead of 'reflections'". | `main.tex` có 2 chỗ dùng "the seismic" như danh từ ("no link to the seismic came", "a reference independent of the seismic and"). |
| Ngôi, thể | "If you wish, you may write in the first person singular or plural and use the active voice". [Good-paper]: "Avoid use of the passive case". | "We" được, nên dùng. |
| Supporting information | "information that is not essential to the article, but provides greater depth and background. It is hosted online and appears without editing or typesetting." | Supplement 80 trang nộp làm SI. Nhưng phần "essential" (ví dụ chứng minh cho bài lý thuyết) phải nằm trong bài (Appendices: "published after the references"). |
| Data | "Geophysical Prospecting expects you to archive all the data from which your published results are derived in a public repository." "All accepted manuscripts are required to publish a data availability statement… include a persistent identifier". "If published, all statements will be placed in the heading of your manuscript." | DAS bắt buộc khi được nhận; có DOI. Code không có điều khoản bắt buộc riêng (khác C&G). |
| Conflict of interest | "Authors will be asked to provide a conflict of interest statement during the submission process." | Khai trên hệ thống; không cần mục riêng trong bản thảo. |
| Funding | "Authors should list all funding sources in the Acknowledgments section." | Gộp Funding vào Acknowledgments. |
| ORCID | "requires the submitting author (only) to provide an ORCID iD". | |
| CRediT | Guide không nhắc. | Bỏ `\printcredits`. |
| Highlights, graphical abstract, plain language summary | Guide không yêu cầu (chỉ nhắc dịch vụ trả phí "lay summaries" của Wiley Editing Services). | Bỏ highlights. |
| Phí | Không có page charge trên đường subscription; OnlineOpen tùy chọn (US$4 150 theo `venue-survey.md`, chưa đọc lại hôm nay). Preprint được phép. | |
| AI | Guide trỏ sang EAGE statement. EAGE: "Remember to acknowledge whatever help you received from AI tools. Be specific how you used them… Indicate which piece of text has been written with the help of an AI tool." "To have your abstract or article completely written by an AI tool is not allowed". | Câu khai AI hiện có ("draft and edit the text") phải nói rõ *phần văn bản nào*. |
| Quy trình | Hai reviewer khi có thể, reviewer trả lời trong ba tuần. [Good-paper]: "GP generally accommodates only a single major revision". | Chuẩn bị kỹ trước khi nộp. |
## 2. Mẫu bài đã đăng
Chọn 14 bài GP gần với loại bài của ta (Bayesian/uncertainty, ML trong địa vật lý, porosity/rock physics, well tie hoặc vị trí giếng, thất bại trên dữ liệu thật). Mức đọc được ghi rõ:
- **FT-pub**: toàn văn bản đã đăng.
- **FT-pre**: toàn văn preprint của cùng bài (khác bản đăng; dùng cho cấu trúc, không cho định dạng cuối).
- **Abs**: chỉ abstract (OpenAlex `abstract_inverted_index`, dựng lại theo vị trí từ; không thấy được ngắt đoạn). **Mọi nhận xét về heading, hình, Intro, Conclusion của bài Abs đều *không* có; chỉ nói về abstract.**
Số từ abstract đếm trên bản OpenAlex, đã bỏ chữ "Abstract" đầu; viết tắt = chuỗi in hoa ≥ 2 ký tự.
| # | Bài | DOI | Đọc | Abstract (từ; viết tắt) | Ghi chú |
|---|---|---|---|---|---|
| 1 | Sukar, Côrte & MacBeth 2026, Dynamic reservoir property estimation with uncertainty quantification from 4D seismic data (BNN) | 10.1111/1365-2478.70228 | FT-pub (CC BY; `refs/sukar2026uncertainty.pdf`) | 189; DNNs, BNN | Xem §2.1. |
| 2 | de Lima, Ferreira, Corso & de Araújo 2024, Bayesian time-lapse full waveform inversion using Hamiltonian Monte Carlo | 10.1111/1365-2478.13604 | FT-pub (HTML Wiley qua Wayback 14/06/2025, `web.archive.org/web/20250614220257/https://onlinelibrary.wiley.com/doi/full/10.1111/1365-2478.13604`; CC BY-NC) | 235; không | Xem §2.1. |
| 3 | Elías, Rosas-Carbajal, Späth & Zyserman 2026, Deep neural networks for model error correction in probabilistic inversion of CSEM data | 10.1111/1365-2478.70242 | FT-pre (EarthArXiv 10.31223/x50j19, bản nộp, tiêu đề khác bản đăng) | 150; không | Bản nộp dùng template Wiley dạng "O R I G I N A L A R T I C L E", "Short title", "1 \| INTRODUCTION". Xem §2.1. |
| 4 | Auestad, Mai, Spremić & Eidsvik 2025, A practical and efficient approach for Bayesian seismic AVO inversion: insights from the Alvheim field | 10.1111/1365-2478.70108 | FT-pre (arXiv 2403.03656 v1, 2024; định dạng Elsevier, trích dẫn số; tiêu đề khác bản đăng) | 186; không | Chỉ dùng cấu trúc. |
| 5 | Pirogova, Pevzner, Gurevich & Glubokovskikh 2019, Multiwell study of seismic attenuation at the CO2CRC Otway site | 10.1111/1365-2478.12796 | Abs (closed) | 303; CO2, CO2CRC (tên riêng) | Tiền lệ thất bại trên dữ liệu thật. Câu thất bại nằm thẳng trong abstract: "However, all considered methods of Q estimation are unreliable in the intervals where subsurface significantly deviates from 1D geometry." |
| 6 | Heidari, Madsen, Amini & Hansen 2022 (số 2023), Assessment of the impact of noise magnitude and bandwidth variations on a probabilistic inversion of… seismic data to porosity | 10.1111/1365-2478.13312 | Abs (closed; preprint ESSOAr 10.1002/essoar.10511715.1 chưa lấy được) | 307; không | Kết luận có rào đón vừa phải: "it might be better to overestimate the noise magnitude than to underestimate it". |
| 7 | Han, Yan, Fu & Li 2022, Applicability of cross-property differential effective medium model to the joint elastic–electrical properties | 10.1111/1365-2478.13233 | Abs (closed) | 224; không | Kết quả âm nói thẳng: "The results indicate the incapability of the cross-property differential effective medium model… and suggest the requirement of a new model". |
| 8 | Fernandes & Mosegaard 2022, Errors in positioning of borehole measurements and how they influence seismic inversion | 10.1111/1365-2478.13243 | Abs (hybrid CC BY-NC-ND nhưng PDF 403) | 88; không | Gần chủ đề nhất (sai số vị trí giếng trong inversion). Abstract rất ngắn. |
| 9 | Di & Abubakar 2023, Automating seismic-well tie via self-supervised learning | 10.1111/1365-2478.13333 | Abs (closed) | 297; không | ML + well tie. Không viết tắt dù là bài ML ("dynamic time warping" viết đủ). |
| 10 | Queiroz & Grana 2025, Bayesian seismic–petrophysical inversion for rock and fluid properties and pore aspect ratio in carbonate reservoirs | 10.1111/1365-2478.70041 | Abs (CC BY nhưng PDF 403) | 299; không | Nói rõ novelty trong abstract: "The novelty of the proposed method is…". |
| 11 | Feng, Colombo, Türkoğlu & Sandoval-Curiel 2026, Efficient Bayesian active learning with Langevin dynamics for reservoir porosity inversion | 10.1111/1365-2478.70130 | Abs (bronze, PDF 403) | 184; LMC (định nghĩa trong abstract) | Bài ML-porosity 2026; có viết tắt trong abstract, trái guide. |
| 12 | Um, Alumbaugh, Lin & Feng 2022, Real-time deep-learning inversion of seismic full waveform data for CO2 saturation and uncertainty | 10.1111/1365-2478.13197 | Abs (preprint eScholarship tải rỗng) | 265; CO2 | Liệt kê kết quả "(1) … and (2) …" ngay trong abstract; giọng "We". |
| 13 | Senn, Walker & Tjelmeland 2025, Scalable Bayesian seismic wavelet estimation | 10.1111/1365-2478.70026 | Abs (bronze, PDF 403) | 182; không | |
| 14 | Lee, Jung, Lee & Cho 2026, Workflow for volumetric uncertainty and sensitivity analysis of machine learning-interpreted seismic horizons | 10.1111/1365-2478.70119 | Abs (CC BY, PDF 403) | 177; không | |
Ngoài bảng (chỉ xem metadata, không phân tích): Lorentzen et al. 2022 (10.1111/1365-2478.13252, Abs, 228 từ), Almarzooq & bin Waheed 2024 (10.1111/1365-2478.13484, Abs, 168 từ).
### 2.1 Bốn bài đọc toàn văn
**Sukar et al. 2026 (FT-pub).**
- Nhãn "ORIGINAL ARTICLE". Keywords tự do, phân cách "|": "4D seismic | Bayesian neural networks | reservoir characterization | Schiehallion field | seismic inversion | uncertainty quantification". Không theo danh sách kiểm soát, vẫn được nhận.
- Abstract một đoạn, khoảng 190 từ: vấn đề → khoảng trống → phương pháp → synthetic → field → ý nghĩa. Có viết tắt (DNNs, BNN), trái guide.
- Heading đánh số, Title Case (kiểu dàn trang Wiley 2025–2026): 1 Introduction; 2 Theory: BNNs for Uncertainty Quantification (2.1–2.3); 3 Methodology (3.1–3.2); 4 Results (4.1 Synthetic Validation, 4.1.1–4.1.2; 4.2 Application to Schiehallion Field, 4.2.1–4.2.2; 4.3 Computational Cost Analysis); 5 Discussion; 6 Conclusion. Heading mục 2 có viết tắt, cũng trái guide.
- Lý thuyết là mục riêng ngay sau Introduction, trước Methodology.
- Introduction kết bằng đoạn mục tiêu kể chuyện, không có danh sách đánh số.
- Thân bài khoảng 7 700 từ, 8 hình, 4 bảng; "we" 29 lần; trích dẫn "(Johnston 2013)".
- Conclusion 4 đoạn văn xuôi.
- Phần cuối: Funding ("The authors have nothing to report."), Data Availability Statement theo mẫu dữ liệu hạn chế của Wiley: "The data that support the findings of this study are available from Edinburgh Time-Lapse Project, Heriot-Watt University. Restrictions apply…".
**de Lima et al. 2024 (FT-pub).**
- Keywords lấy từ danh sách kiểm soát (meta `citation_keywords`): acoustics, full waveform, inverse problem, time lapse.
- Abstract một đoạn, khoảng 235 từ, không viết tắt (viết đủ "Hamiltonian Monte Carlo", "full waveform inversion").
- Heading cấp 1 không đánh số, IN HOA (kiểu dàn trang 2024): INTRODUCTION; METHODS (Bayesian full waveform inversion; Bayesian time-lapse full waveform inversion; Hamiltonian Monte Carlo; Mass matrix tuning); APPLICATION ON THE MARMOUSI MODEL; APPLICATION ON A BRAZILIAN PRE-SALT FIELD MODEL; DISCUSSION; CONCLUSION; ACKNOWLEDGEMENTS; Open Research / DATA AVAILABILITY STATEMENT. Heading cấp 2 dạng sentence case.
- Lý thuyết nằm trong METHODS.
- Mỗi ví dụ là một mục cấp 1 mang tên mô hình ("Application on…").
- Introduction kết bằng Claim ("In this paper, we explore a different avenue… Here, we follow a general approach and demonstrate…") và Agenda ("In the following section, we describe… We conclude by discussing the limitations…").
- Thân bài khoảng 7 700 từ, 14 hình, 0 bảng; "we" 63 lần.
- Conclusion một đoạn, không tham chiếu hình, có "We concluded that…".
- DAS: "Data are available on reasonable request to the corresponding author."
- Định dạng tham khảo bản đăng: "Aleardi, M. & Salusti, A. (2020) Hamiltonian Monte Carlo algorithms for target- and interval-oriented amplitude versus angle inversions. Geophysics, 85, R177–R194."
- Bản đăng dùng British spelling ("analyse", "artefacts").
**Elías et al. 2026 (FT-pre, bản nộp).**
- Template Wiley một cột ("O R I G I N A L A R T I C L E", "Short title: …", "KEYWORDS").
- Keywords từ danh sách kiểm soát: "inversion, electromagnetics, resistivity, reservoir geophysics".
- Abstract khoảng 150 từ, không viết tắt (viết đủ "controlled-source electromagnetic"), dù heading và thân bài dùng CSEM.
- Heading: 1 INTRODUCTION; 2 METHODOLOGY (2.1–2.5); 3 RESULTS (3.1 Synthetic example of a marine experiment; 3.2 Data field example…); 4 DISCUSSION; 5 CONCLUSIONS; Appendix A.
- Introduction kết bằng "In this work, we employ a combination of methodological strategies… We first assess the performance of our methodology using synthetic CSEM data. We then extend its application to field data". Không có danh sách contribution.
- 8 hình; "we" 79 lần.
- Conclusions 2 đoạn, không tham chiếu hình.
- Discussion nói thẳng giới hạn của field case: "even when accounting for modeling error, the inversion of the data remains challenging due to limited data coverage".
- Có mục "Use of Artificial Intelligence tools in the writing process", nói rõ công cụ, phiên bản và mục đích ("solely to assist with grammar correction and improvements in readability").
- Data availability: dữ liệu field theo licence, không chia sẻ được.
**Auestad et al. 2025 (FT-pre, arXiv v1, định dạng Elsevier).**
- Heading: 1. Introduction; 2. Background; 3. Proposed method; 4. Numerical study: small-scale data; 5. Results with the Alvheim field data; 6. Discussion and conclusion; Appendix A–C. "Discussion and conclusion" gộp làm một.
- Introduction tóm tắt cả kết quả field rồi mới tới đoạn roadmap. Như vậy guide ("should not contain results") không phải lúc nào cũng được áp; nhưng đây là preprint trước phản biện.
- 13 hình, khoảng 16 600 từ toàn văn (kể cả phụ lục và tài liệu tham khảo).
### 2.2 Điều rút ra từ mẫu [Mẫu]
1. **Abstract:** một đoạn trong mọi bài đọc được, 88–307 từ (trung vị khoảng 200); 269 từ nằm trong khoảng. 11/14 abstract không có viết tắt, ngoài tên hóa chất. Có 3 ngoại lệ (Sukar, Feng: định nghĩa viết tắt; Um: CO2), nên biên tập không phải lúc nào cũng chặn, nhưng guide và Good-paper đều nói rõ.
2. **Kết quả âm được nói thẳng trong abstract, không vòng vo:** Pirogova ("all considered methods… are unreliable"), Han ("the incapability of… model"), Heidari ("if the noise magnitude is underestimated, the inversion algorithm overfits"). Rào đón chỉ ở mức "might be better", "suggest".
3. **Introduction:** cả 3 bài đọc được Intro đều kết bằng Claim kể chuyện ("In this paper/work, we…") rồi Agenda. Không bài nào có danh sách contribution đánh số. Literature review nằm trong Introduction; không bài nào có mục "Related work" riêng.
4. **Lý thuyết:** một mục "Theory" hoặc "Methods/Methodology" ngay sau Introduction; đạo hàm dài để ở Appendix của bài (Elías, Auestad).
5. **Synthetic rồi field:** ví dụ synthetic đặt trước, mục field đặt tên theo mỏ ("Application to Schiehallion Field", "Results with the Alvheim field data").
6. **Độ dài:** khoảng 7 700 từ thân bài, 8–14 hình (2 bài đã đăng đọc toàn văn). Bản `paper_cg/` có 5 100 từ, 6 hình, 3 bảng, tức ngắn hơn mẫu.
7. **Conclusion:** 1–4 đoạn văn xuôi, không tham chiếu hình hay phương trình.
8. **Giọng:** chủ động, "we" dày (29–79 lần mỗi bài).
9. **Keywords:** 2/3 bài thấy keywords dùng danh sách kiểm soát; Sukar dùng tự do.
10. **DAS:** câu ngắn theo mẫu Wiley, đặt cuối bài trong bản đăng (mục "Open Research"), dù guide bảo đặt sau abstract trong bản nộp.
11. **Kiểu heading của bản đăng** (IN HOA 2024, Title Case 2026) do Wiley dàn trang; tác giả không cần bắt chước.
## 3. Quy tắc viết lại `paper_cg/main.tex` cho GP
### 3.1 Ánh xạ mục
| `paper_cg/main.tex` hiện tại | Bản GP đề xuất | Cơ sở |
|---|---|---|
| Front matter CAS (`\shorttitle`, `\credit`, `\cormark`, `\affiliation[...]`) | Title page thường: title, running title < 50 ký tự (ví dụ "Uncertain well ties in learned seismic prediction", 49 ký tự), tác giả, affiliation, e-mail liên hệ, **Acknowledgments**, Abstract, Keywords, **Data Availability Statement** | [Guide] thứ tự phần, checklist |
| Highlights | Bỏ (giữ `paper_cg/highlights.txt` cho C&G) | [Guide] không có mục này |
| 1 Introduction + 2 Related work | **1 Introduction** = Review (gộp Related work, viết rút gọn) + Claim + Agenda; chuyển Fig. `tddrift` và số liệu F3 (14–66 ms, 36.5 ms) sang mục Data, chỉ giữ ở Intro một câu định tính ("of the order of a seismic period") | [Guide] Intro review literature, không có hình, không có kết quả; [Mẫu] 3/3 |
| 3 Data and benchmark | Giữ tên, ví dụ "Data and Benchmark" hoặc "Data", gồm F3 (có Figure `tddrift`), Synthetic generator, Misspecification, Package | |
| 4 Methods + 5 Theory | Hai lựa chọn. (a) Giữ Methods → Theory (lựa chọn 09/11, §12 mục 38). (b) **Theory → Methods** như Sukar. Khuyến nghị (b): GP quen dạng "Theory" sớm, và các mệnh đề là contribution (1). Không bắt buộc. | [Mẫu] |
| Chứng minh (hiện ở Supplement App. A qua `\Sref`) | Cân nhắc đưa một **Appendix A ngắn trong bài** (các mệnh đề chính và chứng minh gọn), để Supplement giữ bản đầy đủ. Với bài có contribution lý thuyết, chứng minh khó coi là "not essential". | [Guide] SI = "not essential"; Appendices in-paper; [Good-paper] "use appendices for lengthy mathematics" |
| 6 Results: "Experiment 1: anchor-posterior banks failed"; "Experiment 2: SMC tie posterior"; "Experiment 3: where the results stop"; "What a field test requires" | Bỏ viết tắt trong heading: "Experiment 2: sequential Monte Carlo tie posterior". Có thể tách field thành mục riêng đặt tên theo dữ liệu (ví dụ "Field Cases: F3 and Volve" hoặc "Requirements for a Blind-Well Test") | [Guide] heading không viết tắt; [Mẫu] field là mục riêng |
| 7 Discussion (What held / Practical advice / Limitations) | Giữ. Discussion được trích dẫn và tham chiếu hình. "Limitations" giữ rõ ràng. | [Guide], [Good-paper] "be open about any limitations" |
| 8 Conclusions | Giữ 1–3 đoạn văn xuôi, không tham chiếu hình/phương trình (đang đạt). Bỏ "SMC", "RMSE" hoặc định nghĩa lại vì đây là một mục mới. | [Guide] |
| Computer code availability (itemize kiểu C&G) | Bỏ dạng itemize. Đưa thông tin code (repository, licence, DOI) vào **DAS** một hai câu, và một câu trong Methods | [Guide] chỉ yêu cầu DAS |
| Data availability | Đổi tên **Data Availability Statement**, chuyển lên sau Keywords; có DOI của dữ liệu dẫn xuất và gói benchmark; trích dẫn F3/Volve/Teapot như `[dataset]` | [Guide] |
| `\printcredits` | Bỏ | [Guide] không nhắc CRediT |
| Declaration of competing interest | Bỏ khỏi bản thảo; khai trên hệ thống nộp | [Guide] |
| Funding | Gộp vào Acknowledgments | [Guide] |
| Generative AI declaration | Giữ, nhưng viết lại theo EAGE: nêu công cụ và **những phần văn bản nào** được AI hỗ trợ. Đặt trong Acknowledgments hoặc một mục ngắn riêng như Elías 2026. Tác giả phải xác nhận. | EAGE statement; [Mẫu] Elías |
| Acknowledgements | Giữ, đặt trên title page theo thứ tự guide (bản đăng sẽ dời về cuối) | [Guide] |
| `\bibliographystyle{cas-model2-names}` | Bst author–year bất kỳ, xếp alphabet (xem §3.4) | [Guide] |
| Bảng và hình inline `[t]` | Bản nộp: References → Tables → Figure legends → (Appendices) → mỗi hình một trang | [Guide] |
### 3.2 Quy tắc bắt buộc theo guide
- **G1. Không viết tắt** trong title, heading, abstract. Trong thân bài viết đủ lần đầu *ở mỗi mục*. Ít viết tắt nhất có thể: RMSE → "root-mean-square error" lần đầu mỗi mục, rồi RMSE; cân nhắc bỏ PCC, TWT, GRU, DT khi chỉ dùng 1–3 lần.
- **G2. Abstract** không có tham khảo, viết tắt, acronym; tự đứng được; nêu kết quả chính. Không giới hạn từ, nên không buộc cắt 269 từ. Chỉ phải thay "RMSE" (xem §3.3).
- **G3. Keywords:** tối đa 7, từ danh sách kiểm soát (xem §3.4).
- **G4. "Figure 1"** trong văn bản, không ngoặc, không "Fig.". Legend tự đứng được, định nghĩa ký hiệu, viết tắt và đơn vị. Trục ghi đại lượng, đơn vị, khoảng; giải thích thang màu.
- **G5. Phương trình** đánh số hết, gọi "equation (1)", có dấu câu. Vector chữ thường đứng đậm, ma trận chữ hoa đứng đậm.
- **G6. Không có footnote trong văn bản** (footnote bảng được).
- **G7. Introduction** không có hình, phương trình, kết quả. Literature review thuộc Introduction.
- **G8. LaTeX đơn giản**: không macro phức tạp, không tham chiếu chéo phức tạp. Bỏ `xr-hyper`/`\externaldocument`. Thay 29 `\Sref{…}` bằng chữ cứng ("Supporting Information, Section S5"), sinh từ `supplement.aux` một lần, hoặc thay bằng mô tả không có số. Thay macro `\mPM`, `\mRML` bằng chữ.
- **G9. Bố cục nộp:** double-spaced, một cột, title page có keywords và e-mail tác giả liên hệ. Nộp `.tex` kèm PDF. Hình trong cùng file, mỗi hình một trang. Running title < 50 ký tự.
- **G10. DAS** bắt buộc, có persistent identifier; GP "expects" dữ liệu ở kho công khai. Mọi bộ dữ liệu được trích dẫn trong References dạng `[dataset]`.
- **G11. Harvard author–date**, alphabet. Không cần đúng định dạng journal nhưng phải đủ thành phần (có DOI).
- **G12. "Seismic" chỉ là tính từ**: sửa "the seismic" (2 chỗ) thành "the seismic data". Không dùng "reflections" làm danh từ số nhiều.
- **G13. Funding trong Acknowledgments; COI trên hệ thống; ORCID của người nộp; AI khai cụ thể** (phần nào, công cụ nào); bài không được do AI viết toàn bộ.
- **G14. Supporting Information** chỉ chứa phần "not essential". Phần bài cần để đứng vững (chứng minh cốt lõi, thiết kế thí nghiệm tối thiểu) phải nằm trong bài hoặc Appendix.
### 3.3 Abstract: xung đột với quy tắc "bản sao nguyên văn"
- Abstract hiện tại (269 từ) có một viết tắt thật: "seismic-band **RMSE**".
- "F3", "Volve" là tên riêng của bộ dữ liệu, không phải viết tắt. Có thể thêm "the F3 block in the Dutch North Sea" cho người đọc ngoài, nhưng không bắt buộc.
- "dB", "Hz", "ms" là ký hiệu đơn vị, được phép (guide dùng chính "s", "cm3").
- "sequential Monte Carlo" đã viết đủ.
- Đề xuất: thay "seismic-band RMSE" bằng "seismic-band root-mean-square error" (271 từ).
- Vì `paper_cg/README.md` yêu cầu abstract của `main.tex` trùng nguyên văn `paper/sections/00_abstract.tex`, sửa **cả hai** trong cùng một lần (bản `paper/` cũng có lợi), rồi chạy lại kiểm tra trùng khớp. Đây là quyết định của phiên chính hoặc người dùng; khảo sát này không sửa.
- GP không bắt cắt. Fallback *Mathematical Geosciences* vẫn cần ≤ 250 từ.
- Giữ một đoạn [Mẫu]. Kết quả âm (field "no consistent improvement") nói thẳng như Pirogova và Han là hợp kiểu GP.
### 3.4 Keywords và bibliography style
- **Keywords đề xuất (7, từ danh sách kiểm soát):** Seismics; Reservoir geophysics; Petrophysics; Inversion; Theory; Numerical study; Computing aspects. Có thể thay một mục bằng "Parameter estimation" hoặc "Borehole geophysics".
- Danh sách không có "machine learning", "well tie", "uncertainty quantification". Theo guide, từ ngoài danh sách cần biên tập chấp thuận. Sukar 2026 dùng từ tự do và vẫn được đăng, nên có thể thêm "well tie" nếu muốn, chấp nhận rủi ro bị đổi.
- **Bst:** guide không bắt định dạng chính xác.
- Gần nhất với bản đăng ("Aleardi, M. & Salusti, A. (2020) Title. Journal, 85, R177–R194.") là `apalike`, có sẵn trong TeX Live của máy này, dùng với `natbib` `authoryear,round`. `plainnat` cũng được.
- Không có bst Wiley/GP chính thức trên máy, và guide không nêu file nào.
- Thêm cờ `[dataset]` cho 5 mục dữ liệu (F3, Volve, Teapot, gói benchmark, kho repro). Có thể thêm bằng trường `note` hoặc chèn tay.
### 3.5 Định dạng nộp lần đầu (gợi ý, không phải template chính thức)
- `\documentclass[12pt,a4paper]{article}`, `setspace` (`\doublespacing`), `lineno` (`\linenumbers`, không bắt buộc nhưng tiện cho reviewer), `natbib[authoryear,round]`, `graphicx`, `amsmath`, `bm` (hoặc `\mathbf` cho vector/ma trận đứng), `booktabs`. Không dùng `xr-hyper`, không macro riêng cho tên phương pháp.
- Có thể dùng `\usepackage[nomarkers,figuresonly]{endfloat}` để dồn hình về cuối, mỗi hình một trang. Bảng và legend theo thứ tự guide; legend cũng có thể đặt ngay dưới hình trên trang riêng.
- Template Wiley một cột mà bản nộp của Elías 2026 dùng cũng được chấp nhận trong thực tế, nhưng guide chỉ nêu Authorea và không xem được template này (403). `article` thuần là an toàn nhất với câu "use only the basic functions".
- Supporting Information: nộp `supplement.pdf` như file riêng. Trong bài gọi "Supporting Information (Section S5, Table S12)" bằng chữ cứng. Đánh số S giữ nguyên như hiện nay.
- Spelling: giữ American (được phép); production sẽ đổi sang British.
### 3.6 Văn phong, giọng, độ dài so với C&G [Good-paper] + [Mẫu]
- **P1. Introduction = Review–Claim–Agenda** (Good-paper, theo Claerbout 1991).
- Đổi danh sách 4 contribution đánh số thành một hai đoạn Claim kể chuyện, nối bằng "but", "so", "therefore". Good-paper: bullet "useful… for listing", nhưng "When the points you want to make follow one from another it is better to present them in a normal running text".
- Bỏ câu kết quả ("which finds that registration accuracy comes first…") khỏi Intro; để ở Discussion/Conclusions.
- Kết bằng đoạn Agenda ("Section 2 describes…") như de Lima.
- Câu C&G "Computationally, … Geoscientifically, …" là yêu cầu riêng của C&G; với GP viết lại thành một câu về ý nghĩa cho địa vật lý thăm dò.
- **P2. Giới thiệu ML cho người đọc địa vật lý.** Good-paper: "Do not hesitate explaining even basic notions, especially in the Introduction"; mục tiêu "reach a wider audience than just the closest colleagues".
- Đặt bài toán dưới dạng quen thuộc của GP: inversion và well tie, sai số time–depth, dải tần seismic.
- Mạng nơ-ron là "a learned predictor (a convolutional–recurrent network)", không dùng thuật ngữ ML không định nghĩa: heteroscedastic head, TCN, GRU, deep ensemble. Nói đủ một lần hoặc đưa sang Methods và SI.
- "Errors-in-variables" và "Berkson" được định nghĩa bằng lời trước ký hiệu.
- **P3. Độ dài.** GP không giới hạn, [Mẫu] khoảng 7 700 từ, 8–14 hình, nên có thể bỏ ép 5 500 từ.
- Nên trả lại vào bài những phần reviewer GP cần để tự kiểm tra mà không mở SI: một đoạn thiết kế tối thiểu cho mỗi experiment, bảng Methods, phần chứng minh gọn ở Appendix.
- Vẫn giữ "less is more": không đưa nhật ký protocol vào bài, để ở SI.
- **P4. Giọng chủ động, "we"**; câu và đoạn ngắn ("Large blocks of text can put off readers").
- **P5. Contribution và limitation.**
- Novelty nói rõ một câu trong abstract và Intro (Good-paper: "A clear statement of what makes your work is novel or significant"; Queiroz 2025: "The novelty of the proposed method is…").
- Limitation nói thẳng, có lý do (Good-paper: "be open about any limitations"; Elías: "remains challenging due to limited data coverage").
- Kết quả âm như phát hiện (Pirogova, Han). Rào đón ở mức "suggests", "might"; không chồng nhiều tầng điều kiện trong một câu.
- **P6. Đặt tên mục theo nội dung vật lý/dữ liệu**, không theo mã thí nghiệm: "Application to…", "Synthetic Validation".
- "Experiment 1/2/3" vẫn dùng được nếu tiêu đề con nói nội dung, nhưng heading không có viết tắt.
- **P7. Tên phương pháp.** "SMC mean"/"SMC bank" dùng viết tắt trong tên. Với GP, cân nhắc "posterior-mean tie" và "posterior-sample bank", hoặc định nghĩa SMC lại ở mỗi mục.
- Đổi tên ở `paper_cg` thì phải giữ bảng ánh xạ tên trong `paper/README.md` nhất quán. Quyết định của phiên chính.
## 4. Chưa kiểm chứng được
1. ~~**Guide live hiện hành**~~ **Đã giải quyết 16/11/2026:** người dùng lưu trang guide live của Wiley thành `paper_gp/Geophysical Prospecting.pdf`; đã đọc và áp dụng (§6 dưới đây; `docs/plan.md` §12 mục 57).
2. **Template Authorea GP** (403, Wayback timeout). Không biết template đặt thứ tự phần hay dàn trang thế nào. Cũng chưa xác minh template Wiley một cột trong bản nộp của Elías có được GP khuyến nghị chính thức không.
3. **Toàn văn bản đăng của 12/14 bài mẫu**, gồm 2 tiền lệ chính Pirogova 2019 và Heidari 2023 (closed, PDF Wiley 403, preprint ESSOAr chưa lấy được). Nhận xét về các bài này chỉ dựa trên abstract. Elías và Auestad chỉ đọc preprint; bản đăng đã đổi tiêu đề, có thể đổi cả nội dung.
4. **Keywords tác giả của các bài Abs:** OpenAlex chỉ có keyword tự sinh; không thấy keyword thật.
5. **Số ngắt đoạn của abstract** các bài Abs (OpenAlex làm mất ngắt đoạn).
6. **Phí OnlineOpen hiện hành** và thời gian xử lý: không đọc lại hôm nay; lấy từ `venue-survey.md`.
7. **Quy định code riêng của GP:** guide chỉ nói dữ liệu, không nói code. Good-paper nói "Ideally an interested reader should be able to reproduce your results"; không phải điều kiện desk-reject.
## 6. Guide live (Wiley, bản in 16/11/2026) và các thay đổi so với bản 2022
Nguồn: `paper_gp/Geophysical Prospecting.pdf` (trang "forauthors" của Wiley, người dùng in ngày 16/11/2026). Những điểm mới hoặc rõ hơn so với bản Wayback 2022 (§1), và cách áp dụng vào `paper_gp/main.tex`:
| Quy định [Guide live] | Áp dụng |
|---|---|
| Thứ tự: title, running title (< 50 ký tự), tên tác giả, affiliation; Acknowledgments; Abstract và keywords; Data Availability Statement; main text; References; Tables (mỗi bảng đủ tiêu đề và chú thích); Figure legends; **Appendices**; Figures (mỗi hình một trang, sau text, theo thứ tự trích) | Đúng thứ tự đó; bảng và hình không còn là float (bỏ `endfloat`), mỗi cái một trang |
| Appendix được in sau References và phải được nhắc trong text; Supporting Information là "not essential to the article" | Thêm **Appendix A** (Mệnh đề A1–A5, Hệ quả A1–A2 cùng chứng minh, chép từ `paper/sections/A_proofs.tex`, không thêm toán mới); phần còn lại vẫn ở Appendix SA |
| LaTeX: "basic functions, avoiding complicated macros or cross-references" | Bỏ các macro tự định nghĩa (chỉ giữ `\todo`); tham chiếu SI là văn bản thường |
| Introduction: bối cảnh, tổng quan, mục tiêu, dàn ý; không phương trình, hình, "no results, descriptions or conclusive remarks" | Câu "lỗi cỡ một chu kỳ trên F3" và "the work shows how" được đổi thành chỉ dẫn và mục tiêu |
| Từ viết tắt định nghĩa lần đầu trong từng mục; không có trong title, tiêu đề mục, abstract | Kiểm bằng script theo mục; định nghĩa lại SMC ở Field và Discussion; DILATE giải thích |
| Mọi phương trình đánh số, trích "equation (1)", có dấu câu | Phương trình 1–3 trong text, A1–A15 trong phụ lục |
| Số dưới 10 viết bằng chữ (trừ có đơn vị hoặc trong danh sách số) | "one of four", "three of the four cells", "two of 152 wells", ... |
| Không footnote trong text, không tên thương mại, tránh dangling participle, "seismic" chỉ là tính từ, không viết tắt kiểu "don't" | OpendTect bỏ khỏi legend Hình 1; sửa một dangling participle (σ_a = 3,5 ms) |
| Conclusion vài đoạn, có thể gợi ý một hai hướng tiếp; thường không nhắc phương trình, hình, bảng | Ba đoạn; hai hướng tiếp (field test có time–depth độc lập; tie model ước lượng cả wavelet và σ_a) |
| Legend tự đứng được, định nghĩa ký hiệu, viết tắt, đơn vị | Viết lại sáu legend |
| Dữ liệu trích dạng "[dataset] Authors; Year; Title; Repository; Version; PID" | `paper_gp/gpnat.bst` (plainnat + trường `prefix`); `prefix = {[dataset]}` cho F3, Volve, Teapot trong `paper/refs.bib` |
| AI: mô tả "transparently and in detail" trong Methods hoặc Acknowledgements | Lời khai báo chi tiết hơn trong Acknowledgments (công cụ, thời gian, việc làm, trách nhiệm); tác giả phải xác nhận |
| Funding trong Acknowledgments; conflict of interest khai ở hệ thống nộp, không in; ORCID của tác giả nộp | todo cho tác giả |
| Lúc revision: hình và bảng là file riêng | Chưa làm (lần nộp đầu) |
## 5. Nguồn
Hướng dẫn và chính sách (truy cập 16/11/2026):
- GP author guidelines (EarthDoc), Wayback 10/12/2025: http://web.archive.org/web/20251210202622/https://www.earthdoc.org/content/journals/gpr?page=submit-a-paper. Toàn văn.
- GP author guidelines (Wiley), Wayback 19/03/2022: http://web.archive.org/web/20220319231155/https://onlinelibrary.wiley.com/page/journal/13652478/homepage/forauthors.html. Toàn văn, bản cũ.
- Luheshi & Moser, "What makes a good Geophysical Prospecting paper?", Wayback 26/06/2025: http://web.archive.org/web/20250626055319/https://onlinelibrary.wiley.com/pb-assets/assets/13652478/What%20makes%20a%20good%20Geophysical%20Prospecting%20paper-1629792321043.pdf. Toàn văn.
- EAGE statement on AI generated content for papers, Wayback 10/06/2026: http://web.archive.org/web/20260610114717/https://eage.org/eage_news/eage-statement-on-ai-generated-content-for-papers/. Toàn văn.
- Không đọc được: https://onlinelibrary.wiley.com/page/journal/13652478/homepage/forauthors.html (403); https://www.earthdoc.org/content/journals/gpr?page=submit-a-paper (403); https://authorea.com/templates/geophysical_prospecting (403).
Bài mẫu: xem bảng §2, đủ DOI. Mức đọc được:
- **Toàn văn bản đăng:** 10.1111/1365-2478.70228 (PDF CC BY tại `refs/`); 10.1111/1365-2478.13604 (Wayback HTML).
- **Toàn văn preprint:**
- 10.1111/1365-2478.70242: EarthArXiv 10.31223/x50j19.
- 10.1111/1365-2478.70108: arXiv 2403.03656.
- **Chỉ abstract (OpenAlex API, https://api.openalex.org/works/doi:…):** 10.1111/1365-2478.12796, .13312, .13233, .13243, .13333, .70041, .70130, .13197, .70026, .70119, .13252, .13484.

View File

@@ -186,3 +186,7 @@ Việc cần làm để nộp GP (chưa làm):
2. Chuyển `paper_cg/main.tex` từ template Elsevier CAS sang định dạng GP chấp nhận; bỏ các mục chỉ Elsevier cần (highlights, "Computer code availability" theo kiểu C&G) nếu GP không yêu cầu; viết Data Availability Statement. 2. Chuyển `paper_cg/main.tex` từ template Elsevier CAS sang định dạng GP chấp nhận; bỏ các mục chỉ Elsevier cần (highlights, "Computer code availability" theo kiểu C&G) nếu GP không yêu cầu; viết Data Availability Statement.
3. Cover letter: nêu đây là nghiên cứu lý thuyết và benchmark về sai số buộc giếng (well tie) trong dự báo porosity từ địa chấn, có hai trường hợp thực địa thất bại, và yêu cầu cho kiểm định giếng mù. 3. Cover letter: nêu đây là nghiên cứu lý thuyết và benchmark về sai số buộc giếng (well tie) trong dự báo porosity từ địa chấn, có hai trường hợp thực địa thất bại, và yêu cầu cho kiểm định giếng mù.
4. Phần của người dùng: tác giả, khai báo, DOI Zenodo. 4. Phần của người dùng: tác giả, khai báo, DOI Zenodo.
**Cập nhật 16/11/2026:** mục 1–2 ở trên đã làm. Guide GP đọc qua bản Wayback 10/12/2025 (guide ngày 19/07/2022; trang live trả 403), chi tiết trong `docs/research/gp-style-survey.md`. Bản nộp GP nằm ở `paper_gp/` (`main.tex`, `supplement.tex` = Supporting Information, `README.md` có checklist); `paper_cg/` giữ làm bản dự phòng C&G. Mục 3–4 vẫn chờ người dùng.
**Cập nhật 16/11/2026 (sau đó):** người dùng bỏ `paper_cg/` khỏi working tree (không khôi phục; bản đã commit ở `883dccf`). Nếu quay lại C&G thì phải dựng lại bản CAS từ `paper_gp/` hoặc từ git (`docs/plan.md` §12 ý 56).

View File

@@ -6,15 +6,19 @@ Build (no latexmk on the server):
pdflatex main && bibtex main && pdflatex main && pdflatex main pdflatex main && bibtex main && pdflatex main && pdflatex main
``` ```
A condensed *Computers & Geosciences* version (body 5,099 words, 17 pages, Elsevier CAS template) and a Supplementary The *Geophysical Prospecting* article and its Supporting Information, which `\input`s these sections
material that `\input`s these sections unchanged live in `../paper_cg/` (see its README). Edit unchanged, live in `../paper_gp/` (see its README). Edit the sections here; then rebuild both. The
the sections here; then rebuild both. On 13/11/2026 the submission venue changed to *Geophysical condensed *Computers & Geosciences* version (`paper_cg/`, 12/11/2026) was removed from the working
tree on 16/11/2026 at the user's request (recoverable from git, commit `883dccf`). On 13/11/2026 the submission venue changed to *Geophysical
Prospecting* (EAGE/Wiley; free venues with a published real-data-failure precedent only; fallback Prospecting* (EAGE/Wiley; free venues with a published real-data-failure precedent only; fallback
*Mathematical Geosciences*; *Computers & Geosciences* only with a public repository; *Mathematical Geosciences*; *Computers & Geosciences* only with a public repository;
`../docs/research/venue-survey.md` §7; *Geoenergy Science and Engineering*, chosen on 12/11, was `../docs/research/venue-survey.md` §7; *Geoenergy Science and Engineering*, chosen on 12/11, was
dropped). The condensed version is the base of that submission; it must move from the Elsevier CAS dropped). The GP version was made on 16/11/2026 in `../paper_gp/` (article class, its own
template to the GP format, and the GP guide must be reread for the abstract limit (the abstract, supplement that `\input`s these sections; see its README). Its Appendix A copies the core
shared with `sections/00_abstract.tex`, has 269 words; *Mathematical Geosciences* allows ≤ 250). statements and proofs of `sections/A_proofs.tex`: if a proof changes here, change it there too. The
F3, Volve and Teapot entries of `refs.bib` carry `prefix = {[dataset]}`, which only `../paper_gp/gpnat.bst` prints.
The abstract, shared with `sections/00_abstract.tex` and identical in `../paper_gp/main.tex`, has 272
whitespace-separated tokens; GP states no limit, *Mathematical Geosciences* allows ≤ 250.
Red text (`\todo`, `\todoblock`, `\figplaceholder`) marks parts that are not ready. Red text (`\todo`, `\todoblock`, `\figplaceholder`) marks parts that are not ready.
Search for them with `grep -n 'todo\|figplaceholder' sections/*.tex`. Search for them with `grep -n 'todo\|figplaceholder' sections/*.tex`.
@@ -122,5 +126,5 @@ Wording must respect `docs/plan.md` §10 (forbidden claims).
Length: Computers & Geosciences limits an original Research Article to 5,500 words (+10% permissible) excluding abstract, keywords, highlights, Length: Computers & Geosciences limits an original Research Article to 5,500 words (+10% permissible) excluding abstract, keywords, highlights,
references and captions (checked on 12/11/2026 against the official Guide for Authors saved by the user; on 29/10 only a secondary source was available). references and captions (checked on 12/11/2026 against the official Guide for Authors saved by the user; on 29/10 only a secondary source was available).
This full-length manuscript exceeds the limit and stays the master text; the condensed article in `../paper_cg/` (body 5,099 words) is the base of the version to submit (the venue changed on 13/11/2026 to *Geophysical Prospecting*, which has no word limit). This full-length manuscript exceeds the limit and stays the master text; the condensed C&G article (`paper_cg/`, body 5,099 words; removed from the working tree on 16/11/2026, recoverable from commit `883dccf`) was the *Computers & Geosciences* version, and `../paper_gp/` (derived from it on 16/11/2026, *Geophysical Prospecting* format, no word limit) is the version to submit. It reuses this folder's figures and `refs.bib`; its abstract is a verbatim copy of `sections/00_abstract.tex`.
The main text (Secs. 1–8) is about 18,100 words (crude count after the 02/11 writing pass, which added about 3,100 words for Experiment 3, the mechanism study and the discussion; the proof review of the same day added about 350 more and the full-text pass of Sec. 2 about 130, estimated; the hallucination audit of 04/11 added about 600 more, crude count; 69 pages), and exceeds that limit. The length pass was dropped by the user on 2026-10-29 (`docs/plan.md` §12 item 25). After the rewrite of 09/11/2026 (`docs/plan.md` §12 item 38) the main text is about 15,400 words, against 20,600 before, by one counter that excludes tables and equations; the page count is 69. The worked example of Sec. 6.6 uses only the numbers of Table `tab:t3`, the warp errors of Sec. 6.6 and the Teapot residual of App. B.3. The main text (Secs. 1–8) is about 18,100 words (crude count after the 02/11 writing pass, which added about 3,100 words for Experiment 3, the mechanism study and the discussion; the proof review of the same day added about 350 more and the full-text pass of Sec. 2 about 130, estimated; the hallucination audit of 04/11 added about 600 more, crude count; 69 pages), and exceeds that limit. The length pass was dropped by the user on 2026-10-29 (`docs/plan.md` §12 item 25). After the rewrite of 09/11/2026 (`docs/plan.md` §12 item 38) the main text is about 15,400 words, against 20,600 before, by one counter that excludes tables and equations; the page count is 69. The worked example of Sec. 6.6 uses only the numbers of Table `tab:t3`, the warp errors of Sec. 6.6 and the Teapot residual of App. B.3.

Binary file not shown.

View File

@@ -88,7 +88,7 @@
pages = {698--712}, pages = {698--712},
doi = {10.1111/1365-2478.13333}, doi = {10.1111/1365-2478.13333},
url = {https://doi.org/10.1111/1365-2478.13333}, url = {https://doi.org/10.1111/1365-2478.13333},
annote = {P07; survey evidence level F; accessed 2026-10-23; full text not obtainable (confirmed 2026-10-28): cite as abstract-only} annote = {P07; survey evidence level F; accessed 2026-10-23; full text not obtainable (confirmed 2026-10-28): cite as abstract-only. Abstract reread on OpenAlex 2026-11-17: time-variant wavelets from a dual-task autoencoder, time shift from a flow net trained on pseudo data, two field datasets.}
} }
@article{li2025cascadedtie, @article{li2025cascadedtie,
@@ -607,6 +607,7 @@
} }
@misc{bader2017teapot, @misc{bader2017teapot,
prefix = {[dataset]},
author = {Bader, Sean}, author = {Bader, Sean},
title = {{Teapot Dome Well Tie}}, title = {{Teapot Dome Well Tie}},
howpublished = {Texas Data Repository, dataset}, howpublished = {Texas Data Repository, dataset},
@@ -635,7 +636,7 @@
pages = {226--236}, pages = {226--236},
doi = {10.1109/TIT.1962.1057717}, doi = {10.1109/TIT.1962.1057717},
url = {https://doi.org/10.1109/TIT.1962.1057717}, url = {https://doi.org/10.1109/TIT.1962.1057717},
annote = {Metadata verified via Crossref 2026-10-29 (Crossref lists the successor name IEEE Transactions on Information Theory). Abstract and full text not obtained. Cited only for the general statement that the spectral effect of random timing errors has been studied for sampling jitter; Schwarzmann and Kaeser (arXiv:2509.04199, Sec. II) cite it for "spectral distortion under random timing perturbations".} annote = {Metadata verified via Crossref 2026-10-29 (Crossref lists the successor name IEEE Transactions on Information Theory). Abstract read on OpenAlex 2026-11-17 ("the effect of jitter is to produce a (frequency) selective attenuation as well as a uniform spectral density component"); full text not obtained. Cited for the general statement that random timing jitter in sampling produces a frequency-selective attenuation; Schwarzmann and Kaeser (arXiv:2509.04199, Sec. II) cite it for "spectral distortion under random timing perturbations".}
} }
% ---- Added 2026-11-02: preliminary novelty scan (Crossref, OpenAlex 2025--2026, web search; plan section 12 item 31). % ---- Added 2026-11-02: preliminary novelty scan (Crossref, OpenAlex 2025--2026, web search; plan section 12 item 31).
@@ -681,6 +682,7 @@
% ---- Datasets (added 2026-11-02; metadata read from the providers' pages on 2026-11-02) ---- % ---- Datasets (added 2026-11-02; metadata read from the providers' pages on 2026-11-02) ----
@misc{dgb2023f3demo, @misc{dgb2023f3demo,
prefix = {[dataset]},
author = {{dGB Earth Sciences}}, author = {{dGB Earth Sciences}},
title = {{F3 Demo 2023}: {OpendTect} project of the {F3} block, {Dutch} sector of the {North Sea}}, title = {{F3 Demo 2023}: {OpendTect} project of the {F3} block, {Dutch} sector of the {North Sea}},
howpublished = {TerraNubis data portal, dataset. Original seismic: NAM; original source: NLOG}, howpublished = {TerraNubis data portal, dataset. Original seismic: NAM; original source: NLOG},
@@ -691,6 +693,7 @@
} }
@misc{equinor2018volve, @misc{equinor2018volve,
prefix = {[dataset]},
author = {{Equinor}}, author = {{Equinor}},
title = {{Volve} field data set}, title = {{Volve} field data set},
howpublished = {Equinor ASA, dataset. Data owners: Equinor, ExxonMobil, Bayerngas and the Norwegian Petroleum Directorate}, howpublished = {Equinor ASA, dataset. Data owners: Equinor, ExxonMobil, Bayerngas and the Norwegian Petroleum Directorate},
@@ -769,7 +772,7 @@
} }
@article{white2003goodpractice, @article{white2003goodpractice,
author = {White, Rachel E. and Simm, Rob}, author = {White, R. E. and Simm, Rob},
title = {Tutorial: good practice in well ties}, title = {Tutorial: good practice in well ties},
journal = {First Break}, journal = {First Break},
volume = {21}, volume = {21},

View File

@@ -1,5 +1,5 @@
\begin{abstract} \begin{abstract}
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 (7--19\% in a repeat on new realizations) 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 that a blind-well comparison, with a test calibrated for wells that share training data, needs 5--18 wells with an exact reference in four of six cases and more than 40 with a 1.5\,ms reference error. Seismic reservoir-property predictors are trained on well logs placed in two-way time by uncertain well ties. We treat tie error as error in the time index of the labels and show that errors independent of the data blur the optimal predictor and attenuate the seismic band. In a controlled experiment the measured blur matched the prediction to within 1\% for timing errors of 4--16\,ms (6.8--22.5\,Hz). In a linear-Gaussian model a posterior-mean tie is predicted to sharpen the predictor, but where testable the trained network was blurred. In population, a calibrated bank of posterior labels can improve on the posterior-mean tie only at fourth order. We release a synthetic benchmark of F3 statistics with known timing and a scorer. The benchmark assumes a correctly specified tie model and dense anchors of known uncertainty. Here, labels at the mean of a sequential Monte Carlo tie posterior reduced the seismic-band root-mean-square error by 8--22\% relative to the best deterministic tie (7--19\% in a repeat on new realizations). The gain comes mainly from a more accurate tie model. The result held against a practitioner tie tuned on development data and at three training budgets, but not when the anchors were 2\,ms accurate or carried per-well bulk errors. The best saved posterior sample, used as a point tie, gave most of it. Training on posterior samples added 2--3\% when the posterior was wide (11\% in one setting with an overconfident posterior), but a Gaussian bank with the same two moments obtained most of that. Field validation remains open: F3 and Volve showed no consistent improvement. An exploratory power analysis suggests that a blind-well comparison needs 5--18 wells with an exact reference and more than 40 with a 1.5\,ms reference error.
\end{abstract} \end{abstract}
\noindent\textbf{Keywords:} well tie; tie uncertainty; registration error; errors-in-variables; seismic porosity prediction; synthetic benchmark; blind-well validation; statistical power \noindent\textbf{Keywords:} well tie; tie uncertainty; registration error; errors-in-variables; seismic porosity prediction; synthetic benchmark; blind-well validation; statistical power

View File

@@ -1,20 +1,20 @@
\section{Introduction} \section{Introduction}
\label{sec:intro} \label{sec:intro}
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. 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}. In those treatments, however, 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 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. 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. 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 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}. 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 requires to detect the difference. It makes four contributions, each answering a gap identified in Section~\ref{sec:related}.
\begin{enumerate} \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 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 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. The seismic band is therefore attenuated (Proposition~\ref{prop:blur}). A controlled experiment, with timing errors drawn per window and an MSE loss, matches this attenuation to within 1\% for errors of 4--16\,ms in the band where the predictor has coherent power (6.8--22.5\,Hz). 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, not sharpened (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}). Losses that learn the alignment from the network's own predictions, such as soft-DTW \citep{cuturi2017softdtw}, therefore cannot fix absolute timing. Training on a calibrated bank of posterior labels has the population optimum of training on true labels. For zero-mean errors, however, 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 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$). It 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 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{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. \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} \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, and by 7--19\% when the experiment was repeated on eight realizations generated afterwards. 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. 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, and by 7--19\% when the experiment was repeated on eight realizations generated afterwards. Most of this advantage was already present without drift, so it reflects a more accurate tie rather than the correction of drift. The best saved particle of the same posterior (the highest tempered target among 1024 samples), 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 the gain 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}). 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}).

View File

@@ -1,23 +1,23 @@
\section{Related work} \section{Related work}
\label{sec:related} \label{sec:related}
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}. 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. 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.} \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). 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. \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 \emph{Computers \& Geosciences}, \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, 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. 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.} \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 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. 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. 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 \emph{Computers \& Geosciences} \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. 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.} \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. 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.} \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}, 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. 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. This 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}. 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}). 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}).
@@ -31,7 +31,7 @@ Public benchmarks for learned seismic interpretation and inversion define the la
Random splits of spatially structured data underestimate the prediction error, and blocked validation is recommended instead \citep{roberts2017cv}. For seismic facies segmentation on F3, \citet{li2026leakage} show that random splits of overlapping patches leak spatial information, and that under a leakage-aware protocol the differences between architectures were generally smaller than the variation between seeds. More generally, variance from data sampling, initialization and hyperparameters can decide a comparison of learning methods \citep{bouthillier2021variance}, and comparisons over several test units call for paired non-parametric tests such as the Wilcoxon signed-ranks test \citep{demsar2006comparisons}. In well-based validation the test units are blind wells, which are few in public field data, and the reference at each blind well is itself placed by a tie. We found no study that asks how accurate that reference must be, or how many blind wells a comparison of tie methods needs. Random splits of spatially structured data underestimate the prediction error, and blocked validation is recommended instead \citep{roberts2017cv}. For seismic facies segmentation on F3, \citet{li2026leakage} show that random splits of overlapping patches leak spatial information, and that under a leakage-aware protocol the differences between architectures were generally smaller than the variation between seeds. More generally, variance from data sampling, initialization and hyperparameters can decide a comparison of learning methods \citep{bouthillier2021variance}, and comparisons over several test units call for paired non-parametric tests such as the Wilcoxon signed-ranks test \citep{demsar2006comparisons}. In well-based validation the test units are blind wells, which are few in public field data, and the reference at each blind well is itself placed by a tie. We found no study that asks how accurate that reference must be, or how many blind wells a comparison of tie methods needs.
\paragraph{Position of this work.} \paragraph{Position of this work.}
The ingredients are not new: tie posteriors \citep{buland2003bayesianwavelet,gunning2006waveletextractor}, the spectral effect of random timing errors \citep{balakrishnan1962jitter}, the classical and Berkson structures \citep{carroll2006measurement}, and a likelihood marginalized over label translations \citep{mnih2012aerial}. To our knowledge, no work in the reviewed literature combines them for seismic property prediction (Table~\ref{tab:positioning}). Four gaps remain, one for each contribution of Section~\ref{sec:intro}. No work analyses how tie error in the training labels changes the learned predictor (contribution~1). None feeds a tie posterior into training and tests the result where the true registration is known (contribution~2). No public benchmark provides well labels together with their true tie (contribution~3). None derives how accurate the reference at blind wells must be, or how many blind wells are needed, for a comparison of tie methods to detect a difference (contribution~4). The ingredients are not new: tie posteriors \citep{buland2003bayesianwavelet,gunning2006waveletextractor}, the spectral effect of random timing errors \citep{balakrishnan1962jitter}, the classical and Berkson structures \citep{carroll2006measurement}, and a likelihood marginalized over label translations \citep{mnih2012aerial}. To our knowledge, no work in the reviewed literature combines them for seismic property prediction (Table~\ref{tab:positioning}). Four gaps remain, one for each contribution of Section~\ref{sec:intro}. No work analyzes how tie error in the training labels changes the learned predictor (contribution~1). None feeds a tie posterior into training and tests the result where the true registration is known (contribution~2). No public benchmark provides well labels together with their true tie (contribution~3). None derives how accurate the reference at blind wells must be, or how many blind wells are needed, for a comparison of tie methods to detect a difference (contribution~4).
\begin{table}[t] \begin{table}[t]
\centering \centering

View File

@@ -1,12 +1,12 @@
\section{Data and audit} \section{Data and audit}
\label{sec:data} \label{sec:data}
The theory and the controlled test use a synthetic benchmark whose statistics come from the F3 block, because only synthetic data give the true registration. Its generator, with the misspecified variants, is the basis of the released benchmark (contribution~3). F3 and the Volve field test the results on real wells (Section~\ref{sec:exp:scope} and Appendix~\ref{app:field}, which also describes Volve), and the audit of the F3 wells below shows what a field test on them can measure (contribution~4). The theory and the controlled test use a synthetic benchmark whose statistics come from the F3 block, because only synthetic data give the true registration. Its generator, with the misspecified variants, is the basis of the released benchmark (contribution~3). F3 and the Volve field test the results on real wells (Section~\ref{sec:exp:scope} and Appendix~\ref{app:field}, which also describes Volve). The audit of the F3 wells below shows what a field test on them can measure (contribution~4).
\subsection{F3 block} \subsection{F3 block}
\label{sec:data:f3} \label{sec:data:f3}
We use the public F3 Demo 2023 release of the F3 block, Dutch sector of the North Sea, distributed by dGB Earth Sciences as an OpendTect project under a CC BY-SA 3.0 license \citep{dgb2023f3demo}. The post-stack volume covers inlines 100--750 and crosslines 300--1250 at 4\,ms sampling. Four vertical wells have sonic (DT), density (RHOB) and effective porosity (PHIE) logs: F02-1, F03-2, F03-4 and F06-1. The release also contains seven interpreted horizons and time--depth (TD) markers at each well. All learning experiments use the window 600--1100\,ms TWT (126 samples), and tie likelihoods and anchors use the extended window 400--1300\,ms. Within the target window the amplitude spectrum of the volume peaks near 60\,Hz (43--62\,Hz around the wells), with a mean frequency of 49\,Hz, so the dominant period is 17--20\,ms. The $-20$\,dB band of the volume spans 4--83\,Hz. We use the public F3 Demo 2023 release of the F3 block, Dutch sector of the North Sea, distributed by dGB Earth Sciences as an OpendTect project under a CC BY-SA 3.0 license \citep{dgb2023f3demo}. The post-stack volume covers inlines 100--750 and crosslines 300--1250 at 4\,ms sampling. Four vertical wells have sonic (DT), density (RHOB) and effective porosity (PHIE) logs: F02-1, F03-2, F03-4 and F06-1. The release also contains seven interpreted horizons and time--depth (TD) markers at each well. All learning experiments use the window 600--1100\,ms TWT (126 samples), and tie likelihoods and anchors use the extended window 400--1300\,ms. Within the target window the amplitude spectrum of the volume peaks near 60\,Hz (43--62\,Hz around the wells) and has a mean frequency of 49\,Hz, so the dominant period is 17--20\,ms. The $-20$\,dB band of the volume spans 4--83\,Hz.
An audit of the well data before any modeling changed how we use them (Table~\ref{tab:audit}). An audit of the well data before any modeling changed how we use them (Table~\ref{tab:audit}).
@@ -32,9 +32,9 @@ 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. 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.} \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 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. 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 this offset changes sign with depth, which a datum correction does not explain.
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. 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 scaled median absolute deviation (a robust estimate of the standard deviation, $1.4826 \times$ the median absolute deviation) of marker--horizon time differences over 18 pairs at the four wells is 6.9\,ms, and we use $\sigma_a = 7$\,ms. The sample standard deviation is 16.5\,ms, because a few pairs differ by much more; the anchor errors are heavy-tailed. Each well has 9--11 anchors in the target window, 8 to about 148\,ms apart.
\begin{figure}[t] \begin{figure}[t]
\centering \centering
@@ -44,21 +44,21 @@ The ``check-shot'' tables are these markers, with the same depths and times. The
\end{figure} \end{figure}
\paragraph{The F3 ``porosity'' label is a linear transform of sonic slowness.} \paragraph{The F3 ``porosity'' label is a linear transform of sonic slowness.}
At F03-2, F03-4 and F06-1, PHIE is an exact linear function of the sonic log: $\mathrm{PHIE} = -0.2018 + 0.0011\,\mathrm{DT}$ (DT in $\mu$s/m, $R^2 = 1.00000$, maximum error $10^{-4}$). It is equally exactly $(2650 - \mathrm{RHOB})/1600$, because the density at these wells is itself derived from sonic. A national well-log archive shows that the density in the release at F03-4 and F06-1 is a predicted log (the archive holds a measured log at F03-4), and the measured density at F03-2 starts below the target window. At F02-1, PHIE follows the measured density ($R^2 = 0.84$) but is not a deterministic function of it. At F03-2, F03-4 and F06-1, PHIE is an exact linear function of the sonic log: $\mathrm{PHIE} = -0.2018 + 0.0011\,\mathrm{DT}$ (DT in $\mu$s/m, $R^2 = 1.00000$, maximum error $10^{-4}$). It is equally exactly $(2650 - \mathrm{RHOB})/1600$, because the density at these wells is itself derived from sonic. A national well-log archive shows that the density in the release at F03-4 and F06-1 is a predicted log (the archive holds a measured log at F03-4). The measured density at F03-2 starts below the target window. At F02-1, PHIE follows the measured density ($R^2 = 0.84$) but is not a deterministic function of it.
To give all four wells one label definition, we use $\mathrm{PHIE}_{\mathrm{DT}} = -0.2018 + 0.0011\,\mathrm{DT}$ at all wells and report the original PHIE as a sensitivity check. We call this target porosity only in this sense. Density porosity computed from density measured in the national archive explains 27--59\% of its variance at four wells with measured density in the window (F02-1, F03-4 and two archive wells outside the release). Choosing the label is therefore choosing what is learned. There is one benefit: the rock-physics chain $\phi \to \mathrm{DT} \to \mathrm{RHOB} \to$ acoustic impedance is known exactly, so the physical tie likelihood of Section~\ref{sec:method} is not an approximation on F3. To give all four wells one label definition, we use $\mathrm{PHIE}_{\mathrm{DT}} = -0.2018 + 0.0011\,\mathrm{DT}$ at all wells and report the original PHIE as a sensitivity check. We call this target porosity only in this sense. Density porosity computed from density measured in the national archive explains 27--59\% of its variance at four wells with measured density in the window (F02-1, F03-4 and two archive wells outside the release). Choosing the label is therefore choosing what is learned. There is one benefit: the rock-physics chain $\phi \to \mathrm{DT} \to \mathrm{RHOB} \to$ acoustic impedance is known exactly, so the physical tie likelihood of Section~\ref{sec:method} is not an approximation on F3.
\subsection{Synthetic benchmark} \subsection{Synthetic benchmark}
\label{sec:data:d2} \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 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 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. 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 range, 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 and 8 test wells at least 1\,km from every other well; nested subsets of $N$ training wells are drawn from the pool. 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: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$. 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.} \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}). The misspecification study of Experiment~3 generates the data with a simulator that departs from the model used for registration. That model 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}).
\begin{itemize} \begin{itemize}
\item \emph{Rock physics.} The DT intercept (matrix slowness) is scaled in each stratigraphic unit by $1 + \sigma_{\mathrm{rp}}\zeta_u$, $\zeta_u \sim \N(0, 1)$, with $\sigma_{\mathrm{rp}} = 0.10$ (mild, about $\pm 18\,\mu$s/m) or $0.15$ (strong). \item \emph{Rock physics.} The DT intercept (matrix slowness) is scaled in each stratigraphic unit by $1 + \sigma_{\mathrm{rp}}\zeta_u$, $\zeta_u \sim \N(0, 1)$, with $\sigma_{\mathrm{rp}} = 0.10$ (mild, about $\pm 18\,\mu$s/m) or $0.15$ (strong).
\item \emph{Wavelet.} The phase spectrum is half (mild) or all (strong) of the minimum-phase spectrum of the nominal amplitude spectrum. A separate preset applies constant-$Q$ attenuation (quality factor $Q = 80$ from 400\,ms, with dispersion), which lowers the peak frequency from 59 to 32\,Hz across the window. \item \emph{Wavelet.} The phase spectrum is half (mild) or all (strong) of the minimum-phase spectrum of the nominal amplitude spectrum. A separate preset applies constant-$Q$ attenuation (quality factor $Q = 80$ from 400\,ms, with dispersion), which lowers the peak frequency from 59 to 32\,Hz across the window.
@@ -69,7 +69,7 @@ The model error measures the size of a seismic misspecification. It is the RMS r
\subsection{Released benchmark package} \subsection{Released benchmark package}
\label{sec:data: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 hash-locked stress was tested at 10\,dB only, and an exploratory repeat at $-5$\,dB, not included in the package, also failed (Table~\ref{tab:sigmaa}). 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. 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. These 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 hash-locked stress test was run at 10\,dB only; an exploratory repeat at $-5$\,dB, not included in the package, also failed (Table~\ref{tab:sigmaa}). 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] \begin{table}[!htbp]
\centering \centering

View File

@@ -11,9 +11,9 @@ For well $w$ with depth logs $\phi_w(z)$, $\mathrm{DT}_w(z)$ and $\mathrm{RHOB}_
t_w(z; b_w, g_w) = t_{w,\mathrm{ref}} + b_w + 2\int_{z_{\mathrm{ref}}}^{z} \mathrm{DT}_w(z')\, e^{g_w(z')}\dd z' . t_w(z; b_w, g_w) = t_{w,\mathrm{ref}} + b_w + 2\int_{z_{\mathrm{ref}}}^{z} \mathrm{DT}_w(z')\, e^{g_w(z')}\dd z' .
\label{eq:warp} \label{eq:warp}
\end{equation} \end{equation}
Here $(z_{\mathrm{ref}}, t_{w,\mathrm{ref}})$ is a reference depth and its time, and the warp is $u_w = (b_w, g_w)$. The log-slowness correction $g_w$ describes sonic--seismic drift from dispersion, tool effects or washouts. Because $e^{g} > 0$, the map is monotone by construction. The bulk offset is $b_w \sim \N(0, \sigma_b^2)$. The prior on $g_w$ is a Gaussian process with constant mean $m_g$ and a Mat\'ern-3/2 kernel with scale $\sigma_g$ and length $\ell_g$. The hyperparameters $(m_g, \sigma_g, \ell_g)$ are fitted by type-II maximum a posteriori estimation, with log-normal hyperpriors on $\sigma_g$ and $\ell_g$, on the anchors of the training wells only, with $\sigma_a = 7$\,ms (the registered value in the anchor-uncertainty test of Section~\ref{sec:exp:p2r}) and $\sigma_b = 50$\,ms fixed. Anchors are observed as $t_{wk} = t_w(z_{wk}) + \varepsilon_{wk}$ with $\varepsilon_{wk} \sim \N(0, \sigma_a^2)$. On F3 the same sonic log produces both the label and the time axis through \eqref{eq:warp}, so label and registration are coupled. We write $\tau(t)$ for the sonic two-way time of the depth that a warp places at seismic time $t$, so a difference in $\tau$ between two warps is a timing error in milliseconds. Here $(z_{\mathrm{ref}}, t_{w,\mathrm{ref}})$ is a reference depth and its time, and the warp is $u_w = (b_w, g_w)$. The log-slowness correction $g_w$ describes sonic--seismic drift from dispersion, tool effects or washouts. Because $e^{g} > 0$, the map is monotone by construction. The bulk offset is $b_w \sim \N(0, \sigma_b^2)$. The prior on $g_w$ is a Gaussian process with constant mean $m_g$ and a Mat\'ern-3/2 kernel with scale $\sigma_g$ and length $\ell_g$. The hyperparameters $(m_g, \sigma_g, \ell_g)$ are fitted by type-II maximum a posteriori estimation on the anchors of the training wells only, with log-normal hyperpriors on $\sigma_g$ and $\ell_g$. The fit keeps $\sigma_a = 7$\,ms (the registered value in the anchor-uncertainty test of Section~\ref{sec:exp:p2r}) and $\sigma_b = 50$\,ms fixed. Anchors are observed as $t_{wk} = t_w(z_{wk}) + \varepsilon_{wk}$ with $\varepsilon_{wk} \sim \N(0, \sigma_a^2)$. On F3 the same sonic log produces both the label and the time axis through \eqref{eq:warp}, so label and registration are coupled. We write $\tau(t)$ for the sonic two-way time of the depth that a warp places at seismic time $t$, so a difference in $\tau$ between two warps is a timing error in milliseconds.
A separate type-II maximum-likelihood fit of all five hyperparameters to the F3 anchors gives $m_g = 0.014$, $\sigma_g = 0.10$, $\ell_g = 71$\,ms and a bulk spread $\sigma_b = 19$\,ms. In leave-one-anchor-out tests of this fit, 87\% of held-out anchors lie inside the 90\% predictive interval. The synthetic benchmark draws its true warps from this fitted prior (Section~\ref{sec:data:d2}). The same fit gives $\sigma_a = 0.4$\,ms, which is not reliable because it treats the markers as exact, whereas they are picks on the same seismic. We therefore use the empirical spread $\sigma_a = 7$\,ms (Section~\ref{sec:data:f3}). On F3, $\sigma_a$ is not identifiable from the data at hand. A separate type-II maximum-likelihood fit of all five hyperparameters to the F3 anchors gives $m_g = 0.014$, $\sigma_g = 0.10$, $\ell_g = 71$\,ms and a bulk spread $\sigma_b = 19$\,ms. In leave-one-anchor-out tests of this fit, 87\% of held-out anchors lie inside the 90\% predictive interval. The synthetic benchmark draws its true warps from this fitted prior (Section~\ref{sec:data:d2}). The same fit gives $\sigma_a = 0.4$\,ms. This value is not reliable: the fit treats the markers as exact, whereas they are picks on the same seismic. We therefore use the empirical spread $\sigma_a = 7$\,ms (Section~\ref{sec:data:f3}). On F3, $\sigma_a$ is not identifiable from the data at hand.
\subsection{Physical tie likelihood} \subsection{Physical tie likelihood}
\label{sec:method:tie} \label{sec:method:tie}
@@ -31,7 +31,7 @@ where $\mathbf r_w$ is the reflectivity computed from acoustic impedance $\mathr
We draw $S = 64$ warps per well from the anchor-conditioned posterior. The proposal is a Laplace (Gauss--Newton) approximation, refined by elliptical slice sampling \citep{murray2010ess}. Physical weights $\pi_s \propto p(\mathbf s_w\mid u^{(s)})^{\omega'}$ use the largest exponent $\omega'$ that keeps the effective sample size at least $S/4$. We draw $S = 64$ warps per well from the anchor-conditioned posterior. The proposal is a Laplace (Gauss--Newton) approximation, refined by elliptical slice sampling \citep{murray2010ess}. Physical weights $\pi_s \propto p(\mathbf s_w\mid u^{(s)})^{\omega'}$ use the largest exponent $\omega'$ that keeps the effective sample size at least $S/4$.
\paragraph{Sequential Monte Carlo posterior (Experiment~2).} \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. The bank size was fixed before the trial and not tuned. In an exploratory check made after all verdicts (Appendix~\ref{app:record}), nested banks of 256 and 1024 members drawn from the same particles had no wide cell in which their band RMSE was higher than that of the 64-member bank with a 95\% interval excluding 1, and were up to 2\% lower at $c = 1$ (6\% in one $c = 2$ cell), so $S = 64$ may have slightly understated the gain of the bank. Importance weights over 64 anchor-conditioned samples cannot move mass to warps that the anchor posterior rarely proposes. 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. The bank size was fixed before the trial and not tuned. In an exploratory check made after all verdicts (Appendix~\ref{app:record}), nested banks of 256 and 1024 members drawn from the same particles had no wide cell in which their band RMSE was higher than that of the 64-member bank with a 95\% interval excluding 1, and were up to 2\% lower at $c = 1$ (6\% in one $c = 2$ cell), so $S = 64$ may have slightly understated the gain of the bank.
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. 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.
@@ -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. The training loss is the mean of $\RML_\lambda$ over windows and wells.
\paragraph{The tempering $\lambda$ accounts for correlated residuals.} \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. 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}). 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.} \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}). 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}).
@@ -93,19 +93,19 @@ With a bank of the point-tie label shifted by every integer lag in $\pm k_{\max}
Soft-DTW is RML over every monotone alignment in a band, with a uniform prior, no anchors and no physics, at $\lambda = 2/\gamma$. With $\gamma = 0.1$ this is $\lambda = 20$, much closer to the hard minimum than $\lambda \approx 0.37$. Soft-DTW is RML over every monotone alignment in a band, with a uniform prior, no anchors and no physics, at $\lambda = 2/\gamma$. With $\gamma = 0.1$ this is $\lambda = 20$, much closer to the hard minimum than $\lambda \approx 0.37$.
\paragraph{Why a Gaussian likelihood.} \paragraph{Why a Gaussian likelihood.}
The bank objective needs a log-likelihood for every member, and we use a Gaussian one with a learned standard deviation, the usual loss of heteroscedastic regression \citep{nix1994meanvariance,kendall2017uncertainties}, for four reasons. First, with one label it reduces to that loss (Lemma~\ref{lem:s1}), so the point ties, the \mPM{}, the banks and the Oracle share one objective and differ only in their labels. Second, the shift-tolerant losses (Lemma~\ref{lem:shift}) and soft-DTW (Lemma~\ref{lem:sdtw}) are instances of the same objective, so the anchor-free alternatives are compared on the same footing. Third, the Gaussian log-likelihood is quadratic in the label, so a bank that matches the posterior mean and variance of the label is calibrated for it, and the $\lambda \to 0$ limit then has the population minimizer of training on the true labels (Proposition~\ref{prop:bank}); a loss that is not a log-likelihood has no such reading inside the log-sum-exp. Fourth, the predicted $\sigma$ gives the NLL, CRPS and interval coverage reported for every method, and as $\lambda \to 0$ it can absorb the spread of the bank. The cost is a Gaussian, unbounded residual model for a bounded property whose registration errors may produce heavy-tailed residuals. Other losses were not compared at equal labels (Section~\ref{sec:discussion}). The bank objective needs a log-likelihood for every member. We use a Gaussian one with a learned standard deviation, the usual loss of heteroscedastic regression \citep{nix1994meanvariance,kendall2017uncertainties}, for four reasons. First, with one label it reduces to that loss (Lemma~\ref{lem:s1}), so the point ties, the \mPM{}, the banks and the Oracle share one objective and differ only in their labels. Second, the shift-tolerant losses (Lemma~\ref{lem:shift}) and soft-DTW (Lemma~\ref{lem:sdtw}) are instances of the same objective, so the anchor-free alternatives are compared on the same footing. Third, the Gaussian log-likelihood is quadratic in the label, so a bank that matches the posterior mean and variance of the label is calibrated for it. The $\lambda \to 0$ limit then has the population minimizer of training on the true labels (Proposition~\ref{prop:bank}), and a loss that is not a log-likelihood has no such reading inside the log-sum-exp. Fourth, the predicted $\sigma$ gives the NLL, CRPS and interval coverage reported for every method, and as $\lambda \to 0$ it can absorb the spread of the bank. The cost is a Gaussian, unbounded residual model for a bounded property whose registration errors may produce heavy-tailed residuals. Other losses were not compared at equal labels (Section~\ref{sec:discussion}).
\subsection{Network and training} \subsection{Network and training}
\label{sec:method:train} \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 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. 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, 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}. 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} \subsection{Compared methods}
\label{sec:method:baselines} \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 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. 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. The anchor banks and the \mRML{} are RML with anchor-conditioned banks.
\begin{table}[!tbp] \begin{table}[!tbp]
\centering \centering
@@ -163,4 +163,4 @@ Calibrated-sonic ensemble & the five-seed ensemble of the calibrated sonic, the
\subsection{Metrics} \subsection{Metrics}
\label{sec:method: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) \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. 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). Registration errors act in this band, 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.

View File

@@ -1,7 +1,7 @@
\section{Theory} \section{Theory}
\label{sec:theory} \label{sec:theory}
This section gives the first contribution. It asks what a registration error in the training labels does to a learned predictor and to its evaluation. It uses the warps, labels and loss of Section~\ref{sec:method}, states each result in words, and keeps only the formulas needed later. Appendix~\ref{app:proofs} gives the formal statements and the proofs. Table~\ref{tab:theory} lists the results, the assumption behind each and how each was tested, and Table~\ref{tab:symbols} the main symbols. This section gives the first contribution: what a registration error in the training labels does to a learned predictor and to its evaluation. It uses the warps, labels and loss of Section~\ref{sec:method}, states each result in words, and keeps only the formulas needed later. Appendix~\ref{app:proofs} gives the formal statements and the proofs. Table~\ref{tab:theory} lists the results, the assumption behind each and how each was tested, and Table~\ref{tab:symbols} the main symbols.
\begin{table}[t] \begin{table}[t]
\centering \centering
@@ -15,7 +15,7 @@ Result & Statement & Main assumption & Test and outcome \\
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: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 & registration without anchors: warp error about ten times larger (tests the prior, not a network) \\ 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: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}) \\ Prop.~\ref{prop:bank} & In population, a calibrated bank has the oracle's optimum; its gain over one label is of fourth order & calibrated bank, $\lambda \to 0$, Gaussian shifts independent of the data & measured gains compared with the population limit (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 \\ 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 \\ Prop.~\ref{prop:coverage} & Coverage follows the error structure & population optimum & not tested: confounded with training length \\
Prop.~\ref{prop:reference}, Cor.~\ref{cor:tolerance} & A misregistered reference biases a comparison of methods & reference error independent of the prediction & exploratory: ranking reverses at about 4\,ms \\ Prop.~\ref{prop:reference}, Cor.~\ref{cor:tolerance} & A misregistered reference biases a comparison of methods & reference error independent of the prediction & exploratory: ranking reverses at about 4\,ms \\
@@ -51,13 +51,13 @@ $t$ is seismic two-way time, $X$ the seismic input around a well, and $y(t)$ the
\subsection{Misregistered labels blur the optimal predictor} \subsection{Misregistered labels blur the optimal predictor}
\label{sec:theory:blur} \label{sec:theory:blur}
If the timing error does not depend on the data, which we call assumption (A1), the best a network can do on the observed labels is to predict an average of the oracle over the possible shifts (Proposition~\ref{prop:blur}). When the error distribution is the same at every time, this average is a filter whose frequency response is the characteristic function of the error, Assume that the timing error does not depend on the data; we call this assumption (A1). The best a network can then do on the observed labels is to predict an average of the oracle over the possible shifts (Proposition~\ref{prop:blur}). When the error distribution is the same at every time, this average is a filter whose frequency response is the characteristic function of the error, as for random timing jitter in sampled signals \citep{balakrishnan1962jitter},
\begin{equation*} \begin{equation*}
P(f) = \E\big[e^{i2\pi f\delta}\big], \qquad \delta \sim \N(\mu_\delta, \sigma^2) \;\Rightarrow\; P(f) = e^{i2\pi f\mu_\delta}\, e^{-2\pi^2\sigma^2 f^2}. P(f) = \E\big[e^{i2\pi f\delta}\big], \qquad \delta \sim \N(\mu_\delta, \sigma^2) \;\Rightarrow\; P(f) = e^{i2\pi f\mu_\delta}\, e^{-2\pi^2\sigma^2 f^2}.
\end{equation*} \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 modeling assumption: on F3 the same sonic log produces both the label and the time axis, so $\delta$ and $y$ are not strictly independent. 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 modeling 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. 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}. 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. With 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: in Table~\ref{tab:h1} the band standard deviation of the prediction fell from 0.945 of that of the label without timing error to 0.677 at 8\,ms, so about half of its band variance remained.
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. 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.
@@ -98,15 +98,15 @@ $\sigma$ (ms) & $r(\sigma)$ & 95\% CI & frequencies & band RMSE & band PCC & ban
\subsection{Without anchors, absolute timing is not identified} \subsection{Without anchors, absolute timing is not identified}
\label{sec:theory:ident} \label{sec:theory:ident}
A network that can shift its output by a common amount can drift together with its label alignment without changing the loss, so the labels alone do not fix absolute timing (Proposition~\ref{prop:ident}, under assumption (A3) that the model class is closed under output shifts). A prior on the bulk offset and the anchors each add curvature along this ridge. With $K_w$ anchors at well $w$, the spread of a common shift $\beta$ along the ridge, with the other parameters held fixed, is A network that can shift its output by a common amount can drift together with its label alignment without changing the loss. The labels alone therefore do not fix absolute timing (Proposition~\ref{prop:ident}, under assumption (A3) that the model class is closed under output shifts). A prior on the bulk offset and the anchors each add curvature along this ridge. With $K_w$ anchors at well $w$, the spread of a common shift $\beta$ along the ridge, with the other parameters held fixed, is
\begin{equation*} \begin{equation*}
\sd(\beta) \approx \Big(\frac{\sum_w K_w}{\sigma_a^2} + \frac{N}{\sigma_b^2}\Big)^{-1/2} \approx \frac{\sigma_a}{\sqrt{\sum_w K_w}} . \sd(\beta) \approx \Big(\frac{\sum_w K_w}{\sigma_a^2} + \frac{N}{\sigma_b^2}\Big)^{-1/2} \approx \frac{\sigma_a}{\sqrt{\sum_w K_w}} .
\end{equation*} \end{equation*}
For illustration, with 4 wells of 16 anchors each (denser than the 9--11 in the F3 target window) at $\sigma_a = 7$\,ms, $\sd(\beta) \approx 0.9$\,ms. With only the prior $\sigma_b = 50$\,ms, $\sd(\beta) \approx 50/\sqrt N$, that is 35\,ms for $N = 2$ and 12.5\,ms for $N = 16$. A deterministic common shift $\beta$ multiplies the band-limited correlation at frequency $f$ by $\cos(2\pi f\beta)$, and $\cos(2\pi\cdot 20\,\mathrm{Hz}\cdot 12.5\,\mathrm{ms}) = 0$. The marginal spread, which also integrates over the drift of each well, is at least as large. Assumption (A3) holds exactly, up to window edges, for a fully convolutional network whose last-layer kernel extends at least $\beta_{\max}$ samples, the largest shift considered, beyond the weights it uses on each side, and approximately for the CNN--GRU used here. For illustration, with 4 wells of 16 anchors each (denser than the 9--11 in the F3 target window) at $\sigma_a = 7$\,ms, $\sd(\beta) \approx 0.9$\,ms. With only the prior $\sigma_b = 50$\,ms, $\sd(\beta) \approx 50/\sqrt N$, that is 35\,ms for $N = 2$ and 12.5\,ms for $N = 16$. A deterministic common shift $\beta$ multiplies the band-limited correlation at frequency $f$ by $\cos(2\pi f\beta)$, and $\cos(2\pi\cdot 20\,\mathrm{Hz}\cdot 12.5\,\mathrm{ms}) = 0$. The marginal spread, which also integrates over the drift of each well, is at least as large. Assumption (A3) holds approximately for the CNN--GRU used here. It holds exactly, up to window edges, for a fully convolutional network whose last-layer kernel extends at least $\beta_{\max}$ samples (the largest shift considered) beyond the weights it uses on each side.
A seismic tie term pins absolute time only weakly. Seismic is observed on a fixed time axis, so a likelihood comparing it with a warped synthetic is not invariant to $\beta$. In practice a small shift trades off against a constant wavelet phase rotation: the two coincide at $f_0 = \psi/(2\pi\beta)$ and differ by $2\pi(f - f_0)\beta$ elsewhere. For $\beta = 4$\,ms the largest phase difference over $\pm 30$\,Hz around $f_0$ is only about $43^\circ$, so information about $\beta$ comes from the bandwidth, not the center frequency. A seismic tie term pins absolute time only weakly. Seismic is observed on a fixed time axis, so a likelihood comparing it with a warped synthetic is not invariant to $\beta$. In practice a small shift trades off against a constant wavelet phase rotation: the two coincide at $f_0 = \psi/(2\pi\beta)$ and differ by $2\pi(f - f_0)\beta$ elsewhere. For $\beta = 4$\,ms the largest phase difference over $\pm 30$\,Hz around $f_0$ is only about $43^\circ$, so information about $\beta$ comes from the bandwidth, not the center frequency.
Shift-tolerant losses and soft-DTW choose the alignment that best fits the network's current prediction and use no anchors, so within the range of their shift bank or band they have this ridge. A tie posterior conditioned on anchors does not: its absolute timing is set before training, with per-well common-shift uncertainty of about $\sigma_a/\sqrt{K_w}$. Shift-tolerant losses and soft-DTW choose the alignment that best fits the network's current prediction and use no anchors. Within the range of their shift bank or band, they therefore have this ridge. A tie posterior conditioned on anchors does not: its absolute timing is set before training, with per-well common-shift uncertainty of about $\sigma_a/\sqrt{K_w}$.
\subsection{Labels from a tie: blur or sharpening} \subsection{Labels from a tie: blur or sharpening}
\label{sec:theory:post} \label{sec:theory:post}
@@ -120,37 +120,37 @@ y(t) = \tilde y\big(t + \varepsilon(t)\big),\ \ \varepsilon(t) = t_{\hat u}\big(
\end{equation} \end{equation}
Let $\tilde m(t) = \E[\tilde y(t)\mid X]$ be the optimal predictor of the point label, and let $Q(f) = \E[e^{i2\pi f\varepsilon}]$. Let $\tilde m(t) = \E[\tilde y(t)\mid X]$ be the optimal predictor of the point label, and let $Q(f) = \E[e^{i2\pi f\varepsilon}]$.
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}. 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 Berkson case 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 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}). 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; that independence 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.} \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}). 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. This is an implicit re-registration, and the population minimizer changes (Remark~\ref{rem:lambda}).
\paragraph{A two-mode error can reverse the sign of part of the band.} \paragraph{A two-mode error can reverse the sign of part of the band.}
An error of $\pm\Delta/2$ with equal probability, constant over the window and independent of the data, has characteristic function $\cos(\pi f\Delta)$. Under either structure the transfer from $m$ to $\tilde m$ is then negative for $1/(2\Delta) < |f| < 3/(2\Delta)$: there the point label trains the network towards the wrong sign (Corollary~\ref{cor:twomode}). A Gaussian error with the same variance has a positive transfer at every frequency. The mean label of a calibrated bank has transfer 1, whereas, under classical error, an equal-weight bank of the point label shifted by $\pm\Delta/2$ has transfer $\cos^2(\pi f\Delta)$ as $\lambda \to 0$: it contains the true warp but is not calibrated, and it removes the reversal only by attenuating the band further. If the two modes are one dominant period apart, $\Delta = 1/f_0$, the first reversed band is $f_0/2 < |f| < 3f_0/2$. The F3 seismic, from which the benchmark wavelet is estimated, peaks near 60\,Hz (Section~\ref{sec:data:f3}), which gives 30--90\,Hz. Cycle skipping produces errors of this kind, and at $c = 2$ the SMC posterior is multimodal (Section~\ref{sec:method:posterior}). An error of $\pm\Delta/2$ with equal probability, constant over the window and independent of the data, has characteristic function $\cos(\pi f\Delta)$. Under either structure the transfer from $m$ to $\tilde m$ is then negative for $1/(2\Delta) < |f| < 3/(2\Delta)$: there the point label trains the network towards the wrong sign (Corollary~\ref{cor:twomode}). A Gaussian error with the same variance has a positive transfer at every frequency. The mean label of a calibrated bank has transfer 1. Under classical error, an equal-weight bank of the point label shifted by $\pm\Delta/2$ has transfer $\cos^2(\pi f\Delta)$ as $\lambda \to 0$. This bank contains the true warp but is not calibrated, and it removes the reversal only by attenuating the band further. If the two modes are one dominant period apart, $\Delta = 1/f_0$, the first reversed band is $f_0/2 < |f| < 3f_0/2$. The F3 seismic, from which the benchmark wavelet is estimated, peaks near 60\,Hz (Section~\ref{sec:data:f3}), so this band is 30--90\,Hz. Cycle skipping produces errors of this kind, and at $c = 2$ the SMC posterior is multimodal (Section~\ref{sec:method:posterior}).
\paragraph{A bank can gain only a fourth-order amount in population.} \paragraph{In population, a calibrated bank at $\lambda \to 0$ can gain only a fourth-order amount.}
In population no method beats the oracle in band MSE. If a point-label method converges to $\tilde m$ and a bank method to $m$, the ratio of their band RMSEs is In population no method beats the oracle in band MSE. If a point-label method converges to $\tilde m$ and a bank method to $m$, the ratio of their band RMSEs is
\begin{equation} \begin{equation}
\rho^\star = \Big(1 + \frac{\E|B(\tilde m - m)|^2}{\E|B(m - y)|^2}\Big)^{-1/2}, \rho^\star = \Big(1 + \frac{\E|B(\tilde m - m)|^2}{\E|B(m - y)|^2}\Big)^{-1/2},
\label{eq:rhostar} \label{eq:rhostar}
\end{equation} \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$. and no predictor of $X$ can improve on the optimal predictor of the point label by more than this factor. We call $\rho^\star$ a \emph{population limit}: it compares optimal predictors, not trained networks, and a network trained on finite data can fall below it (see the next paragraph). It applies to the bank only in the limit $\lambda \to 0$ and for a bank calibrated for the label and its log-likelihood; the tempered banks of our experiments ($\lambda \approx 0.37$, $S = 64$) satisfy neither condition exactly. 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$. The fourth-order statement therefore needs errors that are Gaussian, independent of the data and pure shifts; it does not hold for errors whose size depends on the data, as the posterior errors of Section~\ref{sec:exp:mech} do.
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. 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, well above the 6.8--22.5\,Hz in which the blur prediction was verified (Section~\ref{sec:theory:blur}). 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. A limit computed for one structure therefore 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 limit, which was hash-locked, and $\rhoBk$ for the Berkson limit, which was computed post hoc. Both are population quantities evaluated with a network in place of $m$, so a measured ratio below them is not a contradiction of Proposition~\ref{prop:bank}.
\paragraph{Finite-sample effects can outweigh this population bias.} \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. 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 effect is of second order, whereas the distortion of $\tilde m$ is of fourth order, 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.
\subsection{Coverage of the predictive intervals} \subsection{Coverage of the predictive intervals}
\label{sec:theory:cov} \label{sec:theory:cov}
The error structure also affects predictive intervals. Let a method predict a mean $\mu$ and a variance $\hat\sigma^2$ at every test sample. For method $j$ let $v_j = \E \hat\sigma^2$, $w_j = \E(y - \mu)^2$ and $\xi_j = v_j/w_j$, with expectations over test samples; $\xi = 1$ means that the predicted variance matches the squared error on average. In population, classical tie error widens the intervals of a point-label method, Berkson error narrows them, and a calibrated bank matches the oracle (Proposition~\ref{prop:coverage}). For any finite ensemble, a method has a larger dispersion ratio $\xi$ than the Oracle, and under a Gaussian error scaling covers more, when its predicted variance exceeds the Oracle's by more than $\xi_O$ times its excess squared error. A finite ensemble can be far from the population limit, and in our experiments every ensemble is (Section~\ref{sec:exp:p2r}). The error structure also affects predictive intervals. Let a method predict a mean $\mu$ and a variance $\hat\sigma^2$ at every test sample. For method $j$ let $v_j = \E \hat\sigma^2$, $w_j = \E(y - \mu)^2$ and $\xi_j = v_j/w_j$, with expectations over test samples. A ratio $\xi = 1$ means the predicted variance matches the squared error on average. In population, classical tie error widens the intervals of a point-label method, Berkson error narrows them, and a calibrated bank matches the oracle (Proposition~\ref{prop:coverage}). For any finite ensemble, a method has a larger dispersion ratio $\xi$ than the Oracle when its predicted variance exceeds the Oracle's by more than $\xi_O$ times its excess squared error; under a Gaussian error scaling it then also covers more. A finite ensemble can be far from the population limit, and in our experiments every ensemble is (Section~\ref{sec:exp:p2r}).
\subsection{Scoring against a misregistered reference} \subsection{Scoring against a misregistered reference}
\label{sec:theory:ref} \label{sec:theory:ref}
Field evaluation compares predictions with labels at blind wells, and those labels need a tie as well. Let the reference be $y_{\mathrm{ref}}(t) = y(t + \varepsilon_{\mathrm{ref}})$, where $\varepsilon_{\mathrm{ref}}$ is constant over the window, independent of the prediction $\hat y$ and of the true label $y$, and has characteristic function $Q_{\mathrm{ref}}$. The error adds a term to the measured band MSE that, for a symmetric error, penalizes in-band agreement with the true label (Proposition~\ref{prop:reference}). The term depends on the method, so it can change the ranking of two methods, and it does not average out over wells: more blind wells reduce the variance of a comparison but not its bias. Field evaluation compares predictions with labels at blind wells, and those labels need a tie as well. Let the reference be $y_{\mathrm{ref}}(t) = y(t + \varepsilon_{\mathrm{ref}})$, where $\varepsilon_{\mathrm{ref}}$ is constant over the window, independent of the prediction $\hat y$ and of the true label $y$, and has characteristic function $Q_{\mathrm{ref}}$. The error adds a term to the measured band MSE that, for a symmetric error, penalizes in-band agreement with the true label (Proposition~\ref{prop:reference}). The term depends on the method, so it can change the ranking of two methods. It also does not average out over wells: more blind wells reduce the variance of a comparison but not its bias.
Corollary~\ref{cor:tolerance} gives the accuracy that a comparison needs. Consider a method that learns the oracle and one that learns the blurred optimum, with zero-mean Gaussian errors of standard deviation $\sigma$ in the tie and $\sigma_{\mathrm{ref}}$ in the reference. The measured advantage can have the sign of the true one only if $\sigma_{\mathrm{ref}} < \sigma/\sqrt2$. The reference must therefore be more accurate than the tie error the comparison is meant to detect, by at least a factor of $\sqrt2$. The condition is necessary, not sufficient, and finite-sample shrinkage of the predictions in the band (the factor $H$ of Corollary~\ref{cor:tolerance}) relaxes it. Against an over-sharp method, as under Berkson error, the reference instead exaggerates the advantage of the better-registered method. Independence between $\varepsilon_{\mathrm{ref}}$ and the prediction is plausible for a reference from check shots or a vertical seismic profile. A reference tied by synthetic--seismic matching depends on the same seismic as the prediction, and its error adds a further covariance term. Section~\ref{sec:exp:detect} works through the numbers. Corollary~\ref{cor:tolerance} gives the accuracy that a comparison needs. Consider a method that learns the oracle and one that learns the blurred optimum, with zero-mean Gaussian errors of standard deviation $\sigma$ in the tie and $\sigma_{\mathrm{ref}}$ in the reference. The measured advantage can have the sign of the true one only if $\sigma_{\mathrm{ref}} < \sigma/\sqrt2$. The reference must therefore be more accurate than the tie error the comparison is meant to detect, by at least a factor of $\sqrt2$. The condition is necessary, not sufficient, and finite-sample shrinkage of the predictions in the band (the factor $H$ of Corollary~\ref{cor:tolerance}) relaxes it. Against an over-sharp method, as under Berkson error, the reference instead exaggerates the advantage of the better-registered method. Independence between $\varepsilon_{\mathrm{ref}}$ and the prediction is plausible for a reference from check shots or a vertical seismic profile. A reference tied by synthetic--seismic matching depends on the same seismic as the prediction, and its error adds a further covariance term. Section~\ref{sec:exp:detect} works through the numbers.

View File

@@ -3,15 +3,15 @@
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). 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{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. Each experiment and field test ran under a protocol locked before its main run. 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 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}). 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. Under the same permutation, the margin rule passed 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. We report every ratio with its 95\% bootstrap interval over realizations; these are 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 were cells whose percentile upper limit lay within 0.005 of 1 (Appendix~\ref{app:record:review}).
\subsection{Experiment 1: anchor-posterior banks} \subsection{Experiment 1: anchor-posterior banks}
\label{sec:exp:p2} \label{sec:exp:p2}
\paragraph{Design.} \paragraph{Design.}
The data had an SNR of 10\,dB and full anchors, with $c \in \{0, 0.5, 1, 2\}$, $N \in \{2, 4, 8, 16\}$, realizations 0--7 and five seeds. The candidate was the reweighted anchor bank, and the competitors were all deterministic ties, the anchor mean and all anchor-free alignment losses (Table~\ref{tab:methods}). The protocol required the candidate to pass in at least 3 of the 4 cells at $c = 1$. In addition, at $c = 0$ its ratio to the best competitor had to be at most 1.02, both averaged over $N$ and for each $N$. The data had an SNR of 10\,dB and full anchors, with $c \in \{0, 0.5, 1, 2\}$, $N \in \{2, 4, 8, 16\}$, realizations 0--7 and five seeds. The candidate was the reweighted anchor bank, and the competitors were all deterministic ties, the anchor mean and all anchor-free alignment losses (Table~\ref{tab:methods}). The protocol required the candidate to pass in at least 3 of the 4 cells at $c = 1$. At $c = 0$, its ratio to the best competitor also had to be at most 1.02, both averaged over $N$ and for each $N$.
\paragraph{The test failed: the anchor bank did not beat the best deterministic tie.} \paragraph{The test failed: the anchor bank did not beat the best deterministic tie.}
No cell at $c = 1$ passed. The ratio of the bank to the best competitor (the correlation tie in every cell) was 1.045, 1.025, 1.020 and 0.985 for $N = 2$, 4, 8 and 16, with band PCC differences between $-0.018$ and $+0.003$ (Fig.~\ref{fig:p2phase}). The zero-drift guard also failed: the macro ratio (the ratio of band RMSEs averaged over $N$) was 1.039, and the per-$N$ ratios against the anchor mean were 1.015, 1.045, 1.051 and 1.056. The bank was about as good as the best deterministic tie and the anchor mean, and it stayed 20--25\% above the Oracle (Table~\ref{tab:p2}). No cell at $c = 1$ passed. The ratio of the bank to the best competitor (the correlation tie in every cell) was 1.045, 1.025, 1.020 and 0.985 for $N = 2$, 4, 8 and 16, with band PCC differences between $-0.018$ and $+0.003$ (Fig.~\ref{fig:p2phase}). The zero-drift guard also failed: the macro ratio (the ratio of band RMSEs averaged over $N$) was 1.039, and the per-$N$ ratios against the anchor mean were 1.015, 1.045, 1.051 and 1.056. The bank was about as good as the best deterministic tie and the anchor mean, and it stayed 20--25\% above the Oracle (Table~\ref{tab:p2}).
@@ -64,9 +64,9 @@ The hash-locked hypothesis that bank ensembles are better calibrated than the ca
\subsection{Why Experiment 1 failed} \subsection{Why Experiment 1 failed}
\label{sec:exp:diag} \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 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. 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 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}). 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. It was 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} \subsection{Experiment 2: SMC tie posterior}
\label{sec:exp:p2r} \label{sec:exp:p2r}
@@ -75,15 +75,15 @@ The lesson is about order. Experiment~1 could not test whether posterior labels
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. 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} \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{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{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. \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} \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 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. 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.} \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. 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}). 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 two more labels (exploratory, Appendix~\ref{app:record:review}). One is the best of the 1024 saved particles by the tempered log target (the \emph{best saved particle}), an approximation to the mode of the same model. The other is the mode of the anchor-only posterior, a least-squares fit of the anchors with the known $\sigma_a$. The best saved particle 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). Averaging over the posterior added at most 3\% to this gain (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 individually conditioned on the seismic, came within 1--2\% of the \mPM{} at $c = 1$ in the full-anchor settings. In the two-anchor setting it was up to 10\% better than the \mPM{} (Section~\ref{sec:exp:bench}).
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. 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 consistent with the seismic likelihood adding 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] \begin{table}[t]
\centering \centering
@@ -103,8 +103,8 @@ $-5$\,dB & 0.915 [0.883, 0.953] & +0.102 & 0.923 [0.908, 0.940] & +0.089 & 0.878
\end{tabular} \end{tabular}
\end{table} \end{table}
\paragraph{The gain requires a correct anchor uncertainty.} \paragraph{The gain is sensitive to a twofold misstatement of the 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). The width of the posterior did not fall monotonically with $\sigma_a$: it was larger at 3.5\,ms than at 7\,ms. An exploratory rerun, declared before it was computed, traced this to the drift hyperparameters, which are fitted with the registered $\sigma_a$ (Section~\ref{sec:method:prior}). With $\sigma_a = 3.5$\,ms the refit chose a drift prior with a correlation length of 10--15\,ms instead of 80--90\,ms and a slope standard deviation of 0.26--0.29 instead of 0.10. Holding the hyperparameters at their 7\,ms values gave $\sigpost$ of 0.88 and 0.67\,ms ($N = 4$, 16), close to the 0.67 and 0.59\,ms of the correctly specified posterior, and warp RMSE of 1.86 and 1.07\,ms, between the 1.20 and 0.63\,ms of the correct value and the 3.95 and 4.80\,ms of the refit. Over-trusted anchors are therefore absorbed by a rougher drift prior, which widens the posterior and moves its mean. The same test at $-5$\,dB, where the posterior is wide, was declared together with that rerun and also failed (Table~\ref{tab:sigmaa}): no cell passed with either value, and the ratios were 0.98--1.02 against 0.92 with the correct value. 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. 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). The width of the posterior did not fall monotonically with $\sigma_a$: it was larger at 3.5\,ms than at 7\,ms. An exploratory rerun, declared before it was computed, traced this to the drift hyperparameters, which are fitted with the registered $\sigma_a$ (Section~\ref{sec:method:prior}). With $\sigma_a = 3.5$\,ms the refit chose a drift prior with a correlation length of 10--15\,ms instead of 80--90\,ms and a slope standard deviation of 0.26--0.29 instead of 0.10. Holding the hyperparameters at their 7\,ms values gave $\sigpost$ of 0.88 and 0.67\,ms ($N = 4$, 16), close to the 0.67 and 0.59\,ms of the correctly specified posterior. The warp RMSE was then 1.86 and 1.07\,ms, between the 1.20 and 0.63\,ms of the correct value and the 3.95 and 4.80\,ms of the refit. Over-trusted anchors are therefore absorbed by a rougher drift prior, which widens the posterior and moves its mean. The same test at $-5$\,dB, where the posterior is wide, was declared together with that rerun and also failed (Table~\ref{tab:sigmaa}): no cell passed with either value, and the ratios were 0.98--1.02 against 0.92 with the correct value. 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. In practice, $\sigma_a$ must be estimated from independent time--depth data before the posterior is used.
\begin{table}[t] \begin{table}[t]
\centering \centering
@@ -129,11 +129,11 @@ $-5$\,dB & 3.5 & 0.989 [0.967, 1.009] & 1.024 [1.009, 1.037] & 0/2 & 2.89 & 5.94
\end{table} \end{table}
\paragraph{The bank helps when the posterior is wide.} \paragraph{The bank helps when the posterior is wide.}
At $N = 16$ all three tests passed (Table~\ref{tab:h2b}, Fig.~\ref{fig:h2b}a). The \mRML{} was better in all 8 wide cells, the ratio decreased with $\sigpost$ (Spearman correlation $-0.85$, one-sided permutation $p < 0.001$), and the mean ratio over narrow cells was 0.996. The gains in wide cells ranged from 2\% ($-5$\,dB, $c = 1$) to 11\% (two-anchor setting, $c = 1$). At $c = 2$ they reached 33\% (two-anchor setting), but those cells are flagged unstable. At $N = 4$, which was reported but not used for the verdict, 6 of 8 wide cells passed (Spearman correlation $-0.77$, narrow mean 1.001). At $N = 16$ all three tests passed (Table~\ref{tab:h2b}, Fig.~\ref{fig:h2b}a). The \mRML{} was better in all 8 wide cells, the ratio decreased with $\sigpost$ (Spearman correlation $-0.85$, one-sided permutation $p < 0.001$), and the mean ratio over narrow cells was 0.996. At $c = 1$ the gains were 3.3\%, 3.0\%, 11.0\% and 1.8\% in the 0\,dB, half-anchor, two-anchor and $-5$\,dB cells (0.7\%, 1.7\%, 12.4\% and 0.7\% in the replication, where the 0\,dB cell is narrow). The 11\% comes from the two-anchor setting, whose posterior is overconfident (warp RMSE 4.8\,ms against $\sigpost = 1.9$\,ms, 90\% coverage 0.53); the other three gains are 2--3\% (0.7--1.7\% in the replication). At $c = 2$ they reached 33\% (two-anchor setting), but those cells are flagged unstable. At $N = 4$, which was reported but not used for the verdict, 6 of 8 wide cells passed (Spearman correlation $-0.77$, narrow mean 1.001).
\begin{table}[t] \begin{table}[t]
\centering \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$ (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).} \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 limit $\rhoCl$ (hash-locked) and the Berkson limit $\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 limit 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 limit; the hash-locked grid of the limit stops at 6\,ms, so the entry is the limit there, and the limit 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} \label{tab:h2b}
\small \small
\setlength{\tabcolsep}{4pt} \setlength{\tabcolsep}{4pt}
@@ -156,17 +156,17 @@ two-anchor & 2$^\dagger$ & 11.49 & 0.667 & [0.615, 0.713] & 0.634$^\ddagger$ & -
\begin{figure}[t] \begin{figure}[t]
\centering \centering
\includegraphics[width=\linewidth]{p2r_h2b.pdf} \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 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.} \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 limit $\rhoCl(\sigpost)$. Cells below the diagonal gained more than removing a classical population blur could give. The Berkson limit $\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 limit is evaluated at the 6\,ms edge of its grid. The diagonal is an idealized reference: the limit is a population quantity for a calibrated bank at $\lambda \to 0$, evaluated with the Oracle predictions in place of $m$ and defined for pooled band MSE, whereas the plotted ratios average per-well band RMSE; recomputed from pooled errors, the ratios change by at most 0.011 and no point crosses the diagonal (Appendix~\ref{app:record:gp}).}
\label{fig:h2b} \label{fig:h2b}
\end{figure} \end{figure}
\paragraph{Whether the bank gain exceeds a population correction depends on the error structure.} \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); 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. The measured ratio is below the classical limit $\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 limit's grid. At $-5$\,dB, $c = 1$, for example, the limit allows no gain (1.000), yet the bank gained 2\%. If the error of the posterior-mean warp had the Berkson structure, the Berkson limit, 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 limits 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 limit 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 under either structure. Both limits 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 limit is therefore not established under either structure. Since the experiments use $\lambda \approx 0.37$ and a 64-member bank from a tempered target, the limit is a reference, not a constraint that the measured ratios must obey; the $\lambda \to 0$ arm kept 55--63\% of the SMC-bank gain in three cells at $c = 1$ (Appendix~\ref{app:record:secondary}).
\paragraph{The bank closes part of the gap to the Oracle, and part of that gap is not registration.} \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. 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$; it never reached the Oracle. At $c = 0$ the SMC warp RMSE on the training wells was 0.2--0.7\,ms and every limit 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.
\paragraph{The posterior was near nominal with dense anchors and overconfident with sparse ones.} \paragraph{The posterior was near nominal with dense anchors and overconfident with sparse ones.}
At $c = 1$, $N = 16$, the 90\% coverage of the SMC warp posterior was 0.89 at 10\,dB, 0.86 at 0\,dB and 0.86 at $-5$\,dB. With only top and bottom anchors it was overconfident: warp RMSE 4.8\,ms against $\sigpost = 1.9$\,ms, with 90\% coverage 0.53. The bank still gained the most in this setting, so it covers part of the error even when its width understates it. At $c = 1$, $N = 16$, the 90\% coverage of the SMC warp posterior was 0.89 at 10\,dB, 0.86 at 0\,dB and 0.86 at $-5$\,dB. With only top and bottom anchors it was overconfident: warp RMSE 4.8\,ms against $\sigpost = 1.9$\,ms, with 90\% coverage 0.53. The bank still gained the most in this setting, so it covers part of the error even when its width understates it.
@@ -179,7 +179,7 @@ At $c = 1$, $N = 16$, the 90\% coverage of the SMC warp posterior was 0.89 at 10
\end{figure} \end{figure}
\paragraph{Seed ensembles under-covered, and more so with better labels.} \paragraph{Seed ensembles under-covered, and more so with better labels.}
At 10\,dB, $c = 1$, $N = 16$, the 90\% coverage was 0.79 for the calibrated-sonic ensemble, 0.58 for the \mPM{} and \mRML{} ensembles and 0.48 for the Oracle ensemble. Every ensemble was too narrow: the dispersion ratio $\xi$ of Section~\ref{sec:theory:cov} was 0.19 for the Oracle and at most 0.66, against 1 for a matched second moment (Table~\ref{tab:t4}). The ordering follows training length as much as label quality. On the development realizations of Experiment~1, the 90\% coverage of single Oracle models fell from 0.47 after 125 iterations to 0.10 after 2000, while their RMSE varied by less than 10\%. In Experiment~2 training length and label source are confounded. A post hoc comparison at equal length, declared before it was computed, separates them (Appendix~\ref{app:record:review}): in the 11 cells with $N = 16$ in which the tempering-limit analysis retrained both networks, the mean 90\% coverage of single networks fell from 0.46 after 125 iterations to 0.33 after 250 and 0.24--0.25 after 500, for the \mPM{} and the \mRML{} alike, against 0.23 for the Oracle after 500. At equal length the two label sources differed by at most 0.035 in any cell. Training length, not the label, set the coverage of these networks, so the population statements of Proposition~\ref{prop:coverage} for the point label and the calibrated bank are not tested. A seed ensemble of a heteroscedastic network does not carry the tie posterior to the test wells, and we make no calibration claim. At 10\,dB, $c = 1$, $N = 16$, the 90\% coverage was 0.79 for the calibrated-sonic ensemble, 0.58 for the \mPM{} and \mRML{} ensembles and 0.48 for the Oracle ensemble. Every ensemble was too narrow: the dispersion ratio $\xi$ of Section~\ref{sec:theory:cov} was 0.19 for the Oracle and at most 0.66, against 1 for a matched second moment (Table~\ref{tab:t4}). The ordering follows training length as much as label quality. On the development realizations of Experiment~1, the 90\% coverage of single Oracle models fell from 0.47 after 125 iterations to 0.10 after 2000, while their RMSE varied by less than 10\%. In Experiment~2 training length and label source are confounded. A post hoc comparison at equal length, declared before it was computed, separates them (Appendix~\ref{app:record:review}). The tempering-limit analysis retrained both networks in 11 cells with $N = 16$. In these cells the mean 90\% coverage of single networks fell from 0.46 after 125 iterations to 0.33 after 250 and 0.24--0.25 after 500, for the \mPM{} and the \mRML{} alike, against 0.23 for the Oracle after 500. At equal length the two label sources differed by at most 0.035 in any cell. Training length, not the label, set the coverage of these networks, so the population statements of Proposition~\ref{prop:coverage} for the point label and the calibrated bank are not tested. A seed ensemble of a heteroscedastic network does not carry the tie posterior to the test wells, and we make no calibration claim.
\begin{table}[t] \begin{table}[t]
\centering \centering
@@ -205,19 +205,20 @@ Calibrated-sonic ens.\ & 125 & 1.10 & 1.36 & 0.662 & 0.79 & 0.199 & 0.199 &
\end{table} \end{table}
\paragraph{The posterior-mean and bank results replicated on eight new realizations.} \paragraph{The posterior-mean and bank results replicated on eight new realizations.}
Experiment~2 was designed after Experiment~1 had failed, and the same eight realizations served every later analysis. We therefore repeated it on realizations 16--23, under rules written and hashed before these realizations were generated (Appendix~\ref{app:record:review}). The replication is not hash-locked in the sense of Section~\ref{sec:experiments}: it reuses the locked code and budgets, but its reading rules were set after the results of Experiment~2 were known. The posterior-mean claim held in all three full-anchor settings, with ratios to the best deterministic tie at $c = 1$ of 0.833 [0.798, 0.867] and 0.806 [0.784, 0.831] at 10\,dB, 0.897 [0.850, 0.948] and 0.869 [0.841, 0.898] at 0\,dB, and 0.931 [0.901, 0.961] and 0.917 [0.908, 0.926] at $-5$\,dB ($N = 4$, 16), that is, gains of 7--19\% against 8--22\% before. The zero-drift ratios were 0.82--0.90, so the gain was again mostly present without drift. With the anchor mean added as a competitor the claim held at 10\,dB (2/2) and failed at 0\,dB (0/2, ratios 0.93 and 0.90 against the anchor mean) and at $-5$\,dB (0/2); Experiment~2 had 1 of 2 at 0\,dB. The mode of the SMC model again beat the best deterministic tie in every cell at $c = 1$ (10 of 10, ratios 0.73--0.96), including the half- and two-anchor settings, which the earlier analysis had not covered. Averaging over the posterior changed the error relative to the mode by at most 2.5\% in the full- and half-anchor settings (ratios 0.975--1.004), but in the two-anchor setting the posterior mean was 4--5\% worse than the mode (1.05 [1.01, 1.10] and 1.04 [0.98, 1.10]). The anchor-only mode was again worse than the best deterministic tie at 10\,dB, $c = 1$ (1.16 and 1.22, against 1.15 and 1.25 before). For the bank, two of the three wide cells at $N = 16$ passed (half-anchor 0.983, two-anchor 0.876; $-5$\,dB 0.993 did not pass), which meets the declared rule of at least two of three; the cell at 0\,dB, $c = 1$, fell just below the width threshold ($\sigpost = 1.45$\,ms), the narrow cells averaged 0.997, and the Spearman correlation between ratio and $\sigpost$ was $-0.45$ ($-0.71$ at $N = 4$, where all four wide cells passed). The Gaussian bank with the posterior's two moments was within 2\% of the \mRML{} in every cell (0.986--1.020). The benchmark of Section~\ref{sec:exp:bench} was not replicated, because its runner is locked to realizations 8--15. Experiment~2 was designed after Experiment~1 had failed, and the same eight realizations served every later analysis. We therefore repeated it on realizations 16--23, under rules written and hashed before these realizations were generated (Appendix~\ref{app:record:review}). The replication is not hash-locked in the sense of Section~\ref{sec:experiments}: it reuses the locked code and budgets, but its reading rules were set after the results of Experiment~2 were known. The posterior-mean claim held in all three full-anchor settings. The ratios to the best deterministic tie at $c = 1$ were 0.833 [0.798, 0.867] and 0.806 [0.784, 0.831] at 10\,dB, 0.897 [0.850, 0.948] and 0.869 [0.841, 0.898] at 0\,dB, and 0.931 [0.901, 0.961] and 0.917 [0.908, 0.926] at $-5$\,dB ($N = 4$, 16): gains of 7--19\% against 8--22\% before. The zero-drift ratios were 0.82--0.90, so the gain was again mostly present without drift. With the anchor mean added as a competitor the claim held at 10\,dB (2/2) and failed at 0\,dB (0/2, ratios 0.93 and 0.90 against the anchor mean) and at $-5$\,dB (0/2). Experiment~2 had 1 of 2 at 0\,dB. The best saved particle again beat the best deterministic tie in every cell at $c = 1$ (10 of 10, ratios 0.73--0.96), including the half- and two-anchor settings, which the earlier analysis had not covered. Averaging over the posterior changed the error relative to the best saved particle by at most 2.5\% in the full- and half-anchor settings (ratios 0.975--1.004). In the two-anchor setting, however, the posterior mean was 4--5\% worse than the best saved particle (1.05 [1.01, 1.10] and 1.04 [0.98, 1.10]). The anchor-only mode was again worse than the best deterministic tie at 10\,dB, $c = 1$ (1.16 and 1.22, against 1.15 and 1.25 before). For the bank, two of the three wide cells at $N = 16$ passed (half-anchor 0.983, two-anchor 0.876; $-5$\,dB 0.993 did not pass), which meets the declared rule of at least two of three. The cell at 0\,dB, $c = 1$, fell just below the width threshold ($\sigpost = 1.45$\,ms). The narrow cells averaged 0.997, and the Spearman correlation between ratio and $\sigpost$ was $-0.45$ ($-0.71$ at $N = 4$, where all four wide cells passed). The Gaussian bank with the posterior's two moments was within 2\% of the \mRML{} in every cell (0.986--1.020). The benchmark of Section~\ref{sec:exp:bench} was not replicated, because its runner is locked to realizations 8--15.
\subsection{Where the bank gain comes from (exploratory)} \subsection{Where the bank gain comes from (exploratory)}
\label{sec:exp:mech} \label{sec:exp:mech}
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. We examined five possible sources of the bank gain in the wide cells at $N = 16$ of Experiment~2. 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} \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$. 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{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 the main results and before its computation 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{Sharpening.} A check, declared after the main results and before its computation, 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 networks were trained for 500 iterations, and the check covered 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 limit $\rhoBk$ cannot be taken as the applicable one. A test with power suggests 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\}$). 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{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 but not for 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{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$ its ratios to the \mPM{} were 0.987, 0.970, 0.904 and 0.984 (0\,dB, half-anchor, two-anchor, $-5$\,dB), against 0.967, 0.970, 0.890 and 0.982 for the \mRML{}: 0.0--2.1\% above the bank, with a paired difference compatible with zero in three of four cells (the 0\,dB cell, 1.021 [1.014, 1.027], is the exception). At $c = 2$ the SMC bank was ahead in three of four cells.
\item \emph{Mean label.} The \mPM{} trains on the label at the mean warp, which is not the posterior mean of the labels $\bar y$ of Proposition~\ref{prop:bank}(a); in the wide cells the two differed by 0.11--0.72\,p.u. (RMS). A check declared during the review trained on $\bar y = \sum_s\pi_s y^{(s)}$ of the same 64-member bank with the Gaussian likelihood at 250 iterations. It improved on the \mPM{} by 0.8--1.7\% in six of the eight wide cells and by 3.1\% and 11.9\% in the half-anchor and two-anchor cells at $c = 2$ (interval below 1 in five of eight). The \mRML{} improved on $\bar y$ in seven of eight wide cells: by 0.1--2.5\% in three cells at $c = 1$, 9.5\% in the two-anchor cell at $c = 1$ and 2.1--24\% at $c = 2$. The bank gain is therefore not only the label correction of Proposition~\ref{prop:bank}(a) (Appendix~\ref{app:record:review}).
\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{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]$). \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\%). Under the primary criterion the gain was not larger where they occurred (adjusted difference of log ratios $-0.012$ $[-0.043, 0.020]$).
\end{itemize} \end{itemize}
Together these results suggest label augmentation as the main effect at $c = 1$, and information specific to the SMC bank at $c = 2$, where the posterior is unstable. None of them identifies a mechanism. Together these results suggest label augmentation as the main effect at $c = 1$, and information specific to the SMC bank at $c = 2$, where the posterior is unstable. None of them identifies a mechanism.
@@ -226,7 +227,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. 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. 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. The protocol has nine claims, each with a prediction. They yield eleven verdicts, decided by the two rules above with no family-wise correction. 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] \begin{table}[!htbp]
\centering \centering
@@ -249,7 +250,7 @@ Two-mode error & 10 and $-5$\,dB $\times$ $c = 1$ $\times$ $N \in \{4, 16\}$ $\t
\begin{table}[!htbp] \begin{table}[!htbp]
\centering \centering
\caption{Verdicts of Experiment~3: the locked statements applied as worded by a separate script. The output of the locked code differs in two rows (notes $a$ and $c$; Appendix~\ref{app:record}). No family-wise correction.} \caption{Verdicts of Experiment~3: the locked statements applied as worded by a separate script written after the runs. The output of the locked code differs in two rows, whose verdicts are therefore post hoc readings (notes $a$ and $c$; Appendix~\ref{app:record}). No family-wise correction.}
\label{tab:benchverdicts} \label{tab:benchverdicts}
\small \small
\setlength{\tabcolsep}{3pt} \setlength{\tabcolsep}{3pt}
@@ -258,7 +259,7 @@ Two-mode error & 10 and $-5$\,dB $\times$ $c = 1$ $\times$ $N \in \{4, 16\}$ $\t
Claim (abridged) & Predicted & Verdict \\ Claim (abridged) & Predicted & Verdict \\
\midrule \midrule
\multicolumn{3}{l}{\emph{Drift--well-count grid}} \\ \multicolumn{3}{l}{\emph{Drift--well-count grid}} \\
Posterior-mean claim extends to 10\,dB, $c = 1.5$, $N \in \{4, 16\}$ & pass & pass$^a$ \\ Posterior-mean claim extends to 10\,dB, $c = 1.5$, $N \in \{4, 16\}$ & pass & pass, post hoc$^a$ \\
In wide families (setting, $c$), the gain of the \mRML{} over the \mPM{} grows with $N$ & pass & pass \\ In wide families (setting, $c$), the gain of the \mRML{} over the \mPM{} grows with $N$ & pass & pass \\
\multicolumn{3}{l}{\emph{Misspecification (posterior-mean claim at 10\,dB, $c = 1$, mild level)}} \\ \multicolumn{3}{l}{\emph{Misspecification (posterior-mean claim at 10\,dB, $c = 1$, mild level)}} \\
\quad unit-dependent rock physics & pass & \textbf{fail} \\ \quad unit-dependent rock physics & pass & \textbf{fail} \\
@@ -266,7 +267,7 @@ In wide families (setting, $c$), the gain of the \mRML{} over the \mPM{} grows w
\quad scaled warp prior & uncertain & pass \\ \quad scaled warp prior & uncertain & pass \\
\mRML{}/\mPM{} $\le 1.02$ for all 14 presets $\times$ settings & pass & pass \\ \mRML{}/\mPM{} $\le 1.02$ for all 14 presets $\times$ settings & pass & pass \\
\multicolumn{3}{l}{\emph{Alignment losses}} \\ \multicolumn{3}{l}{\emph{Alignment losses}} \\
Posterior-mean claim unchanged with the anchor-free losses added to the competitors & pass & pass$^{b,c}$ \\ Posterior-mean claim unchanged with the anchor-free losses added to the competitors & pass & pass, post hoc$^{b,c}$ \\
\multicolumn{3}{l}{\emph{Backbone}} \\ \multicolumn{3}{l}{\emph{Backbone}} \\
Posterior-mean claim at 10\,dB, $c = 1$ with the TCN & pass & pass \\ Posterior-mean claim at 10\,dB, $c = 1$ with the TCN & pass & pass \\
\mRML{} (TCN) better than \mPM{} (TCN) at $-5$\,dB and half-anchor, $c = 1$, $N = 16$ & pass$^d$ & pass \\ \mRML{} (TCN) better than \mPM{} (TCN) at $-5$\,dB and half-anchor, $c = 1$, $N = 16$ & pass$^d$ & pass \\
@@ -281,7 +282,7 @@ Two-member bank better than midpoint label at $\Delta \in \{16, 32\}$\,ms, $N =
\end{table} \end{table}
\paragraph{The posterior-mean advantage holds in most of the plane of drift and well count.} \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, 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. 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 cells share realizations and particles, so this count is descriptive. 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.} \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 (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$). 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$).
@@ -294,10 +295,10 @@ In all 13 families (setting, $c$) whose $N = 16$ cell is wide, the ratio \mRML{}
\end{figure} \end{figure}
\paragraph{Under a frequency-dependent wavelet phase the posterior becomes confidently wrong.} \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. Our tie model rotates a fixed statistical wavelet by one constant phase. The Bayesian ties of \citet{buland2003bayesianwavelet} and \citet{gunning2006waveletextractor} estimate the whole wavelet jointly with the tie, so a frequency-dependent phase lies inside their model; such a parametrization is the natural remedy, at the price of a less constrained likelihood, and we did not test it. 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. 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. The warp error, 2.58 and 2.26\,ms, was 3.3--3.6 times the posterior width, with 90\% coverage 0.17 and 0.10 (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\%, so it became 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. Our tie model rotates a fixed statistical wavelet by one constant phase. The Bayesian ties of \citet{buland2003bayesianwavelet} and \citet{gunning2006waveletextractor} estimate the whole wavelet jointly with the tie, so a frequency-dependent phase lies inside their model. Such a parametrization is the natural remedy, at the price of a less constrained likelihood; we did not test it. On field data no true warp exposes this failure. 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$ this difference 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.} \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. 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.
\begin{table}[!htbp] \begin{table}[!htbp]
\centering \centering
@@ -324,16 +325,16 @@ out-of-family warp & -- & 2.25 / 1.38 & 0.67 / 0.70 & 0.892 & 0.820$^\ast$ & 0.9
\end{table} \end{table}
\paragraph{The advantage survives a scaled warp prior, and the bank did not harm.} \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. 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; the drift spread and correlation length, which 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; we did not investigate this single cell. 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.} \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. 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.
\paragraph{The results hold with a second backbone.} \paragraph{The results hold with a second backbone.}
With the TCN at 10\,dB, $c = 1$, the \mPM{} reduced band RMSE relative to the best TCN deterministic tie by 16\% and 18\% ($N = 4$, 16), and the \mRML{} (TCN) was better than the \mPM{} (TCN) in the half-anchor setting (0.977 [0.968, 0.987]) and at $-5$\,dB (0.983 [0.975, 0.991]) at $N = 16$. The TCN was a weaker backbone (Appendix~\ref{app:record}). With the TCN at 10\,dB, $c = 1$, the \mPM{} reduced band RMSE relative to the best TCN deterministic tie by 16\% and 18\% ($N = 4$, 16). At $N = 16$ the \mRML{} (TCN) was better than the \mPM{} (TCN) in the half-anchor setting (0.977 [0.968, 0.987]) and at $-5$\,dB (0.983 [0.975, 0.991]). The TCN was a weaker backbone (Appendix~\ref{app:record}).
\paragraph{A two-mode error reverses the band, and a bank containing the truth repairs it.} \paragraph{A two-mode error reverses the band, and a bank containing the truth repairs it.}
The midpoint label has error $\pm\Delta/2$, so Corollary~\ref{cor:twomode} predicts the transfer $\cos(\pi f\Delta)$. At 10\,dB, $\Delta = 32$\,ms, its measured transfer relative to the Oracle, averaged over the usable frequencies in 15.6--46.9\,Hz, was $-0.70$ ($N = 4$) and $-0.49$ ($N = 16$), against $-0.69$ and $-0.49$ for the cosine over the same frequencies; its first zero crossing was at 14.6\,Hz against 15.6\,Hz in theory (Fig.~\ref{fig:bench_s8}). At $-5$\,dB the values were $-0.70$ and $-0.74$, against $-0.74$ and $-0.71$. At $N = 16$, the two-member bank reduced band RMSE relative to the midpoint label by 66\% and 72\% at 10\,dB ($\Delta = 16$, 32\,ms) and by 29\% and 36\% at $-5$\,dB, and at these $\Delta$ it came within 4\% of the Oracle (Table~\ref{tab:s8}). The midpoint label has error $\pm\Delta/2$, so Corollary~\ref{cor:twomode} predicts the transfer $\cos(\pi f\Delta)$. At 10\,dB, $\Delta = 32$\,ms, its measured transfer relative to the Oracle, averaged over the usable frequencies in 15.6--46.9\,Hz, was $-0.70$ ($N = 4$) and $-0.49$ ($N = 16$), against $-0.69$ and $-0.49$ for the cosine over the same frequencies. Its first zero crossing was at 14.6\,Hz against 15.6\,Hz in theory (Fig.~\ref{fig:bench_s8}). At $-5$\,dB the values were $-0.70$ and $-0.74$, against $-0.74$ and $-0.71$. At $N = 16$, the two-member bank reduced band RMSE relative to the midpoint label by 66\% and 72\% at 10\,dB ($\Delta = 16$, 32\,ms) and by 29\% and 36\% at $-5$\,dB. At these $\Delta$ it came within 4\% of the Oracle (Table~\ref{tab:s8}).
The two-member bank contains the true warp but is not calibrated in the sense of Proposition~\ref{prop:bank}, so in the limit $\lambda \to 0$ its transfer would be $\cos^2(\pi f\Delta)$. In a post hoc comparison over the three cells at $N = 16$ with usable frequencies in the reversed band, its transfer there was 0.92--1.00, against means of 0.05--0.59 for $\cos^2(\pi f\Delta)$ at the same frequencies. It thus did more than average its two members, as re-registration by the responsibilities would (Remark~\ref{rem:lambda}). The two-member hard-min was close to it, with a higher band RMSE in every cell. At $\Delta = 8$\,ms Corollary~\ref{cor:twomode} anticipates a harder case: below $1/(2\Delta) = 62.5$\,Hz, $\cos^2(\pi f\Delta) < \cos(\pi f\Delta)$, so a bank that only averaged its members would be more blurred than the midpoint label, and it can win only through re-registration. The two-member bank contains the true warp but is not calibrated in the sense of Proposition~\ref{prop:bank}, so in the limit $\lambda \to 0$ its transfer would be $\cos^2(\pi f\Delta)$. In a post hoc comparison over the three cells at $N = 16$ with usable frequencies in the reversed band, its transfer there was 0.92--1.00, against means of 0.05--0.59 for $\cos^2(\pi f\Delta)$ at the same frequencies. It thus did more than average its two members, as re-registration by the responsibilities would (Remark~\ref{rem:lambda}). The two-member hard-min was close to it, with a higher band RMSE in every cell. At $\Delta = 8$\,ms Corollary~\ref{cor:twomode} anticipates a harder case: below $1/(2\Delta) = 62.5$\,Hz, $\cos^2(\pi f\Delta) < \cos(\pi f\Delta)$, so a bank that only averaged its members would be more blurred than the midpoint label, and it can win only through re-registration.
@@ -370,15 +371,18 @@ $-5$\,dB & 32 & 1.46 / 1.64 & 0.80 / 0.64 & 0.635 [0.609, 0.673]$^\ast$ & 0.82 /
By Proposition~\ref{prop:reference}, an error in the reference at blind wells biases a comparison of methods, and more wells reduce its variance but not its bias. To estimate how many blind wells a field test needs, we rescored the saved test predictions of Experiment~2 against perturbed references. The analysis is exploratory: it was declared before it was run but after both field tests had failed (Appendix~\ref{app:record}). By Proposition~\ref{prop:reference}, an error in the reference at blind wells biases a comparison of methods, and more wells reduce its variance but not its bias. To estimate how many blind wells a field test needs, we rescored the saved test predictions of Experiment~2 against perturbed references. The analysis is exploratory: it was declared before it was run but after both field tests had failed (Appendix~\ref{app:record}).
\paragraph{Design.} \paragraph{Design.}
We used the cells at 10, 0 and $-5$\,dB with $c = 1$ and $N \in \{4, 16\}$, and compared the \mRML{} with the best deterministic tie of each cell. For each test well, the reference is the true label read at $t + \varepsilon_{\mathrm{ref}}(t)$, with $\varepsilon_{\mathrm{ref}} = a + bx$, where $x$ runs linearly from $-1$ to 1 across the window, $a \sim \N(0, \sigma_{\mathrm{ref}}^2)$ and $b \sim \N(0, \sigma_{\mathrm{ref}}^2/4)$. Its RMS is then $1.04\,\sigma_{\mathrm{ref}}$, and each well receives 64 draws. A well counts as a win if the seed-averaged \mRML{} has the lower band RMSE against this reference. Wells of one realization share their training wells, so the probability that a rule passes with $n_{\mathrm{b}}$ blind wells is computed from a beta-binomial distribution whose mean is the win rate and whose intra-class correlation is that of the outcome within realizations. We compare a $k$-of-$n_{\mathrm{b}}$ rule with $k = \lceil 0.75\,n_{\mathrm{b}}\rceil$, the form of both field rules, and a one-sided sign test at $\alpha = 0.05$. We write $n_{\mathrm{b}}^\star$ for the smallest $n_{\mathrm{b}} \le 40$ at which a rule passes with probability at least 0.8. The clustering enters the power but not the nominal level of the sign test, which is anti-conservative when wells share training wells. A field test should therefore calibrate its null for the clustering of blind wells that share training data, for example with the same beta-binomial model. Table~\ref{tab:t3} reports the nominal test; the calibrated numbers follow the next paragraph. We used the cells at 10, 0 and $-5$\,dB with $c = 1$ and $N \in \{4, 16\}$, and compared the \mRML{} with the best deterministic tie of each cell. For each test well, the reference is the true label read at $t + \varepsilon_{\mathrm{ref}}(t)$, with $\varepsilon_{\mathrm{ref}} = a + bx$, where $x$ runs linearly from $-1$ to 1 across the window, $a \sim \N(0, \sigma_{\mathrm{ref}}^2)$ and $b \sim \N(0, \sigma_{\mathrm{ref}}^2/4)$. Its RMS is then $1.04\,\sigma_{\mathrm{ref}}$, and each well receives 64 draws. A well counts as a win if the seed-averaged \mRML{} has the lower band RMSE against this reference. Because wells of one realization share their training wells, the probability that a rule passes with $n_{\mathrm{b}}$ blind wells is computed from a beta-binomial distribution. Its mean is the win rate, and its intra-class correlation is that of the outcome within realizations. We compare a $k$-of-$n_{\mathrm{b}}$ rule with $k = \lceil 0.75\,n_{\mathrm{b}}\rceil$, the form of both field rules, and a one-sided sign test at $\alpha = 0.05$. We write $n_{\mathrm{b}}^\star$ for the smallest $n_{\mathrm{b}} \le 40$ at which a rule passes with probability at least 0.8. The clustering enters the power but not the nominal level of the sign test, which is anti-conservative when wells share training wells. A field test should therefore calibrate its null for the clustering of blind wells that share training data, for example with the same beta-binomial model. Table~\ref{tab:t3} reports the nominal test; the calibrated numbers follow the next paragraph.
\paragraph{A reference error of a few milliseconds reverses the ranking.} \paragraph{A reference error of a few milliseconds reverses the ranking.}
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. 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.} \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. 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$. 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$). 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$.
The clustering matters. Under a beta-binomial null with intra-class correlation 0.1, the nominal sign test at $\alpha = 0.05$ rejects a true null with probability 0.05 at 10 wells, 0.13 at 20 and 0.23 at 40; at 0.45, the value of the 10\,dB cell with $N = 4$, these become 0.24, 0.34 and 0.40. We therefore recomputed $n_{\mathrm{b}}^\star$ with the critical value chosen so that the size is at most 0.05 under the intra-class correlation of each cell (post hoc, declared before it was computed; Appendix~\ref{app:record:review}). With an exact reference, the 0\,dB cell with $N = 4$ then needs 10 wells instead of 5, the $-5$\,dB cell with $N = 16$ needs 18 instead of 11, and the $-5$\,dB cell with $N = 4$ no longer reaches power 0.8 within 40 wells; the three other cells are unchanged. Because a shared training set affects all blind wells of a realization alike, the power of the calibrated test does not approach 1 as wells are added: its limit is 0.37 and 0.46 in the two cells with $N = 4$ at 10 and $-5$\,dB. At $\sigma_{\mathrm{ref}} = 0.5$\,ms three cells still reach 0.8 (5, 11 and 20 wells), at 1\,ms two (16 and 25 wells, both with $N = 16$), and at 1.5\,ms or more none. The intra-class correlations come from eight realizations and are imprecise, so these numbers indicate an order of magnitude. The clustering matters. Under a beta-binomial null with intra-class correlation 0.1, the nominal sign test at $\alpha = 0.05$ rejects a true null with probability 0.05 at 10 wells, 0.13 at 20 and 0.23 at 40; at 0.45, the value of the 10\,dB cell with $N = 4$, these become 0.24, 0.34 and 0.40. We therefore recomputed $n_{\mathrm{b}}^\star$ with the critical value chosen so that the size is at most 0.05 under the intra-class correlation of each cell (post hoc, declared before it was computed; Appendix~\ref{app:record:review}). With an exact reference, the 0\,dB cell with $N = 4$ then needs 10 wells instead of 5, the $-5$\,dB cell with $N = 16$ needs 18 instead of 11, and the $-5$\,dB cell with $N = 4$ no longer reaches power 0.8 within 40 wells. The three other cells are unchanged. Because a shared training set affects all blind wells of a realization alike, the power of the calibrated test does not approach 1 as wells are added: its limit is 0.37 and 0.46 in the two cells with $N = 4$ at 10 and $-5$\,dB. At $\sigma_{\mathrm{ref}} = 0.5$\,ms three cells still reach 0.8 (5, 11 and 20 wells), at 1\,ms two (16 and 25 wells, both with $N = 16$), and at 1.5\,ms or more none. The intra-class correlations come from eight realizations and are imprecise, so these numbers indicate an order of magnitude.
\paragraph{Estimand, assumptions and scope.}
The win rate estimates the probability that, for the networks trained on one training set, the \mRML{} has a lower band RMSE than the best deterministic tie at a blind well drawn from the same field. It is conditional on the training set, not an average over training sets: the clustering of wells that share training data is what makes the nominal sign test anti-conservative. The intra-class correlation (0.45 at most here) was measured from the test wells of eight realizations; it cannot be estimated from one field with a few blind wells, so a field analyst must assume or bound it. The reference error is Gaussian, has the form of the design above and is independent of the predictions, and the crossing point $\sigma/\sqrt2$ assumes an unshrunk oracle (Corollary~\ref{cor:tolerance}). The accuracy needed, about 1\,ms for a feasible test, is a phase error of $18^\circ$ at 50\,Hz, and a time--depth reference independent of the seismic data at that accuracy is demanding. These numbers are conditions for a powered blind-well test in this benchmark, not a standard, and we do not show that they can be met in the field.
\paragraph{A worked example.} \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}). With its null calibrated for wells that share training data, it needs 18 wells with an exact reference, and at 0.5\,ms or more 40 wells do not suffice. 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. 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}). With its null calibrated for wells that share training data, it needs 18 wells with an exact reference, and at 0.5\,ms or more 40 wells do not suffice. 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.
@@ -409,12 +413,47 @@ $-5$\,dB, $N = 16$ & Phase-est.\ corr. & 0.89 & 0.92 & 0.08 & 0.51 & 0.31 & 11
\label{sec:exp:scope} \label{sec:exp:scope}
\paragraph{Neither field test met its pass rule.} \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 labeled 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. At F-11 T2, the one Volve well with a VSP, changing the scoring reference moved the RMSE of each method by more than the spread between methods and reordered them (post hoc). 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, with total RMSE on the labeled samples. It did so under two hold-out schemes: single wells, and slots (groups of wells that share a borehole). 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}). In the sensitivity variants (anchor uncertainty, scoring reference, band split, label), the \mRML{} improved at one to three wells and never met the coverage condition. On Volve, the \mRML{} 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. 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. At F-11 T2, the one Volve well with a VSP, changing the scoring reference moved the RMSE of each method by more than the spread between methods and reordered them (post hoc). Appendix~\ref{app:field} gives the designs and all tables.
\begin{table}[t]
\centering
\caption{Field cases per blind well (descriptive; exploratory, from the saved outputs). Reference: the marker-calibrated sonic tie of the blind well, whose error is unknown. Selected deterministic tie: chosen on the training wells of each fold. Errors are in porosity units (p.u.): band root-mean-square error (RMSE) on F3 and total RMSE on Volve, the metrics of the two pass rules. Tie, SMC mean and SMC bank: the selected tie, labels at the mean sequential Monte Carlo (SMC) warp and training on the SMC bank. Band PCC: Pearson correlation in the seismic band of the SMC bank. Constant: total RMSE of the mean porosity of the training wells (Volve only, post hoc). The SMC bank has a lower error than the selected tie at 1 of 4 wells on F3 and at 2 of 6 and 3 of 6 wells on Volve (leave-one-well-out and slot). Slot: the wells that share a slot are held out together (F-1, F-1 A and F-1 B; F-11 A and F-11 T2); F-12 has no sibling, so its two schemes coincide.}
\label{tab:fieldwells}
\small
\setlength{\tabcolsep}{4pt}
\begin{tabular}{llccccc}
\toprule
Well & Selected deterministic tie & Tie & SMC mean & SMC bank & Band PCC (bank) & Constant \\
\midrule
\multicolumn{7}{l}{\emph{F3, nested leave-one-well-out}} \\
F02-1 & phase-estimated correlation & 1.57 & 1.64 & 1.59 & 0.31 & -- \\
F03-2 & phase-estimated correlation & 1.15 & 1.05 & 1.15 & 0.14 & -- \\
F03-4 & phase-estimated correlation & 1.22 & 1.27 & 1.20 & 0.17 & -- \\
F06-1 & phase-estimated correlation & 1.08 & 1.15 & 1.16 & 0.11 & -- \\
\midrule
\multicolumn{7}{l}{\emph{Volve, leave-one-well-out}} \\
F-1 & calibrated sonic & 5.08 & 5.33 & 5.26 & 0.20 & 5.92 \\
F-1 A & calibrated sonic & 6.78 & 7.20 & 6.81 & -0.23 & 5.14 \\
F-1 B & calibrated sonic & 4.27 & 4.00 & 4.23 & 0.45 & 4.93 \\
F-11 A & calibrated sonic & 7.61 & 8.12 & 7.96 & 0.19 & 7.37 \\
F-11 T2 & calibrated sonic & 5.51 & 5.36 & 5.42 & -0.13 & 4.63 \\
F-12 & calibrated sonic & 8.91 & 9.10 & 9.30 & 0.25 & 8.21 \\
\midrule
\multicolumn{7}{l}{\emph{Volve, slot}} \\
F-1 & correlation tie & 8.04 & 7.02 & 6.85 & 0.41 & 7.18 \\
F-1 A & correlation tie & 8.30 & 9.02 & 8.58 & -0.41 & 6.65 \\
F-1 B & correlation tie & 5.35 & 4.75 & 4.80 & 0.59 & 5.59 \\
F-11 A & calibrated sonic & 7.89 & 8.18 & 7.90 & 0.37 & 7.33 \\
F-11 T2 & calibrated sonic & 5.41 & 5.49 & 5.35 & -0.13 & 4.55 \\
F-12 & calibrated sonic & 8.91 & 9.10 & 9.30 & 0.25 & 8.21 \\
\bottomrule
\end{tabular}
\end{table}
\paragraph{Neither test could have detected the effect.} \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. 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.
\begin{itemize} \begin{itemize}
\item \emph{Skill.} The networks have blind-well skill within the range in which Experiment~2 found the effect: at inner-validation wells, a band PCC of at least 0.468 and an $R^2$ of at least 0.053, the smallest values reached by the best deterministic tie in the cells that passed the posterior-mean claim, and a lower RMSE than a constant. This failed on both datasets: band PCC was 0.15 on F3 and, on runs too short for a meaningful band split, 0.13 and 0.04 on Volve (leave-one-well-out and slot), and $R^2$ was 0.04, $-0.99$ and $-0.99$. \item \emph{Skill.} The networks have blind-well skill within the range in which Experiment~2 found the effect. At inner-validation wells this means a band PCC of at least 0.468 and an $R^2$ of at least 0.053 (the smallest values reached by the best deterministic tie in the cells that passed the posterior-mean claim), and a lower RMSE than a constant. This failed on both datasets: band PCC was 0.15 on F3 and, on runs too short for a meaningful band split, 0.13 and 0.04 on Volve (leave-one-well-out and slot), and $R^2$ was 0.04, $-0.99$ and $-0.99$.
\item \emph{Width.} The tie posterior is wide, $\sigpost \ge 1.5$\,ms, which matters only for the comparison with the \mPM{}. This held on both datasets, with median $\sigpost$ of 2.8\,ms on F3 and 4.3\,ms on Volve. \item \emph{Width.} The tie posterior is wide, $\sigpost \ge 1.5$\,ms, which matters only for the comparison with the \mPM{}. This held on both datasets, with median $\sigpost$ of 2.8\,ms on F3 and 4.3\,ms on Volve.
\item \emph{Anchor uncertainty.} $\sigma_a$ is identified by independent time--depth data at three or more wells outside the test set, because a misset $\sigma_a$ removed the advantage (Table~\ref{tab:sigmaa}). This fails by construction: F3 has no independent time--depth data, and Volve has check shots at two wells, only one of them among the six used. \item \emph{Anchor uncertainty.} $\sigma_a$ is identified by independent time--depth data at three or more wells outside the test set, because a misset $\sigma_a$ removed the advantage (Table~\ref{tab:sigmaa}). This fails by construction: F3 has no independent time--depth data, and Volve has check shots at two wells, only one of them among the six used.
\item \emph{Well count.} The number of blind wells reaches $n_{\mathrm{b}}^\star$ (Table~\ref{tab:t3}). This also fails by construction. Both tests scored against marker-calibrated sonic ties of the test wells, whose errors are unknown, and with four wells no sign test can reject. \item \emph{Well count.} The number of blind wells reaches $n_{\mathrm{b}}^\star$ (Table~\ref{tab:t3}). This also fails by construction. Both tests scored against marker-calibrated sonic ties of the test wells, whose errors are unknown, and with four wells no sign test can reject.

View File

@@ -2,7 +2,7 @@
\label{sec:discussion} \label{sec:discussion}
\paragraph{What held.} \paragraph{What held.}
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. 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; 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.} \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. 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,7 +31,7 @@ Teapot Dome & Stopped before any porosity value & Reference error 6.75\,ms again
\end{table} \end{table}
\paragraph{Where the bank gain comes from.} \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. 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. 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 at $c = 1$ (within 2.1\% of the bank in all four cells). 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.} \paragraph{Practical advice: training on an uncertain tie.}
These recommendations hold within this benchmark, where the data follow the registration's model. These recommendations hold within this benchmark, where the data follow the registration's model.
@@ -39,7 +39,7 @@ These recommendations hold within this benchmark, where the data follow the regi
\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{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{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{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{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{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 were 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 was 0.0--2.1\% above the SMC bank at $c = 1$ in all four cells (the interval of the paired difference included zero in three), 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. \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} \end{enumerate}
@@ -51,17 +51,17 @@ Proposition~\ref{prop:reference} and the detectability analysis turn the field f
\item \emph{An anchor uncertainty estimated outside the test set} (item 2 above). \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. \item \emph{Networks with skill in the seismic band at blind wells,} shown before registration is compared.
\end{enumerate} \end{enumerate}
The two field cases meet none of the four. Neither F3 nor Volve is evidence against the synthetic results, and neither is evidence for them. On F3 the macro difference in band RMSE between the \mRML{} and the phase-estimated correlation tie, 0.016\,p.u., was an eighth of the variation between seeds and smaller than the spread produced by plausible alternative scoring references. On Volve the tie methods changed the macro RMSE by at most 0.26\,p.u.\ out of 6--7\,p.u. Two contrasts suggest that the F3 band score was insensitive to the timing of the labels, although we did not test this. Without anchors, band RMSE nearly doubled in the synthetic test but fell slightly on F3 (1.247 against 1.272\,p.u.). The shift-bank losses, 38--53\% worse than the calibrated sonic in Experiment~1, had a lower band RMSE than every deterministic tie on F3. The F3 label is also a linear function of the sonic, so label and time axis share a source, which violates (A1). The claims of this paper about learning rest on the benchmark, and its claims about the field concern what a test there would need. The two field cases meet none of the four. Neither F3 nor Volve is evidence against the synthetic results, and neither is evidence for them. On F3 the macro difference in band RMSE between the \mRML{} and the phase-estimated correlation tie was 0.016\,p.u. This was an eighth of the variation between seeds and smaller than the spread produced by plausible alternative scoring references. On Volve the tie methods changed the macro RMSE by at most 0.26\,p.u.\ out of 6--7\,p.u. Two contrasts suggest that the F3 band score was insensitive to the timing of the labels, although we did not test this. Without anchors, band RMSE nearly doubled in the synthetic test but fell slightly on F3 (1.247 against 1.272\,p.u.). The shift-bank losses, 38--53\% worse than the calibrated sonic in Experiment~1, had a lower band RMSE than every deterministic tie on F3. The F3 label is also a linear function of the sonic, so label and time axis share a source, which violates (A1). The claims of this paper about learning rest on the benchmark, and its claims about the field concern what a test there would need.
\paragraph{Limitations.} \paragraph{Limitations.}
\begin{itemize} \begin{itemize}
\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{One simulator.} In the nominal cells the data follow the rock physics and the warp-prior family that the registration assumes, and the registration prior on the bulk offset is wider than the truth. The gains there are therefore 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{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. The low-frequency concentration of the predictions is thus 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. Its main comparisons were repeated on eight realizations generated afterwards (Section~\ref{sec:exp:p2r}), but under reading rules written after its results were known. Experiment~3 reuses its test realizations and SMC particles, was designed after the field tests and post hoc analyses, and was not replicated, because its runner is locked to those realizations. F3 also supplied the statistics of the generator, and the Volve test was designed after the F3 test had failed. \item \textbf{Dependence between tests.} Experiment~2 was designed after Experiment~1 had failed. Its main comparisons were repeated on eight realizations generated afterwards (Section~\ref{sec:exp:p2r}), but under reading rules written after its results were known. Experiment~3 reuses its test realizations and SMC particles and was designed after the field tests and post hoc analyses. It was not replicated, because its runner is locked to those realizations. F3 also supplied the statistics of the generator, and the Volve test was designed after the F3 test had failed.
\item \textbf{Tempering and bank size.} Every hash-locked bank used $\lambda = 1/\tau_c$, a heuristic fixed in advance, where RML is not near the limit analyzed 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. The bank size $S = 64$ was also fixed in advance; in a second exploratory arm, banks of 1024 members were never worse and in half of the wide cells slightly better, so the reported bank gains may be slight underestimates. \item \textbf{Tempering and bank size.} Every hash-locked bank used $\lambda = 1/\tau_c$, a heuristic fixed in advance; at this value RML is not near the limit analyzed 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. The bank size $S = 64$ was also fixed in advance. In a second exploratory arm, banks of 1024 members were never worse and in half of the wide cells slightly better, so the reported bank gains may be slight underestimates.
\item \textbf{Loss family.} Every learned method except the composite-loss baseline uses the Gaussian likelihood of Section~\ref{sec:method:rml} (soft-DTW and DILATE through their alignment cost), chosen for the theory rather than tuned for accuracy. Laplace, Student-$t$, $\beta$-weighted or CRPS losses were not trained, and the only other loss on the synthetic data, MSE on the bank-mean label (Appendix~\ref{app:record}), changed the label together with the loss. Whether the posterior-mean and bank results hold under another loss is untested. \item \textbf{Loss family.} Every learned method except the composite-loss baseline uses the Gaussian likelihood of Section~\ref{sec:method:rml} (soft-DTW and DILATE through their alignment cost), chosen for the theory rather than tuned for accuracy. Laplace, Student-$t$, $\beta$-weighted or CRPS losses were not trained. The only other loss on the synthetic data, MSE on the bank-mean label (Appendix~\ref{app:record}), changed the label together with the loss. Whether the posterior-mean and bank results hold under another loss is untested.
\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{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.} The anchor-uncertainty stress was tested at $c = 1$ only, at 10\,dB (hash-locked) and at $-5$\,dB (exploratory), and only with factor-of-two errors; the benchmark package carries two such settings at 10\,dB, but no hash-locked benchmark test varied the anchor uncertainty. Experiment~3 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. Seismic noise correlated between traces, TCN budgets below 125 iterations and a Gaussian bank on the misspecification axes of the benchmark were not tested. \item \textbf{Untested stresses.} The anchor-uncertainty stress was tested at $c = 1$ only, at 10\,dB (hash-locked) and at $-5$\,dB (exploratory), and only with factor-of-two errors. The benchmark package carries two such settings at 10\,dB, but no hash-locked benchmark test varied the anchor uncertainty. Experiment~3 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. Seismic noise correlated between traces, TCN budgets below 125 iterations and a Gaussian bank on the misspecification axes of the benchmark were not tested.
\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{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{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. \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.

View File

@@ -1,19 +1,19 @@
\section{Conclusions} \section{Conclusions}
\label{sec:conclusion} \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 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. 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 in a linear-Gaussian model the error of a posterior-mean tie is predicted to sharpen it. On the benchmark, where this could be tested, the trained network was blurred, not sharpened. 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, and 7--19\% lower on eight realizations generated afterwards. 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. 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, and 7--19\% lower on eight realizations generated afterwards. That gain reflects a more accurate tie model: the best saved particle 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 the gain was 2--33\%, shrinking as noise grew. 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, at 10\,dB and at $-5$\,dB, 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. The benchmark located where these results stop. The advantage was lost when the anchor uncertainty was misstated by a factor of two in either direction, at 10\,dB and at $-5$\,dB, when the true anchor error was 2\,ms or less or had a per-well bulk component, and when the wavelet phase lay outside the tie model. It held at stronger drift, with a second backbone and under a scaled warp prior that tested mainly the benign direction. 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, 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. 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. For effects of the size found in the benchmark, a field comparison of tie methods needs 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.} \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 license \citep{dgb2023f3demo}. The Volve data are available from Equinor \citep{equinor2018volve}; the license 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 license 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; license 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 license \citep{dgb2023f3demo}. The Volve data are available from Equinor \citep{equinor2018volve}; the license 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 license 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; license inherited from F3 (CC BY-SA 3.0), to be confirmed}.
\paragraph{Computer code availability.} \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; license; repository link.} \todo{Needed only for the Computers \& Geosciences fallback; the Geophysical Prospecting version (\texttt{paper\_gp/}) states code and data access in its Data Availability Statement. 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; license; repository link.}
\paragraph{CRediT authorship contribution statement.} \paragraph{CRediT authorship contribution statement.}
\todo{Author contributions.} \todo{Author contributions.}
@@ -22,7 +22,7 @@ The F3 Demo 2023 data are available from dGB Earth Sciences through the TerraNub
\todo{Competing interests.} \todo{Competing interests.}
\paragraph{Declaration of generative AI and AI-assisted technologies.} \paragraph{Declaration of generative AI and AI-assisted technologies.}
\todo{Elsevier requires authors to disclose the use of generative AI in preparing the manuscript. The authors must write this statement.} \todo{The authors must write this statement. A draft in the form EAGE asks for (tool named, parts of the text it helped with) is in the Acknowledgments of \texttt{paper\_gp/main.tex}.}
\paragraph{Acknowledgements.} \paragraph{Acknowledgements.}
We thank dGB Earth Sciences for making the F3 data available as an OpendTect project via their TerraNubis portal (terranubis.com), and Equinor and the former Volve license partners (ExxonMobil and Bayerngas) and the Norwegian Petroleum Directorate for releasing the Volve data. \todo{Other acknowledgements and funding.} We thank dGB Earth Sciences for making the F3 data available as an OpendTect project via their TerraNubis portal (terranubis.com), and Equinor and the former Volve license partners (ExxonMobil and Bayerngas) and the Norwegian Petroleum Directorate for releasing the Volve data. \todo{Other acknowledgements and funding.}

View File

@@ -18,6 +18,8 @@ P(f) = \E\big[e^{i2\pi f\delta}\big], \qquad \delta \sim \N(\mu_\delta, \sigma^2
\end{equation} \end{equation}
\end{proposition} \end{proposition}
The result is elementary. It is the regression form of the frequency-selective attenuation that random timing jitter produces in sampled signals \citep{balakrishnan1962jitter}.
\noindent\emph{Proof.} By (A1), $\E[y(t+\delta(t))\mid X, \delta(t) = d] = \E[y(t+d)\mid X] = m(t+d)$. Taking the expectation over $\delta(t) \sim p_t$, which is independent of $X$, and exchanging the order of integration (Fubini, using (A2)) gives $\tilde m(t) = \int p_t(d)\, m(t+d)\dd d$. If $p_t \equiv p$, the Fourier transform of $m(\cdot + d)$ is $e^{i2\pi f d}\hat m(f)$, so $\tilde m$ has transform $P(f)\hat m(f)$ with $P(f) = \E e^{i2\pi f\delta}$. For $\delta \sim \N(\mu_\delta, \sigma^2)$, $P$ is the Gaussian characteristic function evaluated at $2\pi f$. \hfill$\square$ \noindent\emph{Proof.} By (A1), $\E[y(t+\delta(t))\mid X, \delta(t) = d] = \E[y(t+d)\mid X] = m(t+d)$. Taking the expectation over $\delta(t) \sim p_t$, which is independent of $X$, and exchanging the order of integration (Fubini, using (A2)) gives $\tilde m(t) = \int p_t(d)\, m(t+d)\dd d$. If $p_t \equiv p$, the Fourier transform of $m(\cdot + d)$ is $e^{i2\pi f d}\hat m(f)$, so $\tilde m$ has transform $P(f)\hat m(f)$ with $P(f) = \E e^{i2\pi f\delta}$. For $\delta \sim \N(\mu_\delta, \sigma^2)$, $P$ is the Gaussian characteristic function evaluated at $2\pi f$. \hfill$\square$
If the marginal distribution changes slowly with $t$ (for example, drift that grows with depth), $\tilde m$ is a time-varying filter that is locally $P$ with $\sigma(t)$. If the marginal distribution changes slowly with $t$ (for example, drift that grows with depth), $\tilde m$ is a time-varying filter that is locally $P$ with $\sigma(t)$.
@@ -265,7 +267,7 @@ Let $D_{ij} = -\log\N(y_j; \mu_i, \sigma_i^2)$, let $\mathcal P$ be the set of m
\end{equation} \end{equation}
\end{lemma} \end{lemma}
The last term does not depend on $\theta$. On the diagonal path, $\ell_A$ equals the Gaussian log-likelihood of the window. The unit tests check this identity in its single-path case. Symmetric steps give every path the same total weight $2n$. With standard steps, longer paths visit more cells and, since the negative log-likelihood can be negative, would be preferred. DILATE \citep{leguen2019dilate} adds a temporal-distortion term $\langle A^\star, \Omega\rangle$ with $A^\star = \nabla_D \mathrm{sDTW}_\gamma$ and $\Omega_{ij} = ((i-j)/n)^2$. Its gradient is a Hessian--vector product, which we compute by forward-mode differentiation of the backward pass \citep{mensch2018diffdp}. Our version differs from the original in two ways: the cost is the Gaussian negative log-likelihood, and the steps are symmetric. The last term does not depend on $\theta$. On the diagonal path, $\ell_A$ equals the Gaussian log-likelihood of the window. The unit tests check this identity in its single-path case. Symmetric steps give every path the same total weight $2n$. With standard steps, longer paths visit more cells. Since the negative log-likelihood can be negative, they would be preferred. DILATE \citep{leguen2019dilate} adds a temporal-distortion term $\langle A^\star, \Omega\rangle$ with $A^\star = \nabla_D \mathrm{sDTW}_\gamma$ and $\Omega_{ij} = ((i-j)/n)^2$. Its gradient is a Hessian--vector product, which we compute by forward-mode differentiation of the backward pass \citep{mensch2018diffdp}. Our version differs from the original in two ways: the cost is the Gaussian negative log-likelihood, and the steps are symmetric.
\paragraph{Proof of Lemma~\ref{lem:sdtw}.} By definition, \paragraph{Proof of Lemma~\ref{lem:sdtw}.} By definition,
\begin{equation*} \begin{equation*}
@@ -275,4 +277,4 @@ Substituting $\ell_A = -\frac12\langle A,D\rangle_w$, $\pi_A = |\mathcal P|^{-1}
\begin{equation*} \begin{equation*}
\RML_{2/\gamma} = -\frac{\gamma}{2n}\log\sum_{A}|\mathcal P|^{-1}e^{-\langle A,D\rangle_w/\gamma} = \frac{\mathrm{sDTW}_\gamma(D)}{2n} + \frac{\gamma}{2n}\log|\mathcal P| . \RML_{2/\gamma} = -\frac{\gamma}{2n}\log\sum_{A}|\mathcal P|^{-1}e^{-\langle A,D\rangle_w/\gamma} = \frac{\mathrm{sDTW}_\gamma(D)}{2n} + \frac{\gamma}{2n}\log|\mathcal P| .
\end{equation*} \end{equation*}
With symmetric steps and the start cell counted twice, every path has total weight $2 + (2n - 2) = 2n$, because the weight of each step equals its increment of $i + j$, which grows from $0$ to $2n - 2$ along the path; and on the diagonal path $\langle A, D\rangle_w = 2\sum_i D_{ii}$, so $\ell_A = \sum_i\log\N(y_i;\mu_i,\sigma_i^2)$. \hfill$\square$ With symmetric steps and the start cell counted twice, every path has total weight $2 + (2n - 2) = 2n$, because the weight of each step equals its increment of $i + j$, which grows from $0$ to $2n - 2$ along the path. On the diagonal path $\langle A, D\rangle_w = 2\sum_i D_{ii}$, so $\ell_A = \sum_i\log\N(y_i;\mu_i,\sigma_i^2)$. \hfill$\square$

View File

@@ -7,15 +7,15 @@ This appendix reports the two field tests in full. Section~\ref{sec:exp:scope} s
\label{sec:exp:f3} \label{sec:exp:f3}
\paragraph{No learned model beat a depth--time trend in total RMSE.} \paragraph{No learned model beat a depth--time trend in total RMSE.}
The label is $\mathrm{PHIE}_{\mathrm{DT}}$, the reference is the marker-calibrated sonic of the test well, and the test well contributes nothing to training, tie, hyperparameters or checkpoint selection. In Table~\ref{tab:f3all} the depth--time trend has the lowest RMSE (2.48\,p.u.), although its seismic-band PCC is negative, and ridge regression on seismic attributes has the highest band PCC (0.24). With four wells these numbers are descriptive. The label is $\mathrm{PHIE}_{\mathrm{DT}}$, the reference is the marker-calibrated sonic of the test well, and the test well contributes nothing to training, tie, hyperparameters or checkpoint selection. In Table~\ref{tab:f3all} the depth--time trend has the lowest RMSE (2.48\,p.u.), although its seismic-band PCC is negative. Ridge regression on seismic attributes has the highest band PCC (0.24). With four wells these numbers are descriptive.
\paragraph{Design.} \paragraph{Design.}
We used nested leave-one-well-out validation. Each well is held out once as the outer test well. Within the three remaining wells, each is held out once as an inner validation well, and models are trained on the other two. Registration uses only the two training wells of each model: the warp-prior hyperparameters, the wavelet phase and the SMC posterior ($\sigma_a = 7$\,ms, $N_p = 1024$, $S = 64$) are all estimated from them. For each outer fold, method and seed, the iteration budget is chosen from $\{125, 250, 500, 1000, 2000\}$ by total validation MSE averaged over the three inner wells, with ties going to the smaller budget. The prediction at the outer well is a Gaussian with the mean and variance of the equally weighted mixture of 15 members (three inner models $\times$ five seeds). Nothing is refitted on the outer well, and its labels enter no choice. We used nested leave-one-well-out validation. Each well is held out once as the outer test well. Within the three remaining wells, each is held out once as an inner validation well, and models are trained on the other two. Registration uses only the two training wells of each model: the warp-prior hyperparameters, the wavelet phase and the SMC posterior ($\sigma_a = 7$\,ms, $N_p = 1024$, $S = 64$) are all estimated from them. For each outer fold, method and seed, the iteration budget is chosen from $\{125, 250, 500, 1000, 2000\}$ by total validation MSE averaged over the three inner wells, with ties going to the smaller budget. The prediction at the outer well is a Gaussian with the mean and variance of the equally weighted mixture of 15 members (three inner models $\times$ five seeds). Nothing is refitted on the outer well, and its labels enter no choice.
The pass rule had two conditions for the \mRML{}. (i) \emph{Direction}: lower band RMSE than the deterministic tie chosen for that outer fold among the calibrated sonic, the correlation tie and the phase-estimated correlation, by inner-validation MSE averaged over seeds, at no fewer than three of the four outer wells. Any reduction counts, so this rule is weaker than the 0.90 ratio of the synthetic experiments. (ii) \emph{Coverage}: macro coverage of the central 80\% and 90\% intervals within $\pm 0.05$ of nominal, that is, in $[0.75, 0.85]$ and $[0.85, 0.95]$. These time samples are strongly correlated, so coverage is a description, not a test. Better accuracy cannot compensate for failed coverage. Before the run we had recorded that the coverage condition would probably fail, because every ensemble had under-covered in the synthetic experiments, and we kept the threshold. The pass rule had two conditions for the \mRML{}. (i) \emph{Direction}: lower band RMSE than the deterministic tie chosen for that outer fold among the calibrated sonic, the correlation tie and the phase-estimated correlation, by inner-validation MSE averaged over seeds, at no fewer than three of the four outer wells. Any reduction counts, so this rule is weaker than the 0.90 ratio of the synthetic experiments. (ii) \emph{Coverage}: macro coverage of the central 80\% and 90\% intervals within $\pm 0.05$ of nominal, that is, in $[0.75, 0.85]$ and $[0.85, 0.95]$. These time samples are strongly correlated, so coverage is a description, not a test. Better accuracy cannot compensate for failed coverage. Before the run we had recorded that the coverage condition would probably fail, because every ensemble had under-covered in the synthetic experiments. We kept the threshold.
\paragraph{Both conditions failed.} \paragraph{Both conditions failed.}
Inner validation chose the phase-estimated correlation as the competitor at all four outer wells (Table~\ref{tab:f3gc}). The \mRML{} had lower band RMSE only at F03-4, by 1.9\%. At F02-1 and F03-2 it was 0.8\% and 0.02\% worse, and at F06-1 it was 7.0\% worse. Its macro band RMSE was 1.272\,p.u., against 1.256\,p.u.\ for the competitor. Macro coverage was 0.524 for the 80\% intervals and 0.609 for the 90\% intervals. At F03-2 and F03-4 the 80\% and 90\% intervals covered 0.75 and 0.80 of the samples. At F02-1 and F06-1 they covered 0.22--0.38 and 0.33--0.50. At these two wells most of the error lay below 6\,Hz: the low-band RMSE was 4.31 and 3.64\,p.u., out of a total RMSE of 4.56 and 3.82\,p.u., while the mean predicted standard deviation was 1.05 and 1.27\,p.u. Seed by seed (three-member ensembles), the \mRML{} beat the competitor at one to three of the four wells, and the macro band RMSE of each method varied between seeds by up to 0.13\,p.u.\ (\mRML: 1.28--1.41\,p.u.; competitor: 1.29--1.41\,p.u.), eight times the gap between the combined ensembles. Inner validation chose the phase-estimated correlation as the competitor at all four outer wells (Table~\ref{tab:f3gc}). The \mRML{} had lower band RMSE only at F03-4, by 1.9\%. At F02-1 and F03-2 it was 0.8\% and 0.02\% worse, and at F06-1 it was 7.0\% worse. Its macro band RMSE was 1.272\,p.u., against 1.256\,p.u.\ for the competitor. Macro coverage was 0.524 for the 80\% intervals and 0.609 for the 90\% intervals. At F03-2 and F03-4 the 80\% and 90\% intervals covered 0.75 and 0.80 of the samples. At F02-1 and F06-1 they covered 0.22--0.38 and 0.33--0.50. At these two wells most of the error lay below 6\,Hz: the low-band RMSE was 4.31 and 3.64\,p.u., out of a total RMSE of 4.56 and 3.82\,p.u., while the mean predicted standard deviation was 1.05 and 1.27\,p.u. Seed by seed (three-member ensembles), the \mRML{} beat the competitor at one to three of the four wells. The macro band RMSE of each method varied between seeds by up to 0.13\,p.u.\ (\mRML: 1.28--1.41\,p.u.; competitor: 1.29--1.41\,p.u.), eight times the gap between the combined ensembles.
\begin{table}[t] \begin{table}[t]
\centering \centering
@@ -38,7 +38,7 @@ Required & & & $\ge 3/4$ & $[0.75, 0.85]$ & $[0.85, 0.95]$ \\
\end{table} \end{table}
\paragraph{Two features of F3 limit what the test can detect.} \paragraph{Two features of F3 limit what the test can detect.}
In the synthetic benchmark the \mRML{} beat the best deterministic tie in all three full-anchor settings under a stricter rule, while on F3 this direction held at one well of four. The field test does not show why, and we tested no explanation. First, the synthetic gains required a correctly specified $\sigma_a$ (Table~\ref{tab:sigmaa}), and on F3 $\sigma_a$ is not identified: 7\,ms comes from the marker--horizon spread, not from an independent measurement. Second, the reference is itself a point tie, the marker-calibrated sonic. Its registration error adds to the band RMSE of every method, which pulls ratios towards one, and it favors methods whose label errors resemble its own. In the synthetic benchmark the \mRML{} beat the best deterministic tie in all three full-anchor settings under a stricter rule. On F3 this direction held at one well of four. The field test does not show why, and we tested no explanation. First, the synthetic gains required a correctly specified $\sigma_a$ (Table~\ref{tab:sigmaa}), and on F3 $\sigma_a$ is not identified: 7\,ms comes from the marker--horizon spread, not from an independent measurement. Second, the reference is itself a point tie, the marker-calibrated sonic. Its registration error adds to the band RMSE of every method and pulls ratios towards one. It also favors methods whose label errors resemble its own.
\begin{table}[t] \begin{table}[t]
\centering \centering
@@ -77,14 +77,14 @@ No band content & 1.224 & -- & -- & -- & -- & -- \\
\end{table} \end{table}
\paragraph{The networks predicted little of the seismic band.} \paragraph{The networks predicted little of the seismic band.}
Table~\ref{tab:f3all} lists every method under the nested design. The networks have higher total RMSE than in a simpler leave-one-well-out design with three training wells (calibrated sonic: 3.07 against 2.82\,p.u., not tabulated), because each model here is trained on two wells and its budget is chosen by inner validation. Only the soft-min shift had a lower macro band RMSE than a prediction with no seismic-band content (1.211 against 1.224\,p.u.). The depth--time trend, which has almost no band content, came within 1.3\% of that value, and every deterministic tie, the \mPM{} and the \mRML{} lay above it. Band PCC did not exceed 0.22 for any network. The test therefore compared methods whose band errors were nearly the same size: without the sonic tie, the other 12 networks span 1.211--1.286\,p.u. The ranking also differs from the synthetic experiments. All four anchor-free losses had lower macro band RMSE than every deterministic tie, the \mPM{} and the \mRML{}, by 0.002--0.14\,p.u.\ (up to 0.06 relative to the \mPM{} and \mRML{}). Every probabilistic method under-covered: macro coverage was 0.38--0.52 for the 80\% intervals and 0.44--0.61 for the 90\% intervals, and the \mRML{} had the highest values of both. Table~\ref{tab:f3all} lists every method under the nested design. The networks have higher total RMSE than in a simpler leave-one-well-out design with three training wells (calibrated sonic: 3.07 against 2.82\,p.u., not tabulated), because each model here is trained on two wells and its budget is chosen by inner validation. Only the soft-min shift had a lower macro band RMSE than a prediction with no seismic-band content (1.211 against 1.224\,p.u.). The depth--time trend, which has almost no band content, came within 1.3\% of that value. Every deterministic tie, the \mPM{} and the \mRML{} lay above it. Band PCC did not exceed 0.22 for any network. The test therefore compared methods whose band errors were nearly the same size: without the sonic tie, the other 12 networks span 1.211--1.286\,p.u. The ranking also differs from the synthetic experiments. All four anchor-free losses had lower macro band RMSE than every deterministic tie, the \mPM{} and the \mRML{}, by 0.002--0.14\,p.u.\ (up to 0.06 relative to the \mPM{} and \mRML{}). Every probabilistic method under-covered: macro coverage was 0.38--0.52 for the 80\% intervals and 0.44--0.61 for the 90\% intervals, and the \mRML{} had the highest values of both.
\paragraph{Sensitivity analyses did not change the outcome.} \paragraph{Sensitivity analyses did not change the outcome.}
The protocol prescribes four further comparisons, none of which can replace a condition of the pass rule (Table~\ref{tab:f3sens}). In no row did the coverage condition hold. The protocol prescribes four further comparisons, none of which can replace a condition of the pass rule (Table~\ref{tab:f3sens}). In no row did the coverage condition hold.
(a) Against the \mPM{}, trained on the mean of the same posterior, the \mRML{} had lower band RMSE at two wells (F02-1 and F03-4) and higher band RMSE at F03-2, by 9.3\%, and at F06-1, by 1.2\%. Its macro band RMSE was 0.003\,p.u.\ lower. (a) Against the \mPM{}, trained on the mean of the same posterior, the \mRML{} had lower band RMSE at two wells (F02-1 and F03-4) and higher band RMSE at F03-2, by 9.3\%, and at F06-1, by 1.2\%. Its macro band RMSE was 0.003\,p.u.\ lower.
(b) With $\sigma_a = 3.5$ or 14\,ms, the phase-estimated correlation, the \mPM{} and the \mRML{} were registered and trained again, and the \mRML{} had lower band RMSE than that competitor at one and two of the four wells; the wells that improved were not the same in the three arms. Macro coverage was 0.47--0.48 and 0.57--0.59. (b) With $\sigma_a = 3.5$ or 14\,ms, the phase-estimated correlation, the \mPM{} and the \mRML{} were registered and trained again. The \mRML{} then had lower band RMSE than the phase-estimated correlation at one and two of the four wells, and the wells that improved were not the same in the three arms. Macro coverage was 0.47--0.48 and 0.57--0.59.
(c) When the test well is scored against the OpendTect time--depth model instead, the \mRML{} again improved only at F03-4. We also scored each method against 64 warps of the test well, drawn from an anchor-only posterior whose prior was fitted on the other three wells. The 5--95\% range of band RMSE over these references was 0.06--0.15\,p.u.\ wide for both methods, and the ranges overlapped at F02-1, F03-2 and F03-4. At F06-1 they did not (\mRML: 1.13--1.18\,p.u.; competitor: 1.04--1.11\,p.u.). (c) When the test well is scored against the OpendTect time--depth model instead, the \mRML{} again improved only at F03-4. We also scored each method against 64 warps of the test well, drawn from an anchor-only posterior whose prior was fitted on the other three wells. The 5--95\% range of band RMSE over these references was 0.06--0.15\,p.u.\ wide for both methods, and the ranges overlapped at F02-1, F03-2 and F03-4. At F06-1 they did not (\mRML: 1.13--1.18\,p.u.; competitor: 1.04--1.11\,p.u.).
(d) Moving the band cutoff to 5 or 8\,Hz changed no ratio by more than 0.011, but at 8\,Hz the \mRML{} also improved at F03-2 (2/4). With the original PHIE label, it improved at three wells, but coverage was lower (0.45 and 0.50). The two labels differ by an RMS of 3.2\,p.u.\ at F02-1 and by less than 0.02\,p.u.\ at the other wells. F02-1 is a training well in three of the four outer folds, and the ratios at those three test wells moved by up to 0.13, which shows how much a ratio near one depends on the label of a single training well. (d) Moving the band cutoff to 5 or 8\,Hz changed no ratio by more than 0.011, but at 8\,Hz the \mRML{} also improved at F03-2 (2/4). With the original PHIE label, it improved at three wells, but coverage was lower (0.45 and 0.50). The two labels differ by an RMS of 3.2\,p.u.\ at F02-1 and by less than 0.02\,p.u.\ at the other wells. F02-1 is a training well in three of the four outer folds, and the ratios at those three test wells moved by up to 0.13. This shows how much a ratio near one depends on the label of a single training well.
\begin{table}[t] \begin{table}[t]
\centering \centering
@@ -108,9 +108,9 @@ PHIE label & 0.992 & 0.911 & 1.025 & 0.943 & 3/4 & 0.45 & 0.50 \\
\end{table} \end{table}
\paragraph{The posterior was wide, followed the anchor uncertainty and left the phase poorly identified.} \paragraph{The posterior was wide, followed the anchor uncertainty and left the phase poorly identified.}
At $\sigma_a = 7$\,ms, $\sigpost$ ranged from 1.7 to 3.6\,ms over the 12 training wells of the six training pairs (median 2.8\,ms), and seven of the 12 values lay in the range of 2.5--3.4\,ms estimated before the run from all four wells. Every pair is therefore wide by the rule of Experiment~2. The width followed $\sigma_a$: it was 1.2--2.3\,ms at $\sigma_a = 3.5$\,ms and 1.9--6.2\,ms at 14\,ms. Without anchors it was 17--38\,ms at F02-1, F03-2 and F03-4, and 1.4--2.0\,ms at F06-1. The six phases estimated at $\sigma_a = 7$\,ms spread over an arc of 214$^\circ$. Over the phases evaluated for each pair, a window 90--120$^\circ$ wide, the summed log evidence of the two wells changed by only 1.0--5.0\,nats. At $\sigma_a = 7$\,ms, $\sigpost$ ranged from 1.7 to 3.6\,ms over the 12 training wells of the six training pairs (median 2.8\,ms). Seven of the 12 values lay in the range of 2.5--3.4\,ms estimated before the run from all four wells. Every pair is therefore wide by the rule of Experiment~2. The width followed $\sigma_a$: it was 1.2--2.3\,ms at $\sigma_a = 3.5$\,ms and 1.9--6.2\,ms at 14\,ms. Without anchors it was 17--38\,ms at F02-1, F03-2 and F03-4, and 1.4--2.0\,ms at F06-1. The six phases estimated at $\sigma_a = 7$\,ms spread over an arc of 214$^\circ$. Over the phases evaluated for each pair, a window 90--120$^\circ$ wide, the summed log evidence of the two wells changed by only 1.0--5.0\,nats.
A second leave-one-anchor-out test, different from that of Section~\ref{sec:method:prior}, checks the anchor prior on the outer wells. For each well, a linearized Gaussian process conditioned on the anchors alone, with hyperparameters fitted on the other three wells and pick noise $\sigma_a = 7$\,ms, predicts each anchor time from the remaining anchors of that well. Of 62 held-out anchors, 61 lay inside the 90\% interval, and the mean $z^2$ was 0.21 (per well: 0.20, 0.01, 0.01 and 0.59), against an expected value of 1. The anchor prior is therefore too wide rather than too narrow, the same direction as the type-II estimate of $\sigma_a$ (0.4\,ms) and the opposite direction to the under-coverage of porosity. This check does not test the calibration of the SMC posterior, which also depends on the seismic likelihood and the wavelet phase. A second leave-one-anchor-out test, different from that of Section~\ref{sec:method:prior}, checks the anchor prior on the outer wells. For each well, a linearized Gaussian process conditioned on the anchors alone, with hyperparameters fitted on the other three wells and pick noise $\sigma_a = 7$\,ms, predicts each anchor time from the remaining anchors of that well. Of 62 held-out anchors, 61 lay inside the 90\% interval, and the mean $z^2$ was 0.21 (per well: 0.20, 0.01, 0.01 and 0.59), against an expected value of 1. The anchor prior is therefore too wide rather than too narrow. This is the same direction as the type-II estimate of $\sigma_a$ (0.4\,ms) and the opposite of the under-coverage of porosity. This check does not test the calibration of the SMC posterior, which also depends on the seismic likelihood and the wavelet phase.
\paragraph{Ablations moved the band score by more than the gap under test.} \paragraph{Ablations moved the band score by more than the gap under test.}
The protocol lists twelve ablations (Table~\ref{tab:f3abl}), scored like every other method. The anchor-only variant trains on the 64 anchor-only warps of the anchor bank with the same weights, so it reproduces that method exactly. Nine of the other eleven variants had lower macro band RMSE than the \mRML{}. The variants spanned 1.242--1.309\,p.u., about four times the gap of 0.016\,p.u.\ between the \mRML{} and its competitor. Bank size had no consistent effect: with 1, 8, 64 and 256 SMC labels, band RMSE was 1.273, 1.256, 1.272 and 1.257\,p.u. A convolutional backbone without the GRU lowered band RMSE by about 2\% for both the \mRML{} and the \mPM{}, so it did not change their order. Removing the anchors lowered band RMSE to 1.247\,p.u.\ but gave the highest total RMSE of the variants (3.23\,p.u.). The fixed-$\sigma$ variant was the only one with coverage close to nominal (0.87 and 0.92), and this is not calibration. Its predicted standard deviation is fixed at that of the training labels, which gave 2.9--4.3\,p.u.\ after mixing, against 1.0--2.1\,p.u.\ for the \mRML{}. Its 80\% intervals covered every sample at F03-2 and F03-4 and 0.74 and 0.73 of the samples at F02-1 and F06-1, so the macro value is an average of these, not evidence of correct width. Adding the low-pass mean label of the training wells as an input gave the lowest total RMSE of any network (2.62\,p.u., against 2.48\,p.u.\ for the depth--time trend) and the highest band RMSE of the variants (1.309\,p.u.). Its gain lies below $f_c$, where the pass rule does not score. The protocol lists twelve ablations (Table~\ref{tab:f3abl}), scored like every other method. The anchor-only variant trains on the 64 anchor-only warps of the anchor bank with the same weights, so it reproduces that method exactly. Nine of the other eleven variants had lower macro band RMSE than the \mRML{}. The variants spanned 1.242--1.309\,p.u., about four times the gap of 0.016\,p.u.\ between the \mRML{} and its competitor. Bank size had no consistent effect: with 1, 8, 64 and 256 SMC labels, band RMSE was 1.273, 1.256, 1.272 and 1.257\,p.u. A convolutional backbone without the GRU lowered band RMSE by about 2\% for both the \mRML{} and the \mPM{}, so it did not change their order. Removing the anchors lowered band RMSE to 1.247\,p.u.\ but gave the highest total RMSE of the variants (3.23\,p.u.). The fixed-$\sigma$ variant was the only one with coverage close to nominal (0.87 and 0.92), and this is not calibration. Its predicted standard deviation is fixed at that of the training labels, which gave 2.9--4.3\,p.u.\ after mixing, against 1.0--2.1\,p.u.\ for the \mRML{}. Its 80\% intervals covered every sample at F03-2 and F03-4 and 0.74 and 0.73 of the samples at F02-1 and F06-1, so the macro value is an average of these, not evidence of correct width. Adding the low-pass mean label of the training wells as an input gave the lowest total RMSE of any network (2.62\,p.u., against 2.48\,p.u.\ for the depth--time trend) and the highest band RMSE of the variants (1.309\,p.u.). Its gain lies below $f_c$, where the pass rule does not score.
@@ -150,21 +150,21 @@ A deployment ensemble of the \mRML{} (four three-well training sets $\times$ fiv
\paragraph{Data.} \paragraph{Data.}
\label{sec:data:volve} \label{sec:data:volve}
Volve (Norwegian North Sea) was released by Equinor in 2018 \citep{equinor2018volve}; the license files of the release name CC BY-NC-SA 4.0. Its role is to break the label structure of F3. The computed effective porosity PHIF of the operator's petrophysical interpretation is driven by density, not by sonic: within each well its correlation with RHOB is $-0.92$ to $-0.99$, RHOB and NPHI explain 84--98\% of its variance, and adding DT raises this by at most 0.9 percentage points. Six wells have DT, RHOB, neutron porosity (NPHI) and PHIF: F-1, F-1 A, F-1 B, F-11 A, F-11 T2 and F-12. All six are deviated (maximum inclination 30--82$^\circ$; 4--54$^\circ$ over the labeled interval), and they share one platform. F-1 A and F-1 B leave the F-1 borehole at 2587\,m measured depth (MD), and F-11 A leaves F-11 T2 at about 2580\,m MD, so the wells form three slot groups, \{F-1, F-1 A, F-1 B\}, \{F-11 A, F-11 T2\} and \{F-12\}, whose members share the hole above the kick-off. Volve (Norwegian North Sea) was released by Equinor in 2018 \citep{equinor2018volve}; the license files of the release name CC BY-NC-SA 4.0. Its role is to break the label structure of F3. The computed effective porosity PHIF of the operator's petrophysical interpretation is driven by density, not by sonic: within each well its correlation with RHOB is $-0.92$ to $-0.99$, RHOB and NPHI explain 84--98\% of its variance, and adding DT raises this by at most 0.9 percentage points. Six wells have DT, RHOB, neutron porosity (NPHI) and PHIF: F-1, F-1 A, F-1 B, F-11 A, F-11 T2 and F-12. All six are deviated (maximum inclination 30--82$^\circ$; 4--54$^\circ$ over the labeled interval), and they share one platform. F-1 A and F-1 B leave the F-1 borehole at 2587\,m measured depth (MD), and F-11 A leaves F-11 T2 at about 2580\,m MD. The wells therefore form three slot groups, \{F-1, F-1 A, F-1 B\}, \{F-11 A, F-11 T2\} and \{F-12\}, whose members share the hole above the kick-off.
We use the post-stack ST10010 full-angle stack (3--41$^\circ$), a 2011 depth migration converted to time, at 4\,ms sampling. Its trace headers carry an invalid time scalar that standard readers apply to the start time, which shifts every sample 8\,ms late. We use the start time of the text header (4\,ms) and checked it against five interpreted horizons: the amplitude extremum along each falls at a lag of 0 to $+2$\,ms. Trajectories come from the operator's definitive surveys; recomputing them by minimum curvature reproduces the listed true vertical depth (TVD) within 0.01\,m. The seismic input of a well is a $3\times3$ patch of traces interpolated bilinearly along the deviated path at the time given by its time--depth relation, because a vertical trace at one bin differs from the path composite by a relative RMS of 0.19--0.61 over the labeled interval. Learning uses the window 2400--2900\,ms (126 samples) and tie likelihoods the extended window 2000--3200\,ms. We use the post-stack ST10010 full-angle stack (3--41$^\circ$), a 2011 depth migration converted to time, at 4\,ms sampling. Its trace headers carry an invalid time scalar that standard readers apply to the start time, which shifts every sample 8\,ms late. We use the start time of the text header (4\,ms) and checked it against five interpreted horizons: the amplitude extremum along each falls at a lag of 0 to $+2$\,ms. Trajectories come from the operator's definitive surveys; recomputing them by minimum curvature reproduces the listed true vertical depth (TVD) within 0.01\,m. The seismic input of a well is a $3\times3$ patch of traces interpolated bilinearly along the deviated path at the time given by its time--depth relation, because a vertical trace at one bin differs from the path composite by a relative RMS of 0.19--0.61 over the labeled interval. Learning uses the window 2400--2900\,ms (126 samples) and tie likelihoods the extended window 2000--3200\,ms.
Of the six wells, only F-11 T2 has a zero-offset vertical seismic profile (VSP). As anchors we use the operator's well picks with a TWT from the Ty Formation downwards, excluding picks flagged as not logged, not reached or faulted; each well has 4--9 such anchors within its logged sonic interval. Shallower picks are unreliable (picks at the same depth in a shared borehole differ by about 110\,ms). At reservoir level every unflagged pick lies within $\pm 10$\,ms of the corresponding interpreted horizon, and at F-11 T2 the picks lie within $-6.1$ to $+2.3$\,ms of the VSP. The pick times come from the operator's time--depth models, so they are interpretations, not measurements, as on F3. Time is vertical time: DT is integrated over TVD and calibrated to the anchors by stretching between them. At F-11 T2 this marker-calibrated sonic lies within $-2.4$ to $-0.8$\,ms of the VSP over the labeled interval. We keep $\sigma_a = 7$\,ms from F3; it is not estimated on Volve. Of the six wells, only F-11 T2 has a zero-offset vertical seismic profile (VSP). As anchors we use the operator's well picks with a TWT from the Ty Formation downwards, excluding picks flagged as not logged, not reached or faulted. Each well has 4--9 such anchors within its logged sonic interval. Shallower picks are unreliable (picks at the same depth in a shared borehole differ by about 110\,ms). At reservoir level every unflagged pick lies within $\pm 10$\,ms of the corresponding interpreted horizon, and at F-11 T2 the picks lie within $-6.1$ to $+2.3$\,ms of the VSP. The pick times come from the operator's time--depth models, so they are interpretations, not measurements, as on F3. Time is vertical time: DT is integrated over TVD and calibrated to the anchors by stretching between them. At F-11 T2 this marker-calibrated sonic lies within $-2.4$ to $-0.8$\,ms of the VSP over the labeled interval. We keep $\sigma_a = 7$\,ms from F3; it is not estimated on Volve.
PHIF is used only where DT is valid, which leaves 16--37 labeled 4\,ms samples per well (150 in total) at 2509--2819\,ms. The labeled runs lie 25--179\,m below the deepest anchor, so their timing depends on the drift of the sonic below it. They are shorter than one period at 6\,Hz, so the band split of F3 cannot be the primary metric here; band PCC is computed only descriptively, on high-passed runs of at least 16 samples. The well means of PHIF range from 8.5\,p.u.\ at F-1 to 17.0\,p.u.\ at F-12, against standard deviations of 3.3--6.0\,p.u.\ within wells. PHIF is used only where DT is valid, which leaves 16--37 labeled 4\,ms samples per well (150 in total) at 2509--2819\,ms. The labeled runs lie 25--179\,m below the deepest anchor, so their timing depends on the drift of the sonic below it. They are shorter than one period at 6\,Hz, so the band split of F3 cannot be the primary metric here. Band PCC is computed only descriptively, on high-passed runs of at least 16 samples. The well means of PHIF range from 8.5\,p.u.\ at F-1 to 17.0\,p.u.\ at F-12, against standard deviations of 3.3--6.0\,p.u.\ within wells.
\paragraph{Design.} \paragraph{Design.}
The six wells are held out under two schemes. Under \emph{lowo}, each well is the outer test well once and the other five train. Under \emph{slot}, the whole slot group of the test well is held out, so F-1 trains on F-11 A, F-11 T2 and F-12 only; for F-12, which is alone in its slot, the two schemes coincide. Within the outer training wells, each is held out once as an inner validation well. The held-out well never supplies its picks, sonic or logs to its own input. Its path is placed in time by the mean TVDSS--TWT relation of the wells it is held out from, which also moves the 3$\times$3 patch laterally along the deviated trajectory (by up to 76\,m, F-1 A under slot). Registration ($\sigma_a = 7$\,ms, $N_p = 1024$, $S = 64$) uses the training wells of each model only. Budgets are chosen from $\{125, 250, 500, 1000, 2000\}$ by inner-validation MSE on the labeled samples, and the prediction at the outer well is the moment-matched mixture of the inner models at the selected budget and five seeds (25 members under lowo, 15--25 under slot). The reference is the marker-calibrated vertical sonic of the test well. The pass rule is descriptive. ``Consistent improvement'' needs the \mRML{} below the selected deterministic tie at no fewer than five of six wells under both schemes, the F3 rule of three of four scaled up. ``Calibrated'' needs macro coverage of the 80\% and 90\% intervals within $[0.75, 0.85]$ and $[0.85, 0.95]$ under both schemes. The six wells are held out under two schemes. Under \emph{lowo}, each well is the outer test well once and the other five train. Under \emph{slot}, the whole slot group of the test well is held out, so F-1 trains on F-11 A, F-11 T2 and F-12 only; for F-12, which is alone in its slot, the two schemes coincide. Within the outer training wells, each is held out once as an inner validation well. The held-out well never supplies its picks, sonic or logs to its own input. Its path is placed in time by the mean TVDSS--TWT relation of the wells it is held out from, which also moves the 3$\times$3 patch laterally along the deviated trajectory (by up to 76\,m, F-1 A under slot). Registration ($\sigma_a = 7$\,ms, $N_p = 1024$, $S = 64$) uses the training wells of each model only. Budgets are chosen from $\{125, 250, 500, 1000, 2000\}$ by inner-validation MSE on the labeled samples. The prediction at the outer well is the moment-matched mixture of the inner models at the selected budget and five seeds (25 members under lowo, 15--25 under slot). The reference is the marker-calibrated vertical sonic of the test well. The pass rule is descriptive. ``Consistent improvement'' needs the \mRML{} below the selected deterministic tie at no fewer than five of six wells under both schemes, the F3 rule of three of four scaled up. ``Calibrated'' needs macro coverage of the 80\% and 90\% intervals within $[0.75, 0.85]$ and $[0.85, 0.95]$ under both schemes.
\paragraph{Neither condition held.} \paragraph{Neither condition held.}
Under lowo, inner validation chose the calibrated sonic at every well, and the \mRML{} had lower RMSE at two wells (F-1 B by 1.1\% and F-11 T2 by 1.5\%) and was 0.4--4.6\% worse at the other four (Table~\ref{tab:volvegd}). Its macro RMSE was 6.50\,p.u.\ against 6.36\,p.u.\ for the calibrated sonic. Under slot, inner validation chose the correlation tie in the F-1 slot and the calibrated sonic in the others, and the \mRML{} improved at three wells. The two large ratios in that scheme, 0.85 at F-1 and 0.90 at F-1 B, are against the correlation tie, which had the lowest inner-validation MSE in that fold but was worse than the calibrated sonic at both test wells (8.04 against 7.27\,p.u.\ and 5.35 against 5.17\,p.u.); against the calibrated sonic, the \mRML{} is 5.7\% better at F-1 and 7.2\% better at F-1 B. Its macro RMSE under slot was 7.13\,p.u.\ against 7.32\,p.u.\ for the selected ties. Against the \mPM{}, the \mRML{} was lower at three of six wells under lowo and four of six under slot, with macro differences of 0.02 and 0.13\,p.u. Macro coverage was 0.39 and 0.48 (lowo) and 0.35 and 0.47 (slot) for the 80\% and 90\% intervals, and no well reached nominal coverage; the highest values were 0.68 and 0.72 at F-1 B. Under lowo, inner validation chose the calibrated sonic at every well. The \mRML{} had lower RMSE at two wells (F-1 B by 1.1\% and F-11 T2 by 1.5\%) and was 0.4--4.6\% worse at the other four (Table~\ref{tab:volvegd}). Its macro RMSE was 6.50\,p.u.\ against 6.36\,p.u.\ for the calibrated sonic. Under slot, inner validation chose the correlation tie in the F-1 slot and the calibrated sonic in the others, and the \mRML{} improved at three wells. The two large ratios in that scheme, 0.85 at F-1 and 0.90 at F-1 B, are against the correlation tie, which had the lowest inner-validation MSE in that fold but was worse than the calibrated sonic at both test wells (8.04 against 7.27\,p.u.\ and 5.35 against 5.17\,p.u.). Against the calibrated sonic, the \mRML{} is 5.7\% better at F-1 and 7.2\% better at F-1 B. Its macro RMSE under slot was 7.13\,p.u.\ against 7.32\,p.u.\ for the selected ties. Against the \mPM{}, the \mRML{} was lower at three of six wells under lowo and four of six under slot, with macro differences of 0.02 and 0.13\,p.u. Macro coverage was 0.39 and 0.48 (lowo) and 0.35 and 0.47 (slot) for the 80\% and 90\% intervals. No well reached nominal coverage: the highest values were 0.68 and 0.72 at F-1 B.
F-11 T2 is the only well at which the reference can be compared with an independent time--depth measurement. Scored at $\sigma_a = 7$\,ms against each of the four references of the protocol (the label placed by the marker-calibrated sonic, by linear interpolation between the picks without the sonic, and by the two VSP time--depth tables of the well, NIVSP and OPTIMIZED), the ensemble RMSE of each method moved by 0.31--0.51\,p.u.\ across references, while the spread between the five methods under one reference was 0.12--0.29\,p.u. The ranking changed with the reference: under lowo the correlation tie was best against both VSP tables and the calibrated sonic, and the \mPM{} against the pick interpolation; under slot the \mRML{} was best against the pick interpolation and third against both VSP tables. The references score 20--24 labeled samples, so part of the change comes from the samples themselves. This comparison is post hoc (declared before it was computed, after the results were known) and covers one well; it shows that at Volve the choice of reference is not a detail of the scoring. F-11 T2 is the only well at which the reference can be compared with an independent time--depth measurement. Scored at $\sigma_a = 7$\,ms against each of the four references of the protocol (the label placed by the marker-calibrated sonic, by linear interpolation between the picks without the sonic, and by the two VSP time--depth tables of the well, NIVSP and OPTIMIZED), the ensemble RMSE of each method moved by 0.31--0.51\,p.u.\ across references. The spread between the five methods under one reference was 0.12--0.29\,p.u. The ranking changed with the reference: under lowo the correlation tie was best against both VSP tables and the calibrated sonic, and the \mPM{} against the pick interpolation; under slot the \mRML{} was best against the pick interpolation and third against both VSP tables. The references score 20--24 labeled samples, so part of the change comes from the samples themselves. This comparison is post hoc (declared before it was computed, after the results were known) and covers one well. It shows that at Volve the choice of reference is not a detail of the scoring.
\begin{table}[t] \begin{table}[t]
\centering \centering
@@ -200,7 +200,7 @@ slot & F-1 & 37 & Correlation tie & 0.852 & yes & 0.270 & 0.432 \\
\paragraph{No method had blind-well skill, because the between-well level dominates.} \paragraph{No method had blind-well skill, because the between-well level dominates.}
Every macro $R^2$ was negative under both schemes ($-0.84$ to $-1.71$, Table~\ref{tab:volveall}). Except at F-1 B ($R^2$ 0.10--0.34 for every method under lowo, 0.05--0.07 for the \mPM{} and \mRML{} under slot), each method predicted the held-out well worse than that well's own label mean, which it cannot know. The macro PCC was 0.12--0.24. A constant prediction at the pooled label mean of the outer training wells, added after the run for scale, had a macro RMSE of 6.03\,p.u.\ (lowo) and 6.59\,p.u.\ (slot), below every network. Networks beat it only at F-1 and F-1 B (at F-1 under slot, only the \mPM{} and \mRML{}). Every macro $R^2$ was negative under both schemes ($-0.84$ to $-1.71$, Table~\ref{tab:volveall}). Except at F-1 B ($R^2$ 0.10--0.34 for every method under lowo, 0.05--0.07 for the \mPM{} and \mRML{} under slot), each method predicted the held-out well worse than that well's own label mean, which it cannot know. The macro PCC was 0.12--0.24. A constant prediction at the pooled label mean of the outer training wells, added after the run for scale, had a macro RMSE of 6.03\,p.u.\ (lowo) and 6.59\,p.u.\ (slot), below every network. Networks beat it only at F-1 and F-1 B (at F-1 under slot, only the \mPM{} and \mRML{}).
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. 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. 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 the \mRML{} 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.
@@ -249,9 +249,9 @@ $\sigma_a$ (ms) & \mRML & Phase-est.\ corr. & improved & cov$_{90}$ & \mRML & Ph
\end{table} \end{table}
\paragraph{The posterior width was set by the data, and registration was not the limiting step.} \paragraph{The posterior width was set by the data, and registration was not the limiting step.}
Over the 78 training-well registrations of the primary arm, $\sigpost$ was 1.9--9.3\,ms over the main window (median 4.3\,ms) and 3.0\,ms over the labeled samples, narrowest at F-11 T2 (1.9--2.6\,ms) and widest at F-12 (4.3--9.3\,ms). Unlike F3, the width barely followed $\sigma_a$: the medians were 3.8, 4.3 and 4.1\,ms at 3.5, 7 and 14\,ms. This is consistent with the seismic likelihood rather than the anchor prior setting the width over the logged interval, but we did not test it. The wavelet phase was better identified than on F3: the 22 phases of the primary arm lay within an arc of 43$^\circ$, against 214$^\circ$ on F3. These features suggest that registration was not the limiting step, although on field data this cannot be checked against a true warp. The limiting step was the predictive task itself: with 150 labeled samples in six wells, between-well level differences of up to 8.5\,p.u.\ and a target window 2.4--2.9\,s deep in a deviated-well field, the seismic input did not carry the information needed to predict PHIF at a blind well by any of the methods tested. Over the 78 training-well registrations of the primary arm, $\sigpost$ was 1.9--9.3\,ms over the main window (median 4.3\,ms) and 3.0\,ms over the labeled samples, narrowest at F-11 T2 (1.9--2.6\,ms) and widest at F-12 (4.3--9.3\,ms). Unlike F3, the width barely followed $\sigma_a$: the medians were 3.8, 4.3 and 4.1\,ms at 3.5, 7 and 14\,ms. This is consistent with the seismic likelihood rather than the anchor prior setting the width over the logged interval, but we did not test it. The wavelet phase was better identified than on F3: the 22 phases of the primary arm lay within an arc of 43$^\circ$, against 214$^\circ$ on F3. These features suggest that registration was not the limiting step, although on field data this cannot be checked against a true warp. The limiting step was the predictive task itself. With 150 labeled samples in six wells, between-well level differences of up to 8.5\,p.u.\ and a target window 2.4--2.9\,s deep in a deviated-well field, the seismic input did not carry the information needed to predict PHIF at a blind well by any of the methods tested.
\subsection{Teapot Dome inventory} \subsection{Teapot Dome inventory}
\label{sec:exp:teapot} \label{sec:exp:teapot}
This step is post hoc and exploratory. Time--depth tables exist at four of the 152 wells: two are labeled as derived from a synthetic log, one from a synthetic seismogram, and the fourth, a vertical seismic profile, ends above the main reservoirs. As an alternative reference, we paired the times of two interpreted 3-D horizons at the wells with the depths of the corresponding formation tops. On 37 development wells we predicted each time from the depth with a quadratic lateral trend of average velocity, fitted by leave-one-out. The residual standard deviation was 6.75\,ms (90\% bootstrap interval over wells 4.1--9.4\,ms; robust estimate 5.0\,ms). Most of it was a bulk shift per well (6.6\,ms): the residuals of the two horizons at a well were correlated (0.85), and those of neighboring wells were not, which resembles per-well errors of datum, statics or top picks. The differential part was 2.8\,ms, and 2.5\,ms from the sonic at five wells. Every estimate exceeded the declared tolerance of 1.5\,ms, the largest grid value at which the $-5$\,dB cell with $N = 16$ reaches a power of 0.8 with no more than the 115 remaining wells (58 wells by the formula of the power analysis). This step is post hoc and exploratory. Time--depth tables exist at four of the 152 wells: two are labeled as derived from a synthetic log, one from a synthetic seismogram, and the fourth, a vertical seismic profile, ends above the main reservoirs. As an alternative reference, we paired the times of two interpreted 3-D horizons at the wells with the depths of the corresponding formation tops. On 37 development wells we predicted each time from the depth with a quadratic lateral trend of average velocity, fitted by leave-one-out. The residual standard deviation was 6.75\,ms (90\% bootstrap interval over wells 4.1--9.4\,ms; robust estimate 5.0\,ms). Most of it was a bulk shift per well (6.6\,ms): the residuals of the two horizons at a well were correlated (0.85), and those of neighboring wells were not. This pattern resembles per-well errors of datum, statics or top picks. The differential part was 2.8\,ms, and 2.5\,ms from the sonic at five wells. Every estimate exceeded the declared tolerance of 1.5\,ms, the largest grid value at which the $-5$\,dB cell with $N = 16$ reaches a power of 0.8 with no more than the 115 remaining wells (58 wells by the formula of the power analysis).

View File

@@ -5,13 +5,13 @@ This appendix records when each protocol was locked, how the experiments deviate
\subsection{When each protocol was locked} \subsection{When each protocol was locked}
Before each main run, the protocol (grid, methods, iteration budgets, pass rules) was locked by a SHA-256 hash, and the scripts refuse to run if the hash does not match. The protocol of Experiment~2 was also committed and tagged in version control before its main runs. That of Experiment~1 was locked by hash before its main run but committed only afterwards, without a tag. The protocol of Experiment~3 was committed while its main runs were in progress, and the field protocols only after their runs; for these the record of timing is the time stamp inside the lock file, which is self-reported. In Experiments~1 and~2, every design choice was made on two development realizations (900 and 901), and Experiment~3 added four (902--905); development realizations are never used for results. Before each main run, the protocol (grid, methods, iteration budgets, pass rules) was locked by a SHA-256 hash, and the scripts refuse to run if the hash does not match. The protocol of Experiment~2 was also committed and tagged in version control before its main runs. That of Experiment~1 was locked by hash before its main run but committed only afterwards, without a tag. The protocol of Experiment~3 was committed while its main runs were in progress, and the field protocols only after their runs. For these, the record of timing is the time stamp inside the lock file, which is self-reported. In Experiments~1 and~2, every design choice was made on two development realizations (900 and 901), and Experiment~3 added four (902--905). Development realizations are never used for results.
\paragraph{F3.} \paragraph{F3.}
The lock also covers the code, the input data and the software environment, and the lock file records that it was written one minute before the main run started. Earlier pilots of the registration and of the classical baselines computed no metric on a test well. F3 is not an untouched dataset: its four wells had already given baseline scores and had calibrated the synthetic benchmark. The test is therefore a descriptive follow-up, and it bears on the SMC variant only. Inference on the predicted volume stopped once and was resumed with the locked code and models, after the pass rule had been computed. The lock also covers the code, the input data and the software environment, and the lock file records that it was written one minute before the main run started. Earlier pilots of the registration and of the classical baselines computed no metric on a test well. F3 is not an untouched dataset: its four wells had already given baseline scores and had calibrated the synthetic benchmark. The test is therefore a descriptive follow-up that bears on the SMC variant only. Inference on the predicted volume stopped once and was resumed with the locked code and models, after the pass rule had been computed.
\paragraph{Volve.} \paragraph{Volve.}
The test was designed after the F3 test had failed and before any porosity metric on Volve. Two design choices used Volve data but no porosity value: the target window and the member-support rule below. Of the eleven deviations from F3, four matter. (i) The label runs are 16--37 samples long, shorter than the 64-sample training windows and the 6\,Hz band split of F3, so the primary metric is total RMSE on the labeled samples, and the loss uses a single 126-sample window with a mask over the label support of each bank member. (ii) Each bank member trains on its own label support, because intersecting the supports reduced F-11 A to 7 samples, below the minimum of 8. (iii) Under the slot scheme the inner validation is leave-one-well-out, because three slots leave too few groups, so it can be optimistic there. (iv) $\sigma_a = 7$\,ms is inherited from F3. The test was designed after the F3 test had failed and before any porosity metric on Volve. Two design choices used Volve data but no porosity value: the target window and the member-support rule below. Of the eleven deviations from F3, four matter. (i) The label runs are 16--37 samples long, shorter than the 64-sample training windows and the 6\,Hz band split of F3. The primary metric is therefore total RMSE on the labeled samples, and the loss uses a single 126-sample window with a mask over the label support of each bank member. (ii) Each bank member trains on its own label support, because intersecting the supports reduced F-11 A to 7 samples, below the minimum of 8. (iii) Under the slot scheme the inner validation is leave-one-well-out, because three slots leave too few groups; it can therefore be optimistic there. (iv) $\sigma_a = 7$\,ms is inherited from F3.
\subsection{Deviations in the synthetic experiments} \subsection{Deviations in the synthetic experiments}
@@ -22,7 +22,7 @@ Re-running on new realizations was not among the options that the hash-locked pr
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}. 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}.
\paragraph{Misspecification levels.} \paragraph{Misspecification levels.}
The levels were chosen on development realizations 902--905. The declared target for the mild level was 0.5--1.0 times the noise at 10\,dB, and both mild seismic levels lie above it. For the phase no milder level exists: a quarter of the minimum-phase spectrum (model error 0.62) already reduced the 90\% warp coverage to 0.25 on development data. For rock physics, milder levels changed the registration too little to be told apart, so the level was set by model error. Uniform errors in the rock-physics coefficients, a constant phase rotation and a shift of the peak frequency are absorbed by the registration's profiled amplitude and constant-phase fit; they were run on development data only, as controls. The levels were chosen on development realizations 902--905. The declared target for the mild level was 0.5--1.0 times the noise at 10\,dB, and both mild seismic levels lie above it. For the phase no milder level exists: a quarter of the minimum-phase spectrum (model error 0.62) already reduced the 90\% warp coverage to 0.25 on development data. For rock physics, milder levels changed the registration too little to be told apart, so the level was set by model error. Uniform errors in the rock-physics coefficients, a constant phase rotation and a shift of the peak frequency are absorbed by the registration's profiled amplitude and constant-phase fit. They were run on development data only, as controls.
\paragraph{Two readings of the verdicts.} \paragraph{Two readings of the verdicts.}
After the runs, the locked code that extracts the verdicts was found to differ from the locked statements in three places. For the first claim of the drift--well-count grid it requires exactly two cells at 10\,dB, $c = 1.5$, but the study has four values of $N$, so it returns no verdict. For the first misspecification claim it reports each axis but no overall verdict, which agrees with the statement (one verdict per axis). For the alignment-loss claim it adds the Gaussian bank to the competitors, whereas the statement names the deterministic ties and the anchor-free losses. We did not edit the locked code. A separate script, outside the code hash, checks the lock and applies the statements as worded, and Table~\ref{tab:benchverdicts} reports that reading. The two readings differ in conclusion only for the alignment-loss claim: as run, with the Gaussian bank among the competitors, it failed in every setting. After the runs, the locked code that extracts the verdicts was found to differ from the locked statements in three places. For the first claim of the drift--well-count grid it requires exactly two cells at 10\,dB, $c = 1.5$, but the study has four values of $N$, so it returns no verdict. For the first misspecification claim it reports each axis but no overall verdict, which agrees with the statement (one verdict per axis). For the alignment-loss claim it adds the Gaussian bank to the competitors, whereas the statement names the deterministic ties and the anchor-free losses. We did not edit the locked code. A separate script, outside the code hash, checks the lock and applies the statements as worded, and Table~\ref{tab:benchverdicts} reports that reading. The two readings differ in conclusion only for the alignment-loss claim: as run, with the Gaussian bank among the competitors, it failed in every setting.
@@ -31,37 +31,38 @@ After the runs, the locked code that extracts the verdicts was found to differ f
After the first run we added points to the grid of reference errors, from $\{0, 2, 4, 8\}$ to $\{0, 0.5, 1, 1.5, 2, 3, 4, 8\}$\,ms, because the outcome changed between 0 and 2\,ms, where the grid had no points. No rule, threshold or input changed. For the Teapot Dome inventory, the conditions were declared before the data were obtained, and the alternative reference after the inventory but before any residual or porosity value was computed. After the first run we added points to the grid of reference errors, from $\{0, 2, 4, 8\}$ to $\{0, 0.5, 1, 1.5, 2, 3, 4, 8\}$\,ms, because the outcome changed between 0 and 2\,ms, where the grid had no points. No rule, threshold or input changed. For the Teapot Dome inventory, the conditions were declared before the data were obtained, and the alternative reference after the inventory but before any residual or porosity value was computed.
\subsection{Secondary results} \subsection{Secondary results}
\label{app:record:secondary}
\paragraph{Gap to the Oracle.} \paragraph{Gap to the Oracle.}
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. 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.} \paragraph{Exploratory analysis of the bank gain.}
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. Retraining reproduced the hash-locked runs exactly (10\,560 rows, maximum deviation 0). The post hoc ratios and both limits 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). 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 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. 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. 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.} \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 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. 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). It used 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{Bank size.} \paragraph{Bank size.}
A second exploratory arm, declared and hashed after all verdicts and before any computation, retrained the \mPM{} and the \mRML{} in the same eleven cells and added nested banks drawn from the same 1024 particles: the first 16 members of the hash-locked 64-member bank, that bank plus 192 further particles (256 members), and all 1024 particles. All banks used the same $\lambda = 1/\tau_c$ and 250 iterations. Retraining again reproduced the hash-locked runs exactly (7\,040 rows). In the eight wide cells the 256-member bank had a band RMSE ratio to the 64-member bank of 0.961--1.005, with the 95\% interval below 1 in three cells and above 1 in none; the 1024-member bank had ratios of 0.936--0.998, with the interval below 1 in four cells (0\,dB and two-anchor at $c = 1$, half-anchor and two-anchor at $c = 2$) and above 1 in none. The 16-member bank had ratios of 1.003--1.059, with the interval above 1 in three cells. At $c = 1$ the gain of the bank over the \mPM{} was 1.8--11.0\% with 64 members and 2.9--12.7\% with 1024 (ratios 0.961, 0.964, 0.873 and 0.971 for 0\,dB, half-anchor, two-anchor and $-5$\,dB); every bank size beat the \mPM{} in all eight wide cells except the 16-member bank at $-5$\,dB, $c = 1$. In the zero-drift cells the bank sizes differed by at most 1.3\%. With 125 iterations neither larger bank differed from 64 members in more than one wide cell, and with 500 iterations the 1024-member bank was better in five of the eight. The effective number of members grew in proportion to $S$ (about 0.11--0.42 of $S$ at $c = 1$, 0.03--0.17 at $c = 2$, 0.41--0.78 at $c = 0$), so the tempered objective did not concentrate on a fixed number of members. The Monte Carlo error of the uniform mean warp of 64 members against the 1024-particle mean was 0.19--0.32\,ms at $c = 1$, and at $c = 1$ the mean warp of 64 members was at most 0.08\,ms further from the true warp than that of all particles. In these cells the hash-locked choice $S = 64$ may therefore have understated the gain of the bank slightly, by up to about 2\% of band RMSE at $c = 1$; we did not test other cells, training-set sizes or temperatures. A second exploratory arm, declared and hashed after all verdicts and before any computation, retrained the \mPM{} and the \mRML{} in the same eleven cells and added nested banks drawn from the same 1024 particles: the first 16 members of the hash-locked 64-member bank, that bank plus 192 further particles (256 members), and all 1024 particles. All banks used the same $\lambda = 1/\tau_c$ and 250 iterations. Retraining again reproduced the hash-locked runs exactly (7\,040 rows). In the eight wide cells the 256-member bank had a band RMSE ratio to the 64-member bank of 0.961--1.005, with the 95\% interval below 1 in three cells and above 1 in none. The 1024-member bank had ratios of 0.936--0.998, with the interval below 1 in four cells (0\,dB and two-anchor at $c = 1$, half-anchor and two-anchor at $c = 2$) and above 1 in none. The 16-member bank had ratios of 1.003--1.059, with the interval above 1 in three cells. At $c = 1$ the gain of the bank over the \mPM{} was 1.8--11.0\% with 64 members and 2.9--12.7\% with 1024 (ratios 0.961, 0.964, 0.873 and 0.971 for 0\,dB, half-anchor, two-anchor and $-5$\,dB). Every bank size beat the \mPM{} in all eight wide cells except the 16-member bank at $-5$\,dB, $c = 1$. In the zero-drift cells the bank sizes differed by at most 1.3\%. With 125 iterations neither larger bank differed from 64 members in more than one wide cell, and with 500 iterations the 1024-member bank was better in five of the eight. The effective number of members grew in proportion to $S$ (about 0.11--0.42 of $S$ at $c = 1$, 0.03--0.17 at $c = 2$, 0.41--0.78 at $c = 0$), so the tempered objective did not concentrate on a fixed number of members. The Monte Carlo error of the uniform mean warp of 64 members against the 1024-particle mean was 0.19--0.32\,ms at $c = 1$. At $c = 1$ the mean warp of 64 members was at most 0.08\,ms further from the true warp than that of all particles. In these cells the hash-locked choice $S = 64$ may therefore have understated the gain of the bank slightly, by up to about 2\% of band RMSE at $c = 1$. We did not test other cells, training-set sizes or temperatures.
\paragraph{Coverage.} \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. 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. 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. The anchor mean, however, is a posterior mean, and the structure of these label errors was not tested.
\paragraph{Misspecification at $-5$\,dB.} \paragraph{Misspecification at $-5$\,dB.}
Except under the scaled warp prior, whose warp error rose by up to 40\%, the registration diagnostics stayed within 22\% of their nominal values (warp error 3.1--4.0\,ms against 3.31 and 2.91\,ms; coverage 0.74--0.86 against 0.83 and 0.86), and several presets exceeded the $\pm 10\%$ seen on development data. Across the 14 cells at $-5$\,dB, the \mRML{}/\mPM{} ratios were 0.970--1.020, and \mRML{}/Gaussian bank was 0.985--1.009 in all 28 cells of the study. Except under the scaled warp prior, whose warp error rose by up to 40\%, the registration diagnostics stayed within 22\% of their nominal values (warp error 3.1--4.0\,ms against 3.31 and 2.91\,ms; coverage 0.74--0.86 against 0.83 and 0.86). Several presets exceeded the $\pm 10\%$ seen on development data. Across the 14 cells at $-5$\,dB, the \mRML{}/\mPM{} ratios were 0.970--1.020, and \mRML{}/Gaussian bank was 0.985--1.009 in all 28 cells of the study.
\paragraph{Alignment losses.} \paragraph{Alignment losses.}
At 10\,dB, $c = 1$, the band RMSE of the four anchor-free losses was 1.36, 1.31, 0.97 and 0.98 at $N = 4$ and 1.20, 1.14, 0.81 and 0.78 at $N = 16$, against 0.94 and 0.83 for the calibrated sonic and 0.61 and 0.45 for the \mPM{}. At 10\,dB, $c = 1$, the band RMSE of the four anchor-free losses was 1.36, 1.31, 0.97 and 0.98 at $N = 4$ and 1.20, 1.14, 0.81 and 0.78 at $N = 16$, against 0.94 and 0.83 for the calibrated sonic and 0.61 and 0.45 for the \mPM{}.
\paragraph{Backbone.} \paragraph{Backbone.}
The \mPM{} (TCN) to best deterministic tie ratios at 10\,dB, $c = 1$ were 0.840 [0.787, 0.904] ($\Delta\mathrm{PCC} = +0.052$) and 0.823 [0.802, 0.841]. The band RMSE of the TCN was 0--7\% above that of the CNN--GRU at $N = 4$ and in the half-anchor and $-5$\,dB settings with $N = 16$, and 14--24\% above at 10\,dB with $N = 16$, where the three label sources became nearly equal (Oracle 0.560, \mPM{} 0.561, \mRML{} 0.565). Outside the claims, the posterior-mean rule with the TCN passed at $-5$\,dB (0.914 and 0.913, on band PCC) and failed in the half-anchor setting (0.944 and 0.943). The \mPM{} (TCN) to best deterministic tie ratios at 10\,dB, $c = 1$ were 0.840 [0.787, 0.904] ($\Delta\mathrm{PCC} = +0.052$) and 0.823 [0.802, 0.841]. The band RMSE of the TCN was 0--7\% above that of the CNN--GRU at $N = 4$ and in the half-anchor and $-5$\,dB settings with $N = 16$. It was 14--24\% above at 10\,dB with $N = 16$, where the three label sources became nearly equal (Oracle 0.560, \mPM{} 0.561, \mRML{} 0.565). Outside the claims, the posterior-mean rule with the TCN passed at $-5$\,dB (0.914 and 0.913, on band PCC) and failed in the half-anchor setting (0.944 and 0.943).
\paragraph{Gaussian bank across the alignment-loss grid.} \paragraph{Gaussian bank across the alignment-loss grid.}
The Gaussian bank was better than the \mPM{} in 16 of the 30 cells by the no-margin rule. Ratios below 0.975 occurred only at $c \ge 1$ in the 0\,dB, half-anchor, two-anchor and $-5$\,dB settings (for example 0.954 and 0.904 in the two-anchor setting at $c = 1$), and at 10\,dB the ratio was 0.98--1.01. The \mRML{} was better than the Gaussian bank at $c = 2$ at 0\,dB and in the half-anchor and two-anchor settings (0.895 and 0.886) and, at $N = 16$, at $-5$\,dB. At $c = 1$ the ratio was 0.975--1.001, and the \mRML{} was better only at 0\,dB and in the two-anchor setting with $N = 4$. Information in the SMC bank beyond its first two moments mattered mainly at $c = 2$. The Gaussian bank was better than the \mPM{} in 16 of the 30 cells by the no-margin rule. Ratios below 0.975 occurred only at $c \ge 1$ in the 0\,dB, half-anchor, two-anchor and $-5$\,dB settings (for example 0.954 and 0.904 in the two-anchor setting at $c = 1$). At 10\,dB the ratio was 0.98--1.01. The \mRML{} was better than the Gaussian bank at $c = 2$ at 0\,dB and in the half-anchor and two-anchor settings (0.895 and 0.886) and, at $N = 16$, at $-5$\,dB. At $c = 1$ the ratio was 0.975--1.001, and the \mRML{} was better only at 0\,dB and in the two-anchor setting with $N = 4$. Information in the SMC bank beyond its first two moments mattered mainly at $c = 2$.
\paragraph{Two-mode study.} \paragraph{Two-mode study.}
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$. 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$.
@@ -95,16 +96,16 @@ Oracle prediction, $-5$\,dB & 1.16 & 52 & 20 & 13 & 9 & 6 & 14 \\
\subsection{Analyses added after the main results} \subsection{Analyses added after the main results}
\label{app:record:review} \label{app:record:review}
Three exploratory analyses were declared and hashed after the main results were known 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. Three exploratory analyses were declared and hashed after the main results were known 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.} \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. We estimated the transfer $\hat H$ of the network trained on posterior-mean labels relative to the Oracle network, both at 500 iterations, as in Section~\ref{sec:theory:blur}. The cells were those 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.} \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 passes a cell under realization swaps with probability at most $93/256 = 0.36$, the probability that at least five of eight fair signs favor one method, 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. 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 it was 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. Because the no-margin rule counts signs only, with eight realizations it passes a cell under realization swaps with probability at most $93/256 = 0.36$, the probability that at least five of eight fair signs favor one method. 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.} \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. 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.} \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. Table~\ref{tab:codes} maps the names in the text to the codes of the released package and of the repository.
@@ -137,7 +138,7 @@ drift--well-count grid; misspecification; alignment losses; backbone; two-mode &
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. 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.} \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. 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 first was the best of the 1024 saved SMC particles by the tempered log target, which approximates the mode of the same model (SMC-MAP); the second was 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, and 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] \begin{table}[!htbp]
\centering \centering
@@ -160,12 +161,29 @@ Anchor-LS / best tie & 1.148 [1.073, 1.237] & 1.247 [1.187, 1.318] & 0.951 [0.92
\end{table} \end{table}
\paragraph{Independence of the tie error from the data.} \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. 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.} \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. We resampled realizations and wells from the saved indicators (1\,000 draws per cell, reference error and number of wells) to find the smallest number of blind wells reaching power 0.8 at $\alpha = 0.05$ for the sign test, the Wilcoxon signed-rank test and the paired $t$-test on the log ratio of band RMSEs. It was 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.
\paragraph{Analyses declared after the external reviews.} \paragraph{Analyses declared after the external reviews.}
After four simulated external reviews, a further set of analyses was declared and hashed before any of them was computed. Three read existing outputs only. (i) The sign test of Section~\ref{sec:exp:detect} was recalibrated for the clustering of blind wells: under a beta-binomial null with intra-class correlation $\rho$, the critical value is the smallest $k$ whose size is at most 0.05. The nominal test has size 0.031, 0.011, 0.021 and 0.040 at 5, 10, 20 and 40 wells for $\rho = 0$, but 0.066, 0.054, 0.129 and 0.231 for $\rho = 0.1$ and 0.222, 0.243, 0.337 and 0.400 for $\rho = 0.45$. With the calibrated critical value and the intra-class correlation of each cell of Table~\ref{tab:t3}, $n_{\mathrm{b}}^\star$ with an exact reference is 10, 5, --, 5, -- and 18 for 0\,dB, 10\,dB and $-5$\,dB with $N = 4$ and 16 (nominal: 5, 5, --, 5, 18, 11). As $n_{\mathrm{b}} \to \infty$ the power tends to the probability that a Beta variable with the cell's win rate and intra-class correlation exceeds the 0.95 quantile of its null counterpart; this limit is 0.37 and 0.46 in the two cells with $N = 4$ at 10 and $-5$\,dB and 0.93 at $-5$\,dB with $N = 16$. (ii) At F-11 T2 on Volve, the ensemble RMSE at $\sigma_a = 7$\,ms was tabulated under the four references of the protocol (Appendix~\ref{app:field}). (iii) In the 11 cells with $N = 16$ of the tempering-limit analysis (no cell at 10\,dB with $c = 1$), the 90\% coverage of single networks, averaged over test wells, seeds and realizations, was 0.39--0.60, 0.29--0.43 and 0.22--0.28 for the \mPM{} after 125, 250 and 500 iterations, 0.40--0.60, 0.29--0.42 and 0.23--0.29 for the \mRML{}, and 0.21--0.26 for the Oracle after 500. Items (ii) and (iii) are post hoc, because the outputs they read had been seen. After four simulated external reviews, a further set of analyses was declared and hashed before any of them was computed. Three read existing outputs only. (i) The sign test of Section~\ref{sec:exp:detect} was recalibrated for the clustering of blind wells: under a beta-binomial null with intra-class correlation $\rho$, the critical value is the smallest $k$ whose size is at most 0.05. The nominal test has size 0.031, 0.011, 0.021 and 0.040 at 5, 10, 20 and 40 wells for $\rho = 0$, but 0.066, 0.054, 0.129 and 0.231 for $\rho = 0.1$ and 0.222, 0.243, 0.337 and 0.400 for $\rho = 0.45$. With the calibrated critical value and the intra-class correlation of each cell of Table~\ref{tab:t3}, $n_{\mathrm{b}}^\star$ with an exact reference is 10, 5, --, 5, -- and 18 for 0\,dB, 10\,dB and $-5$\,dB with $N = 4$ and 16 (nominal: 5, 5, --, 5, 18, 11). As $n_{\mathrm{b}} \to \infty$ the power tends to the probability that a Beta variable with the cell's win rate and intra-class correlation exceeds the 0.95 quantile of its null counterpart. This limit is 0.37 and 0.46 in the two cells with $N = 4$ at 10 and $-5$\,dB and 0.93 at $-5$\,dB with $N = 16$. (ii) At F-11 T2 on Volve, the ensemble RMSE at $\sigma_a = 7$\,ms was tabulated under the four references of the protocol (Appendix~\ref{app:field}). (iii) In the 11 cells with $N = 16$ of the tempering-limit analysis (no cell at 10\,dB with $c = 1$), the 90\% coverage of single networks, averaged over test wells, seeds and realizations, was 0.39--0.60, 0.29--0.43 and 0.22--0.28 for the \mPM{} after 125, 250 and 500 iterations, 0.40--0.60, 0.29--0.42 and 0.23--0.29 for the \mRML{}, and 0.21--0.26 for the Oracle after 500. Items (ii) and (iii) are post hoc, because the outputs they read had been seen.
The other three items of the same declaration needed new computation. (iv) Experiment~2 was repeated on realizations 16--23, which did not exist when the rules were hashed; their fingerprints (hashes of the seismic traces, logs and true warps) were recorded before any training. The grid was $c = 1$ for the three full-anchor, half-anchor and two-anchor settings and $c = 0$ for the full-anchor settings, $N \in \{4, 16\}$, with the locked posterior and training scripts, the budgets of Experiment~2, five seeds and the same seven methods, plus the SMC mode, the anchor-only mode and the Gaussian bank of the point-tie analysis at 250 iterations. A retrained posterior-mean network reproduced the locked script's band RMSE in all 128 checked rows (largest difference $2.2\times10^{-16}$). Results are in Section~\ref{sec:exp:p2r}. The SMC posterior at $c = 1$, $N = 16$ had $\sigpost$, warp RMSE and 90\% coverage of 0.59, 0.55\,ms and 0.91 at 10\,dB, 1.45, 1.54\,ms and 0.89 at 0\,dB, 2.52, 2.59\,ms and 0.87 at $-5$\,dB, 1.71, 1.87\,ms and 0.87 in the half-anchor setting, and 1.84, 4.51\,ms and 0.56 in the two-anchor setting, close to Experiment~2. (v) The anchor-uncertainty test was run at $-5$\,dB, $c = 1$, realizations 8--15, with $\sigma_a^{\mathrm{reg}} \in \{3.5, 14\}$\,ms (Table~\ref{tab:sigmaa}). The declared reading kept the claim that the gain requires a correct $\sigma_a$ unless all four cells passed; none did. (vi) At 10\,dB, $c = 1$, the drift hyperparameters were refitted with $\sigma_a \in \{3.5, 7, 14\}$\,ms. The fitted correlation length was 14.6 and 10.2\,ms at 3.5\,ms, 80.6 and 89.9\,ms at 7\,ms, and 187 and 253\,ms at 14\,ms ($N = 4$, 16), and the slope standard deviation 0.26 and 0.29, 0.098 and 0.096, and 0.053 and 0.064. At 3.5\,ms, 3 of 8 fits with $N = 4$ and all 8 with $N = 16$ ended at a bound of the search (slope standard deviation 0.3 or correlation length 10\,ms); none did at 7 or 14\,ms. The SMC posterior at $\sigma_a = 3.5$\,ms was then rerun with the hyperparameters of the 7\,ms fit (posterior only). The declared reading attributed the extra width to the refit if $\sigpost \le 1.0$\,ms at both $N$; it was 0.88 and 0.67\,ms. Two deviations from the declaration: the training runs did not save per-trace predictions (the declaration listed that option; no reported number uses them), and a server restart and a shortage of GPU memory interrupted the runs, which were split into smaller stages and resumed with the same commands, skipping completed jobs. Not done, as declared: noise correlated between traces, TCN budgets below 125 iterations, a Gaussian bank on the benchmark axes, and a replication of Experiment~3. The other three items of the same declaration needed new computation. (iv) Experiment~2 was repeated on realizations 16--23, which did not exist when the rules were hashed; their fingerprints (hashes of the seismic traces, logs and true warps) were recorded before any training. The grid was $c = 1$ for the three full-anchor, half-anchor and two-anchor settings and $c = 0$ for the full-anchor settings, $N \in \{4, 16\}$. The runs used the locked posterior and training scripts, the budgets of Experiment~2, five seeds and the same seven methods, plus the best saved particle, the anchor-only mode and the Gaussian bank of the point-tie analysis at 250 iterations. A retrained posterior-mean network reproduced the locked script's band RMSE in all 128 checked rows (largest difference $2.2\times10^{-16}$). Results are in Section~\ref{sec:exp:p2r}. The SMC posterior at $c = 1$, $N = 16$ had $\sigpost$, warp RMSE and 90\% coverage of 0.59, 0.55\,ms and 0.91 at 10\,dB, 1.45, 1.54\,ms and 0.89 at 0\,dB, 2.52, 2.59\,ms and 0.87 at $-5$\,dB, 1.71, 1.87\,ms and 0.87 in the half-anchor setting, and 1.84, 4.51\,ms and 0.56 in the two-anchor setting, close to Experiment~2. (v) The anchor-uncertainty test was run at $-5$\,dB, $c = 1$, realizations 8--15, with $\sigma_a^{\mathrm{reg}} \in \{3.5, 14\}$\,ms (Table~\ref{tab:sigmaa}). The declared reading kept the claim that the gain requires a correct $\sigma_a$ unless all four cells passed; none did. (vi) At 10\,dB, $c = 1$, the drift hyperparameters were refitted with $\sigma_a \in \{3.5, 7, 14\}$\,ms. The fitted correlation length was 14.6 and 10.2\,ms at 3.5\,ms, 80.6 and 89.9\,ms at 7\,ms, and 187 and 253\,ms at 14\,ms ($N = 4$, 16), and the slope standard deviation 0.26 and 0.29, 0.098 and 0.096, and 0.053 and 0.064. At 3.5\,ms, 3 of 8 fits with $N = 4$ and all 8 with $N = 16$ ended at a bound of the search (slope standard deviation 0.3 or correlation length 10\,ms); none did at 7 or 14\,ms. The SMC posterior at $\sigma_a = 3.5$\,ms was then rerun with the hyperparameters of the 7\,ms fit (posterior only). The declared reading attributed the extra width to the refit if $\sigpost \le 1.0$\,ms at both $N$; it was 0.88 and 0.67\,ms. There were two deviations from the declaration. The training runs did not save per-trace predictions (the declaration listed that option; no reported number uses them). A server restart and a shortage of GPU memory interrupted the runs, which were split into smaller stages and resumed with the same commands, skipping completed jobs. Not done, as declared: noise correlated between traces, TCN budgets below 125 iterations, a Gaussian bank on the benchmark axes, and a replication of Experiment~3.
\subsection{Analyses and experiments added during the journal review}
\label{app:record:gp}
Three simulated referee reports on the condensed article asked for further analyses and experiments. They were declared and hashed on 17/11/2026 before any computation, in two documents: one for nine analyses of saved outputs and one for five experiments that train networks. Both are exploratory and outside every locked protocol; no locked script, input or output was edited, and no verdict or threshold changed. Every experiment that retrains a registered method first reproduces its registered rows.
\paragraph{Posterior mean of the labels.}
The \mPM{} trains on the label at the posterior-mean warp, $y^{\E[u\mid D]}$, whereas Proposition~\ref{prop:bank}(a) concerns the posterior mean of the labels, $\bar y = \E[y^u\mid D]$. The check trained on $\bar y = \sum_s \pi_s y^{(s)}$ of the 64-member SMC bank with the Gaussian likelihood (\emph{mean label}), in the eleven cells of the tempering arm (eight wide cells and three zero-drift cells at $N = 16$), realizations 8--15, five seeds, at 125, 250 and 500 iterations; the declared reading uses 250. The \mPM{} retrained at 250 iterations reproduced the hash-locked runs exactly (3\,520 rows, maximum deviation 0). In the wide cells the mean label differed from the label at the mean warp by 0.11--0.72\,p.u. (RMS), and the mean labels of 64 and 1024 particles differed by 0.035--0.112\,p.u. The declared readings were as follows. The mean label against the \mPM{} had ratios 0.881--0.992 with the 95\% interval below 1 in five of eight wide cells and above 1 in none (rule: at least five), so the mean of the labels is slightly better than the label at the mean warp: by 0.8--1.7\% in six cells, 3.1\% in the half-anchor cell at $c = 2$ and 11.9\% in the two-anchor cell at $c = 2$. The Gaussian likelihood against MSE on the same mean label had ratios 0.927--0.994 (below 1 in seven of eight). The \mRML{} against the mean label had ratios 0.757--0.999 (below 1 in seven of eight): 0.975, 0.979, 0.905 and 0.999 at $c = 1$ (full-anchor at 0\,dB, half-anchor, two-anchor, full-anchor at $-5$\,dB) and 0.966, 0.933, 0.757 and 0.979 at $c = 2$. Descriptively, the $\lambda = 10^{-3}$ bank was better than the mean label in six of eight wide cells (0.934--0.995), so even near $\lambda \to 0$ training on the bank is not equivalent to training on its mean label under the Gaussian likelihood; the mean label from 1024 particles changed the band RMSE by $-1.6$ to $+0.4\%$; in the zero-drift cells all ratios were 0.994--1.002. The 90\% coverage of every arm stayed at 0.27--0.49 (0.67 for the $\lambda = 10^{-3}$ bank in the two-anchor cell at $c = 2$). The bank gain reported in Section~\ref{sec:exp:p2r} is therefore not only the label correction of Proposition~\ref{prop:bank}(a).
\paragraph{Analyses of saved outputs.}
Nine analyses read saved predictions, runs and posterior samples; none trained a network. (i) Against the Oracle, the best deterministic tie was 1.11--1.29 times its band RMSE. The \mPM{} and the best saved particle were 0.98--1.09 times the Oracle, and both had an interval below 1 against the best tie in 12 of 12 cells in each of the two sets of realizations. The anchor-only mode was above 1 against the best tie in 3 of 12 and 2 of 12 cells. (ii) In the 6--25\,Hz band the \mPM{} ratios to the best tie were 0.86--0.98 against 0.78--0.92 for $f \ge 6$\,Hz, so that band keeps 0.24--0.63 of the gain at $c = 1$; the labels have 54\% of their power below 6\,Hz and 32\% in 6--25\,Hz, whereas the input seismic has 92\% above 25\,Hz. (iii) Truth-free checks of the posterior (anchor $z^2$, tie correlation, residual spectrum and phase) flagged all four presets that failed but also all three that passed. Only anchor $z^2$ flagged none of the passing presets, and it flagged two of the four failing ones, so no check separates the two groups. On F3 the mean anchor $z^2$ was 0.17 and the mean tie correlation 0.30 ($-0.32$ to 0.68 over twelve folds). (iv) Between-well blur: for each saved prediction, the measured transfer at 21.8\,Hz was compared with the attenuation $\cos(2\pi f\delta)$ expected from the tie error of its labels. In 104 of the 140 combinations with enough power, the geometric-mean ratio was within $\pm10\%$ of 1 (Spearman correlation 0.93 between predicted and measured attenuation); the SMC bank agreed least (5 of 17). This met the declared sufficiency rule, so the one-shift-per-well blur experiment was not run. (v) On F3 the \mPM{} and the SMC bank each beat the selected tie at 1 of 4 wells in band RMSE; on Volve the gate result (bank better at 2 of 6 and 3 of 6 wells, full-band RMSE) was reproduced, and the band correlation of the bank ranged from $-0.41$ to 0.59 (Table~\ref{tab:fieldwells}). (vi) Recomputed from pooled errors, none of 30 points of Fig.~\ref{fig:h2b}b changed side. (vii) The Gaussian bank was 0.0--2.1\% above the SMC bank at $c = 1$ in all four cells (interval of the difference including zero in three).
\paragraph{Stronger competitors, equal budgets and a same-target point tie.}
A practitioner-grade tie (calibration, wavelet estimate and smoothing chosen on development realizations only) was not the best deterministic tie at $c = 1$ (ratio to the correlation tie 1.05--1.22 at 10\,dB), so the 8--22\% gain stands; the SMC mean passed five of six cells at $c = 1$ against all point ties on realizations 8--15 and on 16--23. The gain held at 125, 250 and 500 training iterations (six of six cells each). A point tie that optimizes the SMC target directly beat the best deterministic tie in 12 of 12 cells (ratios 0.79--0.91) and was indistinguishable from the SMC mean in nine, so the target, not the sampler, carries the gain (Appendix~\ref{app:record:gp}).
\paragraph{Anchor accuracy and bulk error.}
On eight new realizations (24--31), at 10\,dB and $c = 1$, we varied the true anchor error and the value given to the registration (Appendix~\ref{app:record:gp}). With a correctly stated independent error of 4\,ms the SMC mean was 0.930 and 0.915 times the best deterministic tie; at 2\,ms it was 0.979 and 0.969, and at 1\,ms 0.987 and 0.989 (intervals containing 1 at $N = 4$). The posterior stayed accurate (warp error 0.45--0.55\,ms), so the gain vanished because the deterministic ties became accurate. With a per-well bulk error of 5\,ms added to 2\,ms noise, as the F3 marker--horizon differences suggest, the SMC mean was 1.05--1.30 times the best tie for every stated $\sigma_a$, and its posterior was overconfident (coverage 0.48--0.63). The gain reported above is therefore a property of independent anchor noise of about 4--7\,ms. Declared statements: the gain persists when anchors are more accurate than assumed (does not hold), when $\sigma_a$ is stated correctly (does not hold), and under per-well bulk error (does not hold at any registered value). Details: $\sigma_{\mathrm{true}} \in \{7, 4, 2, 1\}$\,ms, bulk SD 0 or 5\,ms, registered 1--7\,ms; ratios with intervals are in the study outputs.

View File

@@ -1,114 +0,0 @@
# Computers & Geosciences version
A condensed research article (`main.tex`, 17 pages, Elsevier CAS single-column template) that
fits the *Computers & Geosciences* length limit, plus its Supplementary material
(`supplement.tex`, 80 pages). The full-length manuscript in `../paper/` stays the master text.
**Venue changed on 13/11/2026:** the paper will be submitted to *Geophysical Prospecting*
(EAGE/Wiley, Original article; free on the subscription route). Only free venues that have
published a paper whose main result is a method failing on real data were kept
(`../docs/research/venue-survey.md` §7); GP was the fastest of those without extra conditions.
Fallback: *Mathematical Geosciences* (abstract must be cut from 269 to ≤ 250 words). *Computers &
Geosciences* only if a public code repository exists by then. (*Geoenergy Science and
Engineering*, chosen on 12/11, was dropped on 13/11 because it has no such precedent; *Earth
Science Informatics*, chosen earlier on 12/11, was dropped because its scope clause excludes
manuscripts focused on petroleum engineering.) This folder is the base of the GP submission, but GP
is a Wiley journal: the Elsevier CAS template, highlights and the C&G-style "Computer code
availability" section do not carry over as they are. Still to do for GP: read the current author
guidelines (the Wiley page returned 403 on 13/11, so the format, abstract limit and keywords are
unchecked), move `main.tex` to the GP format, write a Data Availability Statement and a cover
letter, and submit `supplement.pdf` as supporting information. GP has no word limit and no
mandatory public repository; it usually allows a single major-revision round. The C&G checklist
below applies only if C&G is used.
- `supplement.tex` `\input`s the sections and appendices of `../paper/sections/` unchanged and
prefixes every number with S (Section S5, Table S12, Proposition S3, ...). The two versions
therefore cannot drift: edit `../paper/sections/*.tex`, then rebuild both.
- `main.tex` is self-contained. Its abstract is a verbatim copy of
`../paper/sections/00_abstract.tex` (the CAS class needs the abstract before `\maketitle`);
check with the snippet below after any abstract edit. It reuses the figures
(`../paper/figures/`) and `../paper/refs.bib`, and refers to the supplement through
`\Sref{label}` (xr-hyper, labels of the supplement with the prefix `S-`).
- No new numbers: every number in `main.tex` appears in `../paper/` (sources in
`../paper/README.md`), except the software versions and line count in "Computer code
availability".
- `els-cas-templates/` is the Elsevier CAS bundle v2.4 (`cas-sc.cls`, `cas-common.sty`,
`cas-model2-names.bst`, `thumbnails/`), supplied by the user.
## Build
The supplement must be built first, because `main.tex` reads `supplement.aux`.
```
export TEXINPUTS=.:./els-cas-templates//: BSTINPUTS=.:./els-cas-templates//:
pdflatex supplement && bibtex supplement && pdflatex supplement && pdflatex supplement
pdflatex main && bibtex main && pdflatex main && pdflatex main
```
Abstract check:
```
python3 -c "import re;g=lambda p:re.search(r'\\\\begin\{abstract\}\n(.*?)\n\\\\end\{abstract\}',open(p).read(),re.S).group(1);print(g('main.tex')==g('../paper/sections/00_abstract.tex'))"
```
`./make_submission.sh` then builds `submission/` (gitignored): a flat folder with `main.tex`
(paths rewritten), the CAS files, `refs.bib`, `main.bbl`, `supplement.pdf`, `supplement.aux`,
`highlights.txt` and the figures renamed `Figure_1.pdf` ... `Figure_6.pdf` in order of
appearance (td_drift, p2_h1, p2r_grid, p2r_h2b, bench_s1, bench_s8). It compiles the flat copy,
checks that its bibliography equals the main build's and that no reference is undefined.
## Guide for authors (checked 12/11/2026)
Read from the PDF of the official guide saved by the user (gitignored, `Guide for authors*.pdf`).
| Requirement | State |
|---|---|
| ≤ 5,500 words for an original article (+10% permissible; 6,500 for a revision); only the manuscript counts; abstract, keywords, highlights, references and captions excluded | 5,099 (see below) |
| Abstract ≤ 300 words, abbreviations defined | 269 words |
| 1–6 keywords | 6 |
| 3–5 highlights, ≤ 85 characters each, separate file with "highlights" in its name | 5 (73–81 characters), `highlights.txt` |
| Single column, double spaced, line numbers | CAS `cas-sc` with `review`, `lineno` |
| No definite article in figure and table captions | none left |
| American or British spelling, not mixed | American throughout (`../paper/` normalized on 12/11) |
| Space as thousands separator from 10 000 | in the article; the supplement keeps commas (published as received) |
| Tables without vertical rules, notes below | yes |
| Figures as separate files named Figure_1, ... | `make_submission.sh` |
| Title page: names, affiliations with postal address and country, corresponding author e-mail | todo (authors) |
| CRediT statement, declaration of competing interest, funding statement | sections present, todo (authors) |
| Generative-AI declaration in its own section before the references | drafted, authors must confirm |
| Acknowledgements directly before the references | yes |
| Author-date citations, full journal names, all authors | `cas-model2-names` |
| Data references marked [dataset] | not yet |
| Research data: deposit and link at submission | todo (Zenodo DOIs) |
| Cover letter stating the contribution | not drafted |
| Graphical abstract (encouraged, ≥ 1328 px wide) | optional, none |
| Novelty in title, abstract and introduction, computational and geoscientific | Introduction states both (added 12/11) |
**Code is mandatory.** At submission the code must be in a public GitHub (or equivalent)
repository linked in the manuscript, otherwise the paper is normally desk-rejected. The
repository needs: a clear open-source license; an English README with installation and usage;
dependencies and computational requirements; material to reproduce the main results (or a
synthetic dataset); how-to files or tutorials; a user guide (inputs, outputs, options, expected
behavior); no single compressed file; code comments in English. The Gitea server is not public.
Ten tracked code and config files still contain Vietnamese comment lines (159 lines, mostly in
the locked `configs/protocol.yaml`, `configs/protocol_p2.yaml`, `configs/d2_synth.yaml` and the
locked F3 code); editing them changes the lock hashes, so translate them only in the public copy
and say so in its README, or add English translations next to them.
## Length (12/11/2026)
| Count | Words |
|---|---|
| Body, Introduction to Conclusions, from the PDF of a copy with captions emptied and no line numbers; tables, citations and math tokens included (PyMuPDF, tokens with a letter or digit) | 5,099 |
| Code and data availability, declarations, acknowledgements | 389 |
| Abstract | 269 |
## Still to fill (red `\todo`)
Authors, affiliations with postal addresses, corresponding author e-mail (and phone for the
code section), short author list, ORCIDs, CRediT roles, competing interests, funding,
confirmation of the generative-AI statement, code license and public repository URL, archive
DOI, Zenodo DOI and benchmark license. Not marked in the text: [dataset] markers on the F3 and
Volve data references, page numbers of four proceedings references (kendall2017uncertainties,
lakshminarayanan2017deepensembles, leguen2019dilate, mnih2012aerial; not verified), the cover
letter and the optional graphical abstract.

View File

@@ -1,46 +0,0 @@
Version 2.4
This bundle provides two classfiles, namely cas-sc.cls and cas-dc.cls
and corresponding template files for typesetting journal articles
supposed to go through Elsevier's updated workflow. cas-sc.cls is meant
for one-column, the other cas-dc.cls for two-column layout. These are
now accepted for submitting articles both in Elsevier's electronic
submission system and elsewhere.
Bugs and problems with classfiles may be reported to the
developers of the class via elsarticle@stmdocs.in.
The file manifest.txt provides a list of the files in the
elsarticle-cas bundle. The following are the main files available:
- cas-sc.cls, classfile to typeset article in single column
- cas-dc.cls, classfile to typeset article in double column
- cas-sc-template.tex, template file for single column journals
- cas-dc-template.tex, template file for double column journals
- cas-common.sty, additional macro package for formatting
- cas-model2-names.bst, BibTeX style file
- cas-refs.bib, sample BibTeX database
- cas-twitter.jpeg, cas-linkedin.jpeg, cas-url.jpeg, cas-gplus.jpeg,
cas-facebook.jpeg, cas-email.jpeg - thumbnail images of social
networking sites
The PDF documentation elsdoc-cas.pdf is in the doc directory. To
generate it:
1. pdflatex elsdoc-cas
2. pdflatex elsdoc-cas
3. pdflatex elsdoc-cas
or
use the makefile. Use the target `all' (eg: make all) in doc
directory.
The above procedure will create a print version, namely elsdoc-cas.pdf.
Copyright 2019-2021, Elsevier. Bugs, feature requests, suggestions and
comments may be mailed to elsarticle@stmdocs.in. cas-sc.cls, cas-dc.cls
related documentations and supporting packages are released under the
LATEX Project Public Licence, either version 1.2 or any later
version. This work has the LPPL maintenance status
'author-maintained'.

File diff suppressed because it is too large Load Diff

View File

@@ -1,463 +0,0 @@
%%
%% Copyright 2019-2024 Elsevier Ltd
%%
%% Version 2.4
%%
%% This file is part of the 'CAS Bundle'.
%% --------------------------------------
%%
%% It may be distributed under the conditions of the LaTeX Project Public
%% License, either version 1.2 of this license or (at your option) any
%% later version. The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.2 or later is part of all distributions of LaTeX
%% version 1999/12/01 or later.
%%
%% The list of all files belonging to the 'CAS Bundle' is
%% given in the file `manifest.txt'.
%%
%% Template article for cas-dc documentclass for
%% double column output.
%\documentclass[a4paper,fleqn,longmktitle]{cas-dc}
\documentclass[a4paper,fleqn]{cas-dc}
%\usepackage[authoryear,longnamesfirst]{natbib}
%\usepackage[authoryear]{natbib}
\usepackage[numbers]{natbib}
%%%Author definitions
\def\tsc#1{\csdef{#1}{\textsc{\lowercase{#1}}\xspace}}
\tsc{WGM}
\tsc{QE}
\tsc{EP}
\tsc{PMS}
\tsc{BEC}
\tsc{DE}
%%%
\begin{document}
\let\WriteBookmarks\relax
\def\floatpagepagefraction{1}
\def\textpagefraction{.001}
\shorttitle{Leveraging social media news}
\shortauthors{J.K. Krishnan et~al.}
\title [mode = title]{This is a specimen $a_b$ title}
\tnotemark[1,2]
\tnotetext[1]{This document is the results of the research
project funded by the National Science Foundation.}
\tnotetext[2]{The second title footnote which is a longer text matter
to fill through the whole text width and overflow into
another line in the footnotes area of the first page.}
\author[1,3]{J.K. Krishnan}[type=editor,
auid=000,bioid=1,
prefix=Sir,
role=Researcher,
orcid=0000-0001-0000-0000]
\cormark[1]
\fnmark[1]
\ead{jkk@example.in}
\ead[url]{www.jkkrishnan.in}
\credit{Conceptualization of this study, Methodology, Software}
%\address[1]{, Street 129, 1043 NX Amsterdam, The Netherlands}
\affiliation[1]{organization={Department of Physics, J.K. Institute of Science},
addressline={Jawahar Nagar},
city={Trivandrum},
% citysep={}, % Uncomment if no comma needed between city and postcode
postcode={695013},
state={Kerala},
country={India}}
\author[2,4]{Han Thane}[style=chinese]
\author[2,3]{William {J. Hansen}}[%
role=Co-ordinator,
suffix=Jr,
]
\fnmark[2]
\ead{wjh@example.org}
\ead[URL]{https://www.university.org}
\credit{Data curation, Writing - Original draft preparation}
\affiliation[2]{organization={World Scientific University},
addressline={Street 29},
postcode={1011 NX},
postcodesep={},
city={Amsterdam},
country={The Netherlands}}
\author[1,3]{T. Rafeeq}
\cormark[2]
\fnmark[1,3]
\ead{t.rafeeq@example.in}
\ead[URL]{www.campus.in}
\affiliation[3]{organization={University of Intelligent Studies},
addressline={Street 15},
city={Jabaldesh},
postcode={825001},
state={Orissa},
country={India}}
\cortext[cor1]{Corresponding author}
\cortext[cor2]{Principal corresponding author}
\fntext[fn1]{This is the first author footnote, but is common to third
author as well.}
\fntext[fn2]{Another author footnote, this is a very long footnote and
it should be a really long footnote. But this footnote is not yet
sufficiently long enough to make two lines of footnote text.}
\nonumnote{This note has no numbers. In this work we demonstrate $a_b$
the formation Y\_1 of a new type of polariton on the interface
between a cuprous oxide slab and a polystyrene micro-sphere placed
on the slab.
}
\begin{abstract}
This template helps you to create a properly formatted \LaTeX\ manuscript.
\noindent\texttt{\textbackslash begin{abstract}} \dots
\texttt{\textbackslash end{abstract}} and
\verb+\begin{keyword}+ \verb+...+ \verb+\end{keyword}+
which
contain the abstract and keywords respectively.
\noindent Each keyword shall be separated by a \verb+\sep+ command.
\end{abstract}
\begin{graphicalabstract}
\includegraphics{figs/cas-grabs.pdf}
\end{graphicalabstract}
\begin{highlights}
\item Research highlights item 1
\item Research highlights item 2
\item Research highlights item 3
\end{highlights}
\begin{keywords}
quadrupole exciton \sep polariton \sep \WGM \sep \BEC
\end{keywords}
\maketitle
\section{Introduction}
The Elsevier cas-dc class is based on the
standard article class and supports almost all of the functionality of
that class. In addition, it features commands and options to format the
\begin{itemize} \item document style \item baselineskip \item front
matter \item keywords and MSC codes \item theorems, definitions and
proofs \item lables of enumerations \item citation style and labeling.
\end{itemize}
This class depends on the following packages
for its proper functioning:
\begin{enumerate}
\itemsep=0pt
\item {natbib.sty} for citation processing;
\item {geometry.sty} for margin settings;
\item {fleqn.clo} for left aligned equations;
\item {graphicx.sty} for graphics inclusion;
\item {hyperref.sty} optional packages if hyperlinking is
required in the document;
\end{enumerate}
All the above packages are part of any
standard \LaTeX{} installation.
Therefore, the users need not be
bothered about downloading any extra packages.
\section{Installation}
The package is available at author resources page at Elsevier
(\url{http://www.elsevier.com/locate/latex}).
The class may be moved or copied to a place, usually,\linebreak
\verb+$TEXMF/tex/latex/elsevier/+, %$%%%%%%%%%%%%%%%%%%%%%%%%%%%%
or a folder which will be read
by \LaTeX{} during document compilation. The \TeX{} file
database needs updation after moving/copying class file. Usually,
we use commands like \verb+mktexlsr+ or \verb+texhash+ depending
upon the distribution and operating system.
\section{Front matter}
The author names and affiliations could be formatted in two ways:
\begin{enumerate}[(1)]
\item Group the authors per affiliation.
\item Use footnotes to indicate the affiliations.
\end{enumerate}
See the front matter of this document for examples.
You are recommended to conform your choice to the journal you
are submitting to.
\section{Bibliography styles}
There are various bibliography styles available. You can select the
style of your choice in the preamble of this document. These styles are
Elsevier styles based on standard styles like Harvard and Vancouver.
Please use Bib\TeX\ to generate your bibliography and include DOIs
whenever available.
Here are two sample references:
\cite{Fortunato2010}
\cite{Fortunato2010,NewmanGirvan2004}
\cite{Fortunato2010,Vehlowetal2013}
\section{Floats}
{Figures} may be included using the command,\linebreak
\verb+\includegraphics+ in
combination with or without its several options to further control
graphic. \verb+\includegraphics+ is provided by {graphic[s,x].sty}
which is part of any standard \LaTeX{} distribution.
{graphicx.sty} is loaded by default. \LaTeX{} accepts figures in
the postscript format while pdf\LaTeX{} accepts {*.pdf},
{*.mps} (metapost), {*.jpg} and {*.png} formats.
pdf\LaTeX{} does not accept graphic files in the postscript format.
\begin{figure}
\centering
\includegraphics[width=.9\columnwidth]{figs/cas-munnar-2024.jpg}
\caption{The beauty of Munnar, Kerala. (See also Table \protect\ref{tbl1}).}
\label{FIG:1}
\end{figure}
The \verb+table+ environment is handy for marking up tabular
material. If users want to use {multirow.sty},
{array.sty}, etc., to fine control/enhance the tables, they
are welcome to load any package of their choice and
{cas-dc.cls} will work in combination with all loaded
packages.
\begin{table}[width=.9\linewidth,cols=4,pos=h]
\caption{This is a test caption. This is a test caption. This is a test
caption. This is a test caption. Use \{table*\} instead of \{table\} if you
want a two column spanned table.}\label{tbl1}
\begin{tabular*}{\tblwidth}{@{} LLLL@{} }
\toprule
Col 1 & Col 2 & Col 3 & Col4\\
\midrule
12345 & 12345 & 123 & 12345 \\
12345 & 12345 & 123 & 12345 \\
12345 & 12345 & 123 & 12345 \\
12345 & 12345 & 123 & 12345 \\
12345 & 12345 & 123 & 12345 \\
\bottomrule
\end{tabular*}
\end{table}
\section[Theorem and ...]{Theorem and theorem like environments}
{cas-dc.cls} provides a few shortcuts to format theorems and
theorem-like environments with ease. In all commands the options that
are used with the \verb+\newtheorem+ command will work exactly in the same
manner. {cas-dc.cls} provides three commands to format theorem or
theorem-like environments:
\begin{verbatim}
\newtheorem{theorem}{Theorem}
\newtheorem{lemma}[theorem]{Lemma}
\newdefinition{rmk}{Remark}
\newproof{pf}{Proof}
\newproof{pot}{Proof of Theorem \ref{thm2}}
\end{verbatim}
The \verb+\newtheorem+ command formats a
theorem in \LaTeX's default style with italicized font, bold font
for theorem heading and theorem number at the right hand side of the
theorem heading. It also optionally accepts an argument which
will be printed as an extra heading in parentheses.
\begin{verbatim}
\begin{theorem}
For system (8), consensus can be achieved with
$\|T_{\omega z}$ ...
\begin{eqnarray}\label{10}
....
\end{eqnarray}
\end{theorem}
\end{verbatim}
\newtheorem{theorem}{Theorem}
\begin{theorem}
For system (8), consensus can be achieved with
$\|T_{\omega z}$ ...
\begin{eqnarray}\label{10}
....
\end{eqnarray}
\end{theorem}
The \verb+\newdefinition+ command is the same in
all respects as its \verb+\newtheorem+ counterpart except that
the font shape is roman instead of italic. Both
\verb+\newdefinition+ and \verb+\newtheorem+ commands
automatically define counters for the environments defined.
The \verb+\newproof+ command defines proof environments with
upright font shape. No counters are defined.
\begin{figure*}
\centering
\includegraphics[width=.9\textwidth]{figs/cas-munnar-2024.jpg}
\caption{The beauty of Munnar, Kerala. (See also Table \protect\ref{tbl1}).}
\label{FIG:2}
\end{figure*}
\section[Enumerated ...]{Enumerated and Itemized Lists}
{cas-dc.cls} provides an extended list processing macros
which makes the usage a bit more user friendly than the default
\LaTeX{} list macros. With an optional argument to the
\verb+\begin{enumerate}+ command, you can change the list counter
type and its attributes.
\begin{verbatim}
\begin{enumerate}[1.]
\item The enumerate environment starts with an optional
argument `1.', so that the item counter will be suffixed
by a period.
\item You can use `a)' for alphabetical counter and '(i)'
for roman counter.
\begin{enumerate}[a)]
\item Another level of list with alphabetical counter.
\item One more item before we start another.
\item One more item before we start another.
\item One more item before we start another.
\item One more item before we start another.
\end{verbatim}
Further, the enhanced list environment allows one to prefix a
string like `step' to all the item numbers.
\begin{verbatim}
\begin{enumerate}[Step 1.]
\item This is the first step of the example list.
\item Obviously this is the second step.
\item The final step to wind up this example.
\end{enumerate}
\end{verbatim}
\section{Cross-references}
In electronic publications, articles may be internally
hyperlinked. Hyperlinks are generated from proper
cross-references in the article. For example, the words
\textcolor{black!80}{Fig.~1} will never be more than simple text,
whereas the proper cross-reference \verb+\ref{tiger}+ may be
turned into a hyperlink to the figure itself:
\textcolor{blue}{Fig.~1}. In the same way,
the words \textcolor{blue}{Ref.~[1]} will fail to turn into a
hyperlink; the proper cross-reference is \verb+\cite{Knuth96}+.
Cross-referencing is possible in \LaTeX{} for sections,
subsections, formulae, figures, tables, and literature
references.
\section{Bibliography}
Two bibliographic style files (\verb+*.bst+) are provided ---
{model1-num-names.bst} and {model2-names.bst} --- the first one can be
used for the numbered scheme. This can also be used for the numbered
with new options of {natbib.sty}. The second one is for the author year
scheme. When you use model2-names.bst, the citation commands will be
like \verb+\citep+, \verb+\citet+, \verb+\citealt+ etc. However when
you use model1-num-names.bst, you may use only \verb+\cite+ command.
\verb+thebibliography+ environment. Each reference is a\linebreak
\verb+\bibitem+ and each \verb+\bibitem+ is identified by a label,
by which it can be cited in the text:
\noindent In connection with cross-referencing and
possible future hyperlinking it is not a good idea to collect
more that one literature item in one \verb+\bibitem+. The
so-called Harvard or author-year style of referencing is enabled
by the \LaTeX{} package {natbib}. With this package the
literature can be cited as follows:
\begin{enumerate}[\textbullet]
\item Parenthetical: \verb+\citep{WB96}+ produces (Wettig \& Brown, 1996).
\item Textual: \verb+\citet{ESG96}+ produces Elson et al. (1996).
\item An affix and part of a reference:\break
\verb+\citep[e.g.][Ch. 2]{Gea97}+ produces (e.g. Governato et
al., 1997, Ch. 2).
\end{enumerate}
In the numbered scheme of citation, \verb+\cite{<label>}+ is used,
since \verb+\citep+ or \verb+\citet+ has no relevance in the numbered
scheme. {natbib} package is loaded by {cas-dc} with
\verb+numbers+ as default option. You can change this to author-year
or harvard scheme by adding option \verb+authoryear+ in the class
loading command. If you want to use more options of the {natbib}
package, you can do so with the \verb+\biboptions+ command. For
details of various options of the {natbib} package, please take a
look at the {natbib} documentation, which is part of any standard
\LaTeX{} installation.
\appendix
\section{My Appendix}
Appendix sections are coded under \verb+\appendix+.
\verb+\printcredits+ command is used after appendix sections to list
author credit taxonomy contribution roles tagged using \verb+\credit+
in frontmatter.
\printcredits
%% Loading bibliography style file
%\bibliographystyle{model1-num-names}
\bibliographystyle{cas-model2-names}
% Loading bibliography database
\bibliography{cas-refs}
%\vskip3pt
\bio{}
Author biography without author photo.
Author biography. Author biography. Author biography.
Author biography. Author biography. Author biography.
Author biography. Author biography. Author biography.
Author biography. Author biography. Author biography.
Author biography. Author biography. Author biography.
Author biography. Author biography. Author biography.
Author biography. Author biography. Author biography.
Author biography. Author biography. Author biography.
Author biography. Author biography. Author biography.
\endbio
\bio{figs/cas-pic1}
Author biography with author photo.
Author biography. Author biography. Author biography.
Author biography. Author biography. Author biography.
Author biography. Author biography. Author biography.
Author biography. Author biography. Author biography.
Author biography. Author biography. Author biography.
Author biography. Author biography. Author biography.
Author biography. Author biography. Author biography.
Author biography. Author biography. Author biography.
Author biography. Author biography. Author biography.
\endbio
\bio{figs/cas-pic1}
Author biography with author photo.
Author biography. Author biography. Author biography.
Author biography. Author biography. Author biography.
Author biography. Author biography. Author biography.
Author biography. Author biography. Author biography.
\endbio
\end{document}

View File

@@ -1,251 +0,0 @@
%%
%% Copyright 2019-2024 Elsevier Ltd
%%
%% This file is part of the 'CAS Bundle'.
%% --------------------------------------
%%
%% It may be distributed under the conditions of the LaTeX Project Public
%% License, either version 1.3c of this license or (at your option) any
%% later version. The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.3c or later is part of all distributions of LaTeX
%% version 1999/12/01 or later.
%%
%% The list of all files belonging to the 'CAS Bundle' is
%% given in the file `manifest.txt'.
%%
%% Template article for cas-dc documentclass for
%% double column output.
\documentclass[a4paper,fleqn]{cas-dc}
% If the frontmatter runs over more than one page
% use the longmktitle option.
%\documentclass[a4paper,fleqn,longmktitle]{cas-dc}
%\usepackage[numbers]{natbib}
%\usepackage[authoryear]{natbib}
\usepackage[authoryear,longnamesfirst]{natbib}
%%%Author macros
\def\tsc#1{\csdef{#1}{\textsc{\lowercase{#1}}\xspace}}
\tsc{WGM}
\tsc{QE}
%%%
% Uncomment and use as if needed
%\newtheorem{theorem}{Theorem}
%\newtheorem{lemma}[theorem]{Lemma}
%\newdefinition{rmk}{Remark}
%\newproof{pf}{Proof}
%\newproof{pot}{Proof of Theorem \ref{thm}}
\begin{document}
\let\WriteBookmarks\relax
\def\floatpagepagefraction{1}
\def\textpagefraction{.001}
% Short title
\shorttitle{}
% Short author
\shortauthors{}
% Main title of the paper
\title [mode = title]{}
% Title footnote mark
% eg: \tnotemark[1]
\tnotemark[1]
% Title footnote 1.
% eg: \tnotetext[1]{Title footnote text}
\tnotetext[1]{}
% First author
%
% Options: Use if required
% eg: \author[1,3]{Author Name}[type=editor,
% style=chinese,
% auid=000,
% bioid=1,
% prefix=Sir,
% orcid=0000-0000-0000-0000,
% facebook=<facebook id>,
% twitter=<twitter id>,
% linkedin=<linkedin id>,
% gplus=<gplus id>]
\author[1]{}%[<options>]
% Corresponding author indication
\cormark[1]
% Footnote of the first author
\fnmark[1]
% Email id of the first author
\ead{}
% URL of the first author
\ead[url]{}
% Credit authorship
% eg: \credit{Conceptualization of this study, Methodology, Software}
\credit{}
% Address/affiliation
\affiliation[1]{organization={},
addressline={},
city={},
% citysep={}, % Uncomment if no comma needed between city and postcode
postcode={},
state={},
country={}}
\author[2]{}%[]
% Footnote of the second author
\fnmark[2]
% Email id of the second author
\ead{}
% URL of the second author
\ead[url]{}
% Credit authorship
\credit{}
% Address/affiliation
\affiliation[2]{organization={},
addressline={},
city={},
% citysep={}, % Uncomment if no comma needed between city and postcode
postcode={},
state={},
country={}}
% Corresponding author text
\cortext[1]{Corresponding author}
% Footnote text
\fntext[1]{}
% For a title note without a number/mark
%\nonumnote{}
% Here goes the abstract
\begin{abstract}
Here goes the abstract \nocite{*}%% Remove this line from your manuscript.
\end{abstract}
% Use if graphical abstract is present
%\begin{graphicalabstract}
%\includegraphics{}
%\end{graphicalabstract}
% Research highlights
\begin{highlights}
\item
\item
\item
\end{highlights}
%\nocite{*}
% Keywords
% Each keyword is seperated by \sep
\begin{keywords}
\sep \sep \sep
\end{keywords}
\maketitle
% Main text
\section{}\label{}
% Numbered list
% Use the style of numbering in square brackets.
% If nothing is used, default style will be taken.
%\begin{enumerate}[a)]
%\item
%\item
%\item
%\end{enumerate}
% Unnumbered list
%\begin{itemize}
%\item
%\item
%\item
%\end{itemize}
% Description list
%\begin{description}
%\item[]
%\item[]
%\item[]
%\end{description}
\clearpage %%Remove this from your manuscript
% Figure
\begin{figure}%[]
\centering
% \includegraphics{}
\caption{}\label{fig1}
\end{figure}
\begin{table}%[]
\caption{}\label{tbl1}
\begin{tabular*}{\tblwidth}{@{}LL@{}}
\toprule
& \\ % Table header row
\midrule
& \\
& \\
& \\
& \\
\bottomrule
\end{tabular*}
\end{table}
% Uncomment and use as the case may be
%\begin{theorem}
%\end{theorem}
% Uncomment and use as the case may be
%\begin{lemma}
%\end{lemma}
%% The Appendices part is started with the command \appendix;
%% appendix sections are then done as normal sections
%% \appendix
\section{}\label{}
% To print the credit authorship contribution details
\printcredits
%% Loading bibliography style file
%\bibliographystyle{model1-num-names}
\bibliographystyle{cas-model2-names}
% Loading bibliography database
\bibliography{cas-refs}
% Biography
%\bio{}
% Here goes the biography details.
%\endbio
%\bio{pic1}
% Here goes the biography details.
%\endbio
\end{document}

View File

@@ -1,187 +0,0 @@
%%
%% This is file `cas-sc.cls'.
%%
%% This file is part of the 'CAS Bundle'.
%% ......................................
%%
%% It may be distributed under the conditions of the LaTeX Project Public
%% License, either version 1.2 of this license or (at your option) any
%% later version. The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.2 or later is part of all distributions of LaTeX
%% version 1999/12/01 or later.
%%
%% The list of all files belonging to the 'CAS Bundle' is
%% given in the file `manifest.txt'.
%%
%% $Id: cas-dc.cls 96 2024-05-04 09:29:44Z rishi $
\def\RCSfile{cas-dc}%
\def\RCSversion{2.4}%
\def\RCSdate{2024/05/04}%
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesClass{\RCSfile}[\RCSdate, \RCSversion: Formatting class
for CAS double column articles]
%
\def\ABD{\AtBeginDocument}
%
% switches
%
\newif\iflongmktitle \longmktitlefalse
\newif\ifdc \global\dctrue
\newif\ifsc \global\scfalse
\newif\ifcasreviewlayout \global\casreviewlayoutfalse
\newif\ifcasfinallayout \global\casfinallayoutfalse
\newcounter{blind}
\setcounter{blind}{0}
\def\blstr#1{\gdef\@blstr{#1}}
\def\@blstr{1}
\newdimen\@bls
\@bls=\baselineskip
\DeclareOption{singleblind}{\setcounter{blind}{1}}
\DeclareOption{doubleblind}{\setcounter{blind}{2}}
\DeclareOption{longmktitle}{\global\longmktitletrue}
\DeclareOption{final}{\global\casfinallayouttrue}
\DeclareOption{review}{\global\casreviewlayouttrue}
\ExecuteOptions{a4paper,10pt,oneside,fleqn}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
\ProcessOptions
\LoadClass{article}
\RequirePackage{graphicx}
\RequirePackage{amsmath,amsfonts,amssymb}
\allowdisplaybreaks
\RequirePackage{expl3,xparse}
\@ifundefined{regex_match:nnTF}{\RequirePackage{l3regex}}{}
\RequirePackage{etoolbox,balance}
\RequirePackage{booktabs,makecell,multirow,array,colortbl,dcolumn,stfloats}
\RequirePackage{xspace,xstring,footmisc}
\RequirePackage[svgnames,dvipsnames]{xcolor}
\ifbool{casreviewlayout}{\RequirePackage{setspace}}{}
\RequirePackage[colorlinks]{hyperref}
\colorlet{scolor}{black}
\colorlet{hscolor}{DarkSlateGrey}
\hypersetup{%
pdftitle={\csuse{__short_title:}},
pdfauthor={\csuse{__short_authors:}},
pdfcreator={LaTeX3; cas-sc.cls; hyperref.sty},
pdfproducer={pdfTeX;},
linkcolor={hscolor},
urlcolor={hscolor},
citecolor={hscolor},
filecolor={hscolor},
menucolor={hscolor},
}
\let\comma\@empty
\let\tnotesep\@empty
\let\@title\@empty
%
% Load Common items
%
\RequirePackage{cas-common}
%
% Specific to Single Column
%
\ExplSyntaxOn
\RenewDocumentCommand \maketitle { }
{
\ifbool { usecasgrabsbox }
{
\setcounter{page}{0}
\thispagestyle{empty}
\unvbox\casgrabsbox
} { }
\pagebreak
\ifbool { usecashlsbox }
{
\setcounter{page}{0}
\thispagestyle{empty}
\unvbox\casauhlbox
} { }
\pagebreak
\thispagestyle{first}
\ifbool{longmktitle}
{
\ifnum\theblind>0\relax
\LongMaketitleBox[Blind]
\else
\LongMaketitleBox
\fi
\ProcessLongTitleBox
}
{
\ifnum\theblind>0\relax
\twocolumn[{\MaketitleBox[blind]}]
\else
\twocolumn[\MaketitleBox]
\fi
\printFirstPageNotes
}
\setcounter{footnote}{\int_use:N \g_stm_fnote_int}
\renewcommand\thefootnote{\arabic{footnote}}
\gdef\@pdfauthor{\infoauthors}
\gdef\@pdfsubject{Complex ~STM ~Content}
\ifbool{casreviewlayout}{\doublespacing}{}
}
%
% Fonts
%
\RequirePackage[T1]{fontenc}
\file_if_exist:nTF { stix.sty }
{
\file_if_exist:nTF { charis.sty }
{
\RequirePackage[notext]{stix}
\RequirePackage{charis}
}
{ \RequirePackage{stix} }
}
{
\iow_term:x { *********************************************************** }
\iow_term:x { ~Stix ~ and ~ Charis~ fonts ~ are ~ not ~ available ~ }
\iow_term:x { ~ in ~TeX~system.~Hence~CMR~ fonts~ are ~ used. }
\iow_term:x { *********************************************************** }
}
\file_if_exist:nTF { inconsolata.sty }
{ \RequirePackage[scaled=.85]{inconsolata} }
{ \tex_gdef:D \ttdefault { cmtt } }
\ExplSyntaxOff
%
% Page geometry
%
\usepackage[%
paperwidth=210mm,
paperheight=280mm,
vmargin={19.5mm,18.2mm},
hmargin={18.1mm,18.1mm},
headsep=12pt,
footskip=12pt,
columnsep=18pt
]{geometry}
\endinput
%
% End of class 'cas-dc'
%

File diff suppressed because it is too large Load Diff

View File

@@ -1,283 +0,0 @@
@ARTICLE{Fortunato2010,
author = {Fortunato, S.},
title = {Community detection in graphs},
journal = {Phys. Rep.-Rev. Sec. Phys. Lett.},
volume = {486},
year = {2010},
pages = {75-174}
}
@ARTICLE{NewmanGirvan2004,
author = {Newman, M. E. J. and Girvan, M.},
title = {Finding and evaluating community structure in networks},
journal = {Phys. Rev. E.},
volume = {69},
year = {2004},
pages = {026113}
}
@ARTICLE{Vehlowetal2013,
author = {Vehlow, C. and Reinhardt, T. and Weiskopf, D.},
title = {Visualizing Fuzzy Overlapping Communities in Networks},
journal = {IEEE Trans. Vis. Comput. Graph.},
volume = {19},
year = {2013},
pages = {2486-2495}
}
@ARTICLE{Raghavanetal2007,
author = {Raghavan, U. and Albert, R. and Kumara, S.},
title = {Near linear time algorithm to detect community structures in large-scale networks},
journal = {Phys. Rev E.},
volume = {76},
year = {2007},
pages = {036106}
}
@ARTICLE{SubeljBajec2011a,
author = {\v{S}ubelj, L. and Bajec, M.},
title = {Robust network community detection using balanced propagation},
journal = {Eur. Phys. J. B.},
volume = {81},
year = {2011},
pages = {353-362}
}
@ARTICLE{Louetal2013,
author = {Lou, H. and Li, S. and Zhao, Y.},
title = {Detecting community structure using label propagation with weighted coherent neighborhood propinquity},
journal = {Physica A.},
volume = {392},
year = {2013},
pages = {3095-3105}
}
@ARTICLE{Clausetetal2004,
author = {Clauset, A. and Newman, M. E. J. and Moore, C.},
title = {Finding community structure in very large networks},
journal = {Phys. Rev. E.},
volume = {70},
year = {2004},
pages = {066111}
}
@ARTICLE{Blondeletal2008,
author = {Blondel, V. D. and Guillaume, J. L. and Lambiotte, R. and Lefebvre, E.},
title = {Fast unfolding of communities in large networks},
journal = {J. Stat. Mech.-Theory Exp.},
volume = {2008},
year = {2008},
pages = {P10008}
}
@ARTICLE{SobolevskyCampari2014,
author = {Sobolevsky, S. and Campari, R.},
title = {General optimization technique for high-quality community detection in complex networks},
journal = {Phys. Rev. E.},
volume = {90},
year = {2014},
pages = {012811}
}
@ARTICLE{FortunatoBarthelemy2007,
author = {Fortunato, S. and Barthelemy, M.},
title = {Resolution limit in community detection},
journal = {Proc. Natl. Acad. Sci. U. S. A.},
volume = {104},
year = {2007},
pages = {36-41}
}
@ARTICLE{SubeljBajec2011b,
author = {\v{S}ubelj, L. and Bajec, M.},
title = {Unfolding communities in large complex networks: Combining defensive and offensive label propagation for core extraction},
journal = {Phys. Rev. E.},
volume = {83},
year = {2011},
pages = {036103}
}
@ARTICLE{WangLi2013,
author = {Wang, X. and Li, J.},
title = {Detecting communities by the core-vertex and intimate degree in complex networks},
journal = {Physica A.},
volume = {392},
year = {2013},
pages = {2555-2563}
}
@ARTICLE{Lietal2013,
author = {Li, J. and Wang, X. and Eustace, J.},
title = {Detecting overlapping communities by seed community in weighted complex networks},
journal = {Physica A.},
volume = {392},
year = {2013},
pages = {6125-6134}
}
@ARTICLE{Fabioetal2013,
author = {Fabio, D. R. and Fabio, D. and Carlo, P.},
title = {Profiling core-periphery network structure by random walkers},
journal = {Sci. Rep.},
volume = {3},
year = {2013},
pages = {1467}
}
@ARTICLE{Chenetal2013,
author = {Chen, Q. and Wu, T. T. and Fang, M.},
title = {Detecting local community structure in complex networks based on local degree central nodes},
journal = {Physica A.},
volume = {392},
year = {2013},
pages = {529-537}
}
@ARTICLE{Zhangetal2007,
author = {Zhang, S. and Wang, R. and Zhang, X.},
title = {Identification of overlapping community structure in complex networks using fuzzy c-means clustering},
journal = {Physica A.},
volume = {374},
year = {2007},
pages = {483-490}
}
@ARTICLE{Nepuszetal2008,
author = {Nepusz, T. and Petr\'oczi, A. and N\'egyessy, L. and Bazs\'o, F.},
title = {Fuzzy communities and the concept of bridgeness in complex networks},
journal = {Phys. Rev. E.},
volume = {77},
year = {2008},
pages = {016107}
}
@ARTICLE{FabricioLiang2013,
author = {Fabricio, B. and Liang, Z.},
title = {Fuzzy community structure detection by particle competition and cooperation},
journal = {Soft Comput.},
volume = {17},
year = {2013},
pages = {659-673}
}
@ARTICLE{Sunetal2011,
author = {Sun, P. and Gao, L. and Han, S.},
title = {Identification of overlapping and non-overlapping community structure by fuzzy clustering in complex networks},
journal = {Inf. Sci.},
volume = {181},
year = {2011},
pages = {1060-1071}
}
@ARTICLE{Wangetal2013,
author = {Wang, W. and Liu, D. and Liu, X. and Pan, L.},
title = {Fuzzy overlapping community detection based on local random walk and multidimensional scaling},
journal = {Physica A.},
volume = {392},
year = {2013},
pages = {6578-6586}
}
@ARTICLE{Psorakisetal2011,
author = {Psorakis, I. and Roberts, S. and Ebden, M. and Sheldon, B.},
title = {Overlapping community detection using Bayesian non-negative matrix factorization},
journal = {Phys. Rev. E.},
volume = {83},
year = {2011},
pages = {066114}
}
@CONFERENCE{ZhangYeung2012,
author = {Zhang, Y. and Yeung, D.},
title = {Overlapping Community Detection via Bounded Nonnegative Matrix Tri-Factorization},
booktitle = {In Proc. ACM SIGKDD Conf.},
year = {2012},
pages = {606-614}
}
@ARTICLE{Liu2010,
author = {Liu, J.},
title = {Fuzzy modularity and fuzzy community structure in networks},
journal = {Eur. Phys. J. B.},
volume = {77},
year = {2010},
pages = {547-557}
}
@ARTICLE{Havensetal2013,
author = {Havens, T. C. and Bezdek, J. C. and Leckie, C. and Ramamohanarao, K. and Palaniswami, M.},
title = {A Soft Modularity Function For Detecting Fuzzy Communities in Social Networks},
journal = {IEEE Trans. Fuzzy Syst.},
volume = {21},
year = {2013},
pages = {1170-1175}
}
@misc{Newman2013,
author = {Newman, M. E. J.},
title = {Network data},
howpublished = "\url{http://www-personal.umich.edu/~mejn/netdata/}",
year = {2013}
}
@ARTICLE{SubeljBajec2012,
author = {\v{S}ubelj, L. and Bajec, M.},
title = {Ubiquitousness of link-density and link-pattern communities in real-world networks},
journal = {Eur. Phys. J. B.},
volume = {85},
year = {2012},
pages = {1-11}
}
@ARTICLE{Lancichinettietal2008,
author = {Lancichinetti, A. and Fortunato, S. and Radicchi, F.},
title = {Benchmark graphs for testing community detection algorithms},
journal = {Phys. Rev. E.},
volume = {78},
year = {2008},
pages = {046110}
}
@ARTICLE{Liuetal2014,
author = {Liu, W. and Pellegrini, M. and Wang, X.},
title = {Detecting Communities Based on Network Topology},
journal = {Sci. Rep.},
volume = {4},
year = {2014},
pages = {5739}
}
@ARTICLE{Danonetal2005,
author = {Danon, L. and Diaz-Guilera, A. and Duch, J. and Arenas, A.},
title = {Comparing community structure identification},
journal = {J. Stat. Mech.-Theory Exp.},
volume = {},
year = {2005},
pages = {P09008}
}
@ARTICLE{Gregory2011,
author = {Gregory, S.},
title = {Fuzzy overlapping communities in networks},
journal = {J. Stat. Mech.-Theory Exp.},
volume = {},
year = {2011},
pages = {P02017}
}
@ARTICLE{LancichinettiFortunato2009,
author = {Lancichinetti, A. and Fortunato, S.},
title = {Benchmarks for testing community detection algorithms on directed and weighted graphs with overlapping communities},
journal = {Phys. Rev. E.},
volume = {80},
year = {2009},
pages = {016118}
}
@CONFERENCE{HullermeierRifqi2009,
author = {Hullermeier, E. and Rifqi, M.},
title = {A Fuzzy Variant of the Rand Index for Comparing Clustering Structures},
booktitle = {in Proc. IFSA/EUSFLAT Conf.},
year = {2009},
pages = {1294-1298}
}

View File

@@ -1,457 +0,0 @@
%%
%% Copyright 2019-2024 Elsevier Ltd
%%
%% Version 2.4
%%
%% This file is part of the 'CAS Bundle'.
%% --------------------------------------
%%
%% It may be distributed under the conditions of the LaTeX Project Public
%% License, either version 1.2 of this license or (at your option) any
%% later version. The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.2 or later is part of all distributions of LaTeX
%% version 1999/12/01 or later.
%%
%% The list of all files belonging to the 'CAS Bundle' is
%% given in the file `manifest.txt'.
%%
%% Template article for cas-sc documentclass for
%% single column output.
%\documentclass[a4paper,fleqn,longmktitle]{cas-sc}
\documentclass[a4paper,fleqn]{cas-sc}
%\usepackage[numbers]{natbib}
%\usepackage[authoryear]{natbib}
\usepackage[authoryear,longnamesfirst]{natbib}
%%%Author macros
\def\tsc#1{\csdef{#1}{\textsc{\lowercase{#1}}\xspace}}
\tsc{WGM}
\tsc{QE}
\tsc{EP}
\tsc{PMS}
\tsc{BEC}
\tsc{DE}
%%%
\begin{document}
\let\WriteBookmarks\relax
\def\floatpagepagefraction{1}
\def\textpagefraction{.001}
\shorttitle{Leveraging social media news}
\shortauthors{J.K. Krishnan et~al.}
%\begin{frontmatter}
\title [mode = title]{This is a specimen $a_b$ title}
\tnotemark[1,2]
\tnotetext[1]{This document is the results of the research
project funded by the National Science Foundation.}
\tnotetext[2]{The second title footnote which is a longer text matter
to fill through the whole text width and overflow into
another line in the footnotes area of the first page.}
\author[1,3]{J.K. Krishnan}[type=editor,
auid=000,bioid=1,
prefix=Sir,
role=Researcher,
orcid=0000-0001-0000-0000]
\cormark[1]
\fnmark[1]
\ead{jkk@example.in}
\ead[url]{www.jkkrishnan.in}
\credit{Conceptualization of this study, Methodology, Software}
\affiliation[1]{organization={Department of Physics, J.K. Institute of Science},
addressline={Jawahar Nagar},
city={Trivandrum},
% citysep={}, % Uncomment if no comma needed between city and postcode
postcode={695013},
state={Kerala},
country={India}}
\author[2,4]{Han Thane}[style=chinese]
\author[2,3]{William {J. Hansen}}[%
role=Co-ordinator,
suffix=Jr,
]
\fnmark[2]
\ead{wjh@example.org}
\ead[URL]{https://www.university.org}
\credit{Data curation, Writing - Original draft preparation}
\affiliation[2]{organization={World Scientific University},
addressline={Street 29},
postcode={1011 NX},
postcodesep={},
city={Amsterdam},
country={The Netherlands}}
\author[1,3]{T. Rafeeq}
\cormark[2]
\fnmark[1,3]
\ead{t.rafeeq@example.in}
\ead[URL]{www.campus.in}
\affiliation[3]{organization={University of Intelligent Studies},
addressline={Street 15},
city={Jabaldesh},
postcode={825001},
state={Orissa},
country={India}}
\cortext[cor1]{Corresponding author}
\cortext[cor2]{Principal corresponding author}
\fntext[fn1]{This is the first author footnote, but is common to third
author as well.}
\fntext[fn2]{Another author footnote, this is a very long footnote and
it should be a really long footnote. But this footnote is not yet
sufficiently long enough to make two lines of footnote text.}
\nonumnote{This note has no numbers. In this work we demonstrate $a_b$
the formation Y\_1 of a new type of polariton on the interface
between a cuprous oxide slab and a polystyrene micro-sphere placed
on the slab.
}
\begin{abstract}
This template helps you to create a properly formatted \LaTeX\ manuscript.
\noindent\texttt{\textbackslash begin{abstract}} \dots
\texttt{\textbackslash end{abstract}} and
\verb+\begin{keyword}+ \verb+...+ \verb+\end{keyword}+
which
contain the abstract and keywords respectively.
Each keyword shall be separated by a \verb+\sep+ command.
\end{abstract}
\begin{graphicalabstract}
\includegraphics{figs/cas-grabs.pdf}
\end{graphicalabstract}
\begin{highlights}
\item Research highlights item 1
\item Research highlights item 2
\item Research highlights item 3
\end{highlights}
\begin{keywords}
quadrupole exciton \sep polariton \sep \WGM \sep \BEC
\end{keywords}
\maketitle
\section{Introduction}
The Elsevier cas-sc class is based on the
standard article class and supports almost all of the functionality of
that class. In addition, it features commands and options to format the
\begin{itemize} \item document style \item baselineskip \item front
matter \item keywords and MSC codes \item theorems, definitions and
proofs \item lables of enumerations \item citation style and labeling.
\end{itemize}
This class depends on the following packages
for its proper functioning:
\begin{enumerate}
\itemsep=0pt
\item {natbib.sty} for citation processing;
\item {geometry.sty} for margin settings;
\item {fleqn.clo} for left aligned equations;
\item {graphicx.sty} for graphics inclusion;
\item {hyperref.sty} optional packages if hyperlinking is
required in the document;
\end{enumerate}
All the above packages are part of any
standard \LaTeX{} installation.
Therefore, the users need not be
bothered about downloading any extra packages.
\section{Installation}
The package is available at author resources page at Elsevier
(\url{http://www.elsevier.com/locate/latex}).
The class may be moved or copied to a place, usually,
\verb+$TEXMF/tex/latex/elsevier/+, %$%%%%%%%%%%%%%%%%%%%%%%%%%%%%
or a folder which will be read
by \LaTeX{} during document compilation. The \TeX{} file
database needs updation after moving/copying class file. Usually,
we use commands like \verb+mktexlsr+ or \verb+texhash+ depending
upon the distribution and operating system.
\section{Front matter}
The author names and affiliations could be formatted in two ways:
\begin{enumerate}[(1)]
\item Group the authors per affiliation.
\item Use footnotes to indicate the affiliations.
\end{enumerate}
See the front matter of this document for examples.
You are recommended to conform your choice to the journal you
are submitting to.
\section{Bibliography styles}
There are various bibliography styles available. You can select the
style of your choice in the preamble of this document. These styles are
Elsevier styles based on standard styles like Harvard and Vancouver.
Please use Bib\TeX\ to generate your bibliography and include DOIs
whenever available.
Here are two sample references:
See \citet{Fortunato2010}. Also refer \citet{Fortunato2010,NewmanGirvan2004}.
More citations are here \citep{Fortunato2010,Vehlowetal2013}.
\section{Floats}
{Figures} may be included using the command, \verb+\includegraphics+ in
combination with or without its several options to further control
graphic. \verb+\includegraphics+ is provided by {graphic[s,x].sty}
which is part of any standard \LaTeX{} distribution.
{graphicx.sty} is loaded by default. \LaTeX{} accepts figures in
the postscript format while pdf\LaTeX{} accepts {*.pdf},
{*.mps} (metapost), {*.jpg} and {*.png} formats.
pdf\LaTeX{} does not accept graphic files in the postscript format.
\begin{figure}
\centering
\includegraphics[width=.9\textwidth]{figs/cas-munnar-2024.jpg}
\caption{The beauty of Munnar, Kerala. (See also Table \protect\ref{tbl1}).}
\label{FIG:1}
\end{figure}
The \verb+table+ environment is handy for marking up tabular
material. If users want to use {multirow.sty},
{array.sty}, etc., to fine control/enhance the tables, they
are welcome to load any package of their choice and
{cas-sc.cls} will work in combination with all loaded
packages.
\begin{table}[width=.9\linewidth,cols=4,pos=h]
\caption{This is a test caption. This is a test caption. This is a test
caption. This is a test caption.}\label{tbl1}
\begin{tabular*}{\tblwidth}{@{} LLLL@{} }
\toprule
Col 1 & Col 2 & Col 3 & Col4\\
\midrule
12345 & 12345 & 123 & 12345 \\
12345 & 12345 & 123 & 12345 \\
12345 & 12345 & 123 & 12345 \\
12345 & 12345 & 123 & 12345 \\
12345 & 12345 & 123 & 12345 \\
\bottomrule
\end{tabular*}
\end{table}
\section[Theorem and ...]{Theorem and theorem like environments}
{cas-sc.cls} provides a few shortcuts to format theorems and
theorem-like environments with ease. In all commands the options that
are used with the \verb+\newtheorem+ command will work exactly in the same
manner. {cas-sc.cls} provides three commands to format theorem or
theorem-like environments:
\begin{verbatim}
\newtheorem{theorem}{Theorem}
\newtheorem{lemma}[theorem]{Lemma}
\newdefinition{rmk}{Remark}
\newproof{pf}{Proof}
\newproof{pot}{Proof of Theorem \ref{thm2}}
\end{verbatim}
The \verb+\newtheorem+ command formats a
theorem in \LaTeX's default style with italicized font, bold font
for theorem heading and theorem number at the right hand side of the
theorem heading. It also optionally accepts an argument which
will be printed as an extra heading in parentheses.
\begin{verbatim}
\begin{theorem}
For system (8), consensus can be achieved with
$\|T_{\omega z}$ ...
\begin{eqnarray}\label{10}
....
\end{eqnarray}
\end{theorem}
\end{verbatim}
\newtheorem{theorem}{Theorem}
\begin{theorem}
For system (8), consensus can be achieved with
$\|T_{\omega z}$ ...
\begin{eqnarray}\label{10}
....
\end{eqnarray}
\end{theorem}
The \verb+\newdefinition+ command is the same in
all respects as its \verb+\newtheorem+ counterpart except that
the font shape is roman instead of italic. Both
\verb+\newdefinition+ and \verb+\newtheorem+ commands
automatically define counters for the environments defined.
The \verb+\newproof+ command defines proof environments with
upright font shape. No counters are defined.
\section[Enumerated ...]{Enumerated and Itemized Lists}
{cas-sc.cls} provides an extended list processing macros
which makes the usage a bit more user friendly than the default
\LaTeX{} list macros. With an optional argument to the
\verb+\begin{enumerate}+ command, you can change the list counter
type and its attributes.
\begin{verbatim}
\begin{enumerate}[1.]
\item The enumerate environment starts with an optional
argument `1.', so that the item counter will be suffixed
by a period.
\item You can use `a)' for alphabetical counter and '(i)' for
roman counter.
\begin{enumerate}[a)]
\item Another level of list with alphabetical counter.
\item One more item before we start another.
\item One more item before we start another.
\item One more item before we start another.
\item One more item before we start another.
\end{verbatim}
Further, the enhanced list environment allows one to prefix a
string like `step' to all the item numbers.
%\pagebreak
\begin{verbatim}
\begin{enumerate}[Step 1.]
\item This is the first step of the example list.
\item Obviously this is the second step.
\item The final step to wind up this example.
\end{enumerate}
\end{verbatim}
\section{Cross-references}
In electronic publications, articles may be internally
hyperlinked. Hyperlinks are generated from proper
cross-references in the article. For example, the words
\textcolor{black!80}{Fig.~1} will never be more than simple text,
whereas the proper cross-reference \verb+\ref{tiger}+ may be
turned into a hyperlink to the figure itself:
\textcolor{blue}{Fig.~1}. In the same way,
the words \textcolor{blue}{Ref.~[1]} will fail to turn into a
hyperlink; the proper cross-reference is \verb+\cite{Knuth96}+.
Cross-referencing is possible in \LaTeX{} for sections,
subsections, formulae, figures, tables, and literature
references.
\section{Bibliography}
Two bibliographic style files (\verb+*.bst+) are provided ---
{model1-num-names.bst} and {model2-names.bst} --- the first one can be
used for the numbered scheme. This can also be used for the numbered
with new options of {natbib.sty}. The second one is for the author year
scheme. When you use model2-names.bst, the citation commands will be
like \verb+\citep+, \verb+\citet+, \verb+\citealt+ etc. However when
you use model1-num-names.bst, you may use only \verb+\cite+ command.
\verb+thebibliography+ environment. Each reference is a
\verb+\bibitem+ and each \verb+\bibitem+ is identified by a label,
by which it can be cited in the text:
\noindent In connection with cross-referencing and
possible future hyperlinking it is not a good idea to collect
more that one literature item in one \verb+\bibitem+. The
so-called Harvard or author-year style of referencing is enabled
by the \LaTeX{} package {natbib}. With this package the
literature can be cited as follows:
\begin{enumerate}[\textbullet]
\item Parenthetical: \verb+\citep{WB96}+ produces (Wettig \& Brown, 1996).
\item Textual: \verb+\citet{ESG96}+ produces Elson et al. (1996).
\item An affix and part of a reference:
\verb+\citep[e.g.][Ch. 2]{Gea97}+ produces (e.g. Governato et
al., 1997, Ch. 2).
\end{enumerate}
In the numbered scheme of citation, \verb+\cite{<label>}+ is used,
since \verb+\citep+ or \verb+\citet+ has no relevance in the numbered
scheme. {natbib} package is loaded by {cas-sc} with
\verb+numbers+ as default option. You can change this to author-year
or harvard scheme by adding option \verb+authoryear+ in the class
loading command. If you want to use more options of the {natbib}
package, you can do so with the \verb+\biboptions+ command. For
details of various options of the {natbib} package, please take a
look at the {natbib} documentation, which is part of any standard
\LaTeX{} installation.
\appendix
\section{My Appendix}
Appendix sections are coded under \verb+\appendix+.
\verb+\printcredits+ command is used after appendix sections to list
author credit taxonomy contribution roles tagged using \verb+\credit+
in frontmatter.
\printcredits
%% Loading bibliography style file
%\bibliographystyle{model1-num-names}
\bibliographystyle{cas-model2-names}
% Loading bibliography database
\bibliography{cas-refs}
%\vskip3pt
\bio{}
Author biography without author photo.
Author biography. Author biography. Author biography.
Author biography. Author biography. Author biography.
Author biography. Author biography. Author biography.
Author biography. Author biography. Author biography.
Author biography. Author biography. Author biography.
Author biography. Author biography. Author biography.
Author biography. Author biography. Author biography.
Author biography. Author biography. Author biography.
Author biography. Author biography. Author biography.
\endbio
\bio{figs/cas-pic1}
Author biography with author photo.
Author biography. Author biography. Author biography.
Author biography. Author biography. Author biography.
Author biography. Author biography. Author biography.
Author biography. Author biography. Author biography.
Author biography. Author biography. Author biography.
Author biography. Author biography. Author biography.
Author biography. Author biography. Author biography.
Author biography. Author biography. Author biography.
Author biography. Author biography. Author biography.
\endbio
\vskip3pc
\bio{figs/cas-pic1}
Author biography with author photo.
Author biography. Author biography. Author biography.
Author biography. Author biography. Author biography.
Author biography. Author biography. Author biography.
Author biography. Author biography. Author biography.
\endbio
\end{document}

View File

@@ -1,250 +0,0 @@
%%
%% Copyright 2019-2024 Elsevier Ltd
%%
%% This file is part of the 'CAS Bundle'.
%% --------------------------------------
%%
%% It may be distributed under the conditions of the LaTeX Project Public
%% License, either version 1.3c of this license or (at your option) any
%% later version. The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.3c or later is part of all distributions of LaTeX
%% version 1999/12/01 or later.
%%
%% The list of all files belonging to the 'CAS Bundle' is
%% given in the file `manifest.txt'.
%%
%% Template article for cas-sc documentclass for
%% double column output.
\documentclass[a4paper,fleqn]{cas-sc}
% If the frontmatter runs over more than one page
% use the longmktitle option.
%\documentclass[a4paper,fleqn,longmktitle]{cas-sc}
%\usepackage[numbers]{natbib}
%\usepackage[authoryear]{natbib}
\usepackage[authoryear,longnamesfirst]{natbib}
%%%Author macros
\def\tsc#1{\csdef{#1}{\textsc{\lowercase{#1}}\xspace}}
\tsc{WGM}
\tsc{QE}
%%%
% Uncomment and use as if needed
%\newtheorem{theorem}{Theorem}
%\newtheorem{lemma}[theorem]{Lemma}
%\newdefinition{rmk}{Remark}
%\newproof{pf}{Proof}
%\newproof{pot}{Proof of Theorem \ref{thm}}
\begin{document}
\let\WriteBookmarks\relax
\def\floatpagepagefraction{1}
\def\textpagefraction{.001}
% Short title
\shorttitle{}
% Short author
\shortauthors{}
% Main title of the paper
\title [mode = title]{}
% Title footnote mark
% eg: \tnotemark[1]
\tnotemark[1]
% Title footnote 1.
% eg: \tnotetext[1]{Title footnote text}
\tnotetext[1]{}
% First author
%
% Options: Use if required
% eg: \author[1,3]{Author Name}[type=editor,
% style=chinese,
% auid=000,
% bioid=1,
% prefix=Sir,
% orcid=0000-0000-0000-0000,
% facebook=<facebook id>,
% twitter=<twitter id>,
% linkedin=<linkedin id>,
% gplus=<gplus id>]
\author[1]{}%[<options>]
% Corresponding author indication
\cormark[1]
% Footnote of the first author
\fnmark[1]
% Email id of the first author
\ead{}
% URL of the first author
\ead[url]{}
% Credit authorship
% eg: \credit{Conceptualization of this study, Methodology, Software}
\credit{}
% Address/affiliation
\affiliation[1]{organization={},
addressline={},
city={},
% citysep={}, % Uncomment if no comma needed between city and postcode
postcode={},
state={},
country={}}
\author[2]{}%[]
% Footnote of the second author
\fnmark[2]
% Email id of the second author
\ead{}
% URL of the second author
\ead[url]{}
% Credit authorship
\credit{}
% Address/affiliation
\affiliation[2]{organization={},
addressline={},
city={},
% citysep={}, % Uncomment if no comma needed between city and postcode
postcode={},
state={},
country={}}
% Corresponding author text
\cortext[1]{Corresponding author}
% Footnote text
\fntext[1]{}
% For a title note without a number/mark
%\nonumnote{}
% Here goes the abstract
\begin{abstract}
Here goes the abstract \nocite{*}%% Remove this line from your manuscript.
\end{abstract}
% Use if graphical abstract is present
%\begin{graphicalabstract}
%\includegraphics{}
%\end{graphicalabstract}
% Research highlights
\begin{highlights}
\item
\item
\item
\end{highlights}
% Keywords
% Each keyword is seperated by \sep
\begin{keywords}
\sep \sep \sep
\end{keywords}
\maketitle
% Main text
\section{}\label{}
% Numbered list
% Use the style of numbering in square brackets.
% If nothing is used, default style will be taken.
%\begin{enumerate}[a)]
%\item
%\item
%\item
%\end{enumerate}
% Unnumbered list
%\begin{itemize}
%\item
%\item
%\item
%\end{itemize}
% Description list
%\begin{description}
%\item[]
%\item[]
%\item[]
%\end{description}
\clearpage %%Remove this from your manuscript
% Figure
\begin{figure}%[]
\centering
% \includegraphics{}
\caption{}\label{fig1}
\end{figure}
\begin{table}%[]
\caption{}\label{tbl1}
\begin{tabular*}{\tblwidth}{@{}LL@{}}
\toprule
& \\ % Table header row
\midrule
& \\
& \\
& \\
& \\
\bottomrule
\end{tabular*}
\end{table}
% Uncomment and use as the case may be
%\begin{theorem}
%\end{theorem}
% Uncomment and use as the case may be
%\begin{lemma}
%\end{lemma}
%% The Appendices part is started with the command \appendix;
%% appendix sections are then done as normal sections
%% \appendix
\section{}\label{}
% To print the credit authorship contribution details
\printcredits
%% Loading bibliography style file
%\bibliographystyle{model1-num-names}
\bibliographystyle{cas-model2-names}
% Loading bibliography database
\bibliography{cas-refs}
% Biography
%\bio{}
% Here goes the biography details.
%\endbio
%\bio{pic1}
% Here goes the biography details.
%\endbio
\end{document}

View File

@@ -1,189 +0,0 @@
%%
%% This is file `cas-dc.cls'.
%%
%% This file is part of the 'CAS Bundle'.
%% ......................................
%%
%% It may be distributed under the conditions of the LaTeX Project Public
%% License, either version 1.3c of this license or (at your option) any
%% later version. The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.3c or later is part of all distributions of LaTeX
%% version 1999/12/01 or later.
%%
%% The list of all files belonging to the 'CAS Bundle' is
%% given in the file `manifest.txt'.
%%
%% $Id: cas-sc.cls 96 2024-05-04 09:29:44Z rishi $
\def\RCSfile{cas-sc}%
\def\RCSversion{2.4}%
\def\RCSdate{2024/05/04}%
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesClass{\RCSfile}[\RCSdate, \RCSversion: Formatting class
for CAS single column articles]
%
\def\ABD{\AtBeginDocument}
%
% switches
%
\newif\iflongmktitle \longmktitlefalse
\newif\ifdc \global\dcfalse
\newif\ifsc \global\sctrue
\newif\ifcasreviewlayout \global\casreviewlayoutfalse
\newif\ifcasfinallayout \global\casfinallayoutfalse
\newcounter{blind}
\setcounter{blind}{0}
\def\blstr#1{\gdef\@blstr{#1}}
\def\@blstr{1}
\newdimen\@bls
\@bls=\baselineskip
\DeclareOption{singleblind}{\setcounter{blind}{1}}
\DeclareOption{doubleblind}{\setcounter{blind}{2}}
\DeclareOption{longmktitle}{\global\longmktitletrue}
\DeclareOption{final}{\global\casfinallayouttrue}
\DeclareOption{review}{\global\casreviewlayouttrue}
\ExecuteOptions{a4paper,10pt,oneside,fleqn}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
\ProcessOptions
\LoadClass{article}
\RequirePackage{graphicx}
\RequirePackage{amsmath,amsfonts,amssymb}
\allowdisplaybreaks
\RequirePackage{expl3,xparse}
\@ifundefined{regex_match:nnTF}{\RequirePackage{l3regex}}{}
\RequirePackage{etoolbox}
\RequirePackage{booktabs,makecell,multirow,array,colortbl,dcolumn,stfloats}
\RequirePackage{xspace,xstring,footmisc}
\RequirePackage[svgnames,dvipsnames]{xcolor}
\ifbool{casreviewlayout}{\RequirePackage{setspace}}{}
\RequirePackage[colorlinks]{hyperref}
\colorlet{scolor}{black}
\colorlet{hscolor}{DarkSlateGrey}
\hypersetup{%
pdfcreator={LaTeX3; cas-sc.cls; hyperref.sty},
pdfproducer={pdfTeX;},
linkcolor={hscolor},
urlcolor={hscolor},
citecolor={hscolor},
filecolor={hscolor},
menucolor={hscolor},
}
% \AtEndDocument{\hypersetup
% {pdftitle={\csuse{__short_title:}},
% pdfauthor={\csuse{__short_authors:}}}}
\let\comma\@empty
\let\tnotesep\@empty
\let\@title\@empty
%
% Load Common items
%
\RequirePackage{cas-common}
%
% Specific to Single Column
%
\ExplSyntaxOn
\RenewDocumentCommand \maketitle {}
{
\ifbool { usecasgrabsbox }
{
\setcounter{page}{0}
\thispagestyle{empty}
\unvbox\casgrabsbox
} { }
\pagebreak
\ifbool { usecashlsbox }
{
\setcounter{page}{0}
\thispagestyle{empty}
\unvbox\casauhlbox
} { }
\pagebreak
\thispagestyle{first}
\ifbool{longmktitle}
{
\ifnum\theblind>0\relax
\LongMaketitleBox[blind]
\else
\LongMaketitleBox
\fi
\ProcessLongTitleBox
}
{
\ifnum\theblind>0\relax
\MaketitleBox[blind]
\else
\MaketitleBox
\fi
\printFirstPageNotes
}
\normalcolor \normalfont
\setcounter{footnote}{\int_use:N \g_stm_fnote_int}
\renewcommand\thefootnote{\arabic{footnote}}
\gdef\@pdfauthor{\infoauthors}
\gdef\@pdfsubject{Complex ~STM ~Content}
\ifbool{casreviewlayout}{\doublespacing}{}
}
%
% Fonts
%
\RequirePackage[T1]{fontenc}
\file_if_exist:nTF { stix.sty }
{
\file_if_exist:nTF { charis.sty }
{
\RequirePackage[notext]{stix}
\RequirePackage{charis}
}
{ \RequirePackage{stix} }
}
{
\iow_term:x { *********************************************************** }
\iow_term:x { ~Stix ~ and ~ Charis~ fonts ~ are ~ not ~ available ~ }
\iow_term:x { ~ in ~TeX~system.~Hence~CMR~ fonts~ are ~ used. }
\iow_term:x { *********************************************************** }
}
\file_if_exist:nTF { inconsolata }
{ \RequirePackage[scaled=.85]{inconsolata} }
{ \tex_gdef:D \ttdefault { cmtt } }
\ExplSyntaxOff
%
% Page geometry
%
\usepackage[%
paperwidth=192mm,
paperheight=262mm,
% vmargin={12.4mm,11.5mm},
vmargin={19mm,19mm},
hmargin={13.7mm,13.7mm},
headsep=12pt,
footskip=12pt,
]{geometry}
\endinput
%
% End of class 'cas-sc'
%

View File

@@ -1,638 +0,0 @@
%%
%% Copyright 2019-2021 Elsevier Ltd
%%
%% This file is part of the 'CAS Bundle'.
%% ---------------------------------------------
%%
%% It may be distributed under the conditions of the LaTeX Project Public
%% License, either version 1.3c of this license or (at your option) any
%% later version. The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.3c or later is part of all distributions of LaTeX
%% version 1999/12/01 or later.
%%
%% The list of all files belonging to the 'CAS Bundle' is
%% given in the file `manifest.txt'.
%%
%% $Id: elsdoc-cas.tex 76 2021-05-12 14:42:29Z rishi $
%%
\documentclass[a4paper,12pt]{article}
\input{glyphtounicode}
\pdfgentounicode=1
\usepackage[xcolor,qtwo]{rvdtx}
\usepackage{multicol}
\usepackage{color}
\usepackage{xspace}
\usepackage{pdfwidgets}
\usepackage{enumerate}
\def\ttdefault{cmtt}
\headsep4pc
\makeatletter
\def\bs{\expandafter\@gobble\string\\}
\def\lb{\expandafter\@gobble\string\{}
\def\rb{\expandafter\@gobble\string\}}
\def\@pdfauthor{C.V.Radhakrishnan}
\def\@pdftitle{CAS templates: A documentation}
\def\@pdfsubject{Document formatting with CAS template}
\def\@pdfkeywords{LaTeX, Elsevier Ltd, document class}
\def\file#1{\textsf{#1}\xspace}
%\def\LastPage{19}
\DeclareRobustCommand{\LaTeX}{L\kern-.26em%
{\sbox\z@ T%
\vbox to\ht\z@{\hbox{\check@mathfonts
\fontsize\sf@size\z@
\math@fontsfalse\selectfont
A\,}%
\vss}%
}%
\kern-.15em%
\TeX}
\makeatother
\def\figurename{Clip}
\setcounter{tocdepth}{1}
\AtBeginDocument{
\setcounter{topnumber}{2}
\setcounter{bottomnumber}{2}
\setcounter{totalnumber}{4}
\renewcommand{\topfraction}{0.85}
\renewcommand{\bottomfraction}{0.85}
\renewcommand{\textfraction}{0.15}
\renewcommand{\floatpagefraction}{0.7}
}
\begin{document}
\def\testa{This is a specimen document. }
\def\testc{\testa\testa\testa\testa}
\def\testb{\testc\testc\testc\testc\testc}
\long\def\test{\testb\par\testb\par\testb\par}
\pinclude{\copy\contbox\printSq{\LastPage}}
\title{Documentation for Elsevier's CAS \LaTeX\ template}
\author{Elsevier Ltd}
\contact{elsarticle@stmdocs.in}
\version{2.3}
\date{\today}
\maketitle
\section{Introduction}
This bundle provides two classfiles, namely \verb+cas-sc.cls+ and
\verb+cas-dc.cls+ and corresponding template files for typesetting
journal articles supposed to go through Elsevier's updated workflow.
\verb+cas-sc.cls+ is meant for one-column, the other
\verb+cas-dc.cls+ for two-column layout. These are now accepted for
submitting articles both in Elsevier's electronic submission system and
elsewhere.
\subsection{Usage}
\begin{enumerate}
\item \verb+cas-sc.cls+ for single column journals.
\begin{vquote}
\documentclass[<options>]{cas-sc}
\end{vquote}
\item \verb+cas-dc.cls+ for single column journals.
\begin{vquote}
\documentclass[<options>]{cas-dc}
\end{vquote}
\end{enumerate}
and have an option \verb+longmktitle+ to handle long front matter.
\section{Front matter}
\begin{vquote}
\title [mode = title]{This is a specimen $a_b$ title}
\tnotemark[1,2]
\tnotetext[1]{This document is the results of the research
project funded by the National Science Foundation.}
\tnotetext[2]{The second title footnote which is a longer text
matter to fill through the whole text width and overflow
into another line in the footnotes area of the first page.}
\end{vquote}
\begin{vquote}
\author[1,3]{J.K. Krishnan}[type=editor,
auid=000,bioid=1,
prefix=Sir,
role=Researcher,
orcid=0000-0001-0000-0000]
\cormark[1]
\fnmark[1]
\ead{jkk@example.in}
\ead[url]{www.jkkrishnan.in}
\credit{Conceptualization of this study,
Methodology, Software}
\affiliation[1]{organization={Department of Physics,
J.K. Institute of Science},
addressline={Jawahar Nagar},
city={Trivandrum},
% citysep={}, % Uncomment if no comma needed
% between city and postcode
postcode={695013},
state={Kerala},
country={India}}
\author[2,4]{Han Thane}[style=chinese]
\author[2,3]{William {J. Hansen}}[%
role=Co-ordinator,
suffix=Jr,
]
\fnmark[2]
\ead{wjh@example.org}
\ead[URL]{https://www.university.org}
\credit{Data curation, Writing - Original draft preparation}
\end{vquote}
\begin{vquote}
\affiliation[2]{organization={World Scientific University},
addressline={Street 29},
postcode={1011 NX},
postcodesep={},
city={Amsterdam},
country={The Netherlands}}
\author[1,3]{T. Rafeeq}
\cormark[2]
\fnmark[1,3]
\ead{t.rafeeq@example.in}
\ead[URL]{www.campus.in}
\affiliation[3]{organization={University of Intelligent
Studies},
addressline={Street 15},
city={Jabaldesh},
postcode={825001},
state={Orissa},
country={India}}
\cortext[cor1]{Corresponding author}
\cortext[cor2]{Principal corresponding author}
\fntext[fn1]{This is the first author footnote, but is common
to third author as well.}
\fntext[fn2]{Another author footnote, this is a very long
footnote and it should be a really long footnote. But this
footnote is not yet sufficiently long enough to make two
lines of footnote text.}
\nonumnote{This note has no numbers. In this work we
demonstrate $a_b$ the formation Y\_1 of a new type of
polariton on the interface between a cuprous oxide slab
and a polystyrene micro-sphere placed on the slab.
}
\end{vquote}
\begin{vquote}
\begin{abstract}[S U M M A R Y]
This template helps you to create a properly formatted
\LaTeX\ manuscript.
\begin{abstract} ... \end{abstract} and \begin{keyword}
... \end{keyword} which contain the abstract and keywords
respectively. Each keyword shall be separated by
a \sep command.
\end{abstract}
\begin{keywords}
quadrupole exciton \sep polariton \sep WGM \sep BEC
\end{keywords}
\maketitle
\end{vquote}
\subsection{Title}
\verb+\title+ command have the below options:
\begin{enumerate}
\item \verb+title:+ Document title
\item \verb+alt:+ Alternate title
\item \verb+sub:+ Sub title
\item \verb+trans:+ Translated title
\item \verb+transsub:+ Translated sub title
\end{enumerate}
\begin{vquote}
\title[mode=title]{This is a title}
\title[mode=alt]{This is a alternate title}
\title[mode=sub]{This is a sub title}
\title[mode=trans]{This is a translated title}
\title[mode=transsub]{This is a translated sub title}
\end{vquote}
\subsection{Author}
\verb+\author+ command have the below options:
\begin{enumerate}
\item \verb+auid:+ Author id
\item \verb+bioid:+ Biography id
\item \verb+alt:+ Alternate author
\item \verb+style:+ Style of author name, eg.\ chinese
\item \verb+prefix:+ Prefix, eg.\ Sir
\item \verb+suffix:+ Suffix
\item \verb+degree:+ Degree
\item \verb+role:+ Role
\item \verb+orcid:+ ORCID
\item \verb+collab:+ Collaboration
\item \verb+anon:+ Anonymous author
\item \verb+deceased:+ Deceased author
\item \verb+twitter:+ Twitter account
\item \verb+facebook:+ Facebook account
\item \verb+linkedin:+ LinkedIn account
\item \verb+plus:+ Google plus account
\item \verb+gplus:+ Google plus account
\end{enumerate}
\begin{vquote}
\author[1,3]{Author Name}[type=editor,
auid=000,bioid=1,
prefix=Sir,
role=Researcher,
orcid=0000-0001-0000-0000,
facebook=<facebook id>,
twitter=<twitter id>,
linkedin=<linkedin id>,
gplus=<gplus id>]
\end{vquote}
\begin{figure}
\includegraphics[width=\textwidth]{sc-sample.pdf}
\caption{Single column output (classfile: cas-sc.cls).}
\end{figure}
\begin{figure}
\includegraphics[width=\textwidth]{dc-sample.pdf}
\caption{Double column output (classfile: cas-dc.cls).}
\end{figure}
\subsection{Various Marks in the Front Matter}
The front matter becomes complicated due to various kinds
of notes and marks to the title and author names. Marks in
the title will be denoted by a star ($\star$) mark;
footnotes are denoted by super scripted Arabic numerals,
corresponding author by an Conformal asterisk (*) mark.
\subsubsection{Title marks}
Title mark can be entered by the command, \verb+\tnotemark[<num>]+
and the corresponding text can be entered with the command
\verb+\tnotetext[<num>]+ \verb+{<text>}+. An example will be:
\begin{vquote}
\title[mode=title]{Leveraging social media news to predict
stock index movement using RNN-boost}
\tnotemark[1,2]
\tnotetext[1]{This document is the results of the research
project funded by the National Science Foundation.}
\tnotetext[2]{The second title footnote which is a longer
text matter to fill through the whole text width and
overflow into another line in the footnotes area of
the first page.}
\end{vquote}
\verb+\tnotemark+ and \verb+\tnotetext+ can be anywhere in
the front matter, but should be before \verb+\maketitle+ command.
\subsubsection{Author marks}
Author names can have many kinds of marks and notes:
\begin{vquote}
footnote mark : \fnmark[<num>]
footnote text : \fntext[<num>]{<text>}
affiliation mark : \author[<num>]
email : \ead{<emailid>}
url : \ead[url]{<url>}
corresponding author mark : \cormark[<num>]
corresponding author text : \cortext[<num>]{<text>}
\end{vquote}
\subsubsection{Other marks}
At times, authors want footnotes which leave no marks in
the author names. The note text shall be listed as part of
the front matter notes. Class files provides
\verb+\nonumnote+ for this purpose. The usage
\begin{vquote}
\nonumnote{<text>}
\end{vquote}
\noindent and should be entered anywhere before the \verb+\maketitle+
command for this to take effect.
\subsection{Abstract and Keywords}
Abstract shall be entered in an environment that starts
with\break \verb+\begin{abstract}+ and ends with
\verb+\end{abstract}+. Longer abstracts spanning more than
one page is also possible in slass file even in double
column mode. We need to invoke \verb+longmktitle+ option in the
class loading line for this to happen smoothly.
The key words are enclosed in a \verb+{keyword}+
environment.
\begin{vquote}
\begin{abstract}
This is an abstract. \lipsum[3]
\end{abstract}
\begin{keywords}
First keyword \sep Second keyword \sep Third
keyword \sep Fourth keyword
\end{keywords}
\end{vquote}
\section{Main Matter}
Main matter contains sections, paragraphs, equations and floats like
tables, figures, textboxes etc.
\subsection{Tables}
\subsubsection{Normal tables}
\begin{vquote}
\begin{table}
\caption{This is a test caption.}
\begin{tabular*}{\tblwidth}{@{} LLLL@{} }
\toprule
Col 1 & Col 2\\
\midrule
12345 & 12345\\
12345 & 12345\\
12345 & 12345\\
12345 & 12345\\
12345 & 12345\\
12345 & 12345\\
\bottomrule
\end{tabular*}
\end{table}
\end{vquote}
\subsubsection{Span tables}
\begin{vquote}
\begin{table*}[width=.9\textwidth,cols=4,pos=h]
\caption{This is a test caption.}
\begin{tabular*}{\tblwidth}{@{} LLLLLL@{} }
\toprule
Col 1 & Col 2 & Col 3 & Col4 & Col5 & Col6 & Col7\\
\midrule
12345 & 12345 & 123 & 12345 & 123 & 12345 & 123 \\
12345 & 12345 & 123 & 12345 & 123 & 12345 & 123 \\
12345 & 12345 & 123 & 12345 & 123 & 12345 & 123 \\
12345 & 12345 & 123 & 12345 & 123 & 12345 & 123 \\
12345 & 12345 & 123 & 12345 & 123 & 12345 & 123 \\
12345 & 12345 & 123 & 12345 & 123 & 12345 & 123 \\
12345 & 12345 & 123 & 12345 & 123 & 12345 & 123 \\
\bottomrule
\end{tabular*}
\end{table*}
\end{vquote}
\subsection{Figures}
\subsubsection{Normal figures}
\begin{vquote}
\begin{figure}
\centering
\includegraphics[scale=.75]{Fig1.pdf}
\caption{The evanescent light - $1S$ quadrupole coupling.
See also Fig. \protect\ref{FIG:2}).}
\label{FIG:1}
\end{figure}
\end{vquote}
\subsubsection{Span figures}
\begin{vquote}
\begin{figure*}
\centering
\includegraphics[width=\textwidth,height=2in]{Fig2.pdf}
\caption{Schematic of formation of the evanescent polariton on
linear chain of \PMS.}
\label{FIG:2}
\end{figure*}\end{vquote}
\subsection{Theorem and theorem like environments}
CAS class file provides a few hooks to format theorems and
theorem like environments with ease. All commands the
options that are used with \verb+\newtheorem+ command will work
exactly in the same manner. Class file provides three
commands to format theorem or theorem like environments:
\begin{enumerate}
\item \verb+\newtheorem+ command formats a theorem in
\LaTeX's default style with italicized font for theorem
statement, bold weight for theorem heading and theorem
number typeset at the right of theorem heading. It also
optionally accepts an argument which will be printed as an
extra heading in parentheses. Here is an example coding and
output:
\begin{vquote}
\newtheorem{theorem}{Theorem}
\begin{theorem}\label{thm}
The \WGM evanescent field penetration depth into the
cuprous oxide adjacent crystal is much larger than the
\QE radius:
\begin{equation*}
\lambda_{1S}/2 \pi \left({\epsilon_{Cu2O}-1}
\right)^{1/2} = 414 \mbox{ \AA} \gg a_B = 4.6
\mbox{ \AA}
\end{equation*}
\end{theorem}
\end{vquote}
\item \verb+\newdefinition+ command does exactly the same
thing as with except that the body font is up-shape instead
of italic. See the example below:
\begin{vquote}
\newdefinition{definition}{Definition}
\begin{definition}
The bulk and evanescent polaritons in cuprous oxide
are formed through the quadrupole part of the light-matter
interaction:
\begin{equation*}
H_{int} = \frac{i e }{m \omega_{1S}} {\bf E}_{i,s}
\cdot {\bf p}
\end{equation*}
\end{definition}
\end{vquote}
\item \verb+\newproof+ command helps to define proof and
custom proof environments without counters as provided in
the example code. Given below is an example of proof of
theorem kind.
\begin{vquote}
\newproof{pot}{Proof of Theorem \ref{thm}}
\begin{pot}
The photon part of the polariton trapped inside the \PMS
moves as it would move in a micro-cavity of the effective
modal volume $V \ll 4 \pi r_{0}^{3} /3$. Consequently, it
can escape through the evanescent field. This evanescent
field essentially has a quantum origin and is due to
tunneling through the potential caused by dielectric
mismatch on the \PMS surface. Therefore, we define the
\emph{evanescent} polariton (\EP) as an evanescent light -
\QE coherent superposition.
\end{pot}
\end{vquote}
\end{enumerate}
\subsection{Enumerated and Itemized Lists}
CAS class files provides an extended list processing macros
which makes the usage a bit more user friendly than the
default LaTeX list macros. With an optional argument to the
\verb+\begin{enumerate}+ command, you can change the list
counter type and its attributes. You can see the coding and
typeset copy.
\begin{vquote}
\begin{enumerate}[1.]
\item The enumerate environment starts with an optional
argument `1.' so that the item counter will be suffixed
by a period as in the optional argument.
\item If you provide a closing parenthesis to the number in the
optional argument, the output will have closing
parenthesis for all the item counters.
\item You can use `(a)' for alphabetical counter and `(i)' for
roman counter.
\begin{enumerate}[a)]
\item Another level of list with alphabetical counter.
\item One more item before we start another.
\begin{enumerate}[(i)]
\item This item has roman numeral counter.
\end{vquote}
\begin{vquote}
\item Another one before we close the third level.
\end{enumerate}
\item Third item in second level.
\end{enumerate}
\item All list items conclude with this step.
\end{enumerate}
\section{Biography}
\verb+\bio+ command have the below options:
\begin{enumerate}
\item \verb+width:+ Width of the author photo (default is 1in).
\item \verb+pos:+ Position of author photo.
\end{enumerate}
\begin{vquote}
\bio[width=10mm,pos=l]{tuglogo.jpg}
\textbf{Another Biography:}
Recent experimental \cite{HARA:2005} and theoretical
\cite{DEYCH:2006} studies have shown that the \WGM can travel
along the chain as "heavy photons". Therefore the \WGM
acquires the spatial dispersion, and the evanescent
quadrupole polariton has the form (See Fig.\ref{FIG:3}):
\endbio
\end{vquote}
\section[CRediT...]{CRediT authorship contribution statement}
Give the authorship contribution after each author as
\begin{vquote}
\credit{Conceptualization of this study, Methodology,
Software}
\end{vquote}
To print the details use \verb+\printcredits+
\begin{vquote}
\author[1,3]{J.K. Krishnan}[type=editor,
auid=000,bioid=1,
prefix=Sir,
role=Researcher,
orcid=0000-0001-0000-0000]
\end{vquote}
\begin{vquote}
\cormark[1]
\fnmark[1]
\ead{jkk@example.in}
\ead[url]{www.jkkrishnan.in}
\credit{Conceptualization of this study, Methodology, Software}
\affiliation[1]{organization={Department of Physics,
J.K. Institute of Science},
addressline={Jawahar Nagar},
city={Trivandrum},
% citysep={}, % Uncomment if no comma needed
% between city and postcode
postcode={695013},
state={Kerala},
country={India}}
\author[2,4]{Han Thane}[style=chinese]
\author[2,3]{William {J. Hansen}}[%
role=Co-ordinator,
suffix=Jr,
]
\fnmark[2]
\ead{wjh@example.org}
\ead[URL]{https://www.university.org}
\credit{Data curation, Writing - Original draft preparation}
. . .
. . .
. . .
\printcredits
\end{vquote}
\section{Bibliography}
For CAS categories, two reference models are recommended.
They are \file{model1-num-names.bst} and \file{cas-model2-names.bst}.
Former will format the reference list and their citations according to
numbered scheme whereas the latter will format according name-date or
author-year style. Authors are requested to choose any one of these
according to the journal style. You may download these from
The above bsts are available in the following location for you to
download:
\url{https://support.stmdocs.in/wiki/index.php?title=Model-wise_bibliographic_style_files}
\hfill $\Box$
\end{document}

File diff suppressed because it is too large Load Diff

View File

@@ -1,36 +0,0 @@
# $Id: makefile 37 2020-02-25 09:06:02Z rishi $
file=elsdoc-cas
all: pdf out
make pdf
make pdf
out:
if [ -f $(file).out ] ; then cp $(file).out tmp.out; fi ;
sed 's/BOOKMARK/dtxmark/g;' tmp.out > x.out; mv x.out tmp.out ;
pdf:
pdflatex $(file).tex
index:
makeindex -s gind.ist -o $(file).ind $(file).idx
changes:
makeindex -s gglo.ist -o $(file).gls $(file).glo
xview:
xpdf -z 200 $(file).pdf &>/dev/null
view:
open -a 'Adobe Reader.app' $(file).pdf
ins:
latex $(file).ins
diff:
diff $(file).sty ../$(file).sty |less
copy:
cp $(file).sty ../

View File

@@ -1,384 +0,0 @@
%%
%% pdfwidgets.sty
%%
%% $Id: pdfwidgets.sty,v 1.2 2007-10-22 09:45:17 cvr Exp $
%%
%% (c) C. V. Radhakrishnan <cvr@river-valley.org>
%%
%% This package may be distributed under the terms of the LaTeX Project
%% Public License, as described in lppl.txt in the base LaTeX distribution.
%% Either version 1.0 or, at your option, any later version.
%%
%\RequirePackage[oldstyle]{minion}
%\RequirePackage[scaled=.8]{prima}
%\RequirePackage[scaled=.9]{lfr}
\usepackage[dvipsnames,svgnames]{xcolor}
\RequirePackage{graphicx}
\RequirePackage{tikz}
\usetikzlibrary{backgrounds}
%\def\thesection{\ifnum\c@section<10
% \protect\phantom{0}\fi\arabic{section}}
\newdimen\lmrgn
\def\rulecolor{orange}
\def\rulewidth{1pt}
\pgfdeclareshape{filledbox}{%
\inheritsavedanchors[from=rectangle] % this is nearly a rectangle
\inheritanchorborder[from=rectangle]
\inheritanchor[from=rectangle]{center}
\inheritanchor[from=rectangle]{north}
\inheritanchor[from=rectangle]{south}
\inheritanchor[from=rectangle]{west}
\inheritanchor[from=rectangle]{east}
% ... and possibly more
\backgroundpath{% this is new
% store lower right in xa/ya and upper right in xb/yb
\southwest \pgf@xa=\pgf@x \pgf@ya=\pgf@y
\northeast \pgf@xb=\pgf@x \pgf@yb=\pgf@y
% compute corner of ``flipped page''
\pgf@xc=\pgf@xb \advance\pgf@xc by-5pt % this should be a parameter
\pgf@yc=\pgf@yb \advance\pgf@yc by-5pt
% construct main path
\pgfsetlinewidth{\rulewidth}
\pgfsetstrokecolor{\rulecolor}
\pgfpathmoveto{\pgfpoint{\pgf@xa}{\pgf@ya}}
\pgfsetcornersarced{\pgfpoint{9pt}{9pt}}
\pgfpathlineto{\pgfpoint{\pgf@xa}{\pgf@yb}}
% \pgfsetcornersarced{\pgforigin}
\pgfsetcornersarced{\pgfpoint{9pt}{9pt}}
\pgfpathlineto{\pgfpoint{\pgf@xb}{\pgf@yb}}
\pgfsetcornersarced{\pgfpoint{9pt}{9pt}}
\pgfpathlineto{\pgfpoint{\pgf@xb}{\pgf@ya}}
\pgfsetcornersarced{\pgforigin}
\pgfpathclose ;
% \draw(\pgf@xa,\pgf@ya) -- (\pgf@xa,\pgf@yb) ;
}%
}
\pgfdeclareshape{roundedbox}{%
\inheritsavedanchors[from=rectangle] % this is nearly a rectangle
\inheritanchorborder[from=rectangle]
\inheritanchor[from=rectangle]{center}
\inheritanchor[from=rectangle]{north}
\inheritanchor[from=rectangle]{south}
\inheritanchor[from=rectangle]{west}
\inheritanchor[from=rectangle]{east}
% ... and possibly more
\backgroundpath{% this is new
% store lower right in xa/ya and upper right in xb/yb
\southwest \pgf@xa=\pgf@x \pgf@ya=\pgf@y
\northeast \pgf@xb=\pgf@x \pgf@yb=\pgf@y
% compute corner of ``flipped page''
\pgf@xc=\pgf@xb \advance\pgf@xc by-5pt % this should be a parameter
\pgf@yc=\pgf@yb \advance\pgf@yc by-5pt
% construct main path
\pgfsetlinewidth{\rulewidth}
\pgfsetstrokecolor{\rulecolor}
\pgfpathmoveto{\pgfpoint{\pgf@xa}{\pgf@ya}}
\pgfsetcornersarced{\pgfpoint{4pt}{4pt}}
\pgfpathlineto{\pgfpoint{\pgf@xa}{\pgf@yb}}
% \pgfsetcornersarced{\pgforigin}
\pgfsetcornersarced{\pgfpoint{4pt}{4pt}}
\pgfpathlineto{\pgfpoint{\pgf@xb}{\pgf@yb}}
\pgfsetcornersarced{\pgfpoint{4pt}{4pt}}
\pgfpathlineto{\pgfpoint{\pgf@xb}{\pgf@ya}}
% \pgfsetcornersarced{\pgforigin}
\pgfsetcornersarced{\pgfpoint{4pt}{4pt}}
\pgfpathclose ;
% \draw(\pgf@xa,\pgf@ya) -- (\pgf@xa,\pgf@yb) ;
}%
}
\pgfdeclareshape{buttonbox}{%
\inheritsavedanchors[from=rectangle] % this is nearly a rectangle
\inheritanchorborder[from=rectangle]
\inheritanchor[from=rectangle]{center}
\inheritanchor[from=rectangle]{north}
\inheritanchor[from=rectangle]{south}
\inheritanchor[from=rectangle]{west}
\inheritanchor[from=rectangle]{east}
% ... and possibly more
\backgroundpath{% this is new
% store lower right in xa/ya and upper right in xb/yb
\southwest \pgf@xa=\pgf@x \pgf@ya=\pgf@y
\northeast \pgf@xb=\pgf@x \pgf@yb=\pgf@y
% compute corner of ``flipped page''
\pgf@xc=\pgf@xb \advance\pgf@xc by-5pt % this should be a parameter
\pgf@yc=\pgf@yb \advance\pgf@yc by-5pt
% construct main path
\pgfsetlinewidth{1pt}
\pgfsetstrokecolor{blue!10}
\pgfpathmoveto{\pgfpoint{\pgf@xa}{\pgf@ya}}
\pgfsetcornersarced{\pgfpoint{4pt}{4pt}}
\pgfpathlineto{\pgfpoint{\pgf@xa}{\pgf@yb}}
% \pgfsetcornersarced{\pgforigin}
\pgfsetcornersarced{\pgfpoint{4pt}{4pt}}
\pgfpathlineto{\pgfpoint{\pgf@xb}{\pgf@yb}}
\pgfsetcornersarced{\pgforigin}
% \pgfsetcornersarced{\pgfpoint{9pt}{9pt}}
\pgfpathlineto{\pgfpoint{\pgf@xb}{\pgf@ya}}
\pgfsetcornersarced{\pgforigin}
\pgfpathclose ;
% \draw(\pgf@xa,\pgf@ya) -- (\pgf@xa,\pgf@yb) ;
}%
}
\pgfdeclareshape{quotedbox}{%
\inheritsavedanchors[from=rectangle] % this is nearly a rectangle
\inheritanchorborder[from=rectangle]
\inheritanchor[from=rectangle]{center}
\inheritanchor[from=rectangle]{north}
\inheritanchor[from=rectangle]{south}
\inheritanchor[from=rectangle]{west}
\inheritanchor[from=rectangle]{east}
% ... and possibly more
\backgroundpath{% this is new
% store lower right in xa/ya and upper right in xb/yb
\southwest \pgf@xa=\pgf@x \pgf@ya=\pgf@y
\northeast \pgf@xb=\pgf@x \pgf@yb=\pgf@y
% compute corner of ``flipped page''
\pgf@xc=\pgf@xb \advance\pgf@xc by-5pt % this should be a parameter
\pgf@yc=\pgf@yb \advance\pgf@yc by-5pt
% construct main path
\pgfsetlinewidth{\rulewidth}
\pgfsetstrokecolor{\rulecolor}
\pgfpathmoveto{\pgfpoint{\pgf@xa}{\pgf@ya}}
\pgfsetcornersarced{\pgfpoint{9pt}{9pt}}
\pgfpathlineto{\pgfpoint{\pgf@xa}{\pgf@yb}}
\pgfsetcornersarced{\pgforigin}
% \pgfsetcornersarced{\pgfpoint{4pt}{4pt}}
\pgfpathlineto{\pgfpoint{\pgf@xb}{\pgf@yb}}
\pgfsetcornersarced{\pgforigin}
% \pgfsetcornersarced{\pgfpoint{9pt}{9pt}}
\pgfpathlineto{\pgfpoint{\pgf@xb}{\pgf@ya}}
\pgfsetcornersarced{\pgforigin}
\pgfpathclose ;
% \draw(\pgf@xa,\pgf@ya) -- (\pgf@xa,\pgf@yb) ;
}%
}
\newcounter{clip}
\newdimen\mywidth
\mywidth=\linewidth
\def\src#1{\gdef\@src{#1}}\let\@src\@empty
\def\includeclip{\@ifnextchar[{\@includeclip}{\@includeclip[]}}
\def\@includeclip[#1]#2#3#4{\par
% \vskip.75\baselineskip plus 3pt minus 1pt
\computeLinewidth{\mywidth}%
\begingroup\color{white}%
\noindent%
\begin{tikzpicture}
%\node[fill=black!10,draw,shape=filledbox,
\node[fill=black!10,%
draw,
shade,%
top color=blue!10,
bottom color=cyan!5,
shape=filledbox,
inner sep=\Sep,
text width=\Linewidth] (x)
{\parbox{\Linewidth}
{\ifx\@src\@empty\else\refstepcounter{clip}\label{clip\theclip}%
{\par\vskip6pt\color{orange}\sffamily\small
~Clip \theclip:\space\@src.}%
\par\vskip3pt\fi\normalcolor
\includegraphics[width=\Linewidth,page={#2},%
viewport={#3},clip=true,#1]{#4}}
\hspace*{-10pt}};
\end{tikzpicture}
\endgroup
% \par\vskip.5\baselineskip
% plus 3pt minus 1pt
}
%%
%% include clippings from a pdf document:
%% #1 => Optional argument for \includegraphics
%% #2 => page number
%% #3 => co-ordinates
%% #4 => file name
\newenvironment{quoted}{%\bigskip
\computeLinewidth{.95\linewidth}%
\global\setbox0=\hbox\bgroup
\begin{minipage}{.95\linewidth}\color{brown}%
\footnotesize\ttfamily\obeyspaces\obeylines}
{\end{minipage}\egroup
\vskip12pt plus 3pt minus 3pt\noindent\begin{tikzpicture}
\node[fill=blue!10,draw,shade,top color=orange!10,
bottom color=white,shape=filledbox,
inner sep=8pt,text width=\Linewidth] (x) {\box0} ;
\end{tikzpicture}%
\vskip12pt plus 3pt minus 3pt}
\newdimen\Linewidth
\newdimen\Sep
\def\computeLinewidth#1{\global\setlength\Linewidth{#1}%
\global\addtolength{\Linewidth}{-2\Sep}}
\newdimen\npskip
\npskip=0mm
\long\def\NavigationPanel{%
\global\setbox0=\hbox\bgroup
\begin{minipage}[t][.8125\panelheight][t]{.9\panelwidth}\color{brown}%
%\centering
\ifx\@pinclude\empty\relax\par\vfill\else
\@pinclude\fi
%River Valley Technologies
\end{minipage}\egroup
\Sep=.5cm
\@tempdima=\panelwidth
\advance\@tempdima-1cm
\computeLinewidth{\@tempdima}%
\def\rulewidth{.2pt}%
\noindent\begin{tikzpicture}
\node[fill=blue!10,draw,shade,bottom color=brown!30,
top color=white,shape=filledbox,
inner sep=\the\Sep,text width=\Linewidth] (x)
{\hspace*{\npskip}\box0} ;
\end{tikzpicture}%
\vspace*{.0125\panelheight}
}
\long\def\pinclude#1{\gdef\@pinclude{#1}}
\let\@pinclude\empty
\def\Strut{\vrule depth 2pt height 10pt width 0pt}
\def\pdfButton#1#2{\begin{tikzpicture}
\node[fill=blue!10,draw,shade,top color=blue!50,
bottom color=white,shape=buttonbox,
inner sep=2pt,text width=#1](x)
{\parbox{#1}{\centering\Strut#2}}; \end{tikzpicture}}
\def\vpanel{\def\@linkcolor{blue}%
\def\@urlcolor{blue}%
\def\@menucolor{blue}%
\begin{minipage}[t][\vpanelheight][c]{\paperwidth}%
\normalsfcodes%
\hspace*{.25cm}
\begin{minipage}[c][\vpanelheight][c]{17cm}
\parbox[c][27mm][b]{15mm}%
% {\includegraphics[width=15mm]{logo4.pdf}}\hfill%\hspace{1cm}
{\def\rulecolor{Goldenrod}%
\def\rulewidth{1pt}%
\begin{tikzpicture}%
%\node[fill=black!10,draw,shape=filledbox,
\node[fill=white!10,%
draw,
% shade,%
% top color=blue!10,
% bottom color=white,
shape=roundedbox,
inner sep=2mm,
text width=13mm] (x)
{\includegraphics[width=13mm]{els-logo.pdf}};
\end{tikzpicture}}\hfill
%
\parbox[c][24mm][b]{145mm}%
{{\fontsize{30}{30}\selectfont\textsf{\color{white}elsarticle.cls}}
\quad{\fontsize{14}{14}\selectfont\sffamily\color{blue!50}
A better way to format your submission}}
\end{minipage}
\hfill
\begin{minipage}[c][\vpanelheight][b]{7.9cm}
\sffamily\footnotesize
\pdfButton{2cm}{\href{mailto:elsarticle@river-valley.com}{BUGS}}
\pdfButton{2cm}{\href{http://support.river-valley.com}{SUPPORT}}
\pdfButton{2cm}%
{\href{http://www.elsevier.com/locate/latex}%
{RESOURCES}}
% \pdfButton{2cm}{\Acrobatmenu{GoToPage}{GoTo}}
\end{minipage}\\
\rule{\paperwidth}{0.1pt}
\end{minipage}%
}
\@ifundefined{backgroundcolor}%
{\def\backgroundcolor#1{\gdef\@backgroundcolor{#1}}}{}
\colorlet{panelbackground}{orange!10}
\backgroundcolor{orange!10}
\def\@urlcolor{brown}
\def\@linkcolor{brown}
\def\@menucolor{brown}
\RequirePackage{moreverb}
\newenvironment{vquote}%
{\medskip
\verbatimwrite{tmp.tex}}
{\endverbatimwrite
\aftergroup\printBox}
\def\printBox{\bgroup\def\rulecolor{orange}%
\def\rulewidth{.2pt}%
\noindent\begin{tikzpicture}
\node[fill=blue!10,draw,shade,top color=white!10,
bottom color=cyan!5,shape=quotedbox,
inner sep=8pt,text width=.95\linewidth]
{\color{orange}\vspace*{-1pc}%
\verbatiminput{tmp.tex}%
\vspace*{-\baselineskip}%
} ;
\end{tikzpicture}%
\egroup
\medskip
}
\def\red{\color{Sepia}}
\def\verbatim@font{\red\normalfont\ttfamily}
\def\verbatimcontinuewrite{%
\@bsphack
% \verbatim@out=#1
\let\do\@makeother\dospecials
\obeyspaces\catcode`\^^M\active \catcode`\^^I=12
\def\verbatim@processline{%
\immediate\write\verbatim@out
{\the\verbatim@line}}%
\verbatim@start}
\def\@@@lbr{\expandafter\@gobble\string\{}
\def\@@@rbr{\expandafter\@gobble\string\}}
\def\@@@pcr{\expandafter\@gobble\string\%}
%\immediate\write18{touch mytool.tex
% ^^J rm mytool.tex ^^J touch mytool.tex}
\newenvironment{toolwrite}[1]%
{\@tempdima=#1
\verbatimwrite{xx}}
{\endverbatimwrite
\immediate\write18{echo
"\string\Clear\@@@lbr\the\@tempdima\@@@rbr\@@@lbr\@@@pcr">>mytool.tex^^J
cat xx.tex >> mytool.tex ^^J
echo "\@@@rbr" >> mytool.tex}}
\tikzstyle{place}=[scale=.39,rectangle,draw=blue!90,fill=blue!30,thin,%
minimum height=1mm,minimum width=13mm]
\tikzstyle{trans}=[scale=.39,rectangle,draw=Olive,fill=Olive!20,thin,%
minimum height=1mm,minimum width=13mm]
\tikzstyle{past}=[scale=.39,rectangle,draw=Olive,fill=Olive!60,thin,%
minimum height=1mm,minimum width=13mm]
\def\printSq#1{\parbox{107mm}{\@tempcnta=1
\let\printfill\@empty
\loop\ifnum\@tempcnta<#1
{\printfill\ifnum\c@page=\@tempcnta
\tikz\node at(0,0) [place]{};\else
\ifnum\c@page<\@tempcnta
\hyperlink{page.\the\@tempcnta}{\tikz\node at(0,0)
[trans]{};}%
\else
\hyperlink{page.\the\@tempcnta}{\tikz\node at(0,0)
[past]{};}%
\fi\fi}%
\advance\@tempcnta 1 \let\printfill\,\repeat}}
\endinput

View File

@@ -1,476 +0,0 @@
%
%
% File: rvdtx.sty
%
% Auxiliary package to format *.dtx documents.
%
% Copyright (c) 2008-2021 CV Radhakrishnan <cvr@stmdocs.in>,
%
% This file may be distributed and/or modified under the conditions
% of the LaTeX Project Public License, either version 1.3c of this
% license or (at your option) any later version. The latest version
% of this license is in:
%
% http://www.latex-project.org/lppl.txt
%
% and version 1.3c or later is part of all distributions of LaTeX
% version 1999/12/01 or later.
%
%
\newcounter{colorscheme}
\newif\if@xcolor \@xcolorfalse
\newif\if@mylogo \@mylogofalse
\DeclareOption{mylogo}{\global\@mylogotrue}
\DeclareOption{green}{\setcounter{colorscheme}{1}}
\DeclareOption{orange}{\setcounter{colorscheme}{0}}
\DeclareOption{xcolor}{\global\@xcolortrue}
\DeclareOption{qone}{\AtEndOfPackage{\global\let\dtxmark\dtxmarkone}}
\DeclareOption{qtwo}{\AtEndOfPackage{\global\let\dtxmark\dtxmarktwo}}
\ProcessOptions
\def\loadXcolor{\if@xcolor\RequirePackage[dvipsnames,svgnames]{xcolor}\fi}
\loadXcolor
\ifcase\thecolorscheme
%
% Orange color spec (default)
%
\colorlet{itemcolor}{brown}
\colorlet{verbcolor}{Sepia}
\colorlet{botrulecolor}{orange!25}
\colorlet{botbgcolor}{orange!15}
\colorlet{botcolor}{orange!80}
\colorlet{pgrulecolor}{orange}
\colorlet{pgbgcolor}{white}
\colorlet{quicklinkrulecolor}{orange!40}
\colorlet{quicklinkcolor}{brown}
\colorlet{topverticalrule}{brown}
\colorlet{titlecolor}{brown}
\colorlet{hlinkcolor}{brown}
\colorlet{hlinktricolor}{orange!70}
\colorlet{linkcolor}{brown}
\colorlet{urlcolor}{brown}
% \colorlet{arrayrulecolor}{olive!30}
\colorlet{seccolor}{brown}
\colorlet{toprulecolor}{orange!30}
\colorlet{topbgcolor}{orange!10}
\colorlet{topcolor}{brown!80}
%
%
\or% Green color specs
%
%
\colorlet{itemcolor}{OliveGreen}
\colorlet{verbcolor}{OliveGreen}
\colorlet{botrulecolor}{GreenYellow!25}
\colorlet{botbgcolor}{GreenYellow!30}
\colorlet{botcolor}{Green!80}
\colorlet{pgrulecolor}{GreenYellow}
\colorlet{pgbgcolor}{white}
\colorlet{quicklinkrulecolor}{Green!40}
\colorlet{quicklinkcolor}{Green}
\colorlet{topverticalrule}{Green}
\colorlet{titlecolor}{DarkOliveGreen}
\colorlet{hlinkcolor}{DarkOliveGreen}
\colorlet{hlinktricolor}{Green!70}
\colorlet{linkcolor}{OliveGreen}
\colorlet{urlcolor}{OliveGreen}
% \colorlet{arrayrulecolor}{olive!30}
\colorlet{seccolor}{OliveGreen}
\colorlet{toprulecolor}{GreenYellow!50}
\colorlet{topbgcolor}{GreenYellow!20}
\colorlet{topcolor}{GreenYellow!80}
\fi
\def\floatpagefraction{.99}
\usepackage{geometry}
\geometry{top=2in,
bottom=1in,
left=2in,
right=1in,
a4paper}
%\DeclareRobustCommand{\LaTeX}{L\kern-.25em%
% {\sbox\z@ T%
% \vbox to\ht\z@{%
% {\check@mathfonts
% \fontsize\sf@size\z@
% \math@fontsfalse\selectfont
% A}%
% \vss}%
% }%-.10em%
% \TeX
%}
\DeclareRobustCommand{\LaTeX}{L\kern-.25em%
{\sbox\z@ T%
\vbox to\ht\z@{%
\hbox{%
\check@mathfonts
\fontsize\sf@size\z@
\math@fontsfalse\selectfont
A}%
\vss}%
}%
\kern-.10em%
\TeX}
\RequirePackage{pdfwidgets}
\RequirePackage{comment,xspace}
\def\xml{\textsc{xml}\xspace}
\def\latex{\LaTeX\xspace}
\def\pdf{\textsc{pdf}\xspace}
\def\pdfa{\textsc{pdf/a-1}b\xspace}
\def\pdfx{\textsc{pdf/x-1}a\xspace}
\def\xmp{\textsc{xmp}\xspace}
\def\pdftex{\textsc{pdf\TeX}\xspace}
\def\defmacro#1{\texttt{\@bsl#1}}
\def\thanh{H\`an Th\^e Th\`anh\xspace}
\def\gnulinux{\textsc{gnu/linux}\xspace}
\let\@DRAFTout@Hook\@empty
\newcommand{\DRAFTout}{\g@addto@macro\@DRAFTout@Hook}
\newcommand{\@DRAFTout@Out}{%
\afterassignment\@DRAFTout@Test
\global\setbox\@cclv=
}
\newcommand{\@DRAFTout@Test}{%
\ifvoid\@cclv\relax
\aftergroup\@DRAFTout@Output
\else
\@DRAFTout@Output
\fi%
}
\newcommand{\@DRAFTout@Output}{%
\@DRAFTout@Hook%
\@DRAFTout@Org@Out\box\@cclv%
}
\newcommand{\@DRAFTout@Org@Out}{}
\newcommand*{\@DRAFTout@Init}{%
\let\@DRAFTout@Org@Out\shipout
\let\shipout\@DRAFTout@Out
}
\newdimen\OHeight
\setlength\OHeight{\textheight}
\addtolength\OHeight{\headheight}
\addtolength\OHeight{\headsep}
\addtolength\OHeight{\footskip}
\newif\ifoverlay\overlayfalse
\AtBeginDocument{\@DRAFTout@Init}
\newcommand{\@DraftOverlay@Hook}{}
\newcommand{\AddToDraftOverlay}{\g@addto@macro\@DraftOverlay@Hook}
\newcommand{\ClearDraftOverlay}{\let\@DraftOverlay@Hook\@empty}
\newcommand{\@DraftOverlay}{%
\ifx\@DraftOverlay@Hook\@empty
\else
\bgroup
\@tempdima=1in
\@tempcnta=\@tempdima
\@tempcntb=-\@tempdima
\advance\@tempcntb\paperheight
\ifoverlay
\global\setbox\@cclv\vbox{%
\box\@cclv
\vbox{\let\protect\relax%
\unitlength=1pt%
\pictur@(0,0)(\strip@pt\@tempdima,\strip@pt\@tempdimb)%
\@DraftOverlay@Hook%
\endpicture}}%
\else
\global\setbox\@cclv\vbox{%
\vbox{\let\protect\relax%
\unitlength=1sp%
\pictur@(0,0)(\@tempcnta,\@tempcntb)%
\@DraftOverlay@Hook%
\endpicture}%
\box\@cclv}%
\fi
\egroup
\fi
}
\definecolor{gray30}{gray}{.7}
\definecolor{gray20}{gray}{.8}
\definecolor{gray10}{gray}{.9}
\DRAFTout{\@DraftOverlay}
\long\def\puttext(#1)#2{\AddToDraftOverlay{%
\setlength{\unitlength}{1pt}\thinlines%
\put(#1){#2}}}
\RequirePackage{shortvrb}
\MakeShortVerb{\|}
\RequirePackage{amsfonts,amssymb}
\IfFileExists{pxfonts.sty}{\RequirePackage{pxfonts}}{}
%\IfFileExists{charter.sty}{\RequirePackage{charter}}{}
\IfFileExists{lfr.sty}{\RequirePackage[scaled=.85]{lfr}}{}
%\IfFileExists{prima.sty}{\RequirePackage[scaled=.8]{prima}}{}
\def\theCodelineNo{\reset@font\tiny\arabic{CodelineNo}}
\def\@seccntformat#1{\llap{\csname the#1\endcsname.\hspace*{6pt}}}
\def\section{\@startsection {section}{1}{\z@}%
{-3.5ex \@plus -1ex \@minus -.2ex}%
{2.3ex \@plus.2ex}%
{\normalfont\large\bfseries\color{seccolor}}}
\def\subsection{\@startsection{subsection}{2}{\z@}%
{-2.25ex\@plus -1ex \@minus -.2ex}%
{1.5ex \@plus .2ex}%
{\normalfont\normalsize\bfseries\color{seccolor}}}
\def\subsubsection{\@startsection{subsubsection}{3}{\z@}%
{-1.25ex\@plus -1ex \@minus -.2ex}%
{1.5ex \@plus .2ex}%
{\normalfont\normalsize\bfseries\color{seccolor}}}
%\RequirePackage[draft]{pdfdraftcopy}
% \draftstring{}
\puttext(0,36){\botstring}%
\puttext(0,840){\copy\topbox}
\if@mylogo
\puttext(531,829){\cvrlogo}
\fi
\RequirePackage{colortbl}
%\arrayrulecolor{arrayrulecolor}
\let\shline\hline
\def\hline{\noalign{\vskip3pt}\shline\noalign{\vskip4pt}}
\RequirePackage[pdftex,colorlinks]{hyperref}
\def\Hlink#1#2{\hyperlink{#2}{\color{hlinktricolor}%
$\blacktriangleright$~\color{hlinkcolor}#1}}
\def\@linkcolor{linkcolor}
\def\@urlcolor{urlcolor}
\pagestyle{empty}
\def\version#1{\gdef\@version{#1}}
\def\@version{1.0}
\def\contact#1{\gdef\@contact{#1}}
\def\author#1{\gdef\@author{#1}}
\def\@author{STM Document Engineering Pvt Ltd.}
\def\@contact{\texttt{support@stmdocs.in}}
\def\keywords#1{\gdef\@keywords{#1}}
\def\@keywords{\LaTeX, \xml}
\long\def\Hrule{\\[-4pt]\hspace*{-3em}%
{\color{quicklinkrulecolor}\rule{\linewidth}{.1pt}}\\}
\long\def\dtxmarkone[#1][#2]#3#4#5{\def\next{#1}%
\ifcase\next\or\Hlink{#4}{#3}\Hrule \fi}
\newcounter{dtx}
\long\def\dtxmarktwo[#1][#2]#3#4#5{\def\next{#1}%
\stepcounter{dtx}\parbox{.45\linewidth}%
{\ifcase\next\or\Hlink{#4}{#3}\fi}%
\ifodd\thedtx\relax\else\Hrule\fi}
\let\dtxmark\dtxmarkone
\newbox\topbox
\long\def\maketitle{\global\setbox\topbox=\vbox{\hsize=\paperwidth
\parindent=0pt
\fcolorbox{toprulecolor}{topbgcolor}%
{\parbox[t][2in][c]{\paperwidth}%
{\hspace*{15mm}%
\parbox[c]{.35\paperwidth}{\fontsize{18pt}{20pt}%
\raggedright\normalfont\sffamily \selectfont
\color{titlecolor} \@title\\[6pt]
{\normalsize\rmfamily\scshape\@author}}%
% {\footnotesize\textsc{keywords:} \@keywords}}%
\hfill
\parbox[c][2in][c]{1mm}{\color{topverticalrule}%
\rule{.1pt}{2in}}%
\hfill
\parbox[c][2in][c]{.35\paperwidth}%
{\normalfont\footnotesize\sffamily\color{quicklinkcolor}%
\advance\baselineskip-3pt%
\vspace*{6pt} QUICK LINKS\Hrule
\IfFileExists{tmp.out}{\input tmp.out}{}%
}\hspace*{5mm}%
}%
}%
}%
}
\gdef\botstring{\fcolorbox{botrulecolor}{botbgcolor}%
{\parbox[t][.5in][t]{\paperwidth}%
{\normalfont\sffamily\footnotesize%
\color{botcolor}%
\hspace*{5mm}\parbox[c][.5in][c]{.45\paperwidth}%
{\raggedright \textcopyright\ 2021, Elsevier Ltd.
Bugs, feature requests, suggestions and comments %\\
shall be mailed to \href{mailto:elsarticle@stmdocs.in}
{$<$elsarticle@stmdocs.in$>$}.
}\hfill%
\parbox[c][.5in][c]{1cm}
{\centering\sffamily\mdseries
\fcolorbox{pgrulecolor}{pgbgcolor}{\thepage}%
}\hfill
\parbox[c][.5in][c]{.45\paperwidth}
{\raggedleft\begin{tabular}{rl}%
Version:&\@version\\
Date:&\@date\\
Contact:&\@contact
\end{tabular}\hspace*{5mm}%
}%
}%
}%
}
\def\MacroFont{\fontencoding\encodingdefault
\fontfamily\ttdefault
\fontseries\mddefault
\fontshape\updefault
\color{verbcolor}\small}%
\def\verbatim@font{\normalfont\color{verbcolor}\ttfamily}
\def\verb{\relax\ifmmode\hbox\else\leavevmode\null\fi
\bgroup
\verb@eol@error \let\do\@makeother \dospecials
\verbatim@font\@noligs
\@ifstar\@sverb\@verb}
\def\@lbr{\expandafter\@gobble\string\{}
\def\@rbr{\expandafter\@gobble\string\}}
\def\@bsl{\expandafter\@gobble\string\\}
\def\@Bsl#1{\texttt{\@bsl#1}\xspace}
\def\trics#1{\protect\@Bsl{#1}}
\def\onecs#1{\protect\@Bsl{#1}}
%\let\trics\onecs
\@ifundefined{c@Glossary}{}{\c@GlossaryColumns=1
\c@IndexColumns=2}
\def\index@prologue{\section{Index}%
\markboth{Index}{Index}%
% Numbers written in italic refer to the page
% where the corresponding entry is described;
% numbers underlined refer to the
% \ifcodeline@index
% code line of the
% \fi
% definition; numbers in roman refer to the
% \ifcodeline@index
% code lines
% \else
% pages
% \fi
% where the entry is used.
}
\@ifundefined{theglossary}{}{%
\renewenvironment{theglossary}{%
\glossary@prologue%][\GlossaryMin]%
\GlossaryParms \let\item\@idxitem \ignorespaces}%
{}}
\newenvironment{decl}[1][]%
{\par\small\addvspace{1.5ex plus 1ex}%
\vskip -\parskip
\ifx\relax#1\relax
\def\@decl@date{}%
\else
\def\@decl@date{\NEWfeature{#1}}%
\fi
\noindent%\hspace{-\leftmargini}%
\begin{tabular}{l}\hline\ignorespaces}%
{\\\hline\end{tabular}\nobreak\@decl@date\par\nobreak
\vspace{0.75ex}\vskip -\parskip\ignorespacesafterend\noindent}
\newif\ifhave@multicol
\newif\ifcodeline@index
\IfFileExists{multicol.sty}{\have@multicoltrue
\RequirePackage{multicol}%
}{}
\newdimen\IndexMin \IndexMin = 80pt
\newcount\c@IndexColumns \c@IndexColumns = 2
\ifhave@multicol
\renewenvironment{theindex}
{\begin{multicols}\c@IndexColumns[\index@prologue][\IndexMin]%
\IndexParms \let\item\@idxitem \ignorespaces}%
{\end{multicols}}
\else
\typeout{Can't find multicol.sty -- will use normal index layout if
necessary.}
\def\theindex{\@restonecoltrue\if@twocolumn\@restonecolfalse\fi
\columnseprule \z@ \columnsep 35\p@
\twocolumn[\index@prologue]%
\IndexParms \let\item\@idxitem \ignorespaces}
\def\endtheindex{\if@restonecol\onecolumn\else\clearpage\fi}
\fi
\long\def\IndexPrologue#1{\@bsphack\def\index@prologue{#1}\@esphack}
\@ifundefined{index@prologue}
{\def\index@prologue{\section{Index}%
\markboth{Index}{Index}%
% Numbers written in italic refer to the page
% where the corresponding entry is described;
% numbers underlined refer to the
% \ifcodeline@index
% code line of the
% \fi
% definition; numbers in roman refer to the
% \ifcodeline@index
% code lines
% \else
% pages
% \fi
% where the entry is used.
}}{}
\@ifundefined{IndexParms}
{\def\IndexParms{%
\parindent \z@
\columnsep 15pt
\parskip 0pt plus 1pt
\rightskip 15pt
\mathsurround \z@
\parfillskip=-15pt
\footnotesize
\def\@idxitem{\par\hangindent 30pt}%
\def\subitem{\@idxitem\hspace*{15pt}}%
\def\subsubitem{\@idxitem\hspace*{25pt}}%
\def\indexspace{\par\vspace{10pt plus 2pt minus 3pt}}%
}}{}
\def\efill{\hfill\nopagebreak}%
\def\dotfill{\leaders\hbox to.6em{\hss .\hss}\hskip\z@ plus 1fill}%
\def\dotfil{\leaders\hbox to.6em{\hss .\hss}\hfil}%
\def\pfill{\unskip~\dotfill\penalty500\strut\nobreak
\dotfil~\ignorespaces}%
\let\scan@allowedfalse\relax
\def\tlformat#1{\begingroup\Large
\parbox[c][1.25em][c]{1.25em}{\centering\fontfamily{phv}
\fontseries{m}%
\selectfont\color{white}\huge#1}%
\endgroup}
\def\tlFormat#1{\begingroup\Large
\parbox[c][1.25em][c]{1.25em}{\centering\fontfamily{phv}
\fontseries{m}%
\selectfont\color{black}\huge#1}%
\endgroup}
\def\cvrlogo{\begingroup\fboxsep=2pt
\colorbox{olive}{\tlformat{c}}%
\colorbox{blue}{\tlformat{v}}%
\colorbox{red}{\tlformat{r}}
\endgroup}
\endinput
%%
%% End of file 'rvdtx.sty'
%%

Binary file not shown.

Before

Width:  |  Height:  |  Size: 666 KiB

View File

@@ -1,94 +0,0 @@
% Copyright 2019-2024 Elsevier Ltd
%
% Version 2.4
%
% This file is part of the 'CAS Bundle'.
% --------------------------------------
%
% It may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3c
% of this license or (at your option) any later version.
% The latest version of this license is in
% http://www.latex-project.org/lppl.txt
% and version 1.3c or later is part of all distributions of LaTeX
% version 1999/12/01 or later.
%
% The list of all files belonging to the LaTeX 'CAS Bundle' is
% given in the file `manifest.txt'.
%
% CONTENTS OF THE CAS BUNDLE
% ==========================
Directory elsevier-cas-template/
manifest.txt
This file
README
A brief readme documentation
cas-sc.cls
Classfile to be used for single column format
cas-dc.cls
Classfile to be used for double column format
cas-model2-names.bst
BibTeX style file
cas-sc-template.tex
TeX template to be used for manuscript preparation (single column).
cas-dc-template.tex
TeX template to be used for manuscript preparation (double column).
cas-sc-sample.tex
Minimum working exmple (MWE) file - single column.
cas-dc-sample.tex
Minimum working exmple (MWE) file - double column.
Directory doc/
The following files are graphic files needed for creating pdf output
of the documentation from elsdoc-cas.tex:
dc-sample.pdf
sc-sample.pdf
elsdoc-cas.tex -- LaTeX source file of documentation
elsdoc-cas.pdf -- documentation for elsarticle.cls
Directory thumbnails/
Contains thumbnail images which will be included in the
typeset PDF.
cas-email.jpeg
cas-facebook.jpeg
cas-gplus.jpeg
cas-linkedin.jpeg
cas-twitter.jpeg
cas-url.jpeg
The following files are written out every time elsdoc.tex is compiled:
elsdoc-cas.aux
elsdoc-cas.log
elsdoc-cas.out
tmp-cas.tex
Auxiliary packages needed to generate pdf output from elsdoc.tex:
rvdtx.sty
pdfwidgets.sty
glyphtounicode.tex
Directory figs/
Contains images used in the sample PDF.
cas-grabs.pdf
cas-munnar-2024.jpg
cas-pic1.pdf

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

View File

@@ -1,5 +0,0 @@
Well-tie error in training labels is an error in the time index of the label
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: 658 tasks with known true timing, reference results, a scorer
Simulated blind-well tests needed ~1 ms references; tested field data lack them

View File

@@ -1,368 +0,0 @@
% Computers & Geosciences version: research article within the journal's length limit,
% in the Elsevier CAS single-column template (els-cas-templates/, version 2.4).
% The full-length text is in ../paper/ and is the Supplementary material (supplement.tex).
% Build the supplement first (main.tex resolves S- references from supplement.aux):
% pdflatex supplement && bibtex supplement && pdflatex supplement && pdflatex supplement
% pdflatex main && bibtex main && pdflatex main && pdflatex main
% Class, style and bibliography style are found through TEXINPUTS/BSTINPUTS (see README.md).
% Every number here also appears in ../paper/ (sources: ../paper/README.md). No new numbers.
% The abstract is a verbatim copy of ../paper/sections/00_abstract.tex (checked in README.md).
\RequirePackage{xr-hyper}
\documentclass[a4paper,fleqn,review]{cas-sc}
\usepackage[authoryear,round]{natbib}
\usepackage{bm}
\usepackage{lineno}
\linenumbers
\externaldocument[S-]{supplement}
\graphicspath{{../paper/figures/}}
\newcommand{\todo}[1]{\textcolor{red}{[TODO: #1]}}
\newcommand{\E}{\mathbb{E}}
\newcommand{\sd}{\operatorname{sd}}
\newcommand{\RML}{\mathrm{RML}}
\newcommand{\N}{\mathcal{N}}
\newcommand{\dd}{\,\mathrm{d}}
\newcommand{\aaf}{\mathcal{A}}
\newcommand{\sigpost}{\sigma_{\mathrm{post}}}
\newcommand{\mPM}{SMC mean}
\newcommand{\mRML}{SMC bank}
\newcommand{\rhoCl}{\rho^\star_{\mathrm{cl}}}
\newcommand{\rhoBk}{\rho^\star_{\mathrm{Bk}}}
% Reference to the Supplementary material
\newcommand{\Sref}[1]{\ref{S-#1}}
\begin{document}
\let\WriteBookmarks\relax
\def\floatpagepagefraction{1}
\def\textpagefraction{.001}
\shorttitle{Uncertain well ties in learned seismic property prediction}
\shortauthors{\todo{short author list}}
\title[mode = title]{Uncertain well ties in learned seismic property prediction: theory, a benchmark with known timing, and requirements for blind-well tests}
% One block per author, in the order of the submission system; lowercase letters for affiliations.
% Add [orcid=...] after the name when available.
\author[a]{\todo{given name(s) and family name of the first author}}
\cormark[1]
\ead{\todo{e-mail of the corresponding author}}
\credit{\todo{CRediT roles, e.g. Conceptualization, Methodology, Software, Writing -- original draft}}
\affiliation[a]{organization={\todo{full name of the institution}},
addressline={\todo{street}},
city={\todo{city}},
postcode={\todo{postcode}},
country={\todo{country}}}
\cortext[1]{Corresponding author.}
\begin{abstract}
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 (7--19\% in a repeat on new realizations) 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 that a blind-well comparison, with a test calibrated for wells that share training data, needs 5--18 wells with an exact reference in four of six cases and more than 40 with a 1.5\,ms reference error.
\end{abstract}
\begin{highlights}
\item Well-tie error in training labels is an error in the time index of the label
\item Tie error blurs the learned predictor; predicted Berkson sharpening was not seen
\item In a synthetic benchmark, tie accuracy mattered more than tie uncertainty
\item Released benchmark: 658 tasks with known true timing, reference results, a scorer
\item Simulated blind-well tests needed ${\sim}1$\,ms references; tested field data lack them
\end{highlights}
\begin{keywords}
well tie \sep tie uncertainty \sep errors-in-variables \sep seismic porosity prediction \sep synthetic benchmark \sep blind-well validation
\end{keywords}
\maketitle
% ===========================================================================
\section{Introduction}
\label{sec:intro}
Learned predictors of porosity from seismic data are trained on well logs that a well tie has placed in two-way time (TWT). The tie is an estimate whose error moves every label along the time axis, yet learning workflows take it as exact. On the public F3 data the error is not small: time from integrated sonic differs from the marker times in the target window by up to 14--66\,ms depending on the well, the difference changes by 10--46\,ms within it, and the time--depth model distributed with the data deviates from the markers by up to 36.5\,ms at one well (Fig.~\ref{fig:tddrift}). The dominant seismic period is 17--20\,ms, so these errors are of the order of a period.
A tie error is an error in the index of a label, not its value, so its effect depends on frequency. Bayesian ties produce posteriors over the time--depth relation \citep{buland2003bayesianwavelet,gunning2006waveletextractor}, but no work we found feeds one into the training of a property predictor. We ask three questions. What does tie error do to the optimal predictor? Does training on a tie posterior improve the learned predictor when the true timing is known? And what would a field test of such a claim require?
The paper makes four contributions, one per gap identified in Section~\ref{sec:related}:
(1) a theory of tie error in training labels (Section~\ref{sec:theory});
(2) a controlled test, on synthetic data with F3 statistics, of training on labels from a tie posterior, which finds that registration accuracy comes first and the representation of the remaining uncertainty second;
(3) a benchmark with known timing, with 658 tasks, reference results of 21 methods and a scorer; and
(4) requirements for a field test of tie methods, from a detectability analysis, two field cases (F3 and Volve) and an audit of the F3 well data.
Computationally, the work adds a tempered sequential Monte Carlo (SMC) tie posterior whose samples enter network training through one loss shared by all methods, and an open generator, task package and scorer that vary the timing of labels with the truth known. Geoscientifically, it shows how tie error shapes a learned seismic property predictor and what blind-well evidence a field claim requires.
The Supplementary material gives the full text, every table, the proofs and the protocol record; references to it carry the prefix S.
% ===========================================================================
\section{Related work}
\label{sec:related}
\emph{Tie uncertainty.} Most well ties output a single time--depth relation \citep{white2003goodpractice,herrera2014semiautomatic}; Bayesian ties estimate it jointly with the wavelet and give a posterior \citep{buland2003bayesianwavelet,gunning2006waveletextractor}, which in the work we found no learning step uses (Section~\Sref{sec:related}, Table~\Sref{tab:positioning}).
\emph{Learned property prediction} from seismic, by convolutional, recurrent or physics-guided networks, treats the tie as given, and its reported uncertainty covers the network and the data but not the timing of the labels. \emph{Alignment losses} such as soft-DTW \citep{cuturi2017softdtw} and DILATE \citep{leguen2019dilate} let a network absorb misalignment without a model of it; Section~\ref{sec:theory} shows that without anchors they cannot identify absolute timing.
\emph{Errors in variables.} The distinction between classical error, independent of the true value, and Berkson error, independent of the assigned value, is old \citep{berkson1950two,carroll2006measurement}. Misplaced labels have been handled by marginalizing over translations \citep{mnih2012aerial} or timing errors \citep{adams2017imprecise}, and Bayesian registration gives a posterior over the map that transports labels \citep{risholm2013bayesian}. None models the error of a label's time index physically, from seismic and anchors.
\emph{Benchmarks and evaluation.} In public seismic benchmarks the registration of label to seismic is exact or not part of the task \citep{alaudah2019facies,wu2019faultseg,deng2022openfwi}. Spatially dependent data need grouped validation \citep{roberts2017cv}, and comparisons of learning methods need variance over seeds and a test with stated power \citep{bouthillier2021variance,demsar2006comparisons}. No benchmark we found varies the timing of its labels with the truth known.
% ===========================================================================
\section{Data and benchmark}
\label{sec:data}
\emph{F3.} We use the F3 Demo 2023 release \citep{dgb2023f3demo}: a post-stack volume and four vertical wells with sonic (DT), density and effective porosity (PHIE) logs, horizons and time--depth markers. Learning uses 600--1100\,ms TWT; ties use 400--1300\,ms. An audit (Table~\Sref{tab:audit}) found the timing errors above and that PHIE is linear in DT at three wells, so label and sonic time axis are coupled. The median absolute difference between markers and horizon picks was 6.9\,ms over 18 pairs, which sets the anchor uncertainty $\sigma_a = 7$\,ms. The markers are picks on the same seismic, so $\sigma_a$ is not identifiable on F3.
\emph{Synthetic generator.} A generator with F3 statistics makes the true timing known (Section~\Sref{sec:data:d2}): porosity fields in the frame of five F3 horizons, F3 rock physics, and seismic from a statistical F3 wavelet plus band-limited noise. The true warp of each well is drawn from the warp prior of Section~\ref{sec:method} fitted to F3 and scaled by a drift factor $c$ ($c = 1$ reproduces F3, $c = 0$ is perfect registration). Anchors are true marker times plus $\N(0, 7^2)$\,ms noise. Each realization has 16 training wells (nested subsets of $N$) and eight test wells. Five observation settings are used: full anchors at 10, 0 and $-5$\,dB; half the anchors at 0\,dB (\emph{half-anchor}); top and bottom anchors only at 10\,dB (\emph{two-anchor}). A \emph{cell} is a setting, $c$ and $N$. Design choices use development realizations (from 900) only.
\emph{Misspecification.} Three axes depart from the registration's model, each at two levels: unit-dependent rock physics, a frequency-dependent wavelet phase (plus a separate attenuation preset) and a scaled or out-of-family warp prior.
\emph{Package.} The released package has 658 tasks: the five settings at five drift factors, 14 misspecification settings, six two-mode settings and two settings with a wrong stated $\sigma_a$, on test realizations 8--15 and development realizations 900--905 (Table~\Sref{tab:package}). The truth is included because the generator is public, so the package supports controlled, not blind, comparisons.
\begin{figure}[t]
\centering
\includegraphics[width=0.85\linewidth]{td_drift.pdf}
\caption{Offset of three time--depth sources from time--depth markers at four F3 wells: sonic integrated from a single shallow anchor, distributed OpendTect time--depth model, and a second set of distributed model files of unknown provenance. Shaded band: 600--1100\,ms target window.}
\label{fig:tddrift}
\end{figure}
% ===========================================================================
\section{Methods}
\label{sec:method}
\emph{Warp model.} The time of depth $z$ at well $w$ is
\begin{equation}
t_w(z; b_w, g_w) = t_{w,\mathrm{ref}} + b_w + 2\int_{z_{\mathrm{ref}}}^{z} \mathrm{DT}_w(z')\, e^{g_w(z')}\dd z' ,
\label{eq:warp}
\end{equation}
with bulk offset $b_w \sim \N(0, \sigma_b^2)$ and a Gaussian-process log-slowness correction $g_w$ (Mat\'ern-3/2); the map is monotone by construction. Hyperparameters are fitted on the anchors of the training wells, with $\sigma_a = 7$\,ms and $\sigma_b = 50$\,ms fixed. Anchors are observed with $\N(0, \sigma_a^2)$ error. The tie likelihood is Gaussian in the seismic residual, with the amplitude and noise profiled out, a constant wavelet phase chosen by marginal likelihood on training wells, and tempering for autocorrelated residuals.
\emph{Posteriors.} Experiment~1 draws 64 warps per well from the anchor-conditioned posterior and reweights them by the tempered tie likelihood. Experiment~2 uses tempered sequential Monte Carlo (SMC) from $N_p = 1024$ anchor-posterior samples to the full posterior, with resampling and elliptical slice moves \citep{murray2010ess}; banks of $S = 64$ labels are drawn from the particles. The posterior width $\sigpost$ is the 90\% interval width of the timing divided by 3.29. At $c = 2$ the SMC mean warp did not meet the stability criterion fixed before the trial, and those cells are flagged unstable.
\emph{Labels and loss.} Each warp $u^{(s)}$ gives labels $y^{(s)}(t) = (\aaf\phi)(z^{(s)}(t))$, the anti-aliased log read at the depth the warp places at time $t$; every method, including the Oracle, builds labels this way and differs only in its warps. A network outputs a Gaussian mean $\mu_i$ and standard deviation $\sigma_i$. For a bank with weights $\pi_s$, the loss is the relaxed minimum
\begin{equation}
\ell_s = \sum_{i=1}^{n} \log\N\big(y_{s,i};\, \mu_i, \sigma_i^2\big), \qquad
\RML_\lambda = -\frac{1}{\lambda n}\log\sum_{s=1}^{S}\pi_s\, e^{\lambda \ell_s},
\label{eq:rml}
\end{equation}
which lies between the hard minimum ($\lambda \to \infty$) and the weighted mean negative log-likelihood ($\lambda \to 0$); we use $\lambda = 1/\tau_c \approx 0.36$--$0.37$, where $\tau_c$ accounts for correlated residuals (Section~\Sref{sec:method:rml}). With $S = 1$ it is the usual negative log-likelihood, so point ties, banks and alignment losses share one objective.
\emph{Network and training.} The input is a $3\times3$ patch of traces around the well. The backbone is three dilated 1-D convolutions and a two-layer bidirectional GRU with a heteroscedastic head \citep{kendall2017uncertainties}; a temporal convolutional network (TCN) is the second backbone. Iteration budgets are chosen per method from $\{125, \dots, 2000\}$ on development realizations by total RMSE; ensembles average five seeds \citep{lakshminarayanan2017deepensembles}.
\emph{Methods.} Table~\ref{tab:methods} lists the compared families. The \mPM{} trains on labels at the mean SMC warp; the \mRML{} trains with \eqref{eq:rml} on the SMC bank.
\begin{table}[t]
\centering
\caption{Compared methods (full list in Table~\Sref{tab:methods}). All share one backbone, label operator and set of budget candidates.}
\label{tab:methods}
\small
\begin{tabular}{lp{0.52\linewidth}l}
\toprule
Name & Labels / bank & Loss \\
\midrule
Calibrated sonic & sonic calibrated through the anchors & NLL \\
Correlation tie & calibrated sonic plus local shifts from synthetic--seismic correlation & NLL \\
Phase-estimated correlation & correlation tie with the SMC-estimated wavelet phase & NLL \\
Anchor mean & mean warp of the anchor posterior & NLL \\
Anchor-free losses & calibrated sonic with shift banks, soft-DTW or DILATE & various \\
(Reweighted) anchor bank & 64 anchor-posterior warps (Experiment~1) & $\RML_\lambda$ \\
\mPM & mean warp of the SMC posterior & NLL \\
\mRML & 64 SMC particles & $\RML_\lambda$ \\
Gaussian bank & samples with the SMC posterior's mean and covariance & $\RML_\lambda$ \\
Oracle & true warp (a ceiling, not a competitor) & NLL \\
\bottomrule
\end{tabular}
\end{table}
\emph{Metrics and rules.} The primary metrics are the RMSE and Pearson correlation (PCC) in the seismic band ($f \ge 6$\,Hz), in porosity units (p.u.), macro-averaged over eight test wells; intervals are 95\% bootstrap intervals over realizations. Under the \emph{margin rule} a candidate improves if its band RMSE is at most 0.90 times that of the best competitor or its band PCC is at least 0.05 higher; under the \emph{no-margin rule}, if its band RMSE is lower. A cell passes if the candidate improves in at least 4 of 5 seeds and in more than half of the realizations. The no-margin rule passes with probability up to 0.36 under exchangeability, so ratios with intervals are the primary evidence. Each protocol's SHA-256 hash was recorded before its main run (\emph{hash-locked}), but not deposited with a third party (Appendix~\Sref{app:record}). Test labels never chose a shift, checkpoint or hyperparameter.
% ===========================================================================
\section{Theory}
\label{sec:theory}
Formal statements and proofs are in Appendix~\Sref{app:proofs}; here we state the results and their consequences.
\emph{Blur.} If the timing error of a label is independent of the data, with characteristic function $P(f)$, the optimal predictor of the misregistered label is the true one filtered by $P(f)$ (Proposition~\Sref{prop:blur}). For a Gaussian error with standard deviation $\sigma$, $P(f) = e^{-2\pi^2\sigma^2 f^2}$, which attenuates the seismic band: at $\sigma = 8$\,ms less than 7\% of the seismic-band variance remains. We tested this by training on labels with injected Gaussian errors and estimating the transfer from cross-spectra. The geometric mean of measured over predicted transfer was $r = 1.009$, 1.009 and 1.007 at $\sigma = 4$, 8 and 16\,ms and 1.093 at 32\,ms (Fig.~\ref{fig:h1}), on the usable frequencies of 6.8--22.5\,Hz; the test has no power at higher frequencies.
\emph{Identifiability.} With alignment losses alone, a joint shift of network and label is invisible to the loss, so absolute timing is not identified; with anchors the shift has standard deviation about $\sigma_a/\sqrt{\sum_w K_w}$ for $K_w$ anchors per well, and with the prior alone about $50/\sqrt N$\,ms (Proposition~\Sref{prop:ident}).
\emph{Classical and Berkson tie error.} A point tie $\hat u$ and the true warp $u^\star$ define two errors, the shift that maps the point label to the true one and the reverse. If the first is independent of the label given the seismic, the error is classical and the point label blurs the predictor; if the second is independent of the data, the error is Berkson and the point label is predicted to sharpen the predictor, with transfer $e^{+2\pi^2\sigma^2 f^2}$ for a Gaussian error (Proposition~\Sref{prop:tie}). A posterior-mean tie in a linear-Gaussian model has Berkson error.
\emph{Bank gain.} No method can improve on the point label by more than the factor
\begin{equation}
\rho^\star = \Big(1 + \frac{\E|B(\tilde m - m)|^2}{\E|B(m - y)|^2}\Big)^{-1/2},
\label{eq:rhostar}
\end{equation}
where $B$ is the seismic-band filter, $m$ the optimal predictor and $\tilde m$ that of the point label (Proposition~\Sref{prop:bank}). For Gaussian errors the distortion in the numerator is of fourth order in $\sigma$, so the population gain of a calibrated bank is small and finite-sample effects can dominate. The weight $f^4$ moves the distortion to high frequencies (median 67--72\,Hz for the Oracle predictions of Experiment~2), where the Berkson integral exceeds the classical one by factors of 1.5--4.6. We write $\rhoCl$ (hash-locked) and $\rhoBk$ (post hoc) for the two bounds.
\emph{Two-mode error.} If the label error is $\pm\Delta/2$ with equal probability, the transfer is $\cos(\pi f\Delta)$, which is negative for $1/(2\Delta) < f < 3/(2\Delta)$: the learned band is reversed there. An equal-weight bank of the two modes contains the truth but is not calibrated, and its transfer as $\lambda \to 0$ is $\cos^2(\pi f\Delta)$ (Corollary~\Sref{cor:twomode}).
\emph{Misregistered reference.} If the blind-well reference itself has a timing error $\sigma_{\mathrm{ref}}$, an unshrunk oracle keeps its advantage over a point label with tie error $\sigma$ only if $\sigma_{\mathrm{ref}} < \sigma/\sqrt2$ at every frequency (Proposition~\Sref{prop:reference}, Corollary~\Sref{cor:tolerance}). More blind wells reduce the variance of the comparison but not this bias.
\begin{figure}[t]
\centering
\includegraphics[width=0.85\linewidth]{p2_h1.pdf}
\caption{Test of blur prediction. (a) Estimated transfer on usable frequencies (solid) and $e^{-2\pi^2\sigma^2 f^2}$ (dashed); frequencies below 6\,Hz are not used. (b) $r(\sigma)$ with 95\% intervals over realizations and number of usable frequencies; shaded region: hash-locked non-rejection interval $[0.5, 2]$. Setting: $c = 0$, $N = 16$, MSE loss.}
\label{fig:h1}
\end{figure}
% ===========================================================================
\section{Results}
\label{sec:results}
\subsection{Experiment 1: anchor-posterior banks failed}
At 10\,dB with full anchors, the reweighted anchor bank had to beat every deterministic tie, the anchor mean and the anchor-free losses in at least 3 of 4 cells at $c = 1$. No cell passed: its ratio to the best competitor (the correlation tie) was 1.045, 1.025, 1.020 and 0.985 for $N = 2$--16, and the zero-drift guard failed (Section~\Sref{sec:exp:p2}). The shift-bank losses were 38--53\% worse than the calibrated sonic they start from, and removing the anchors raised the warp RMSE from 3.15 to 31.1\,ms, as the identifiability result predicts. The anchor posterior had a warp RMSE of 3.25\,ms, no better than the 3.85\,ms of the correlation tie, whereas an SMC posterior reached 0.56\,ms on development data. Experiment~2 was designed after this failure, on development data only, and run on realizations 8--15, generated after its protocol was locked.
\subsection{Experiment 2: SMC tie posterior}
The five settings were crossed with $c \in \{0, 1, 2\}$ and $N \in \{4, 16\}$, with five seeds. The \emph{posterior-mean claim} asks whether the \mPM{} beats the best deterministic tie under the margin rule at $c = 1$, with a zero-drift guard; the \emph{bank claim} asks whether the \mRML{} beats the \mPM{} when the posterior is wide ($\sigpost \ge 1.5$\,ms); an \emph{anchor-uncertainty test} registers with a wrong $\sigma_a$.
\emph{Posterior-mean labels beat the best deterministic tie,} by 14\% and 22\% at 10\,dB, 11\% at 0\,dB and 8--9\% at $-5$\,dB (Table~\ref{tab:h2a}, Fig.~\ref{fig:p2rgrid}). Most of the gain was present without drift (zero-drift macro ratios 0.81--0.88), so it comes largely from a better tie, not from correcting drift. The mode of the same SMC model, used as a point tie, beat the best deterministic tie in all 12 cells at $c \in \{0, 1\}$, and averaging over the posterior added at most 3\% (ratios 0.97--1.01). Against the anchor mean the gain was 2--33\% and shrank with noise: the claim held at 10\,dB (2/2 cells), in 1 of 2 cells at 0\,dB and in none at $-5$\,dB.
\begin{table}[t]
\centering
\caption{Experiment~2 at $c = 1$: band RMSE of \mPM{} divided by that of best deterministic tie, for $N = 4$ / $N = 16$ (95\% intervals in Table~\Sref{tab:h2a}). Replication: realizations 16--23. Mode: best SMC particle by tempered target, relative to best deterministic tie. Zero-drift: ratio at $c = 0$, averaged over $N$.}
\label{tab:h2a}
\small
\begin{tabular}{lccc}
\toprule
& 10\,dB & 0\,dB & $-5$\,dB \\
\midrule
\mPM{} / best deterministic tie & 0.857 / 0.782 & 0.888 / 0.888 & 0.915 / 0.923 \\
\quad replication & 0.833 / 0.806 & 0.897 / 0.869 & 0.931 / 0.917 \\
\mPM{} / anchor mean & 0.81 / 0.67 & 0.93 / 0.89 & 0.98 / 0.97 \\
Mode of SMC model / best deterministic tie & 0.86 / 0.80 & 0.89 / 0.90 & 0.95 / 0.93 \\
Zero-drift \mPM{} / best deterministic tie & 0.809 & 0.851 & 0.878 \\
\bottomrule
\end{tabular}
\end{table}
\begin{figure}[t]
\centering
\includegraphics[width=\linewidth]{p2r_grid.pdf}
\caption{Experiment~2 overview: band RMSE of each method divided by that of Oracle, by observation setting and drift factor $c$, for (a) $N = 4$ and (b) $N = 16$. Means over 8 realizations $\times$ 5 seeds. Color scale clipped at 2.0; two-anchor setting at $c = 2$ reaches 3.15.}
\label{fig:p2rgrid}
\end{figure}
\emph{The gain requires a correct anchor uncertainty.} Registered with $\sigma_a = 3.5$\,ms against a true 7\,ms, the \mPM{} was 0.977 and 1.141 times the best deterministic tie; with 14\,ms, 0.985 and 0.928; no cell passed (Table~\Sref{tab:sigmaa}). Both posteriors were miscalibrated (90\% coverage 0.62 and 0.52, against 0.89 with the correct value). At $-5$\,dB the ratios with a wrong $\sigma_a$ were 0.98--1.02 against 0.92 with the correct one. Over-trusted anchors were absorbed by a rougher drift prior (refitted correlation length 10--15 instead of 80--90\,ms); with the drift hyperparameters held fixed, $\sigpost$ fell to 0.88 and 0.67\,ms. Since $\sigma_a$ is not identifiable on F3, this is the main risk for field use.
\emph{A bank helps when the posterior is wide.} At $N = 16$ the \mRML{} was better than the \mPM{} in all 8 wide cells, the ratio fell with $\sigpost$ (Spearman $-0.85$) and the mean ratio over narrow cells was 0.996 (Fig.~\ref{fig:h2b}). Gains were 2--11\% at $c = 1$ and up to 33\% in unstable cells at $c = 2$. The ratio was below the classical bound $\rhoCl$ in 7 of 8 wide cells but below the Berkson bound $\rhoBk$ in only 3 of the 4 cells at $c = 1$. A Gaussian bank with the posterior's first two moments and no link to the seismic came within 2.5\% of the \mRML{} at $c = 1$ in three of four cells, so most of the gain is label augmentation. Every ensemble under-covered (90\% coverage 0.48--0.79).
\begin{figure}[t]
\centering
\includegraphics[width=\linewidth]{p2r_h2b.pdf}
\caption{Bank claim. (a) Band RMSE of \mRML{} divided by that of \mPM{} against posterior width $\sigpost$, for every cell (filled: $N = 16$; open: $N = 4$; marker: drift factor). Bars: 95\% intervals over realizations; dashed line: 1.5\,ms threshold for wide cells. (b) Same ratio against classical bound $\rhoCl(\sigpost)$; cells below diagonal gained more than removing a classical population blur could give.}
\label{fig:h2b}
\end{figure}
\emph{Replication.} We repeated Experiment~2 on realizations 16--23 under rules hashed before they were generated (Section~\Sref{sec:exp:p2r}). The posterior-mean gain was 7--19\% (Table~\ref{tab:h2a}), the zero-drift ratios 0.82--0.90, and the mode again beat the best deterministic tie in 10 of 10 cells (0.73--0.96). With the anchor mean as a competitor the claim held in 2/2 cells at 10\,dB and 0/2 at 0 and $-5$\,dB. The bank passed 2 of 3 wide cells at $N = 16$ (the declared minimum), with Spearman $-0.45$; the Gaussian bank was within 2\%.
\emph{Mechanism (exploratory).} The bulk offset of the \mPM{} had the Berkson correlation structure, but the predicted sharpening was not seen: where measurable, the posterior-mean network was blurred relative to the Oracle (transfer 0.65--0.97 against 1.04--1.21 predicted). The error was not independent of the data, as the theory requires: its size correlated with the posterior width (Spearman 0.04--0.73). Training length explained 30--35\% of the gap between the \mPM{} and the Oracle (Section~\Sref{sec:exp:mech}).
\subsection{Experiment 3: where the results stop}
Experiment~3 has five studies on the realizations and particles of Experiment~2 (Table~\Sref{tab:benchdesign}), so its verdicts are extensions, not replications, and are not summed. Table~\ref{tab:benchverdicts} lists them.
\begin{table}[t]
\centering
\caption{Verdicts of Experiment~3 (abridged; full table and notes in Table~\Sref{tab:benchverdicts}). Posterior-mean claim: \mPM{} against best deterministic tie, margin rule, 10\,dB, $c = 1$ unless stated. No family-wise correction.}
\label{tab:benchverdicts}
\small
\begin{tabular}{p{0.72\linewidth}ll}
\toprule
Claim & Predicted & Verdict \\
\midrule
Posterior-mean claim at $c = 1.5$ & pass & pass$^a$ \\
Bank gain grows with $N$ in wide families & pass & pass \\
Posterior-mean claim, unit-dependent rock physics & pass & \textbf{fail} \\
Posterior-mean claim, frequency-dependent wavelet phase & pass & \textbf{fail} \\
Posterior-mean claim, scaled warp prior & uncertain & pass \\
\mRML{}/\mPM{} $\le 1.02$ for all misspecification settings & pass & pass \\
Posterior-mean claim with anchor-free losses as competitors & pass & pass$^b$ \\
Posterior-mean claim with a TCN backbone & pass & pass \\
\mRML{} better than \mPM{} with a TCN (two settings) & pass & pass \\
Midpoint label of a two-mode error reverses the band ($\Delta = 32$\,ms) & pass & pass \\
Two-member bank better than midpoint label & pass & pass \\
\bottomrule
\end{tabular}
\smallskip
\footnotesize $^a$Locked code returns no verdict (it expects two well counts; grid has four). $^b$Locked code adds Gaussian bank to competitors and then fails in every setting, because Gaussian bank nearly equals \mPM{}.
\end{table}
\emph{Drift--well-count grid.} At $c = 1.5$ the \mPM{} reduced band RMSE by 15\% and 20\% (0.853 and 0.796), and it was better than the best deterministic tie in 91 of 100 cells; all exceptions had sparse anchors (Fig.~\ref{fig:bench_s1}). The bank gain grew with $N$ in all 13 wide families, and the \mRML{} was better in 44 of 52 wide cells.
\begin{figure}[t]
\centering
\includegraphics[width=\linewidth]{bench_s1.pdf}
\caption{Drift--well-count grid by observation setting. (a) Band RMSE of \mPM{} divided by that of best deterministic tie. (b) Band RMSE of \mRML{} divided by that of \mPM{}. Means over 8 realizations $\times$ 5 seeds; values in parentheses fail no-margin rule; outlined cells in (b) are wide. Cells at $c = 2$ have an unstable posterior.}
\label{fig:bench_s1}
\end{figure}
\emph{A wrong wavelet phase makes the posterior confidently wrong.} With a frequency-dependent phase, the SMC re-estimated a constant phase of 43--46$^\circ$ and collapsed onto a wrong warp (90\% coverage 0.17 and 0.10); the \mPM{} was 1.023 and 1.042 times the correlation tie, which degraded by at most 4\%, and 1.22 and 1.39 times at the strong level (Table~\Sref{tab:s2}). A truth-free check, the difference between the SMC mean warp and the correlation tie, did not flag it (1.00 times nominal, [0.90, 1.11]). Bayesian ties that estimate the whole wavelet \citep{buland2003bayesianwavelet,gunning2006waveletextractor} contain this case; we did not test them.
\emph{Unit-dependent rock physics dilutes the ratio, not the label gain.} Registration was nearly unaffected, but the Oracle's error rose by factors of 1.56 and 1.84, and the ratios rose to 0.940 and 0.934, missing the 0.90 margin. The absolute gain in squared band RMSE fell only from 0.137 to 0.122 and from 0.132 to 0.107\,p.u.$^2$.
\emph{Other studies.} The claim held under a scaled warp prior that mainly tests the benign direction, and with the TCN (gains of 16\% and 18\%). A two-mode error with $\Delta = 32$\,ms reversed the band as predicted (measured transfer $-0.70$ and $-0.49$ against $-0.69$ and $-0.49$ for the cosine; Fig.~\ref{fig:bench_s8}), and a two-member bank containing the truth reduced band RMSE relative to the midpoint label by 66\% and 72\% at 10\,dB and by 29\% and 36\% at $-5$\,dB ($\Delta = 16$, 32\,ms, $N = 16$). Its transfer in the reversed band was 0.92--1.00, against 0.05--0.59 for $\cos^2(\pi f\Delta)$: it re-registered rather than averaged.
\begin{figure}[t]
\centering
\includegraphics[width=\linewidth]{bench_s8.pdf}
\caption{Two-mode study at $N = 16$: measured transfer, relative to Oracle, of midpoint label (modes $\Delta$ apart), two-member bank containing true warp, and two-member hard-min, for (a) 10\,dB and (b) $-5$\,dB. Dashed: $\cos(\pi f\Delta)$. Shaded: band in which transfer of midpoint label is negative.}
\label{fig:bench_s8}
\end{figure}
\subsection{What a field test requires}
\emph{Detectability (exploratory).} We rescored the saved test predictions of Experiment~2 against references perturbed by a timing error $\sigma_{\mathrm{ref}}$, comparing the \mRML{} with the best deterministic tie at $c = 1$ (Table~\Sref{tab:t3}). With an exact reference the \mRML{} won at 81--97\% of test wells. In the cells with $N = 16$ the ranking reversed at $\sigma_{\mathrm{ref}} = 3.6$, 3.8 and 4.3\,ms, within 1\,ms of $\sigma/\sqrt2 = 3.0$, 4.1 and 5.1\,ms from the tie error of the competitor. Blind wells that share training wells are correlated, which makes a nominal sign test anti-conservative. A one-sided sign test calibrated for this needed 5--18 blind wells for power 0.8 with an exact reference in four of six cells, 16 and 25 wells in two cells with a 1\,ms reference error, and from 1.5\,ms no cell reached power 0.8 within 40 wells. Paired $t$ and Wilcoxon tests needed 25--50\% fewer wells. A rule such as ``better at 3 of 4 wells'' passes by chance with probability 0.31.
\emph{Field cases.} On F3 the \mRML{} beat the selected deterministic tie at 1 of 4 blind wells, with 80\% and 90\% coverage of 0.52 and 0.61. On Volve it did so at 2 and 3 of 6 wells under two hold-out schemes (90\% coverage 0.48 and 0.47), and a constant at the training-well mean beat every network (post hoc). Neither test could have detected the effect (conditions stated post hoc): the networks had no blind-well skill in the seismic band (band PCC 0.15 on F3), $\sigma_a$ could not be identified from independent time--depth data, and both tests scored a few wells against marker-calibrated ties of unknown error. At Teapot Dome at most 2 of 152 wells had an independent time--depth reference (Appendix~\Sref{app:field}). We claim no field improvement and no calibrated uncertainty.
% ===========================================================================
\section{Discussion}
\label{sec:discussion}
\emph{What held.} The blur prediction held where it could be tested, and the two-mode reversal appeared as predicted. Where the timing was known, the order was registration first and uncertainty second: the SMC model gave a better tie than every deterministic tie, its mode gave most of the gain, and a bank of its samples added a smaller gain when the posterior was wide, mostly reproducible by a Gaussian bank. The comparison is therefore between tie models. The sharpening predicted for posterior-mean ties was not observed, because the error of the posterior-mean tie depends on the data.
\emph{Practical advice.} Audit the tie sources before training. Do not use alignment losses without anchors. Estimate the anchor uncertainty outside the test set. Check that the wavelet model can represent the data, since a confidently wrong posterior can be worse than a crude tie and our truth-free check did not detect it. Use a bank of posterior labels mainly when the posterior is wide. For a field comparison, plan the number of blind wells from the reference error with a test calibrated for wells that share training data.
\emph{Limitations.} The benchmark has one simulator and uses the tie model that the registration assumes, so its nominal gains are not field estimates. The blur test covers only 6.8--22.5\,Hz, while the bank bounds and the predicted sharpening act near 60--70\,Hz; 72\% of the band power of the synthetic labels lies below 25\,Hz, against 54\% for the F3 labels. The anchor uncertainty is given to every method, and only a wrong stated value was tested. The bank bounds assume $\lambda \to 0$; the experiments use $\lambda \approx 0.37$. Experiments~2 and~3 share eight realizations, which the replication addressed only for Experiment~2. The full list is in Section~\Sref{sec:discussion}, with the failed tests and their lessons in Table~\Sref{tab:lessons}.
% ===========================================================================
\section{Conclusions}
\label{sec:conclusion}
Errors in the time index of labels that are independent of the data blur the learned predictor, as confirmed below 23\,Hz, and a calibrated bank of posterior labels can gain only a fourth-order amount in population. Where the true timing was known, labels at the mean of an SMC tie posterior reduced seismic-band RMSE by 8--22\% relative to the best deterministic tie (7--19\% on new realizations), mainly because the tie model was more accurate; a bank of samples added 2--11\% when the posterior was wide. The advantage required a correct anchor uncertainty and a wavelet phase within the tie model. Field validation remains open: it needs a reference independent of the seismic and accurate to about 1\,ms, enough blind wells for a calibrated test, and networks with seismic-band skill. The released benchmark lets other tie methods be compared where the truth is known.
% ===========================================================================
\section*{Computer code availability}
\begin{itemize}
\item Name of the code: \todo{name}
\item Developers and contact: \todo{names, e-mail, phone}
\item Year first available: 2026
\item Hardware requirements: NVIDIA GPU (developed on an RTX 3060 12\,GB and an H200); the clean-room check runs on CPU
\item Software required: Python 3.13, PyTorch 2.14, NumPy 2.5.3, SciPy 1.18.1 (full lock in the repository; a Windows lock with Python 3.12 and PyTorch 2.11 is also provided)
\item Program language: Python
\item Program size: about 19\,900 lines in 127 files
\item License: \todo{open-source code license}
\item Source code: \todo{public repository URL (GitHub or equivalent) and archived DOI}
\end{itemize}
\section*{Data availability}
The F3 Demo 2023 data are available from dGB Earth Sciences (TerraNubis) under CC BY-SA 3.0 \citep{dgb2023f3demo}; the Volve data from Equinor under CC BY-NC-SA 4.0 \citep{equinor2018volve}; the Teapot Dome data from the Texas Data Repository \citep{bader2017teapot}. The derived data behind every table and figure, with a manifest of SHA-256 hashes and a clean-room check that recomputes them without raw seismic, are archived at \todo{archive DOI}. The benchmark package (658 tasks, reference results of 21 methods, scorer) is archived at \todo{Zenodo DOI and license}.
\printcredits
\section*{Declaration of competing interest}
\todo{Competing interests, or: The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.}
\section*{Funding}
\todo{Funding sources and the role of each sponsor, or: This research did not receive any specific grant from funding agencies in the public, commercial, or not-for-profit sectors.}
\section*{Declaration of generative AI and AI-assisted technologies in the manuscript preparation process}
During the preparation of this work the authors used Claude (Anthropic) to write and review analysis code, run and document the computational experiments, check numbers and citations against their sources, and draft and edit the text. After using this tool, the authors reviewed and edited the content as needed and take full responsibility for the content of the published article. \todo{Authors: confirm or correct this statement.}
\section*{Acknowledgements}
We thank dGB Earth Sciences for making the F3 data available through the TerraNubis portal, and Equinor, the former Volve license partners and the Norwegian Petroleum Directorate for releasing the Volve data.
\bibliographystyle{cas-model2-names}
\bibliography{../paper/refs}
\end{document}

View File

@@ -1,39 +0,0 @@
#!/usr/bin/env bash
# Build a flat, self-contained submission folder for Computers & Geosciences in
# paper_cg/submission/ (gitignored): editable LaTeX source with the CAS class files,
# refs.bib and main.bbl, figures as separate files named Figure_1..Figure_N in order of
# appearance, the highlights file, the supplement PDF, and a test compile of the flat copy.
# Run from paper_cg/ after building supplement.pdf and main.pdf (see README.md).
set -euo pipefail
cd "$(dirname "$0")"
OUT=submission
rm -rf "$OUT"; mkdir -p "$OUT"
for f in supplement.aux supplement.pdf main.pdf main.bbl; do
[ -f "$f" ] || { echo "missing $f: build the supplement and main first" >&2; exit 1; }
done
cp els-cas-templates/cas-sc.cls els-cas-templates/cas-common.sty \
els-cas-templates/cas-model2-names.bst "$OUT"/
cp -r els-cas-templates/thumbnails "$OUT"/ # icons used by the class for e-mail/ORCID
cp ../paper/refs.bib main.bbl supplement.aux supplement.pdf highlights.txt "$OUT"/
python3 - "$OUT" <<'PY'
import re, shutil, sys
out = sys.argv[1]
s = open('main.tex').read()
figs = re.findall(r'\\includegraphics(?:\[[^\]]*\])?\{([^}]+)\}', s)
for n, f in enumerate(figs, 1):
shutil.copy(f'../paper/figures/{f}', f'{out}/Figure_{n}.pdf')
s = s.replace('{' + f + '}', '{' + f'Figure_{n}.pdf' + '}', 1)
s = s.replace(r'\graphicspath{{../paper/figures/}}', '')
s = s.replace(r'\bibliography{../paper/refs}', r'\bibliography{refs}')
code = '\n'.join(l.split('%')[0] for l in s.splitlines())
assert '../paper' not in code, 'unresolved ../paper path'
open(f'{out}/main.tex', 'w').write(s)
print('\n'.join(f'Figure_{n}.pdf <- {f}' for n, f in enumerate(figs, 1)))
PY
mv "$OUT/main.bbl" "$OUT/main.bbl.orig"
( cd "$OUT" && pdflatex -interaction=nonstopmode main >/dev/null && { bibtex main >/dev/null || true; } \
&& pdflatex -interaction=nonstopmode main >/dev/null && pdflatex -interaction=nonstopmode main >/dev/null )
cmp -s "$OUT/main.bbl" "$OUT/main.bbl.orig" && rm "$OUT/main.bbl.orig" || { echo "bbl differs from the main build" >&2; exit 1; }
if grep -q "undefined" "$OUT/main.log"; then echo "undefined references in the flat copy" >&2; exit 1; fi
rm -f "$OUT"/main.{aux,blg,log,out,abs}
echo "flat copy compiles: $OUT/main.pdf"

View File

@@ -1,12 +1,12 @@
*.aux *.aux
*.bbl *.bbl
*.blg *.blg
*.abs
*.log *.log
*.out *.out
*.toc *.toc
*.fff
*.ttt
*.synctex.gz *.synctex.gz
main.pdf main.pdf
supplement.pdf supplement.pdf
submission/ submission/
Guide for authors*.pdf

98
paper_gp/README.md Normal file
View File

@@ -0,0 +1,98 @@
# Geophysical Prospecting version
The submission version for *Geophysical Prospecting* (GP; EAGE/Wiley; Original Paper), the venue
fixed on 13/11/2026 (`../docs/research/venue-survey.md` §7, `../docs/plan.md` §12 item 51).
`main.tex` is the article (37 pages double-spaced, with Appendix A; tables, legends and figures at the end); `supplement.tex`
is its Supporting Information (80 pages). The full-length manuscript in `../paper/` stays the master
text. The condensed *Computers & Geosciences* version (`paper_cg/`, Elsevier CAS) was removed from the
working tree on 16/11/2026 at the user's request; it is recoverable from git (commit `883dccf`).
The format follows the live GP author guidelines (Wiley "forauthors" page), saved by the user as
`Geophysical Prospecting.pdf` and read on 16/11/2026 (`../docs/plan.md` §12 item 57). An earlier pass
the same day used the Wayback copy of the 2022 guide (item 55); details and sources:
`../docs/research/gp-style-survey.md`.
## Relation to the other versions
- `main.tex` was derived from the humanized `paper_cg/main.tex` (16/11/2026; that folder is now
removed) and then rewritten after the live guide. No new result numbers: every number in it appears
in `../paper/` (sources in `../paper/README.md`). A token guard against the pre-guide version found no
number dropped and only two added: "2026" (date in the AI statement) and an exponent in Appendix A
copied from `../paper/sections/A_proofs.tex`.
- The abstract is a verbatim copy of `../paper/sections/00_abstract.tex`. Check after any abstract edit:
```
python3 -c "import re;g=lambda p:re.search(r'\\\\begin\{abstract\}\n(.*?)\n\\\\end\{abstract\}',open(p).read(),re.S).group(1);print(g('main.tex')==g('../paper/sections/00_abstract.tex'))"
```
- **Appendix A** ("Formal statements and proofs of the main results") copies, without new mathematics,
the core statements and proofs of `../paper/sections/A_proofs.tex`: Propositions A1–A5 (blur,
identifiability, two error structures, calibrated bank with the band identity, misregistered
reference) and Corollaries A1–A2 (two modes, tolerance). The guide treats Supporting Information as
"not essential to the article", so the theory, a core contribution, is in the article. The band
bounds, coverage, variance matching and the loss lemmas stay in Appendix SA. If a proof changes in
`../paper/sections/A_proofs.tex`, change it here too.
- `supplement.tex` `\input`s Secs. 2–7 and Apps. A–C of `../paper/sections/` unchanged, with every
number prefixed S. The guide asks for basic LaTeX "avoiding complicated macros or cross-references",
so `main.tex` writes its references to the Supporting Information as plain text (Section S6.1,
Table S9, Corollary S1, Lemma S2, ...). `check_si_refs.py` maps each of them to its label and
compares with `supplement.aux` (24/24 OK on 16/11/2026); run it after any change in `../paper/sections/`.
## Build
Plain LaTeX (article class, `amsthm`, `natbib`, `setspace`, `lineno`; no float package, no user macros
except `\todo`). Bibliography style `gpnat.bst` = `plainnat.bst` plus a `prefix` field, which prints
"[dataset]" before the F3, Volve and Teapot entries of `../paper/refs.bib` (Wiley data citation
policy; `plainnat` in `../paper/` ignores the field). Supplement first, so that `check_si_refs.py`
reads current numbers.
```
pdflatex supplement && bibtex supplement && pdflatex supplement && pdflatex supplement
pdflatex main && bibtex main && pdflatex main && pdflatex main
python3 check_si_refs.py
```
## GP checklist (live guide, read 16/11/2026)
| Requirement | State |
|---|---|
| Original Paper; no word or page limit | 37 pages double-spaced; body about 4,000 words (crude count with inline math, without captions, tables and Appendix A) |
| Order: title, running title, authors, affiliations; Acknowledgments; Abstract and keywords; Data Availability Statement; main text; References; Tables; Figure legends; Appendices; Figures (each on its own page, in order of citation) | yes, in that order; tables and figures are not floats, so the order is fixed; each table page carries its title and footnotes |
| Basic LaTeX, no complicated macros or cross-references | article class; simple macros expanded; SI references as text |
| Double spacing, single column, line numbers | `setspace`, `lineno` |
| Title page: title without abbreviations, running title < 50 characters, authors, affiliations, corresponding author's address and e-mail, keywords | running title "Uncertain well ties in learned seismic prediction" (49 characters); authors, affiliations and e-mail todo |
| Up to 7 keywords from the GP list | Seismics; Reservoir geophysics; Petrophysics; Inversion; Theory; Numerical study; Computing aspects (all on the list) |
| Abstract without references, abbreviations or acronyms | unchanged (verbatim copy; no acronym) |
| Introduction: context, literature, objectives, outline; no equations, figures, results or conclusive remarks | the F3 error size and the "shows how" sentence now point forward or state an aim; no results |
| Abbreviations defined at first use in each section and in legends; none in headings | checked by script per section; SMC, RMSE, NLL, TCN, MSE, PHIE, DT defined; legends stand alone |
| All equations numbered, cited as "equation (1)", punctuated | yes (equations 1–3 in the text, A1–A15 in Appendix A) |
| "Figure 1" without parentheses round the number; "seismic" as an adjective; no contractions; no text footnotes; no trade names | yes (OpendTect removed from a legend; only table footnotes) |
| Numbers below 10 in words except with units or in lists | yes ("one of four", "three of the four cells", ...) |
| Conclusion: a few paragraphs, may suggest one or two directions; no references to figures, tables or equations | three paragraphs; two directions for further work |
| Harvard (author–date) references; datasets cited with "[dataset]" | `natbib` + `gpnat.bst` |
| Data Availability Statement with persistent identifiers | present; archive DOI, Zenodo DOI and repository URL are todos |
| Funding in the Acknowledgments; conflict of interest in the submission system (not published) | funding todo |
| AI use described "transparently and in detail" in the Methods or Acknowledgments | detailed statement in the Acknowledgments (tool, period, tasks, responsibility); authors must confirm and name the parts |
| Supporting Information for non-essential material, uploaded as supporting files | `supplement.pdf` |
| At revision: figures and tables as separate files | not yet (first submission may be a single PDF plus .tex) |
## Open items for the authors
Author list, affiliations, corresponding author's postal address and e-mail, ORCID of the submitting
author; funding; confirming the AI statement and naming the parts of the text it helped with; conflict
of interest statement (in the submission system); the archive, benchmark (Zenodo) and repository DOIs
and licenses (then add them as [dataset] references); the cover letter (theory and benchmark of
well-tie error in seismic porosity prediction, two failed field cases, requirements for blind-well
tests); a check that figure axes show quantity, unit and range as the guide asks (the figures were not
redrawn). The abstract has 272 whitespace-separated tokens: fine for GP (no limit stated), but the
*Mathematical Geosciences* fallback needs ≤ 250. `Geophysical Prospecting.pdf` (the guide print) is
the publisher's page; do not commit it unless the user wants it in git.
## Overlap check against the cited literature
`../scripts/50_ref_overlap.py [N]` compares the prose of `../paper/sections/*.tex` and `main.tex` with
the text of every distinct PDF in `../refs/` by word n-grams, offline (nothing is uploaded). Run of
16/11/2026: no shared 8-word span; at 5–7 words only stock phrases ("root mean square error of the",
"with equality if and only if", "CC BY-SA 3.0", ...). It covers only the 25 distinct texts in `refs/`
(the 7 PDFs downloaded by hand on 02/11 are not on this machine) and only near-verbatim reuse; the
journal's iThenticate check (or an institutional one with "do not store") remains the formal check.

49
paper_gp/check_si_refs.py Normal file
View File

@@ -0,0 +1,49 @@
#!/usr/bin/env python3
"""Check the plain-text Supporting Information references in main.tex against supplement.aux.
Geophysical Prospecting asks for basic LaTeX without cross-document references, so main.tex writes
"Section~S6.1", "Table~S9", ... as text. This script maps each of them to the label it stands for,
reads the numbers that supplement.tex actually produced, and fails if any differ or if main.tex uses
an SI reference that is not in the map. Run after building supplement.tex:
python3 check_si_refs.py
"""
import re
import sys
# text in main.tex -> label in ../paper/sections/
MAP = {
"Section~S2": "sec:related", "Table~S1": "tab:positioning", "Table~S2": "tab:audit",
"Section~S3.2": "sec:data:d2", "Table~S3": "tab:package", "Table~S4": "tab:methods",
"Section~S4.5": "sec:method:rml", "Appendix~SA": "app:proofs", "Appendix~SB": "app:field",
"Appendix~SC": "app:record", "Proposition~S1": "prop:blur", "Proposition~S2": "prop:ident",
"Proposition~S3": "prop:tie", "Proposition~S4": "prop:bank", "Proposition~S6": "prop:reference",
"Corollary~S3": "cor:twomode", "Corollary~S4": "cor:tolerance", "Section~S6.1": "sec:exp:p2",
"Table~S9": "tab:h2a", "Table~S10": "tab:sigmaa", "Section~S6.3": "sec:exp:p2r",
"Section~S6.4": "sec:exp:mech", "Table~S13": "tab:benchdesign", "Table~S14": "tab:benchverdicts",
"Table~S15": "tab:s2", "Table~S17": "tab:t3", "Section~S7": "sec:discussion",
"Table~S19": "tab:lessons", "Corollary~S1": "cor:band", "Proposition~S5": "prop:coverage",
"Lemma~S2": "lem:sandwich",
"Section~SC.5": "app:record:gp", "Table~S7": "tab:h1", "Table~S27": "tab:bandspectra",
}
aux = open("supplement.aux", encoding="utf-8").read()
labels = {m.group(1): m.group(2) for m in re.finditer(r"\\newlabel\{([^}]*)\}\{\{([^}]*)\}", aux)}
text = re.sub(r"(?<!\\)%.*", "", open("main.tex", encoding="utf-8").read())
used = set(re.findall(r"(?:Section|Table|Proposition|Corollary|Appendix|Lemma)~S[0-9A-C]+(?:\.[0-9]+)?", text))
ok = True
for ref in sorted(used - MAP.keys()):
print(f"UNMAPPED {ref}")
ok = False
for ref in sorted(used & MAP.keys()):
want = ref.split("~")[1]
got = labels.get(MAP[ref])
if got is None:
got_s = "missing"
else:
got_s = got if got.startswith("S") else "S" + got
if got_s != want:
print(f"MISMATCH {ref}: label {MAP[ref]} is {got_s}")
ok = False
print(f"{len(used)} SI references checked: {'OK' if ok else 'FAIL'}")
sys.exit(0 if ok else 1)

1444
paper_gp/gpnat.bst Normal file

File diff suppressed because it is too large Load Diff

651
paper_gp/main.tex Normal file
View File

@@ -0,0 +1,651 @@
% Geophysical Prospecting version: Original Paper, prepared for first submission.
% Laid out after the live author guide (Wiley, read 16/11/2026 from paper_gp/Geophysical Prospecting.pdf):
% title page (title, running title, authors, affiliations), Acknowledgments, Abstract and keywords,
% Data Availability Statement, main text, References, Tables, Figure legends, Appendix A, Figures (one
% per page, numbered by first citation). Plain LaTeX as the guide asks ("use only the basic functions,
% avoiding complicated macros or cross-references"): article class, double spacing, single column, no
% float package, no user macros except \todo (all todos must be resolved by the authors before upload).
% References: Harvard author-date (natbib); gpnat.bst is plainnat.bst plus a `prefix' field that prints
% "[dataset]" before data citations, as Wiley's data citation policy asks.
% References to the Supporting Information (supplement.tex -> supplement.pdf) are plain text
% (Section S6.1, Table S9, ...) taken from supplement.aux; check them with check_si_refs.py after any
% change in ../paper/sections/.
% Build: pdflatex main && bibtex main && pdflatex main && pdflatex main
% Every number here also appears in ../paper/ (sources: ../paper/README.md). No new numbers.
% The abstract is a verbatim copy of ../paper/sections/00_abstract.tex (checked in README.md).
% Appendix A copies the core statements and proofs of ../paper/sections/A_proofs.tex (no new results).
\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}
\usepackage[margin=2.5cm]{geometry}
\usepackage{amsmath,amssymb,amsthm}
\usepackage{graphicx}
\usepackage{booktabs}
\usepackage{array}
\usepackage{xcolor}
\usepackage{url}
\usepackage[authoryear,round]{natbib}
\usepackage{setspace}
\doublespacing
\usepackage{lineno}
\linenumbers
\graphicspath{{../paper/figures/}}
\newcommand{\todo}[1]{\textcolor{red}{[TODO: #1]}}
\newtheorem{proposition}{Proposition}
\newtheorem{corollary}{Corollary}
\renewcommand{\theproposition}{A\arabic{proposition}}
\renewcommand{\thecorollary}{A\arabic{corollary}}
\title{Uncertain well ties in learned seismic property prediction: theory, a benchmark with known timing, and requirements for blind-well tests}
\author{\parbox{0.9\linewidth}{\centering \todo{full names of the authors}\\[4pt]
\todo{institutional affiliations where the work was conducted, with full postal addresses; footnote for any present address}}}
\date{}
\begin{document}
\maketitle
\thispagestyle{empty}
\noindent\textbf{Running title:} Uncertain well ties in learned seismic prediction
\noindent\textbf{Corresponding author:} \todo{name, full postal address and e-mail}
\noindent\textbf{Keywords:} Seismics; Reservoir geophysics; Petrophysics; Inversion; Theory; Numerical study; Computing aspects
\section*{Acknowledgments}
We thank dGB Earth Sciences for making the F3 data available through the TerraNubis portal, and Equinor, the former Volve license partners and the Norwegian Petroleum Directorate for releasing the Volve data. \todo{Funding: list all funding sources here, or state that the work received no specific grant.}
\emph{Use of generative artificial intelligence.} The authors used the large-language-model assistant Claude (Anthropic), run as a command-line coding agent, from October to November 2026. It was used to write and review the analysis code; to run the computational experiments and record them; to trace reported numbers to the output files and to check citations against the full text where it was available and against the abstract or bibliographic record otherwise; to draft and edit the text of \todo{name the sections and parts of the Supporting Information drafted or edited with the tool}; and to produce simulated referee reports that were used to revise the manuscript. The authors directed the work, checked the output, reviewed and edited all content, and take full responsibility for the accuracy of the article and of its references. \todo{Authors: confirm or correct this statement against the journal's policy on artificial intelligence generated content (Wiley author guidelines, section ``Artificial Intelligence'').}
\begin{abstract}
Seismic reservoir-property predictors are trained on well logs placed in two-way time by uncertain well ties. We treat tie error as error in the time index of the labels and show that errors independent of the data blur the optimal predictor and attenuate the seismic band. In a controlled experiment the measured blur matched the prediction to within 1\% for timing errors of 4--16\,ms (6.8--22.5\,Hz). In a linear-Gaussian model a posterior-mean tie is predicted to sharpen the predictor, but where testable the trained network was blurred. In population, a calibrated bank of posterior labels can improve on the posterior-mean tie only at fourth order. We release a synthetic benchmark of F3 statistics with known timing and a scorer. The benchmark assumes a correctly specified tie model and dense anchors of known uncertainty. Here, labels at the mean of a sequential Monte Carlo tie posterior reduced the seismic-band root-mean-square error by 8--22\% relative to the best deterministic tie (7--19\% in a repeat on new realizations). The gain comes mainly from a more accurate tie model. The result held against a practitioner tie tuned on development data and at three training budgets, but not when the anchors were 2\,ms accurate or carried per-well bulk errors. The best saved posterior sample, used as a point tie, gave most of it. Training on posterior samples added 2--3\% when the posterior was wide (11\% in one setting with an overconfident posterior), but a Gaussian bank with the same two moments obtained most of that. Field validation remains open: F3 and Volve showed no consistent improvement. An exploratory power analysis suggests that a blind-well comparison needs 5--18 wells with an exact reference and more than 40 with a 1.5\,ms reference error.
\end{abstract}
\noindent\textbf{Keywords:} Seismics; Reservoir geophysics; Petrophysics; Inversion; Theory; Numerical study; Computing aspects
\section*{Data Availability Statement}
The F3 Demo 2023 data are openly available from dGB Earth Sciences (TerraNubis) under CC BY-SA 3.0 \citep{dgb2023f3demo}, the Volve data from Equinor under CC BY-NC-SA 4.0 \citep{equinor2018volve} and the Teapot Dome data from the Texas Data Repository \citep{bader2017teapot}. The derived data behind every table and figure are archived at \todo{archive DOI}, with a manifest of SHA-256 hashes and a clean-room check that recomputes them without the raw seismic data. The benchmark package (658 tasks, reference results of 21 methods, scorer) is archived at \todo{Zenodo DOI and license}. The analysis code (Python) is available at \todo{public repository URL, code license and archived DOI}. \todo{Add the two archives as [dataset] entries of the reference list once their DOIs exist.}
\clearpage
% ===========================================================================
\section{Introduction}
\label{sec:intro}
Learned predictors of porosity from seismic data are trained on well logs that a well tie has placed in two-way time. The tie is an estimate, and its error moves every label along the time axis. Learning workflows nevertheless take it as exact, and how large the error is on public data, and what it does to the learned predictor, is rarely asked.
A tie error is an error in the index of a label, not in its value, so its effect depends on frequency. Most well ties output a single time--depth relation \citep{white2003goodpractice,herrera2014semiautomatic}, including recent automated ties that extract time-variant wavelets and estimate the time shift with networks trained by self-supervision \citep{di2023welltie}. These methods aim at a better tie; we study what the remaining tie error does to a predictor trained on the tied logs. Bayesian ties estimate the relation jointly with the wavelet and give a posterior over it \citep{buland2003bayesianwavelet,gunning2006waveletextractor}, but no work we found feeds such a posterior into the training of a property predictor (Section~S2, Table~S1).
Learned property prediction from seismic data, by convolutional, recurrent or physics-guided networks, treats the tie as given. Its reported uncertainty covers the network and the data but not the timing of the labels. \emph{Alignment losses} such as soft dynamic time warping \citep{cuturi2017softdtw} and the shape and time distortion loss DILATE \citep{leguen2019dilate} let a network absorb misalignment without a model of it; Section~\ref{sec:theory} examines whether they can identify absolute timing.
Statistics has long separated two kinds of error in a variable \citep{berkson1950two,carroll2006measurement}. \emph{Classical} error is independent of the true value; \emph{Berkson} error is independent of the assigned value. Misplaced labels have been handled by marginalizing over translations \citep{mnih2012aerial} or timing errors \citep{adams2017imprecise}, and Bayesian registration gives a posterior over the map that transports labels \citep{risholm2013bayesian}. None of these models the error of a label's time index physically, from seismic data and anchors.
In public seismic benchmarks the registration of label to seismic data is exact or is not part of the task \citep{alaudah2019facies,wu2019faultseg,deng2022openfwi}. Spatially dependent data need grouped validation \citep{roberts2017cv}, and comparisons of learning methods need the variance over random seeds and a test with stated power \citep{bouthillier2021variance,demsar2006comparisons}. No benchmark we found varies the timing of its labels with the truth known.
In this paper, we ask three questions. What does tie error do to the optimal predictor? Does training on a tie posterior improve the learned predictor when the true timing is known? And what would a field test of such a claim require? We first develop a theory of tie error in training labels. We then test, on synthetic data with F3 statistics, training on labels drawn from a tempered sequential Monte Carlo tie posterior, whose samples enter network training through one loss shared by all methods. The generator and a task package with 658 tasks, reference results of 21 methods and a scorer form a benchmark with known timing, which we release. Finally, we derive requirements for a field test of tie methods from a detectability analysis, two field cases (F3 and Volve) and an audit of the F3 well data. For exploration geophysics, the aim is to show how tie error shapes a learned seismic property predictor and what blind-well evidence a field claim would need.
Section~\ref{sec:data} describes the F3 data and the synthetic benchmark, Section~\ref{sec:method} the tie posteriors, the shared loss and the compared methods, and Section~\ref{sec:theory} the theory. Section~\ref{sec:results} reports three synthetic experiments, and Section~\ref{sec:field} the detectability analysis and the field cases. Section~\ref{sec:discussion} discusses the results and their limits, and Section~\ref{sec:conclusion} concludes. Appendix~\ref{app:core} states and proves the main theoretical results. The Supporting Information gives the full text, every table, all proofs and the protocol record; its sections, tables, propositions and appendices carry the prefix S.
% ===========================================================================
\section{Data and benchmark}
\label{sec:data}
\emph{F3.} We use the F3 Demo 2023 release \citep{dgb2023f3demo}: a post-stack volume and four vertical wells with sonic, density and effective porosity (PHIE) logs, horizons and time--depth markers. Learning uses 600--1100\,ms two-way time; ties use 400--1300\,ms. An audit (Table~S2) found large timing errors. Time from integrated sonic differs from the marker times in the target window by up to 14--66\,ms depending on the well, and the difference changes by 10--46\,ms within the window. The time--depth model distributed with the data deviates from the markers by up to 36.5\,ms at one well (Figure~\ref{fig:tddrift}). The dominant seismic period is 17--20\,ms, so these errors are of the order of a period. The audit also found that PHIE is a linear function of the sonic log at three wells, so the label and the sonic time axis are coupled. The markers are horizon-tie picks made on the same seismic volume, not independent check-shot surveys. Over 18 marker--horizon pairs, the scaled median absolute deviation (a robust estimate of the standard deviation) of their time differences was 6.9\,ms, which sets the anchor uncertainty $\sigma_a = 7$\,ms; the sample standard deviation was 16.5\,ms because of outliers. Because the markers are picks on the same data, $\sigma_a$ is not identifiable on F3.
\emph{Synthetic generator.} A generator with F3 statistics makes the true timing known (Section~S3.2). It builds porosity fields in the frame of five F3 horizons, applies F3 rock physics, and computes seismic data from a statistical F3 wavelet plus band-limited noise. The true warp of each well is drawn from the warp prior of Section~\ref{sec:method}, fitted to F3, and scaled by a drift factor $c$: $c = 1$ reproduces the F3 drift range and $c = 0$ is perfect registration. Anchors are true marker times plus $\mathcal{N}(0, 7^2)$\,ms noise. Each realization has 16 training wells (nested subsets of $N$) and eight test wells. We use five observation settings: full anchors at 10, 0 and $-5$\,dB; half the anchors at 0\,dB (\emph{half-anchor}); and top and bottom anchors only at 10\,dB (\emph{two-anchor}). A \emph{cell} is a setting, $c$ and $N$. Design choices use development realizations (from 900) only.
\emph{Misspecification.} Three axes depart from the model that the registration assumes, each at two levels: unit-dependent rock physics, a frequency-dependent wavelet phase (plus a separate attenuation preset), and a scaled or out-of-family warp prior.
\emph{Package.} The released package has 658 tasks: the five settings at five drift factors, 14 misspecification settings, six two-mode settings and two settings with a wrong stated $\sigma_a$, on test realizations 8--15 and development realizations 900--905 (Table~S3). The truth is included because the generator is public, so the package supports controlled comparisons, not blind ones.
% ===========================================================================
\section{Methods}
\label{sec:method}
\emph{Warp model.} The time of depth $z$ at well $w$ is
\begin{equation}
t_w(z; b_w, g_w) = t_{w,\mathrm{ref}} + b_w + 2\int_{z_{\mathrm{ref}}}^{z} \mathrm{DT}_w(z')\, e^{g_w(z')}\,\mathrm{d}z' ,
\label{eq:warp}
\end{equation}
where DT is the sonic log, $b_w \sim \mathcal{N}(0, \sigma_b^2)$ is a bulk offset and $g_w$ is a Gaussian-process log-slowness correction (Mat\'ern-3/2). The map is monotone by construction. \emph{Anchors} are depth--time pairs whose time is known up to an error: on F3 they are the horizon-tie markers, and in the benchmark they are the true marker times plus noise. The registration treats anchor errors as independent $\mathcal{N}(0, \sigma_a^2)$. Hyperparameters are fitted on the anchors of the training wells, with $\sigma_a = 7$\,ms and $\sigma_b = 50$\,ms fixed. The tie likelihood is Gaussian in the seismic residual. The amplitude and noise are profiled out, a constant wavelet phase is chosen by marginal likelihood on the training wells, and tempering accounts for autocorrelated residuals.
\emph{Posteriors.} Experiment~1 draws 64 warps per well from the anchor-conditioned posterior and reweights them by the tempered tie likelihood. Experiment~2 uses tempered sequential Monte Carlo (SMC), which moves $N_p = 1024$ anchor-posterior samples to the full posterior with resampling and elliptical slice moves \citep{murray2010ess}; banks of $S = 64$ labels are drawn from the particles. A bank is \emph{calibrated} when averages over its members equal expectations under the tie posterior. A finite bank of exact posterior samples is calibrated only approximately, and a bank from a tempered target is not calibrated even as $S \to \infty$. The posterior width $\sigma_{\mathrm{post}}$ is the 90\% interval width of the timing divided by 3.29. At $c = 2$ the SMC mean warp did not meet the stability criterion fixed before the trial, and those cells are flagged unstable.
\emph{Labels and loss.} Each warp $u^{(s)}$ gives labels $y^{(s)}(t) = (\mathcal{A}\phi)(z^{(s)}(t))$, the anti-aliased log read at the depth that the warp places at time $t$. Every method, including the Oracle, builds labels this way and differs only in its warps. A network outputs a Gaussian mean $\mu_i$ and standard deviation $\sigma_i$. For a bank with weights $\pi_s$, the loss is the relaxed minimum
\begin{equation}
\ell_s = \sum_{i=1}^{n} \log\mathcal{N}\big(y_{s,i};\, \mu_i, \sigma_i^2\big), \qquad
\mathrm{RML}_\lambda = -\frac{1}{\lambda n}\log\sum_{s=1}^{S}\pi_s\, e^{\lambda \ell_s},
\label{eq:rml}
\end{equation}
which lies between the hard minimum ($\lambda \to \infty$) and the weighted mean negative log-likelihood ($\lambda \to 0$). We use $\lambda = 1/\tau_c \approx 0.36$--$0.37$, where $\tau_c$ accounts for correlated residuals (Section~S4.5). With $S = 1$ the loss is the usual negative log-likelihood, so point ties, banks and alignment losses share one objective.
\emph{Network and training.} The input is a $3\times3$ patch of traces around the well. The backbone is three dilated one-dimensional convolutions and a two-layer bidirectional gated recurrent network, with an output head that predicts the mean and the standard deviation \citep{kendall2017uncertainties}; a temporal convolutional network is the second backbone. Iteration budgets are chosen per method from $\{125, \dots, 2000\}$ on development realizations by the total root-mean-square error (RMSE). Ensembles average the predictions of five networks trained from different seeds \citep{lakshminarayanan2017deepensembles}.
\emph{Methods.} Table~\ref{tab:methods} lists the compared families. The SMC mean trains on labels at the mean SMC warp, $y^{\mathbb{E}[u\mid D]}$; the SMC bank trains with equation~\eqref{eq:rml} on the bank of SMC particles. Because the label is a nonlinear function of the warp, $y^{\mathbb{E}[u\mid D]}$ is not the posterior mean of the labels, $\bar y = \sum_s \pi_s y^{(s)}$; an exploratory \emph{mean label} arm trains on $\bar y$ with the negative log-likelihood (NLL).
\emph{Metrics and rules.} The primary metrics are the RMSE and the Pearson correlation in the seismic band ($f \ge 6$\,Hz), in porosity units (p.u.), macro-averaged over eight test wells. Intervals are 95\% bootstrap intervals over realizations. Under the \emph{margin rule} a candidate improves if its band RMSE is at most 0.90 times that of the best competitor or its band correlation is at least 0.05 higher; under the \emph{no-margin rule}, it improves if its band RMSE is lower. The \emph{zero-drift guard} is a no-harm check without drift: at $c = 0$ in the same observation setting, the band RMSE of the candidate must be at most 1.02 times that of the best competitor, averaged over $N$ and for each $N$. A cell passes if the candidate improves in at least four of five seeds and in more than half of the realizations. The no-margin rule passes with probability up to 0.36 under exchangeability, so ratios with intervals are the primary evidence. The SHA-256 hash of each protocol was recorded before its main run (\emph{hash-locked}) but was not deposited with a third party (Appendix~SC). Test labels never chose a shift, checkpoint or hyperparameter.
% ===========================================================================
\section{Theory}
\label{sec:theory}
Appendix~\ref{app:core} states the main results formally and proves them; Appendix~SA of the Supporting Information also gives the seismic-band bounds, the coverage results and the lemmas of the loss. Here we state the results and their consequences.
\emph{Blur.} Suppose the timing error of a label is independent of the data, with characteristic function $P(f)$. Then the optimal predictor of the misregistered label is the true one filtered by $P(f)$ (Proposition~\ref{prop:blur}), the regression form of the attenuation that random timing jitter produces in sampled signals \citep{balakrishnan1962jitter}. For a Gaussian error with standard deviation $\sigma$, $P(f) = e^{-2\pi^2\sigma^2 f^2}$, which attenuates the seismic band. How much variance remains depends on the spectrum used as weight. With the F3 seismic amplitude spectrum as a proxy for the recoverable band, less than 7\% of the seismic-band variance remains at $\sigma = 8$\,ms. A trained predictor has most of its power below 25\,Hz (Table~S27), where the attenuation is weaker: in the experiment below, its band standard deviation fell from 0.945 of that of the label without timing error to 0.677 at 8\,ms, so about half of its band variance remained (Table~S7). We tested the prediction by training with a mean-squared-error loss on labels shifted by Gaussian errors. The shift was fixed within each 64-sample window and independent between windows; it was not one shift per well. We estimated the transfer from cross-spectra. On the usable frequencies of 6.8--22.5\,Hz, the geometric mean of measured over predicted transfer was $r = 1.009$, 1.009 and 1.007 at $\sigma = 4$, 8 and 16\,ms, that is, within 1\%, and 1.093 at 32\,ms (Figure~\ref{fig:h1}). The test has no power at higher frequencies.
\emph{Identifiability.} With alignment losses alone, a joint shift of network and label is invisible to the loss, so absolute timing is not identified. With anchors the shift has a standard deviation of about $\sigma_a/\sqrt{\sum_w K_w}$ for $K_w$ anchors per well, and with the prior alone about $50/\sqrt N$\,ms (Proposition~\ref{prop:ident}).
\emph{Classical and Berkson tie error.} A point tie $\hat u$ and the true warp $u^\star$ define two errors: the shift that maps the point label to the true one, and the reverse. If the first is independent of the label given the seismic data, the error is classical and the point label blurs the predictor. If the second is independent of the data, the error is Berkson, and the point label is predicted to sharpen the predictor, with transfer $e^{+2\pi^2\sigma^2 f^2}$ for a Gaussian error (Proposition~\ref{prop:tie}). A posterior-mean tie in a linear-Gaussian model has Berkson error.
\emph{Bank gain.} Two labels derived from a tie posterior must be kept apart. The SMC mean of Section~\ref{sec:method} trains on the label at the posterior-mean warp, $y^{\mathbb{E}[u\mid D]}$. A calibrated bank has as its average label the posterior mean of the labels, $\bar y = \mathbb{E}[y^{u}\mid D]$ (Proposition~\ref{prop:bank}(a)). The two agree only to first order in the posterior spread, because the label is a nonlinear function of the warp. In population, and in the limit $\lambda \to 0$ of the relaxed minimum, training on a bank calibrated for the label and its log-likelihood has the optimum $m$ of training on the true labels. No predictor of the data then improves on the optimal predictor $\tilde m$ of a point label by more than the factor
\begin{equation}
\rho^\star = \Big(1 + \frac{\mathbb{E}|B(\tilde m - m)|^2}{\mathbb{E}|B(m - y)|^2}\Big)^{-1/2},
\label{eq:rhostar}
\end{equation}
where $B$ is the seismic-band filter (Proposition~\ref{prop:bank}). We call $\rho^\star$ a population limit: it compares optimal predictors, not trained networks, and a network trained on finite data can fall below it. For timing errors that are Gaussian, independent of the data and pure shifts, the distortion in the numerator is of fourth order in $\sigma$, so the population gain of a calibrated bank is small. The fourth-order statement holds only under these three conditions and for a calibrated bank at $\lambda \to 0$; it does not cover the tempered, finite banks of our experiments ($\lambda \approx 0.37$, $S = 64$) or errors that depend on the data. The weight $f^4$ moves the distortion to high frequencies (median 67--72\,Hz for the Oracle predictions of Experiment~2), well above the 6.8--22.5\,Hz in which the blur was verified, and there the Berkson integral exceeds the classical one by factors of 1.5--4.6. We write $\rho^\star_{\mathrm{cl}}$ (hash-locked) and $\rho^\star_{\mathrm{Bk}}$ (post hoc) for the two limits.
\emph{Two-mode error.} If the label error is $\pm\Delta/2$ with equal probability, the transfer is $\cos(\pi f\Delta)$. It is negative for $1/(2\Delta) < f < 3/(2\Delta)$, so the learned band is reversed there. An equal-weight bank of the two modes contains the truth but is not calibrated, and its transfer as $\lambda \to 0$ is $\cos^2(\pi f\Delta)$ (Corollary~\ref{cor:twomode}).
\emph{Misregistered reference.} Suppose the blind-well reference itself has a timing error $\sigma_{\mathrm{ref}}$. An unshrunk oracle then keeps its advantage over a point label with tie error $\sigma$ only if $\sigma_{\mathrm{ref}} < \sigma/\sqrt2$ at every frequency (Proposition~\ref{prop:reference}, Corollary~\ref{cor:tolerance}). More blind wells reduce the variance of the comparison but not this bias.
% ===========================================================================
\section{Synthetic experiments}
\label{sec:results}
\subsection{Experiment 1: anchor-posterior banks failed}
At 10\,dB with full anchors, the reweighted anchor bank had to beat every deterministic tie, the anchor mean and the anchor-free losses in at least three of four cells at $c = 1$. No cell passed. Its ratio to the best competitor (the correlation tie) was 1.045, 1.025, 1.020 and 0.985 for $N = 2$--16, and the zero-drift guard failed (Section~S6.1). The shift-bank losses were 38--53\% worse than the calibrated sonic they start from. Removing the anchors raised the warp root-mean-square error (RMSE) from 3.15 to 31.1\,ms, as the identifiability result predicts. The anchor posterior had a warp RMSE of 3.25\,ms, no better than the 3.85\,ms of the correlation tie, whereas a sequential Monte Carlo (SMC) posterior reached 0.56\,ms on development data. Experiment~2 was designed after this failure, on development data only. It was run on realizations 8--15, which were generated after its protocol was locked.
\subsection{Experiment 2: sequential Monte Carlo tie posterior}
The five settings were crossed with $c \in \{0, 1, 2\}$ and $N \in \{4, 16\}$, with five seeds. The \emph{posterior-mean claim} asks whether the SMC mean beats the best deterministic tie under the margin rule at $c = 1$, with a zero-drift guard. The \emph{bank claim} asks whether the SMC bank beats the SMC mean when the posterior is wide ($\sigma_{\mathrm{post}} \ge 1.5$\,ms). An \emph{anchor-uncertainty test} registers with a wrong $\sigma_a$.
\emph{Posterior-mean labels beat the best deterministic tie,} by 14\% and 22\% at 10\,dB, 11\% at 0\,dB and 8--9\% at $-5$\,dB (Table~\ref{tab:h2a}, Figure~\ref{fig:p2rgrid}). Most of the gain was present without drift (zero-drift macro ratios 0.81--0.88), so it comes largely from a better tie, not from correcting drift. The nominal gain was measured with the model that the registration assumes. When the simulator departs from it, the gain shrinks for unit-dependent rock physics and reverses for a wrong wavelet phase, the worst case, where the posterior becomes confidently wrong (Table~\ref{tab:misspec}). The best saved particle of the same SMC model (the highest tempered target among its 1024 saved particles), used as a point tie, beat the best deterministic tie in all 12 cells at $c \in \{0, 1\}$, and averaging over the posterior added at most 3\% (ratios 0.97--1.01). Against the anchor mean the gain was 2--33\% and shrank with noise. With the anchor mean as a competitor, the claim held in both cells at 10\,dB, in one of two cells at 0\,dB and in neither at $-5$\,dB.
\emph{The gain is sensitive to a twofold misstatement of the anchor uncertainty.} When the registration used $\sigma_a = 3.5$\,ms against a true 7\,ms, the SMC mean was 0.977 and 1.141 times the best deterministic tie; with 14\,ms, it was 0.985 and 0.928. No cell passed (Table~S10). Both posteriors were miscalibrated (90\% coverage 0.62 and 0.52, against 0.89 with the correct value). At $-5$\,dB the ratios with a wrong $\sigma_a$ were 0.98--1.02, against 0.92 with the correct one. Over-trusted anchors were absorbed by a rougher drift prior (refitted correlation length 10--15 instead of 80--90\,ms); with the drift hyperparameters held fixed, $\sigma_{\mathrm{post}}$ fell to 0.88 and 0.67\,ms. Since $\sigma_a$ is not identifiable on F3, this is the main risk for field use.
\emph{The gain shrinks when the anchors are accurate and reverses with per-well bulk error.} On eight new realizations (24--31), at 10\,dB and $c = 1$, we varied the true anchor error and the value given to the registration (Table~\ref{tab:anchornoise}). With a correctly stated independent error of 4\,ms the SMC mean was 0.930 and 0.915 times the best deterministic tie; at 2\,ms it was 0.979 and 0.969, and at 1\,ms 0.987 and 0.989 (intervals containing 1 at $N = 4$). The posterior stayed accurate (warp error 0.45--0.55\,ms), so the gain vanished because the deterministic ties became accurate. With a per-well bulk error of 5\,ms added to 2\,ms noise, as the F3 marker--horizon differences suggest, the SMC mean was 1.05--1.30 times the best tie for every stated $\sigma_a$, and its posterior was overconfident (coverage 0.48--0.63). The gain reported above is therefore a property of independent anchor noise of about 4--7\,ms.
\emph{A bank helps when the posterior is wide.} At $N = 16$ the SMC bank was better than the SMC mean in all eight wide cells. The ratio fell with $\sigma_{\mathrm{post}}$ (Spearman $-0.85$), and the mean ratio over narrow cells was 0.996 (Figure~\ref{fig:h2b}). At $c = 1$ the gains were 3.3\%, 3.0\%, 11.0\% and 1.8\% in the 0\,dB, half-anchor, two-anchor and $-5$\,dB cells (replication: 0.7\%, 1.7\%, 12.4\% and 0.7\%). The 11\% comes from the two-anchor setting, whose posterior is overconfident (warp error 4.8\,ms against $\sigma_{\mathrm{post}} = 1.9$\,ms); the other three gains are 2--3\%. At $c = 2$ gains reached 33\% in unstable cells. The ratio was below the classical limit $\rho^\star_{\mathrm{cl}}$ in seven of eight wide cells but below the Berkson limit $\rho^\star_{\mathrm{Bk}}$ in only three of the four cells at $c = 1$. A Gaussian bank with the posterior's first two moments and no link to the seismic data was 0.0--2.1\% above the SMC bank at $c = 1$, with a paired difference compatible with zero in three of four cells, so most of the gain is label augmentation. Every ensemble under-covered (90\% coverage 0.48--0.79).
\emph{Mean label (exploratory).} In the wide cells the posterior mean of the labels differed from the label at the mean warp by 0.11--0.72\,p.u. (RMS). Training on it improved on the SMC mean by 0.8--1.7\% in six of eight wide cells and by 3.1\% and 11.9\% in the half-anchor and two-anchor cells at $c = 2$ (interval below 1 in five). The SMC bank improved on the mean label in seven of eight wide cells: by 0.1--2.5\% in three cells at $c = 1$, by 9.5\% in the two-anchor cell at $c = 1$ and by 2.1--24\% at $c = 2$ (Section~SC.5). The bank gain is therefore not only the label correction of Proposition~\ref{prop:bank}(a).
\emph{Stronger competitors and equal budgets (exploratory).} A practitioner-grade tie (calibration, wavelet estimate and smoothing chosen on development realizations only) was not the best deterministic tie at $c = 1$ (ratio to the correlation tie 1.05--1.22 at 10\,dB), so the 8--22\% gain stands; the SMC mean passed five of six cells at $c = 1$ against all point ties on realizations 8--15 and on 16--23. The gain held at 125, 250 and 500 training iterations (six of six cells each). A point tie that optimizes the SMC target directly beat the best deterministic tie in 12 of 12 cells (ratios 0.79--0.91) and was indistinguishable from the SMC mean in nine, so the target, not the sampler, carries the gain (Section~SC.5).
\emph{Replication.} We repeated Experiment~2 on realizations 16--23 under rules hashed before they were generated (Section~S6.3). The posterior-mean gain was 7--19\% (Table~\ref{tab:h2a}) and the zero-drift ratios were 0.82--0.90. The best saved particle again beat the best deterministic tie in 10 of 10 cells (0.73--0.96). With the anchor mean as a competitor, the claim held in both cells at 10\,dB and in none at 0 and $-5$\,dB. The bank passed two of three wide cells at $N = 16$ (the declared minimum), with Spearman $-0.45$; the Gaussian bank was within 2\%.
\emph{Mechanism (exploratory).} The bulk offset of the SMC mean had the Berkson correlation structure, but the predicted sharpening was not seen. Where measurable, the posterior-mean network was blurred relative to the Oracle (transfer 0.65--0.97 against 1.04--1.21 predicted). The error was not independent of the data, as the theory requires: its size correlated with the posterior width (Spearman 0.04--0.73). Training length explained 30--35\% of the gap between the SMC mean and the Oracle (Section~S6.4).
\subsection{Experiment 3: where the results stop}
Experiment~3 has five studies on the realizations and particles of Experiment~2 (Table~S13). Its verdicts are therefore extensions, not replications, and are not summed. Table~\ref{tab:benchverdicts} lists them.
\emph{Drift--well-count grid.} At $c = 1.5$ the SMC mean reduced the band RMSE by 15\% and 20\% (0.853 and 0.796). It was better than the best deterministic tie in 91 of 100 cells, and all exceptions had sparse anchors (Figure~\ref{fig:bench_s1}). The bank gain grew with $N$ in all 13 wide families, and the SMC bank was better in 44 of 52 wide cells.
\emph{A wrong wavelet phase makes the posterior confidently wrong.} With a frequency-dependent phase, the SMC re-estimated a constant phase of 43--46$^\circ$ and collapsed onto a wrong warp (90\% coverage 0.17 and 0.10). The SMC mean was 1.023 and 1.042 times the correlation tie, which degraded by at most 4\%, and 1.22 and 1.39 times at the strong level (Table~S15). A truth-free check, the difference between the SMC mean warp and the correlation tie, did not flag it (1.00 times nominal, [0.90, 1.11]). Bayesian ties that estimate the whole wavelet \citep{buland2003bayesianwavelet,gunning2006waveletextractor} contain this case; we did not test them.
\emph{Unit-dependent rock physics dilutes the ratio, not the label gain.} Registration was nearly unaffected, but the Oracle's error rose by factors of 1.56 and 1.84, and the ratios rose to 0.940 and 0.934, missing the 0.90 margin. The absolute gain in squared band RMSE fell only from 0.137 to 0.122 and from 0.132 to 0.107\,p.u.$^2$.
\emph{Other studies.} The claim held under a scaled warp prior, which mainly tests the benign direction, and with the temporal convolutional network (gains of 16\% and 18\%). A two-mode error with $\Delta = 32$\,ms reversed the band as predicted (measured transfer $-0.70$ and $-0.49$ against $-0.69$ and $-0.49$ for the cosine; Figure~\ref{fig:bench_s8}). A two-member bank containing the truth reduced the band RMSE relative to the midpoint label by 66\% and 72\% at 10\,dB and by 29\% and 36\% at $-5$\,dB ($\Delta = 16$, 32\,ms, $N = 16$). Its transfer in the reversed band was 0.92--1.00, against 0.05--0.59 for $\cos^2(\pi f\Delta)$: it re-registered rather than averaged.
% ===========================================================================
\section{Field cases and blind-well requirements}
\label{sec:field}
\emph{Detectability in the benchmark (exploratory).} The estimand is the probability that, for the networks of one training set, the SMC bank (training on a bank of sequential Monte Carlo posterior samples) has a lower seismic-band root-mean-square error than the best deterministic tie at a blind well drawn from the same field. It is conditional on the training wells; it is not an average over training sets. We rescored the saved test predictions of Experiment~2 at $c = 1$ against references perturbed by a Gaussian timing error $\sigma_{\mathrm{ref}}$ that is independent of the predictions (Table~S17). With an exact reference the SMC bank won at 81--97\% of test wells. In the cells with $N = 16$ the ranking reversed at $\sigma_{\mathrm{ref}} = 3.6$, 3.8 and 4.3\,ms, within 1\,ms of $\sigma/\sqrt2 = 3.0$, 4.1 and 5.1\,ms from the tie error of the competitor. The condition $\sigma_{\mathrm{ref}} < \sigma/\sqrt2$ assumes Gaussian errors, a reference independent of the prediction and an oracle without shrinkage (Corollary~\ref{cor:tolerance}); it is necessary but not sufficient. Blind wells that share training wells are correlated, which makes a nominal sign test anti-conservative. A one-sided sign test calibrated for the correlation measured here (intraclass correlation up to 0.45) needed 5--18 blind wells for power 0.8 with an exact reference in four of six cells, and 16 and 25 wells in two cells with a 1\,ms reference error. From 1.5\,ms, no cell reached power 0.8 within 40 wells. Paired $t$ and Wilcoxon tests needed 25--50\% fewer wells. A rule such as ``better at three of four wells'' passes by chance with probability 0.31. These are properties of this benchmark, not general standards. The intraclass correlation cannot be estimated from one field with a few blind wells, and a 1\,ms timing error is a phase error of $18^\circ$ at 50\,Hz, so the requirement is demanding; we do not show that it can be met in the field.
\emph{F3 and Volve.} On F3 the SMC bank beat the selected deterministic tie at one of four blind wells, with 80\% and 90\% coverage of 0.52 and 0.61. On Volve it did so at two and three of six wells under two hold-out schemes (90\% coverage 0.48 and 0.47), and a constant at the training-well mean beat every network (post hoc). Neither test could have detected the effect (conditions stated post hoc). The networks had no blind-well skill in the seismic band (band correlation 0.15 on F3), $\sigma_a$ could not be identified from independent time--depth data, and both tests scored a few wells against marker-calibrated ties of unknown error. At Teapot Dome at most two of 152 wells had an independent time--depth reference (Appendix~SB). We claim no field improvement and no calibrated uncertainty.
% ===========================================================================
\section{Discussion}
\label{sec:discussion}
\emph{What held.} The blur prediction held where it could be tested, and the two-mode reversal appeared as predicted. Where the timing was known, the order was registration first and uncertainty second. The sequential Monte Carlo (SMC) model gave a better tie than every deterministic tie, and its best saved particle gave most of the gain. A bank of its samples added a smaller gain when the posterior was wide, and a Gaussian bank reproduced most of it. The comparison is therefore between tie models. The sharpening predicted for posterior-mean ties was not observed, because the error of the posterior-mean tie depends on the data.
\emph{Practical advice.} Audit the tie sources before training. Do not use alignment losses without anchors. Estimate the anchor uncertainty outside the test set. Check that the wavelet model can represent the data: a confidently wrong posterior can be worse than a crude tie, and our truth-free check did not detect it. Use a bank of posterior labels mainly when the posterior is wide. For a field comparison, plan the number of blind wells from the reference error, with a test calibrated for wells that share training data.
\emph{Limitations.} The benchmark has one simulator and uses the tie model that the registration assumes, so its nominal gains are not field estimates. The blur test covers only 6.8--22.5\,Hz, while the bank limits and the predicted sharpening act near 60--70\,Hz; 72\% of the band power of the synthetic labels lies below 25\,Hz, against 54\% for the F3 labels. The anchor uncertainty is given to every method; the gain was lost at true anchor errors of 2\,ms or less and reversed with per-well bulk error, and only independent errors of 4--7\,ms were favorable. The bank limits assume $\lambda \to 0$, whereas the experiments use $\lambda \approx 0.37$. Experiments~2 and~3 share eight realizations, which the replication addressed only for Experiment~2. The full list is in Section~S7, and the failed tests with their lessons are in Table~S19.
% ===========================================================================
\section{Conclusions}
\label{sec:conclusion}
Errors in the time index of training labels act on a learned seismic property predictor as a filter. Errors that are independent of the data blur the optimal predictor and attenuate the seismic band, as confirmed between 6.8 and 22.5\,Hz for errors drawn per window, and in population a calibrated bank of posterior labels can gain only a fourth-order amount over a point label.
Where the true timing was known, labels at the mean of a sequential Monte Carlo tie posterior reduced the seismic-band root-mean-square error by 8--22\% relative to the best deterministic tie (7--19\% on new realizations). The main reason was a more accurate tie model; a bank of samples added 2--11\% when the posterior was wide. The advantage was lost when the anchor uncertainty was misstated by a factor of two in either direction, when the true anchor error was 2 ms or less or had a per-well bulk component, and when the wavelet phase lay outside the tie model. The released benchmark lets other tie methods be compared where the truth is known.
Field validation remains open. In this benchmark a blind-well comparison had power only with a reference independent of the seismic data and accurate to about 1\,ms, enough blind wells for a test calibrated for wells that share training data, and networks with skill in the seismic band; whether such a reference can be obtained in the field is not shown here. Two directions for further work follow: a field test at a site with independent time--depth measurements at enough wells, and tie models that estimate the whole wavelet and take the anchor uncertainty from data outside the test set, which address the two failures found on the benchmark.
\bibliographystyle{gpnat}
\bibliography{refs}
% ===========================================================================
% Tables: one per page, each complete with title and footnotes (guide, item x).
\clearpage
\begin{center}
\refstepcounter{table}\label{tab:methods}
\parbox{\linewidth}{\textbf{Table~\thetable.} Compared methods (full list in Table~S4). All share one backbone, label operator and set of budget candidates. NLL, Gaussian negative log-likelihood; $\mathrm{RML}_\lambda$, relaxed minimum of equation~\eqref{eq:rml}; SMC, sequential Monte Carlo; soft-DTW, soft dynamic time warping; DILATE, a shape and time distortion loss.}
\medskip
\small
\begin{tabular}{lp{0.52\linewidth}l}
\toprule
Name & Labels / bank & Loss \\
\midrule
Calibrated sonic & sonic calibrated through the anchors & NLL \\
Correlation tie & calibrated sonic plus local shifts from synthetic--seismic correlation & NLL \\
Phase-estimated correlation & correlation tie with the SMC-estimated wavelet phase & NLL \\
Anchor mean & mean warp of the anchor posterior & NLL \\
Anchor-free losses & calibrated sonic with shift banks, soft-DTW or DILATE & various \\
(Reweighted) anchor bank & 64 anchor-posterior warps (Experiment~1) & $\mathrm{RML}_\lambda$ \\
SMC mean & mean warp of the SMC posterior & NLL \\
SMC bank & 64 SMC particles & $\mathrm{RML}_\lambda$ \\
Gaussian bank & samples with the SMC posterior's mean and covariance & $\mathrm{RML}_\lambda$ \\
Oracle & true warp (a ceiling, not a competitor) & NLL \\
\bottomrule
\end{tabular}
\end{center}
\clearpage
\begin{center}
\refstepcounter{table}\label{tab:h2a}
\parbox{\linewidth}{\textbf{Table~\thetable.} Experiment~2 at drift factor $c = 1$: seismic-band root-mean-square error of the SMC mean (labels at the mean warp of the sequential Monte Carlo tie posterior) divided by that of the best deterministic tie, for $N = 4$ / $N = 16$ training wells (95\% intervals in Table~S9). Replication: realizations 16--23. Best saved particle: the SMC particle with the highest tempered target among the 1024 saved per well, used as a point tie, relative to the best deterministic tie. Zero-drift: ratio at $c = 0$, averaged over $N$. Signal-to-noise ratios in decibels (dB). Status of the rows: the first row of each pair (SMC mean against the best deterministic tie) is hash-locked; the replication was declared and hashed before its realizations existed but after Experiment~2; the anchor-mean comparison, the best saved particle and the zero-drift ratios are post hoc or exploratory.}
\medskip
\small
\begin{tabular}{lccc}
\toprule
& 10\,dB & 0\,dB & $-5$\,dB \\
\midrule
SMC mean / best deterministic tie & 0.857 / 0.782 & 0.888 / 0.888 & 0.915 / 0.923 \\
\quad replication & 0.833 / 0.806 & 0.897 / 0.869 & 0.931 / 0.917 \\
SMC mean / anchor mean & 0.81 / 0.67 & 0.93 / 0.89 & 0.98 / 0.97 \\
Best saved particle / best deterministic tie & 0.86 / 0.80 & 0.89 / 0.90 & 0.95 / 0.93 \\
Zero-drift SMC mean / best deterministic tie & 0.809 & 0.851 & 0.878 \\
\bottomrule
\end{tabular}
\end{center}
\clearpage
\begin{center}
\refstepcounter{table}\label{tab:anchornoise}
\parbox{\linewidth}{\textbf{Table~\thetable.} Anchor-error study (exploratory; realizations 24--31, 10\,dB, $c = 1$). True independent anchor error, per-well bulk error and the value registered (ms); seismic-band root-mean-square error of the SMC mean divided by that of the best deterministic tie with 95\% intervals, for $N = 4$ and $N = 16$ training wells; root-mean-square error of the SMC mean warp (ms) and 90\% coverage of its posterior at $N = 16$. A ratio below 1 is a gain.}
\medskip
\small
\begin{tabular}{cccccccc}
\toprule
True & Bulk & Registered & $N = 4$ & $N = 16$ & Warp error & Coverage \\
\midrule
7 & 0 & 7 & 0.854 [0.831, 0.877] & 0.785 [0.741, 0.827] & 0.55 & 0.91 \\
4 & 0 & 4 & 0.930 [0.899, 0.966] & 0.915 [0.885, 0.943] & 0.52 & 0.93 \\
4 & 0 & 7 & 0.947 [0.922, 0.977] & 0.928 [0.911, 0.944] & 0.78 & 0.75 \\
2 & 0 & 2 & 0.979 [0.952, 1.006] & 0.969 [0.961, 0.979] & 0.49 & 0.93 \\
2 & 0 & 7 & 0.984 [0.972, 1.000] & 0.997 [0.983, 1.008] & 0.85 & 0.70 \\
1 & 0 & 1 & 0.987 [0.965, 1.007] & 0.989 [0.976, 1.002] & 0.45 & 0.92 \\
1 & 0 & 7 & 0.988 [0.970, 1.007] & 1.007 [0.985, 1.025] & 0.87 & 0.69 \\
\midrule
2 & 5 & 2 & 1.128 [1.024, 1.276] & 1.297 [1.206, 1.394] & 3.16 & 0.48 \\
2 & 5 & 5.4 & 1.136 [1.015, 1.277] & 1.108 [1.059, 1.167] & 2.13 & 0.61 \\
2 & 5 & 7 & 1.046 [0.975, 1.128] & 1.052 [1.007, 1.100] & 1.75 & 0.63 \\
\bottomrule
\end{tabular}
\end{center}
\clearpage
\begin{center}
\refstepcounter{table}\label{tab:misspec}
\parbox{\linewidth}{\textbf{Table~\thetable.} Experiment~3: the nominal gain and the gain when the simulator departs from the model that the registration assumes. Seismic-band root-mean-square error of the SMC mean divided by that of the best deterministic tie, with 95\% intervals over eight realizations, at 10\,dB and drift factor $c = 1$, for $N = 4$ and $N = 16$ training wells. Warp error: root-mean-square error of the SMC mean warp on the training wells (ms); coverage: 90\% coverage of the SMC warp posterior. A ratio below 1 is a gain. Presets and levels were hash-locked before the runs; ratios with intervals are the primary evidence (the pass counts of Table~\ref{tab:benchverdicts} are secondary). Rock physics: unit-dependent porosity--velocity relation; wavelet phase: frequency-dependent phase; attenuation: frequency-dependent amplitude loss; scaled warp prior and out-of-family warp: drift of different size or form than the prior.}
\medskip
\small
\begin{tabular}{lcccc}
\toprule
& \multicolumn{2}{c}{Ratio ($N = 4$ and $N = 16$)} & Warp error (ms) & Coverage \\
Preset & $N = 4$ & $N = 16$ & $N = 4$ / $16$ & $N = 4$ / $16$ \\
\midrule
Nominal (assumed model) & 0.857 [0.805, 0.922] & 0.782 [0.748, 0.813] & 1.20 / 0.63 & 0.85 / 0.89 \\
\midrule
Rock physics, mild & 0.940 [0.913, 0.967] & 0.934 [0.909, 0.954] & 1.52 / 1.05 & 0.87 / 0.87 \\
Rock physics, strong & 0.963 [0.942, 0.979] & 0.955 [0.936, 0.972] & 2.15 / 1.52 & 0.83 / 0.86 \\
Wavelet phase, mild & 1.023 [0.958, 1.094] & 1.042 [0.975, 1.112] & 2.58 / 2.26 & 0.17 / 0.10 \\
Wavelet phase, strong & 1.217 [1.109, 1.352] & 1.386 [1.246, 1.516] & 4.74 / 4.24 & 0.04 / 0.03 \\
Attenuation & 0.927 [0.890, 0.987] & 0.842 [0.817, 0.863] & 1.68 / 1.06 & 0.86 / 0.87 \\
Scaled warp prior & 0.862 [0.820, 0.908] & 0.798 [0.767, 0.828] & 1.63 / 1.25 & 0.78 / 0.91 \\
Out-of-family warp & 0.892 [0.827, 0.958] & 0.820 [0.799, 0.840] & 2.25 / 1.38 & 0.67 / 0.70 \\
\bottomrule
\end{tabular}
\end{center}
\clearpage
\begin{center}
\refstepcounter{table}\label{tab:benchverdicts}
\parbox{\linewidth}{\textbf{Table~\thetable.} Verdicts of Experiment~3 (abridged; full table and notes in Table~S14). Posterior-mean claim: SMC mean (labels at the mean warp of the sequential Monte Carlo tie posterior) against the best deterministic tie, margin rule, 10\,dB signal-to-noise ratio, drift factor $c = 1$ unless stated. SMC bank: training on 64 posterior particles. TCN: temporal convolutional network. Verdicts marked post hoc apply the locked statements as worded, by a script written after the runs; the locked code returned no verdict or a different one. No family-wise correction.}
\medskip
\small
\begin{tabular}{p{0.72\linewidth}ll}
\toprule
Claim & Predicted & Verdict \\
\midrule
Posterior-mean claim at $c = 1.5$ & pass & pass, post hoc$^a$ \\
Bank gain grows with $N$ in wide families & pass & pass \\
Posterior-mean claim, unit-dependent rock physics & pass & \textbf{fail} \\
Posterior-mean claim, frequency-dependent wavelet phase & pass & \textbf{fail} \\
Posterior-mean claim, scaled warp prior & uncertain & pass \\
SMC bank/SMC mean $\le 1.02$ for all misspecification settings & pass & pass \\
Posterior-mean claim with anchor-free losses as competitors & pass & pass, post hoc$^b$ \\
Posterior-mean claim with a TCN backbone & pass & pass \\
SMC bank better than SMC mean with a TCN (two settings) & pass & pass \\
Midpoint label of a two-mode error reverses the band ($\Delta = 32$\,ms) & pass & pass \\
Two-member bank better than midpoint label & pass & pass \\
\bottomrule
\end{tabular}
\smallskip
\parbox{\linewidth}{\footnotesize $^a$Locked code returns no verdict (it expects two well counts; grid has four). $^b$Locked code adds Gaussian bank to competitors and then fails in every setting, because Gaussian bank nearly equals SMC mean; read as run, this claim fails.}
\end{center}
% ===========================================================================
% Figure legends (guide, item xi). Each legend defines the numbers used in the text and on the
% figure pages below; figures are numbered in order of first citation.
\clearpage
\begin{center}
\refstepcounter{table}\label{tab:fieldwells}
\parbox{\linewidth}{\textbf{Table~\thetable.} Field cases per blind well (descriptive; exploratory). Reference: the marker-calibrated sonic tie of the blind well, whose error is unknown. Selected deterministic tie: chosen on the training wells of each fold. Errors are in porosity units (p.u.): band root-mean-square error (RMSE) on F3 and total RMSE on Volve, the metrics of the two pass rules. Tie, SMC mean and SMC bank: the selected tie, labels at the mean sequential Monte Carlo (SMC) warp and training on the SMC bank. Band PCC: Pearson correlation in the seismic band of the SMC bank. Constant: total RMSE of the mean porosity of the training wells (Volve only, post hoc). The SMC bank has a lower error than the selected tie at 1 of 4 wells on F3 and at 2 of 6 and 3 of 6 wells on Volve (leave-one-well-out and slot). Slot: the wells that share a slot are held out together (F-1, F-1 A and F-1 B; F-11 A and F-11 T2); F-12 has no sibling, so its two schemes coincide.}
\medskip
\small
\begin{tabular}{llccccc}
\toprule
Well & Selected deterministic tie & Tie & SMC mean & SMC bank & Band PCC (bank) & Constant \\
\midrule
\multicolumn{7}{l}{\emph{F3, nested leave-one-well-out}} \\
F02-1 & phase-estimated correlation & 1.57 & 1.64 & 1.59 & 0.31 & -- \\
F03-2 & phase-estimated correlation & 1.15 & 1.05 & 1.15 & 0.14 & -- \\
F03-4 & phase-estimated correlation & 1.22 & 1.27 & 1.20 & 0.17 & -- \\
F06-1 & phase-estimated correlation & 1.08 & 1.15 & 1.16 & 0.11 & -- \\
\midrule
\multicolumn{7}{l}{\emph{Volve, leave-one-well-out}} \\
F-1 & calibrated sonic & 5.08 & 5.33 & 5.26 & 0.20 & 5.92 \\
F-1 A & calibrated sonic & 6.78 & 7.20 & 6.81 & -0.23 & 5.14 \\
F-1 B & calibrated sonic & 4.27 & 4.00 & 4.23 & 0.45 & 4.93 \\
F-11 A & calibrated sonic & 7.61 & 8.12 & 7.96 & 0.19 & 7.37 \\
F-11 T2 & calibrated sonic & 5.51 & 5.36 & 5.42 & -0.13 & 4.63 \\
F-12 & calibrated sonic & 8.91 & 9.10 & 9.30 & 0.25 & 8.21 \\
\midrule
\multicolumn{7}{l}{\emph{Volve, slot}} \\
F-1 & correlation tie & 8.04 & 7.02 & 6.85 & 0.41 & 7.18 \\
F-1 A & correlation tie & 8.30 & 9.02 & 8.58 & -0.41 & 6.65 \\
F-1 B & correlation tie & 5.35 & 4.75 & 4.80 & 0.59 & 5.59 \\
F-11 A & calibrated sonic & 7.89 & 8.18 & 7.90 & 0.37 & 7.33 \\
F-11 T2 & calibrated sonic & 5.41 & 5.49 & 5.35 & -0.13 & 4.55 \\
F-12 & calibrated sonic & 8.91 & 9.10 & 9.30 & 0.25 & 8.21 \\
\bottomrule
\end{tabular}
\end{center}
\clearpage
\section*{Figure legends}
\noindent\refstepcounter{figure}\label{fig:tddrift}\textbf{Figure~\thefigure.} Offset of three time--depth sources from the time--depth markers at four F3 wells, against two-way time in milliseconds (ms): sonic integrated from a single shallow anchor, the time--depth model distributed with the data, and a second set of distributed model files of unknown provenance. Shaded band: 600--1100\,ms target window.
\noindent\refstepcounter{figure}\label{fig:h1}\textbf{Figure~\thefigure.} Test of the blur prediction. (a) Estimated transfer on usable frequencies (solid) and the predicted $e^{-2\pi^2\sigma^2 f^2}$ (dashed) for injected Gaussian timing errors of standard deviation $\sigma$ (ms), against frequency $f$ (Hz); frequencies below 6\,Hz are not used. (b) Ratio $r(\sigma)$ of measured to predicted transfer (geometric mean) with 95\% intervals over realizations, and number of usable frequencies; shaded region: hash-locked non-rejection interval $[0.5, 2]$. Setting: drift factor $c = 0$, $N = 16$ training wells, mean-squared-error loss.
\noindent\refstepcounter{figure}\label{fig:p2rgrid}\textbf{Figure~\thefigure.} Experiment~2 overview: seismic-band root-mean-square error of each method divided by that of the Oracle (true warp), by observation setting and drift factor $c$, for (a) $N = 4$ and (b) $N = 16$ training wells. Means over eight realizations and five seeds. Color scale: ratio, clipped at 2.0; the two-anchor setting at $c = 2$ reaches 3.15.
\noindent\refstepcounter{figure}\label{fig:h2b}\textbf{Figure~\thefigure.} Bank claim. (a) Seismic-band root-mean-square error of the SMC bank (training on 64 particles of the sequential Monte Carlo tie posterior) divided by that of the SMC mean (labels at the posterior mean warp), against posterior width $\sigma_{\mathrm{post}}$ (ms), for every cell (filled: $N = 16$ training wells; open: $N = 4$; marker: drift factor). Bars: 95\% intervals over realizations; dashed line: 1.5\,ms threshold for wide cells. (b) Same ratio against the classical limit $\rho^\star_{\mathrm{cl}}(\sigma_{\mathrm{post}})$; cells below the diagonal gained more than removing a classical population blur could give. The diagonal is an idealized reference: the limit is a population quantity for a calibrated bank at $\lambda \to 0$, evaluated with the Oracle predictions in place of the optimal predictor and defined for pooled band mean squared error, whereas the plotted ratios average per-well root-mean-square errors; recomputed from pooled errors, the ratios change by at most 0.011 and no point crosses the diagonal.
\noindent\refstepcounter{figure}\label{fig:bench_s1}\textbf{Figure~\thefigure.} Drift--well-count grid by observation setting. (a) Seismic-band root-mean-square error of the SMC mean (labels at the mean warp of the sequential Monte Carlo tie posterior) divided by that of the best deterministic tie. (b) Same error of the SMC bank (training on 64 posterior particles) divided by that of the SMC mean. Means over eight realizations and five seeds; values in parentheses fail the no-margin rule; outlined cells in (b) are wide. Cells at drift factor $c = 2$ have an unstable posterior.
\noindent\refstepcounter{figure}\label{fig:bench_s8}\textbf{Figure~\thefigure.} Two-mode study at $N = 16$ training wells: measured transfer, relative to the Oracle (true warp), of the midpoint label (modes $\Delta$ apart), a two-member bank containing the true warp, and a two-member hard minimum, against frequency (Hz), for (a) 10\,dB and (b) $-5$\,dB signal-to-noise ratio. Dashed: $\cos(\pi f\Delta)$. Shaded: band in which the transfer of the midpoint label is negative.
% ===========================================================================
% Appendix A (guide, item xii): core statements and proofs, copied from ../paper/sections/A_proofs.tex.
\clearpage
\appendix
\section{Formal statements and proofs of the main results}
\label{app:core}
\setcounter{equation}{0}
\renewcommand{\theequation}{A\arabic{equation}}
This appendix states the results of Section~\ref{sec:theory} formally, in the order of that section, and proves them. Appendix~SA of the Supporting Information also gives the seismic-band bounds (Corollary~S1), the coverage results (Proposition~S5) and the lemmas of the loss.
\emph{Notation.} $t$ is two-way time, $X$ the seismic input around a well, and $y(t)$ the label under correct registration. $\delta(t)$ is the registration error, and the observed label is $\tilde y(t) = y(t + \delta(t))$. The oracle predictor is $m(t) = \mathbb{E}[y(t)\mid X]$, the predictor with the smallest mean squared error (MSE) under correct labels, and $S_a$ is the power spectrum of $a$. The Fourier transform is $\hat g(f) = \int g(t)\,e^{-\mathrm{i}2\pi f t}\,\mathrm{d}t$, and $T_\beta h(t) = h(t-\beta)$ is a time shift. The seismic band is $|f| \ge f_c$ with $f_c = 6$\,Hz, $B$ is the corresponding high-pass operator, and $a_b = Ba$ is the seismic-band part of $a$. In the experiments $B$ is a fourth-order Butterworth filter applied forward and backward (zero phase). Its response is real and non-negative, so every result below holds with $S$ replaced by $|H_B|^2 S$. Spectral statements assume second-order stationarity in $t$, which is a working assumption for well logs.
\subsection*{Blur}
\begin{proposition}[Blur]
\label{prop:blur}
Assume (A1) that for every $t$, $\delta(t)$ is independent of $(X, y(\cdot))$ with distribution $p_t$, and (A2) that $\sup_t\mathbb{E}[y(t)^2] < \infty$. Then the MSE-optimal predictor of the observed label is
\begin{equation}
\tilde m(t) = \mathbb{E}[\tilde y(t)\mid X] = \int p_t(d)\, m(t+d)\,\mathrm{d}d .
\label{eq:blurint}
\end{equation}
If $p_t \equiv p$, then $\tilde m$ is $m$ passed through a linear time-invariant filter with frequency response equal to the characteristic function of $\delta$,
\begin{equation}
P(f) = \mathbb{E}\big[e^{\mathrm{i}2\pi f\delta}\big], \qquad \delta \sim \mathcal{N}(\mu_\delta, \sigma^2) \;\Rightarrow\; P(f) = e^{\mathrm{i}2\pi f\mu_\delta}\, e^{-2\pi^2\sigma^2 f^2}.
\label{eq:transfer}
\end{equation}
\end{proposition}
The result is elementary. It is the regression form of the frequency-selective attenuation that random timing jitter produces in sampled signals \citep{balakrishnan1962jitter}.
\begin{proof}
By (A1), $\mathbb{E}[y(t+\delta(t))\mid X, \delta(t) = d] = \mathbb{E}[y(t+d)\mid X] = m(t+d)$. Taking the expectation over $\delta(t) \sim p_t$, which is independent of $X$, and exchanging the order of integration (Fubini, using (A2)) gives equation~\eqref{eq:blurint}. If $p_t \equiv p$, the Fourier transform of $m(\cdot + d)$ is $e^{\mathrm{i}2\pi f d}\hat m(f)$, so $\tilde m$ has transform $P(f)\hat m(f)$ with $P(f) = \mathbb{E}\, e^{\mathrm{i}2\pi f\delta}$. For $\delta \sim \mathcal{N}(\mu_\delta, \sigma^2)$, $P$ is the Gaussian characteristic function evaluated at $2\pi f$.
\end{proof}
If the marginal distribution changes slowly with $t$ (for example, drift that grows with depth), $\tilde m$ is a time-varying filter that is locally $P$ with $\sigma(t)$.
\subsection*{Identifiability}
Consider $N$ training wells with seismic data $X_w$, depth logs $\phi_w$ and warps $u_w = (b_w, g_w)$ (equation~\eqref{eq:warp}). Let $y^{u}(t) = (\mathcal{A}\phi)(z_u(t))$ be the label under warp $u$, where $z_u$ inverts $t_u$ and $\mathcal{A}$ is an anti-alias filter. Let $e_b$ be the direction that adds the same $\beta$ to every $b_w$. The joint maximum a posteriori objective over network parameters $\theta$ and warps $\mathbf{u}$ is
\begin{equation}
\mathcal{J}(\theta, \mathbf u) = \sum_w \Big[\mathcal{L}_w(\theta; y_w^{u_w}) + \log p(u_w) + \sum_k \log \mathcal{N}\big(t_{wk};\, t_{u_w}(z_{wk}),\, \sigma_a^2\big)\Big],
\label{eq:jointmap}
\end{equation}
with Gaussian log-likelihood $\mathcal{L}_w$ over windows and anchors $(z_{wk}, t_{wk})$. The network outputs $\mu_\theta$ and $\sigma_\theta$ are those of equation~\eqref{eq:rml}.
\begin{proposition}[Identifiability]
\label{prop:ident}
Assume (A3) that the model class is closed under output shifts: for each $\theta$ and each shift $\beta$ by a whole number of samples with $|\beta| \le \beta_{\max}$ there is $\theta'$ with $\mu_{\theta'} = T_\beta \mu_\theta$ and $\sigma_{\theta'} = T_\beta\sigma_\theta$. Then, up to window-edge effects:
\begin{enumerate}
\item[(a)] without anchors, with a flat prior on $b$ and no seismic tie term, $\mathcal{J}(\theta', \mathbf u + \beta e_b) = \mathcal{J}(\theta, \mathbf u)$, so the objective has a ridge in $\beta$ shared by all wells;
\item[(b)] a prior $b_w \sim \mathcal{N}(0, \sigma_b^2)$ adds curvature $N/\sigma_b^2$ along the ridge;
\item[(c)] anchors with finite $\sigma_a$ add curvature $\sum_w K_w/\sigma_a^2$, where $K_w$ is the number of anchors at well $w$, so that the spread of $\beta$ along the ridge, with the other parameters held fixed, is
\begin{equation}
\operatorname{sd}(\beta) \approx \Big(\frac{\sum_w K_w}{\sigma_a^2} + \frac{N}{\sigma_b^2}\Big)^{-1/2} \approx \frac{\sigma_a}{\sqrt{\sum_w K_w}} .
\label{eq:sdbeta}
\end{equation}
\end{enumerate}
\end{proposition}
\begin{proof}
Since $t_{u + \beta e_b}(z) = t_u(z) + \beta$, we have $z_{u+\beta e_b}(t) = z_u(t - \beta)$ and hence $y^{u + \beta e_b} = T_\beta y^u$. By (A3), $\mu_{\theta'} = T_\beta\mu_\theta$ and $\sigma_{\theta'} = T_\beta\sigma_\theta$. The Gaussian log-likelihood on a window $I$ is $\sum_{i\in I}\log\mathcal{N}(y(t_i - \beta); \mu(t_i-\beta), \sigma^2(t_i-\beta))$, which is the log-likelihood on the window $I - \beta$. Summed over windows that tile the trace, the two objectives differ only at edge samples. The log-sum-exp of equation~\eqref{eq:rml} preserves this invariance, because every bank member is shifted by the same amount. The prior on $g$ is unchanged, because $g$ is unchanged. This proves (a). Parts (b) and (c) follow by direct computation from $t_{u+\beta e_b}(z_{wk}) = t_{u_w}(z_{wk}) + \beta$. The prior adds $-\sum_w (b_w + \beta)^2/(2\sigma_b^2)$, with curvature $N/\sigma_b^2$. The anchors add $-\sum_{w,k}(t_{wk} - t_{u_w}(z_{wk}) - \beta)^2/(2\sigma_a^2)$, with curvature $\sum_w K_w/\sigma_a^2$. The expression for $\operatorname{sd}(\beta)$ is the inverse square root of the total curvature, that is, a quadratic approximation along the ridge with the other parameters fixed. In a Gaussian approximation this conditional variance is at most the marginal variance of $\beta$, by the law of total variance.
\end{proof}
\subsection*{Two error structures}
Let $D$ denote all data at the well (seismic data, logs and anchors), with the network input $X$ a function of $D$. Let $u^\star$ be the true warp, so that $y = y^{u^\star}$, and let $\hat u = \hat u(D)$ be a point tie with label $\tilde y = y^{\hat u}$. The misregistration can be written in either direction,
\begin{equation}
\tilde y(t) = y\big(t + \delta(t)\big),\ \ \delta(t) = t_{u^\star}\big(z_{\hat u}(t)\big) - t;
\qquad
y(t) = \tilde y\big(t + \varepsilon(t)\big),\ \ \varepsilon(t) = t_{\hat u}\big(z_{u^\star}(t)\big) - t .
\label{eq:twoerrors}
\end{equation}
Let $\tilde m(t) = \mathbb{E}[\tilde y(t)\mid X]$ be the optimal predictor of the point label, and let $Q(f) = \mathbb{E}[e^{\mathrm{i}2\pi f\varepsilon}]$.
\begin{proposition}[Two error structures]
\label{prop:tie}
Assume (A2) for $y$ and $\tilde y$.
\begin{enumerate}
\item[(a)] \emph{Classical error.} If $\delta(t)$ is independent of $y(\cdot)$ given $X$, with conditional distribution $p_t(\cdot\mid X)$, then
\begin{gather}
\tilde m(t) = \int p_t(d\mid X)\, m(t+d)\,\mathrm{d}d, \label{eq:clmean}\\
\operatorname{Var}\big(\tilde y(t)\mid X\big) = \int p_t(d\mid X)\operatorname{Var}\big(y(t+d)\mid X\big)\,\mathrm{d}d + \operatorname{Var}_{p_t}\!\big[m(t+d)\big]. \label{eq:clvar}
\end{gather}
\item[(b)] \emph{Berkson error.} If $\varepsilon(t)$ is independent of $D$ given $X$, with conditional distribution $q_t(\cdot\mid X)$, then
\begin{gather}
m(t) = \int q_t(e\mid X)\, \tilde m(t+e)\,\mathrm{d}e, \label{eq:bkmean}\\
\operatorname{Var}\big(y(t)\mid X\big) = \int q_t(e\mid X)\operatorname{Var}\big(\tilde y(t+e)\mid X\big)\,\mathrm{d}e + \operatorname{Var}_{q_t}\!\big[\tilde m(t+e)\big]. \label{eq:bkvar}
\end{gather}
\end{enumerate}
If $p_t$ and $q_t$ do not depend on $t$, then, averaged over the window and up to edge terms, the point label has the larger conditional variance under (a) and the smaller under (b). If they depend on neither $t$ nor $X$, then $\tilde m$ is $m$ filtered by $P$ under (a), and $m$ is $\tilde m$ filtered by $Q$ under (b). For zero-mean Gaussian errors with variance $\sigma^2$, the transfer from $m$ to $\tilde m$ is $e^{-2\pi^2\sigma^2 f^2}$ under (a) and $e^{+2\pi^2\sigma^2 f^2}$ under (b).
\end{proposition}
The Gaussian Berkson case is self-consistent only if $S_m$ decays faster than $e^{-4\pi^2\sigma^2f^2}$; otherwise $\tilde m$ would have infinite variance, contrary to (A2).
\begin{proof}
(a) Conditional on $X$ and $\delta(t) = d$, independence gives $\mathbb{E}[y(t+d)\mid X, \delta(t) = d] = m(t+d)$ and $\mathbb{E}[y(t+d)^2\mid X, \delta(t) = d] = \mathbb{E}[y(t+d)^2\mid X]$. Integrating over $p_t(\cdot\mid X)$ (Fubini, using (A2)) gives $\tilde m(t)$ and $\mathbb{E}[\tilde y(t)^2\mid X] = \int p_t(d\mid X)\{\operatorname{Var}(y(t+d)\mid X) + m(t+d)^2\}\,\mathrm{d}d$. Subtracting $\tilde m(t)^2$ gives the variance.
(b) $\tilde y$ is a function of $D$ because $\hat u$ is. Since $\varepsilon(t)$ is independent of $D$ given $X$, $\mathbb{E}[y(t)\mid D] = \mathbb{E}[\tilde y(t + \varepsilon(t))\mid D] = \int q_t(e\mid X)\,\tilde y(t+e)\,\mathrm{d}e$, and in the same way $\mathbb{E}[y(t)^2\mid D] = \int q_t(e\mid X)\,\tilde y(t+e)^2\,\mathrm{d}e$. Because $X$ is a function of $D$, the tower property gives $m(t) = \mathbb{E}\big[\mathbb{E}[y(t)\mid D]\mid X\big] = \int q_t(e\mid X)\,\tilde m(t+e)\,\mathrm{d}e$, and the same for the second moment. Subtracting $m(t)^2$ gives the variance.
If $p_t = p(\cdot\mid X)$ does not depend on $t$, the window average of $\int p(d\mid X)\operatorname{Var}(y(t+d)\mid X)\,\mathrm{d}d$ is $\int p(d\mid X)\,|W|^{-1}\!\int_{W+d}\operatorname{Var}(y(s)\mid X)\,\mathrm{d}s\,\mathrm{d}d$, which equals the window average of $\operatorname{Var}(y\mid X)$ up to contributions from the edges of the window $W$. Since $\operatorname{Var}_p[m(t+d)] \ge 0$, the window average of $\operatorname{Var}(\tilde y\mid X)$ is at least that of $\operatorname{Var}(y\mid X)$. Case (b) is the same with $y$ and $\tilde y$ exchanged. The Fourier statements follow as in Proposition~\ref{prop:blur}. For zero-mean Gaussian $\varepsilon$, $Q = e^{-2\pi^2\sigma^2 f^2} > 0$, so the transform of $\tilde m$ is $\hat m/Q$.
\end{proof}
\subsection*{Calibrated bank and the population bound}
\begin{proposition}[Calibrated bank]
\label{prop:bank}
Call a bank $\{(u_s, \pi_s)\}$ calibrated for a function $G$ if
\begin{equation}
\sum_s \pi_s G(u_s, D) = \mathbb{E}[G(u^\star, D)\mid D] .
\label{eq:calib}
\end{equation}
\begin{enumerate}
\item[(a)] If the bank is calibrated for $G(u, D) = y^{u}(t)$ at every $t$, the mean label $\bar y = \sum_s \pi_s y^{u_s}$ satisfies $\bar y(t) = \mathbb{E}[y(t)\mid D]$ and $\mathbb{E}[\bar y(t)\mid X] = m(t)$.
\item[(b)] If it is calibrated for the window log-likelihood $\ell_s$ of equation~\eqref{eq:rml} of every network $(\mu_\theta, \sigma_\theta)$ that depends on the data only through $X$, then, for those networks, $\mathbb{E}\big[\sum_s \pi_s \ell_s\big] = \mathbb{E}[\ell^\star]$, where $\ell^\star$ is the log-likelihood of the label at the true warp.
\end{enumerate}
Under (b) the $\lambda \to 0$ limit of $\mathrm{RML}_\lambda$ has the population minimizer of training on the true labels, $\mu = m$ and $\sigma^2 = \operatorname{Var}(y\mid X)$, and under (a) MSE on the mean label has the population minimizer $\mu = m$. Moreover, every predictor $h$ that depends on the data only through $X$ satisfies
\begin{equation}
\mathbb{E}|B(h - y)|^2 = \mathbb{E}|B(m - y)|^2 + \mathbb{E}|B(h - m)|^2 ,
\label{eq:bandid}
\end{equation}
so no such predictor has a smaller band MSE than $m$, and the ratio of the band root-mean-square errors of $m$ and $\tilde m$ is $\rho^\star$ of equation~\eqref{eq:rhostar}.
\end{proposition}
Because the log-likelihood is quadratic in the label, (b) holds whenever the bank matches the posterior mean and variance of the label at every $t$.
\begin{proof}
(a) Take $G(u, D) = y^u(t)$, which depends on $D$ through the logs. Calibration gives $\bar y(t) = \mathbb{E}[y^{u^\star}(t)\mid D] = \mathbb{E}[y(t)\mid D]$, and the tower property gives $\mathbb{E}[\bar y(t)\mid X] = m(t)$.
(b) Take $G(u, D) = \ell\big(y^u; \mu_\theta(X), \sigma_\theta(X)\big)$, a function of $(u, D)$ because $X$ is a function of $D$. Calibration gives $\sum_s \pi_s\ell_s = \mathbb{E}[\ell^\star\mid D]$, and taking expectations gives the claim. For a finite bank, $\log\sum_s\pi_s e^{\lambda\ell_s} = \lambda\sum_s\pi_s\ell_s + O(\lambda^2)$, so $\mathrm{RML}_\lambda \to -\frac1n\sum_s\pi_s\ell_s$ as $\lambda \to 0$ (Lemma~S2), and for every $\theta$ the limit has the expectation of the Gaussian negative log-likelihood on the true labels. Over functions of $X$, the latter is minimized sample by sample at $\mu_i = \mathbb{E}[y(t_i)\mid X]$ and $\sigma_i^2 = \operatorname{Var}(y(t_i)\mid X)$. For the MSE, $\mathbb{E}[\bar y - m\mid X] = 0$ by (a), so $\mathbb{E}(h - \bar y)^2 = \mathbb{E}(h - m)^2 + \mathbb{E}(m - \bar y)^2$ for every function $h$ of $X$.
For equation~\eqref{eq:bandid}, $B$ is linear, so $B(h - y) = B(h - m) + B(m - y)$. Here $B(h - m)$ is a function of $X$ and $\mathbb{E}[B(m - y)\mid X] = B\,\mathbb{E}[m - y\mid X] = 0$, so the cross term vanishes. Setting $h = \tilde m$ gives equation~\eqref{eq:rhostar}. The transform of $\tilde m - m$ is $(P - 1)\hat m$ under (a) of Proposition~\ref{prop:tie} and $(1/Q - 1)\hat m$ under (b). For Gaussian errors let $x = 2\pi^2\sigma^2 f^2$. Then $(1 - e^{-x})^2 = x^2 + O(x^3)$, $(e^{x} - 1)^2 = x^2 + O(x^3)$, and their ratio is $e^{2x}$, so the distortion is of fourth order in $\sigma$ under both structures and larger under the Berkson structure.
\end{proof}
\subsection*{Two modes}
\begin{corollary}[Two modes]
\label{cor:twomode}
Let the error ($\delta$ under (a), $\varepsilon$ under (b) of Proposition~\ref{prop:tie}) be constant over the window and equal to $\pm\Delta/2$ with probability $\frac12$ each, independently of $(X, y)$ under (a) and of $D$ under (b). Then $P(f) = Q(f) = \cos(\pi f\Delta)$, and under either structure the transfer from $m$ to $\tilde m$ is negative for $1/(2\Delta) < |f| < 3/(2\Delta)$: there the point label trains the network towards the wrong sign. A Gaussian error with the same variance $\Delta^2/4$ has $P(f) = e^{-\pi^2\Delta^2f^2/2} > 0$ at every frequency. The mean label of a calibrated bank has transfer 1. Under (a), take the bank of the point label shifted by $\pm\Delta/2$ with equal weights. The population optimum of MSE on its mean label, which is also that of $\mathrm{RML}_\lambda$ on this bank as $\lambda \to 0$, has transfer $\cos^2(\pi f\Delta) \ge 0$. This bank contains the label at the true warp, but it is not calibrated: its equal weights are not the posterior probabilities of its two members.
\end{corollary}
\begin{proof}
The characteristic function of $\pm\Delta/2$ with equal probabilities is $\frac12\big(e^{\mathrm{i}\pi f\Delta} + e^{-\mathrm{i}\pi f\Delta}\big) = \cos(\pi f\Delta)$, which is negative for $\pi/2 < \pi|f|\Delta < 3\pi/2$. Under (a) the transfer from $m$ to $\tilde m$ is $P$. Under (b), $\hat m = Q\,\hat{\tilde m}$, so the transfer is $1/Q$ wherever $Q \ne 0$ and has the sign of $Q$; $Q$ has no zero inside the open interval $1/(2\Delta) < |f| < 3/(2\Delta)$, and at its zeros the identity forces $\hat m = 0$. A zero-mean Gaussian with variance $\Delta^2/4$ has characteristic function $e^{-2\pi^2(\Delta^2/4)f^2}$. The calibrated bank is covered by Proposition~\ref{prop:bank}(a). For the shifted bank, $\bar y(t) = \frac12\big[\tilde y(t + \Delta/2) + \tilde y(t - \Delta/2)\big]$, so $\mathbb{E}[\bar y\mid X]$ is $\tilde m$ filtered by $\cos(\pi f\Delta)$, that is, $m$ filtered by $\cos^2(\pi f\Delta)$. This is the population minimizer of MSE on $\bar y$ and, as in the proof of Proposition~\ref{prop:bank}(b), of the $\lambda \to 0$ limit of $\mathrm{RML}_\lambda$ on the bank, because the bank average of the Gaussian negative log-likelihood is minimized in $\mu$ at $\bar y$. A calibrated bank would have transfer 1 by Proposition~\ref{prop:bank}(a), so this bank is not calibrated.
\end{proof}
\subsection*{Misregistered reference}
Let the blind-well reference be $y_{\mathrm{ref}}(t) = y(t + \varepsilon_{\mathrm{ref}})$, where $\varepsilon_{\mathrm{ref}}$ is constant over the window, independent of the prediction $\hat y$ and of the true label $y$, and has characteristic function $Q_{\mathrm{ref}}$. Let $\hat y$ and $y$ be jointly stationary with cross-spectrum $S_{\hat y y}$, defined by $\mathbb{E}[\hat y(t)\,y(t+\tau)] = \int S_{\hat y y}(f)\,e^{\mathrm{i}2\pi f\tau}\,\mathrm{d}f$.
\begin{proposition}[Misregistered reference]
\label{prop:reference}
Under these assumptions,
\begin{equation}
\mathbb{E}|B(\hat y - y_{\mathrm{ref}})|^2 = \mathbb{E}|B(\hat y - y)|^2 + 2\int_{|f|\ge f_c}\operatorname{Re}\big[(1 - Q_{\mathrm{ref}}(f))\,S_{\hat y y}(f)\big]\,\mathrm{d}f .
\label{eq:refbias}
\end{equation}
\end{proposition}
For a symmetric error, $0 \le 1 - Q_{\mathrm{ref}} \le 2$.
\begin{proof}
Because $B$ is linear and time-invariant and $\varepsilon_{\mathrm{ref}}$ is constant over the window, $By_{\mathrm{ref}}(t) = (By)(t + \varepsilon_{\mathrm{ref}})$. By independence and stationarity, $\mathbb{E}|By_{\mathrm{ref}}|^2 = \mathbb{E}|By|^2$ and
\begin{equation}
\mathbb{E}\big[B\hat y(t)\; By(t + \varepsilon_{\mathrm{ref}})\big] = \mathbb{E}_{\varepsilon_{\mathrm{ref}}}\!\int_{|f|\ge f_c} S_{\hat y y}(f)\, e^{\mathrm{i}2\pi f\varepsilon_{\mathrm{ref}}}\,\mathrm{d}f = \int_{|f|\ge f_c} S_{\hat y y}(f)\, Q_{\mathrm{ref}}(f)\,\mathrm{d}f .
\label{eq:crossref}
\end{equation}
Expanding both squares, the two MSEs differ only in the cross term, $-2\int S_{\hat y y}Q_{\mathrm{ref}}\,\mathrm{d}f$ against $-2\int S_{\hat y y}\,\mathrm{d}f$ over $|f| \ge f_c$. The difference is real, so it equals its real part.
\end{proof}
\begin{corollary}[Tolerance]
\label{cor:tolerance}
For two methods 1 and 2, let $G$ be the true band-MSE advantage of method 1 and $G_{\mathrm{ref}}$ the advantage measured against $y_{\mathrm{ref}}$. Then
\begin{equation}
G_{\mathrm{ref}} - G = 2\int_{|f|\ge f_c}\operatorname{Re}\big[(1 - Q_{\mathrm{ref}})(S_{\hat y_2 y} - S_{\hat y_1 y})\big]\,\mathrm{d}f .
\label{eq:gdiff}
\end{equation}
Let $\hat y_1 = Hm$ and $\hat y_2 = HPm$, with real filters $0 \le H, P \le 1$: method 1 learns the oracle and method 2 the blurred optimum, both shrunk by the same finite-sample factor $H$. Then
\begin{equation}
\begin{gathered}
G = \int_{|f|\ge f_c} H(1 - P)\big[2 - H(1 + P)\big] S_m\,\mathrm{d}f \ \ge 0,
\\
G_{\mathrm{ref}} = \int_{|f|\ge f_c} H(1 - P)\big[2Q_{\mathrm{ref}} - H(1 + P)\big] S_m\,\mathrm{d}f .
\end{gathered}
\label{eq:gref}
\end{equation}
For $H = 1$ and zero-mean Gaussian errors with standard deviations $\sigma$ and $\sigma_{\mathrm{ref}}$, $2Q_{\mathrm{ref}} - 1 - P = 2\pi^2f^2(\sigma^2 - 2\sigma_{\mathrm{ref}}^2) + O(f^4)$, so the measured advantage can have the sign of the true one only if $\sigma_{\mathrm{ref}} < \sigma/\sqrt2$. The condition is necessary at every frequency, not only to leading order, and it is not sufficient: the measured advantage changes sign at a reference error below $\sigma/\sqrt2$.
\end{corollary}
Shrinkage relaxes this condition, because $2Q_{\mathrm{ref}} - H(1 + P)$ grows as $H$ decreases. If method 2 is over-sharp instead, as under Berkson error, with $\hat y_2 = HRm$ and $R \ge 1$, then $G_{\mathrm{ref}} - G = 2\int_{|f|\ge f_c} H(R - 1)(1 - Q_{\mathrm{ref}})S_m\,\mathrm{d}f \ge 0$, and the reference exaggerates the advantage of method 1.
\begin{proof}
Equation~\eqref{eq:gdiff} is equation~\eqref{eq:refbias} applied to both methods. Since $\mathbb{E}[y - m\mid X] = 0$ and $m$ is a function of $X$, $S_{my} = S_m$, so $S_{\hat y_1 y} = HS_m$ and $S_{\hat y_2 y} = HPS_m$. For $\hat y = Lm$ with a real filter $L$, $\mathbb{E}|B(\hat y - y)|^2 = \int_{|f|\ge f_c}(L^2 - 2L)S_m\,\mathrm{d}f + \mathbb{E}|By|^2$. The difference between $L = HP$ and $L = H$ is $G$, and adding $G_{\mathrm{ref}} - G = -2\int_{|f|\ge f_c} H(1 - P)(1 - Q_{\mathrm{ref}})S_m\,\mathrm{d}f$ gives $G_{\mathrm{ref}}$. Both factors of the integrand of $G$ are non-negative when $0 \le H, P \le 1$. For Gaussian errors, $P = e^{-2\pi^2\sigma^2f^2} = 1 - 2\pi^2\sigma^2f^2 + O(f^4)$ and $Q_{\mathrm{ref}} = e^{-2\pi^2\sigma_{\mathrm{ref}}^2f^2} = 1 - 2\pi^2\sigma_{\mathrm{ref}}^2f^2 + O(f^4)$, which gives the leading-order term. If $\sigma_{\mathrm{ref}} \ge \sigma/\sqrt2$, then $Q_{\mathrm{ref}} \le e^{-\pi^2\sigma^2f^2}$ and $2Q_{\mathrm{ref}} - 1 - P \le 2e^{-\pi^2\sigma^2f^2} - 1 - e^{-2\pi^2\sigma^2f^2} = -\big(1 - e^{-\pi^2\sigma^2f^2}\big)^2 \le 0$ at every $f$, so $G_{\mathrm{ref}} \le 0$ for $H = 1$. At $\sigma_{\mathrm{ref}} = \sigma/\sqrt2$ the inequality is strict wherever $S_m > 0$ in the band, so by continuity $G_{\mathrm{ref}} < 0$ also for $\sigma_{\mathrm{ref}}$ slightly below $\sigma/\sqrt2$. The over-sharp case follows by substituting $S_{\hat y_2 y} = HRS_m$.
\end{proof}
% ===========================================================================
% Figures (guide, item xiii): one per page, in order of first citation; legends are in the
% Figure legends section above.
\clearpage
\begin{center}
\includegraphics[width=0.85\linewidth]{td_drift.pdf}
\medskip
Figure~\ref{fig:tddrift}
\end{center}
\clearpage
\begin{center}
\includegraphics[width=0.85\linewidth]{p2_h1.pdf}
\medskip
Figure~\ref{fig:h1}
\end{center}
\clearpage
\begin{center}
\includegraphics[width=\linewidth]{p2r_grid.pdf}
\medskip
Figure~\ref{fig:p2rgrid}
\end{center}
\clearpage
\begin{center}
\includegraphics[width=\linewidth]{p2r_h2b.pdf}
\medskip
Figure~\ref{fig:h2b}
\end{center}
\clearpage
\begin{center}
\includegraphics[width=\linewidth]{bench_s1.pdf}
\medskip
Figure~\ref{fig:bench_s1}
\end{center}
\clearpage
\begin{center}
\includegraphics[width=\linewidth]{bench_s8.pdf}
\medskip
Figure~\ref{fig:bench_s8}
\end{center}
\end{document}

21
paper_gp/make_bib.py Normal file
View File

@@ -0,0 +1,21 @@
#!/usr/bin/env python3
"""Write paper_gp/refs.bib from ../paper/refs.bib without the internal `annote` fields (submission copy)."""
import re, pathlib
src = pathlib.Path(__file__).resolve().parent.parent / "paper" / "refs.bib"
t = src.read_text(encoding="utf-8"); out = []; i = 0
pat = re.compile(r"\n\s*annote\s*=\s*", re.I)
while True:
m = pat.search(t, i)
if not m: out.append(t[i:]); break
out.append(t[i:m.start()]); j = m.end()
if t[j] == "{":
d = 0
while True:
d += (t[j] == "{") - (t[j] == "}"); j += 1
if d == 0: break
else:
j = t.index('"', j + 1) + 1
while t[j] in " \t": j += 1
if t[j] == ",": j += 1
i = j
(pathlib.Path(__file__).parent / "refs.bib").write_text("".join(out), encoding="utf-8")

869
paper_gp/refs.bib Normal file
View File

@@ -0,0 +1,869 @@
% Selective ML-Porosity survey; cutoff 2026-10-23.
% F = relevant full-text sections inspected; A = original abstract/metadata only.
% These entries are bibliographic records, not evidence of reproduced experiments.
@article{prabowo2025f3,
author = {Prabowo, Urip Nurwijayanto and Sudarmaji and Setyowiyoto, Jarot and Sismanto},
title = {{Comparison of Porosity Prediction from Seismic Data in the F3 Block, Netherlands using Machine Learning}},
journal = {Rudarsko-geološko-naftni zbornik},
year = {2025},
volume = {40},
number = {2},
pages = {15--26},
doi = {10.17794/rgn.2025.2.2},
url = {https://doi.org/10.17794/rgn.2025.2.2},
}
@article{tao2025structural,
author = {Tao, Bo-Cheng and Zhou, Huai-Lai and Wu, Wen-Yue and Zhang, Gan and Liu, Bing and Liu, Xing-Ye},
title = {{Porosity prediction based on improved structural modeling deep learning method guided by petrophysical information}},
journal = {Petroleum Science},
year = {2025},
volume = {22},
pages = {2325--2338},
doi = {10.1016/j.petsci.2025.03.035},
url = {https://doi.org/10.1016/j.petsci.2025.03.035},
}
@article{xu2024sts,
author = {Xu, Minghui and Zhao, Luanxiao and Liu, Jingyu and Geng, Jianhua},
title = {{Enhancing seismic porosity estimation through 3D sequence-to-sequence deep learning with data augmentation, spatial constraints, and geologic constraints}},
journal = {Geophysics},
year = {2024},
volume = {89},
number = {4},
pages = {M93--M108},
doi = {10.1190/geo2023-0614.1},
url = {https://doi.org/10.1190/geo2023-0614.1},
}
@article{chen2024multidimensional,
author = {Chen, Hongling and Wu, Baohai and Sacchi, Mauricio D. and Wang, Zhiqiang and Gao, Jinghuai},
title = {{Multidimensional Petrophysical Seismic Inversion Based on Knowledge-Driven Semi-Supervised Deep Learning}},
journal = {IEEE Transactions on Geoscience and Remote Sensing},
year = {2024},
volume = {62},
pages = {1--15},
doi = {10.1109/TGRS.2024.3460184},
url = {https://doi.org/10.1109/TGRS.2024.3460184},
}
@article{li2024bpinn,
author = {Li, Peng and Grana, Dario and Liu, Mingliang},
title = {{Bayesian neural network and Bayesian physics-informed neural network via variational inference for seismic petrophysical inversion}},
journal = {Geophysics},
year = {2024},
volume = {89},
number = {6},
pages = {M185--M196},
doi = {10.1190/geo2023-0737.1},
url = {https://doi.org/10.1190/geo2023-0737.1},
}
@article{ntibahanana2024ensemble,
author = {Ntibahanana, M. and Jianguo, S. and Luemba, M. and Tondozi, K. and Imani, G. and Mohamed, B.},
title = {{Ensemble of Neural Networks Utilizing Seismic Attributes for Rock‐Property Inversion With Uncertainty Estimation}},
journal = {Earth and Space Science},
year = {2024},
volume = {11},
number = {6},
eid = {e2023EA003101},
doi = {10.1029/2023EA003101},
url = {https://doi.org/10.1029/2023EA003101},
}
@article{di2023welltie,
author = {Di, Haibin and Abubakar, Aria},
title = {{Automating seismic‐well tie via self‐supervised learning}},
journal = {Geophysical Prospecting},
year = {2023},
volume = {71},
number = {4},
pages = {698--712},
doi = {10.1111/1365-2478.13333},
url = {https://doi.org/10.1111/1365-2478.13333},
}
@article{li2025cascadedtie,
author = {Li, Mengcheng and Huang, Xuri and Cao, Weiping and Wo, Yukai and Xu, Minghua and Ren, Mengyu and Lu, Shunkang},
title = {{Automatic seismic-well tie based on cascaded matching optimization method}},
journal = {Frontiers in Earth Science},
year = {2025},
volume = {13},
eid = {1547087},
doi = {10.3389/feart.2025.1547087},
url = {https://doi.org/10.3389/feart.2025.1547087},
}
@article{dou2024seismae,
author = {Dou, Yimin and Li, Kewen},
title = {{3D seismic mask auto encoder: Seismic inversion using transformer-based reconstruction representation learning}},
journal = {Computers and Geotechnics},
year = {2024},
volume = {169},
pages = {106194},
eid = {106194},
doi = {10.1016/j.compgeo.2024.106194},
url = {https://doi.org/10.1016/j.compgeo.2024.106194},
}
@article{li2026leakage,
author = {Li, Zhibin and Liu, Jingxian and Li, Xuece and He, Tongtong and Li, Kangning and Zhang, Yuanning and Pan, Zhongkui and Lei, Xiangjun and Wang, Shuheng and Zhang, Zhaojia},
title = {{Leakage-aware full-section evaluation and label-efficient semi-supervised seismic facies segmentation for subsurface geological modeling}},
journal = {Frontiers in Earth Science},
year = {2026},
volume = {14},
eid = {1910345},
doi = {10.3389/feart.2026.1910345},
url = {https://doi.org/10.3389/feart.2026.1910345},
}
@article{rezaei2026krigingrf,
author = {Rezaei, Mohammadali and La Croix, Andrew D. and Emami Niri, Mohammad and Asghari, Omid},
title = {{Seismic Porosity Estimation Using Geologically-Informed Seismic Attributes and a Kriging-Enhanced Random Forest: Application to a Shallow-Marine Carbonate Reservoir}},
journal = {Natural Resources Research},
year = {2026},
doi = {10.1007/s11053-026-10694-z},
url = {https://doi.org/10.1007/s11053-026-10694-z},
}
@article{sukar2026uncertainty,
author = {Sukar, Boshara and Côrte, Gustavo and MacBeth, Colin},
title = {{Dynamic Reservoir Property Estimation With Uncertainty Quantification From 4D Seismic Data Using Bayesian Neural Networks}},
journal = {Geophysical Prospecting},
year = {2026},
volume = {74},
number = {6},
eid = {e70228},
doi = {10.1111/1365-2478.70228},
url = {https://doi.org/10.1111/1365-2478.70228},
}
@article{liu2023lowfrequency,
author = {Liu, Jingyu and Zhao, Luanxiao and Xu, Minghui and Zhao, Xiangyuan and You, Yuchun and Geng, Jianhua},
title = {{Porosity prediction from prestack seismic data via deep learning: incorporating a low-frequency porosity model}},
journal = {Journal of Geophysics and Engineering},
year = {2023},
volume = {20},
number = {5},
pages = {1016--1029},
doi = {10.1093/jge/gxad063},
url = {https://doi.org/10.1093/jge/gxad063},
}
@article{corrales2024seis2rock,
author = {Corrales, M. and Hoteit, H. and Ravasi, M.},
title = {{Seis2Rock: A Data-Driven Approach to Direct Petrophysical Inversion of Pre-Stack Seismic Data}},
journal = {Earth and Space Science},
year = {2024},
volume = {11},
number = {2},
eid = {e2023EA003301},
doi = {10.1029/2023EA003301},
url = {https://doi.org/10.1029/2023EA003301},
}
@misc{vashisth2022rwpinn,
author = {Vashisth, Divakar and Mukerji, Tapan},
title = {{Direct Estimation of Porosity from Seismic Data using Rock and Wave Physics Informed Neural Networks (RW-PINN)}},
year = {2022},
eprint = {2210.00042},
archivePrefix = {arXiv},
primaryClass = {physics.geo-ph},
url = {https://arxiv.org/abs/2210.00042},
}
% --- Added 2026-10-26 from docs/plan.md section 11. Full text is in refs/ for every entry below.
% DOI, volume and pages from Crossref (journal articles) or the arXiv/PMLR record (ML papers).
% Not included (no full text, or no verifiable record): White & Simm 2003,
% Herrera & van der Baan 2014 (journal version; added 2026-11-02 as abstract-only, see below), Munoz & Hale 2015, RING 2025, EAGE 2023 (skipped: not found or not obtainable).
@article{buland2003bayesianwavelet,
author = {Buland, Arild and Omre, Henning},
title = {{Bayesian wavelet estimation from seismic and well data}},
journal = {Geophysics},
year = {2003},
volume = {68},
number = {6},
pages = {2000--2009},
doi = {10.1190/1.1635053},
url = {https://doi.org/10.1190/1.1635053},
}
@article{gunning2006waveletextractor,
author = {Gunning, James and Glinsky, Michael E.},
title = {{Wavelet extractor: A Bayesian well-tie and wavelet extraction program}},
journal = {Computers \& Geosciences},
year = {2006},
volume = {32},
pages = {681--695},
doi = {10.1016/j.cageo.2005.10.001},
url = {https://doi.org/10.1016/j.cageo.2005.10.001},
}
@article{wu2017multiwelltie,
author = {Wu, Xinming and Caumon, Guillaume},
title = {{Simultaneous multiple well-seismic ties using flattened synthetic and real seismograms}},
journal = {Geophysics},
year = {2017},
volume = {82},
number = {1},
pages = {IM13--IM20},
doi = {10.1190/geo2016-0295.1},
url = {https://doi.org/10.1190/geo2016-0295.1},
}
@article{tschannen2022partialtie,
author = {Tschannen, Valentin and Ghanim, Ammar and Ettrich, Norman},
title = {{Partial automation of the seismic to well tie with deep learning and Bayesian optimization}},
journal = {Computers \& Geosciences},
year = {2022},
volume = {164},
pages = {105120},
doi = {10.1016/j.cageo.2022.105120},
url = {https://doi.org/10.1016/j.cageo.2022.105120},
}
@article{ali2025syntheticpseudowells,
author = {Ali, Muhammad and Changxingyue, He and Wei, Ning and Jiang, Ren and Zhu, Peimin and Hao, Zhang and Hussain, Wakeel and Ashraf, Umar},
title = {{Optimizing seismic-based reservoir property prediction: a synthetic data-driven approach using convolutional neural networks and transfer learning with real data integration}},
journal = {Artificial Intelligence Review},
year = {2025},
volume = {58},
number = {1},
eid = {31},
doi = {10.1007/s10462-024-11030-8},
url = {https://doi.org/10.1007/s10462-024-11030-8},
}
@misc{herrera2012automatedtie,
author = {Herrera, Roberto Henry and van der Baan, Mirko},
title = {{Automated seismic-to-well ties?}},
year = {2012},
eprint = {1209.0201},
archivePrefix = {arXiv},
primaryClass = {physics.geo-ph},
url = {https://arxiv.org/abs/1209.0201},
}
@inproceedings{cuturi2017softdtw,
author = {Cuturi, Marco and Blondel, Mathieu},
title = {{Soft-DTW: a Differentiable Loss Function for Time-Series}},
booktitle = {Proceedings of the 34th International Conference on Machine Learning},
series = {Proceedings of Machine Learning Research},
volume = {70},
pages = {894--903},
year = {2017},
eprint = {1703.01541},
archivePrefix = {arXiv},
url = {https://proceedings.mlr.press/v70/cuturi17a.html},
}
@inproceedings{leguen2019dilate,
author = {Le Guen, Vincent and Thome, Nicolas},
title = {{Shape and Time Distortion Loss for Training Deep Time Series Forecasting Models}},
booktitle = {Advances in Neural Information Processing Systems 32},
year = {2019},
eprint = {1909.09020},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1909.09020},
}
@inproceedings{lakshminarayanan2017deepensembles,
author = {Lakshminarayanan, Balaji and Pritzel, Alexander and Blundell, Charles},
title = {{Simple and Scalable Predictive Uncertainty Estimation using Deep Ensembles}},
booktitle = {Advances in Neural Information Processing Systems 30},
year = {2017},
eprint = {1612.01474},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1612.01474},
}
@inproceedings{nix1994meanvariance,
author = {Nix, David A. and Weigend, Andreas S.},
title = {{Estimating the mean and variance of the target probability distribution}},
booktitle = {Proceedings of 1994 IEEE International Conference on Neural Networks (ICNN'94)},
year = {1994},
pages = {55--60},
doi = {10.1109/ICNN.1994.374138},
}
@inproceedings{kendall2017uncertainties,
author = {Kendall, Alex and Gal, Yarin},
title = {{What Uncertainties Do We Need in Bayesian Deep Learning for Computer Vision?}},
booktitle = {Advances in Neural Information Processing Systems 30},
year = {2017},
eprint = {1703.04977},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1703.04977},
}
@article{gneiting2007scoringrules,
author = {Gneiting, Tilmann and Raftery, Adrian E.},
title = {{Strictly Proper Scoring Rules, Prediction, and Estimation}},
journal = {Journal of the American Statistical Association},
year = {2007},
volume = {102},
number = {477},
pages = {359--378},
doi = {10.1198/016214506000001437},
url = {https://doi.org/10.1198/016214506000001437},
}
@inproceedings{murray2010ess,
author = {Murray, Iain and Adams, Ryan Prescott and MacKay, David J. C.},
title = {{Elliptical slice sampling}},
booktitle = {Proceedings of the 13th International Conference on Artificial Intelligence and Statistics},
series = {Proceedings of Machine Learning Research},
volume = {9},
pages = {541--548},
year = {2010},
eprint = {1001.0175},
archivePrefix = {arXiv},
url = {https://proceedings.mlr.press/v9/murray10a.html},
}
@article{ravasi2020pylops,
author = {Ravasi, Matteo and Vasconcelos, Ivan},
title = {{PyLops---A linear-operator Python library for scalable algebra and optimization}},
journal = {SoftwareX},
year = {2020},
volume = {11},
pages = {100361},
doi = {10.1016/j.softx.2019.100361},
url = {https://doi.org/10.1016/j.softx.2019.100361},
}
@inproceedings{alfarraj2019semisupervised,
author = {Alfarraj, Motaz and AlRegib, Ghassan},
title = {{Semi-supervised learning for acoustic impedance inversion}},
booktitle = {SEG Technical Program Expanded Abstracts 2019},
pages = {2298--2302},
year = {2019},
doi = {10.1190/segam2019-3215902.1},
url = {https://doi.org/10.1190/segam2019-3215902.1},
}
% --- Added 2026-10-28 for the manuscript (metadata from docs/theory.md, OpenAlex lookup of 2026-10-26).
% Pauli et al. 2011 and Ribatet et al. 2012 have not been read in full: verify before submission.
@inproceedings{mensch2018diffdp,
author = {Mensch, Arthur and Blondel, Mathieu},
title = {{Differentiable Dynamic Programming for Structured Prediction and Attention}},
booktitle = {Proceedings of the 35th International Conference on Machine Learning},
series = {Proceedings of Machine Learning Research},
volume = {80},
year = {2018},
eprint = {1802.03676},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1802.03676}
}
@article{pauli2011composite,
author = {Pauli, Francesco and Racugno, Walter and Ventura, Laura},
title = {{Bayesian composite marginal likelihoods}},
journal = {Statistica Sinica},
year = {2011},
volume = {21},
pages = {149--164},
}
@article{ribatet2012composite,
author = {Ribatet, Mathieu and Cooley, Daniel and Davison, Anthony C.},
title = {{Bayesian inference from composite likelihoods, with an application to spatial extremes}},
journal = {Statistica Sinica},
year = {2012},
volume = {22},
pages = {813--845},
eprint = {0911.5357},
archivePrefix = {arXiv},
}
@article{sakoe1978dp,
author = {Sakoe, Hiroaki and Chiba, Seibi},
title = {{Dynamic programming algorithm optimization for spoken word recognition}},
journal = {IEEE Transactions on Acoustics, Speech, and Signal Processing},
year = {1978},
volume = {26},
number = {1},
pages = {43--49},
doi = {10.1109/TASSP.1978.1163055}
}
% --- Added 2026-10-28: SEG/EAGE expanded-abstract scan 2024--2026 (plan section 2.4, item 4).
% Metadata checked against Crossref on 2026-10-28; abstracts read via OpenAlex (EarthDoc and the
% SEG Library block automated access). No full text for any of these: cite as abstract-only.
% IMAGE 2025 proceedings were issued online 2026-02-10; the conference year is used.
@inproceedings{lim2025awsm,
author = {Lim, Un Young and Van Wagoner, Tom and Cardona, Reynaldo},
title = {{Automated Well-tie SysteM (AWSM) for seismic depth calibration and wavelet estimation using parallel tempering MCMC (PT-MCMC): A Midland Basin case study}},
booktitle = {Fifth International Meeting for Applied Geoscience \& Energy Expanded Abstracts},
publisher = {Society of Exploration Geophysicists},
year = {2025},
pages = {16--20},
doi = {10.1190/image2025-4304877.1},
url = {https://doi.org/10.1190/image2025-4304877.1},
}
@inproceedings{lim2025bootnet,
author = {Lim, Un Young and Cardona, Reynaldo},
title = {{Enhancing AVA inversion accuracy through deep neural network bootstrapping (BootNet): A novel approach for quantifying data uncertainty}},
booktitle = {Fifth International Meeting for Applied Geoscience \& Energy Expanded Abstracts},
publisher = {Society of Exploration Geophysicists},
year = {2025},
pages = {56--60},
doi = {10.1190/image2025-4304887.1},
url = {https://doi.org/10.1190/image2025-4304887.1},
}
@inproceedings{quesada2024faultlabels,
author = {Quesada, Jorge and Prabhushankar, Mohit and AlRegib, Ghassan},
title = {{Uncertainty-aware seismic fault annotations can reveal insights into label expertise and confidence}},
booktitle = {Fourth International Meeting for Applied Geoscience \& Energy Expanded Abstracts},
publisher = {Society of Exploration Geophysicists},
year = {2024},
url = {https://alregib.ece.gatech.edu/image-2024-papers/jorge-image-2024/},
}
@inproceedings{huff2024anglestack,
author = {Huff, O. and Evensen, A. and Lie, J. E. and Bugge, A. J. and Sablon, R. and Thorkildsen, V.},
title = {{Efficient angle stack conditioning using a convolutional neural network}},
booktitle = {85th EAGE Annual Conference \& Exhibition},
publisher = {European Association of Geoscientists \& Engineers},
year = {2024},
pages = {1--5},
doi = {10.3997/2214-4609.202410580},
url = {https://doi.org/10.3997/2214-4609.202410580},
}
@inproceedings{thiebaud2024lfc,
author = {Thiebaud, J. and Aker, E. and Kj{\o}nsberg, H.},
title = {{Consistent porosity prediction using a probabilistic litho-facies inversion}},
booktitle = {85th EAGE Annual Conference \& Exhibition},
publisher = {European Association of Geoscientists \& Engineers},
year = {2024},
pages = {1--5},
doi = {10.3997/2214-4609.202410490},
url = {https://doi.org/10.3997/2214-4609.202410490},
}
@inproceedings{rizzuti2024waveletflows,
author = {Rizzuti, G. and Vasconcelos, I.},
title = {{Multiscale uncertainty quantification for post-stack seismic inversion with wavelet flows}},
booktitle = {85th EAGE Annual Conference \& Exhibition},
publisher = {European Association of Geoscientists \& Engineers},
year = {2024},
pages = {1--5},
doi = {10.3997/2214-4609.202410525},
url = {https://doi.org/10.3997/2214-4609.202410525},
}
@inproceedings{cordoba2025porosity,
author = {Cordoba, N. and Goyes, P. and Castro, L.},
title = {{Reservoir porosity estimation from post-stack seismic using deep learning constrained by well-porosity: A near-field application}},
booktitle = {86th EAGE Annual Conference \& Exhibition},
publisher = {European Association of Geoscientists \& Engineers},
year = {2025},
pages = {1--5},
doi = {10.3997/2214-4609.2025101450},
url = {https://doi.org/10.3997/2214-4609.2025101450},
}
@inproceedings{mirza2025labelquality,
author = {Mirza, S. and Gala, A. and Devarakota, P. and Shah, S.},
title = {{Seismic and label quality assessment: A framework for improving AI models for seismic interpretation}},
booktitle = {86th EAGE Annual Conference \& Exhibition},
publisher = {European Association of Geoscientists \& Engineers},
year = {2025},
pages = {1--5},
doi = {10.3997/2214-4609.2025101452},
url = {https://doi.org/10.3997/2214-4609.2025101452},
}
@inproceedings{rizzuti2025uhr,
author = {Rizzuti, G. and Telling, R. and Vasconcelos, I.},
title = {{Enabling deep-learning-based uncertainty quantification at scale for post-stack UHR seismic inversion}},
booktitle = {86th EAGE Annual Conference \& Exhibition},
publisher = {European Association of Geoscientists \& Engineers},
year = {2025},
pages = {1--5},
doi = {10.3997/2214-4609.202510205},
url = {https://doi.org/10.3997/2214-4609.202510205},
}
@article{guillon2020gtmetrics,
author = {Guillon, S{\'e}bastien and Joncour, Fr{\'e}d{\'e}ric and Barrallon, Pierre-Emmanuel and Castani{\'e}, Laurent},
title = {{Ground-truth uncertainty-aware metrics for machine learning applications on seismic image interpretation: Application to faults and horizon extraction}},
journal = {The Leading Edge},
year = {2020},
volume = {39},
number = {10},
pages = {734--741},
doi = {10.1190/tle39100734.1},
url = {https://doi.org/10.1190/tle39100734.1},
}
@article{berkson1950two,
author = {Berkson, Joseph},
title = {{Are there Two Regressions?}},
journal = {Journal of the American Statistical Association},
year = {1950},
volume = {45},
number = {250},
pages = {164--180},
doi = {10.1080/01621459.1950.10483349},
url = {https://doi.org/10.1080/01621459.1950.10483349},
}
@book{carroll2006measurement,
author = {Carroll, Raymond J. and Ruppert, David and Stefanski, Leonard A. and Crainiceanu, Ciprian M.},
title = {{Measurement Error in Nonlinear Models: A Modern Perspective}},
edition = {2nd},
publisher = {Chapman and Hall/CRC},
year = {2006},
doi = {10.1201/9781420010138},
url = {https://doi.org/10.1201/9781420010138},
}
@book{fuller1987measurement,
author = {Fuller, Wayne A.},
title = {{Measurement Error Models}},
publisher = {Wiley},
year = {1987},
doi = {10.1002/9780470316665},
url = {https://doi.org/10.1002/9780470316665},
}
@article{frenay2014label,
author = {Fr{\'e}nay, Beno{\^i}t and Verleysen, Michel},
title = {{Classification in the Presence of Label Noise: A Survey}},
journal = {IEEE Transactions on Neural Networks and Learning Systems},
year = {2014},
volume = {25},
number = {5},
pages = {845--869},
doi = {10.1109/TNNLS.2013.2292894},
url = {https://doi.org/10.1109/TNNLS.2013.2292894},
}
@article{song2023noisy,
author = {Song, Hwanjun and Kim, Minseok and Park, Dongmin and Shin, Yooju and Lee, Jae-Gil},
title = {{Learning From Noisy Labels With Deep Neural Networks: A Survey}},
journal = {IEEE Transactions on Neural Networks and Learning Systems},
year = {2023},
volume = {34},
number = {11},
pages = {8135--8153},
doi = {10.1109/TNNLS.2022.3152527},
url = {https://doi.org/10.1109/TNNLS.2022.3152527},
}
@misc{bader2017teapot,
prefix = {[dataset]},
author = {Bader, Sean},
title = {{Teapot Dome Well Tie}},
howpublished = {Texas Data Repository, dataset},
year = {2017},
doi = {10.18738/T8/21WDU8},
url = {https://doi.org/10.18738/T8/21WDU8}
}
@inproceedings{mnih2012aerial,
author = {Mnih, Volodymyr and Hinton, Geoffrey E.},
title = {{Learning to Label Aerial Images from Noisy Data}},
booktitle = {Proceedings of the 29th International Conference on Machine Learning (ICML 2012)},
address = {Edinburgh, Scotland, UK},
year = {2012},
url = {https://mlanthology.org/icml/2012/mnih2012icml-learning/},
}
@article{balakrishnan1962jitter,
author = {Balakrishnan, A. V.},
title = {{On the Problem of Time Jitter in Sampling}},
journal = {IRE Transactions on Information Theory},
year = {1962},
volume = {8},
number = {3},
pages = {226--236},
doi = {10.1109/TIT.1962.1057717},
url = {https://doi.org/10.1109/TIT.1962.1057717},
}
% ---- Added 2026-11-02: preliminary novelty scan (Crossref, OpenAlex 2025--2026, web search; plan section 12 item 31).
% Metadata from Crossref on 2026-11-02; abstracts read via OpenAlex. No full text for any of these: cite as abstract-only.
@article{herrera2014semiautomatic,
author = {Herrera, Roberto H. and van der Baan, Mirko},
title = {{A semiautomatic method to tie well logs to seismic data}},
journal = {Geophysics},
year = {2014},
volume = {79},
number = {3},
pages = {V47--V54},
doi = {10.1190/geo2013-0248.1},
url = {https://doi.org/10.1190/geo2013-0248.1},
}
@article{dacostasilva2026autotie,
author = {da Costa Silva, Rafael and de Souza Ara{\'u}jo, Marcelus Glaucus and Rozendo, Luiz Antonio and Furtado Silva, Diego},
title = {{Autotie: A partial automation of the seismic-to-well tie with matching region estimation}},
journal = {Geophysics},
year = {2026},
volume = {91},
number = {5},
pages = {IM87--IM100},
doi = {10.1190/geo-2024-0011},
url = {https://doi.org/10.1190/geo-2024-0011},
}
@article{castagna2026quality,
author = {Castagna, John and Kronberg, V{\`i} and Gil, Gabriel},
title = {{How should the ``quality'' of seismic well ties and predictions of rock properties using machine learning be assessed?}},
journal = {The Leading Edge},
year = {2026},
volume = {45},
number = {5},
pages = {378--390},
doi = {10.1190/tle-2025-1058},
url = {https://doi.org/10.1190/tle-2025-1058},
}
% ---- Datasets (added 2026-11-02; metadata read from the providers' pages on 2026-11-02) ----
@misc{dgb2023f3demo,
prefix = {[dataset]},
author = {{dGB Earth Sciences}},
title = {{F3 Demo 2023}: {OpendTect} project of the {F3} block, {Dutch} sector of the {North Sea}},
howpublished = {TerraNubis data portal, dataset. Original seismic: NAM; original source: NLOG},
year = {2023},
url = {https://terranubis.com/datainfo/F3-Demo-2023},
note = {License: Creative Commons BY-SA 3.0. Accessed 26 October 2026},
}
@misc{equinor2018volve,
prefix = {[dataset]},
author = {{Equinor}},
title = {{Volve} field data set},
howpublished = {Equinor ASA, dataset. Data owners: Equinor, ExxonMobil, Bayerngas and the Norwegian Petroleum Directorate},
year = {2018},
url = {https://www.equinor.com/energy/volve-data-sharing},
note = {Released 14 June 2018. Accessed 26 October 2026},
}
@article{alaudah2019facies,
author = {Alaudah, Yazeed and Micha{\l}owicz, Patrycja and Alfarraj, Motaz and AlRegib, Ghassan},
title = {A machine-learning benchmark for facies classification},
journal = {Interpretation},
year = {2019},
volume = {7},
number = {3},
pages = {SE175--SE187},
doi = {10.1190/INT-2018-0249.1},
}
@inproceedings{deng2022openfwi,
author = {Deng, Chengyuan and Feng, Shihang and Wang, Hanchen and Zhang, Xitong and Jin, Peng and Feng, Yinan and Zeng, Qili and Chen, Yinpeng and Lin, Youzuo},
title = {{OpenFWI}: Large-Scale Multi-Structural Benchmark Datasets for Full Waveform Inversion},
booktitle = {Advances in Neural Information Processing Systems 35 (Datasets and Benchmarks Track)},
year = {2022},
pages = {6007--6020},
doi = {10.52202/068431-0435},
}
@article{wu2019faultseg,
author = {Wu, Xinming and Liang, Luming and Shi, Yunzhi and Fomel, Sergey},
title = {{FaultSeg3D}: Using synthetic data sets to train an end-to-end convolutional neural network for {3D} seismic fault segmentation},
journal = {Geophysics},
year = {2019},
volume = {84},
number = {3},
pages = {IM35--IM45},
doi = {10.1190/geo2018-0646.1},
}
@article{roberts2017cv,
author = {Roberts, David R. and Bahn, Volker and Ciuti, Simone and Boyce, Mark S. and Elith, Jane and Guillera-Arroita, Gurutzeta and Hauenstein, Severin and Lahoz-Monfort, Jos{\'e} J. and Schr{\"o}der, Boris and Thuiller, Wilfried and Warton, David I. and Wintle, Brendan A. and Hartig, Florian and Dormann, Carsten F.},
title = {Cross-validation strategies for data with temporal, spatial, hierarchical, or phylogenetic structure},
journal = {Ecography},
year = {2017},
volume = {40},
number = {8},
pages = {913--929},
doi = {10.1111/ecog.02881},
}
@inproceedings{bouthillier2021variance,
author = {Bouthillier, Xavier and Delaunay, Pierre and Bronzi, Mirko and Trofimov, Assya and Nichyporuk, Brennan and Szeto, Justin and Mohammadi Sepahvand, Nazanin and Raff, Edward and Madan, Kanika and Voleti, Vikram and Ebrahimi Kahou, Samira and Michalski, Vincent and Arbel, Tal and Pal, Chris and Varoquaux, Ga{\"e}l and Vincent, Pascal},
title = {Accounting for Variance in Machine Learning Benchmarks},
booktitle = {Proceedings of Machine Learning and Systems},
volume = {3},
year = {2021},
pages = {747--769},
url = {https://proceedings.mlsys.org/paper_files/paper/2021/hash/0184b0cd3cfb185989f858a1d9f5c1eb-Abstract.html},
}
@article{demsar2006comparisons,
author = {Dem{\v{s}}ar, Janez},
title = {Statistical Comparisons of Classifiers over Multiple Data Sets},
journal = {Journal of Machine Learning Research},
year = {2006},
volume = {7},
pages = {1--30},
url = {https://www.jmlr.org/papers/v7/demsar06a.html},
}
@article{white2003goodpractice,
author = {White, R. 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},
}
@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},
}
@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},
}
@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},
}
@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},
}
@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},
}
@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},
}
@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},
}
@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},
}
@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},
}
@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},
}
@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},
}
@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},
}
@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},
}
@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},
}

View File

@@ -1,6 +1,7 @@
% Supplementary material for the Computers & Geosciences version (paper_cg/main.tex). % Supporting Information for the Geophysical Prospecting version (paper_gp/main.tex).
% It inputs the full-length sections and appendices of ../paper/ unchanged, so the two % It inputs the full-length sections and appendices of ../paper/ unchanged, so the versions
% versions cannot drift apart. Build this file first: main.tex reads supplement.aux (xr-hyper). % cannot drift apart. main.tex refers to it with plain-text numbers (Section S6.1, Table S9, ...);
% after any change in ../paper/sections/, rebuild this file and check those numbers (README.md).
% pdflatex supplement && bibtex supplement && pdflatex supplement && pdflatex supplement % pdflatex supplement && bibtex supplement && pdflatex supplement && pdflatex supplement
\documentclass[11pt,a4paper]{article} \documentclass[11pt,a4paper]{article}
@@ -63,17 +64,17 @@
\renewcommand{\thecorollary}{S\arabic{corollary}} \renewcommand{\thecorollary}{S\arabic{corollary}}
\renewcommand{\theremark}{S\arabic{remark}} \renewcommand{\theremark}{S\arabic{remark}}
\title{Supplementary material for\\[4pt] ``Uncertain well ties in learned seismic property prediction: theory, a benchmark with known timing, and requirements for blind-well tests''} \title{Supporting Information for\\[4pt] ``Uncertain well ties in learned seismic property prediction: theory, a benchmark with known timing, and requirements for blind-well tests''}
\author{\todo{author list}} \author{\todo{author list}}
\date{} \date{}
\begin{document} \begin{document}
\maketitle \maketitle
\section{Scope of this supplement} \section{Scope of this Supporting Information}
\label{sec:intro} \label{sec:intro}
The article is self-contained. This supplement gives, in full, the material that the article summarizes: the related work with a positioning table (Section~\ref{sec:related}), the F3 audit and the benchmark generator (Section~\ref{sec:data}), the tie posteriors, compared methods and common loss (Section~\ref{sec:method}), the theory stated in words with its test (Section~\ref{sec:theory}), every experiment with all tables and figures (Section~\ref{sec:experiments}), the discussion with the table of failed tests and the full list of limitations (Section~\ref{sec:discussion}), the formal results and proofs (Appendix~\ref{app:proofs}), the field cases (Appendix~\ref{app:field}) and the protocol record with the analyses added after the main results (Appendix~\ref{app:record}). Its text is that of the full-length manuscript from which the article was condensed; no number differs between the two. The article is self-contained. This Supporting Information gives, in full, the material that the article summarizes: the related work with a positioning table (Section~\ref{sec:related}), the F3 audit and the benchmark generator (Section~\ref{sec:data}), the tie posteriors, compared methods and common loss (Section~\ref{sec:method}), the theory stated in words with its test (Section~\ref{sec:theory}), every experiment with all tables and figures (Section~\ref{sec:experiments}), the discussion with the table of failed tests and the full list of limitations (Section~\ref{sec:discussion}), the formal results and proofs (Appendix~\ref{app:proofs}), the field cases (Appendix~\ref{app:field}) and the protocol record with the analyses added after the main results (Appendix~\ref{app:record}). Its text is that of the full-length manuscript from which the article was condensed; no number differs between the two.
The sections refer to four contributions: The sections refer to four contributions:
(1) a theory of tie error in training labels; (1) a theory of tie error in training labels;

View File

@@ -346,8 +346,10 @@ const PHASES = [
{id:"p7-r6", t:"Sao lặp Thí nghiệm 2 trên 8 realization mới; σ_a sai ở −5 dB; cơ chế σ_a = 3,5 ms; ba phân tích rẻ (exploratory)", s:"done", n:"11–12/11 (plan §12 ý 46). Khai báo và băm trước khi sinh realization 16–23 (<a href=\"docs/research/r6-replication.md\">khai báo</a>, 13b8b943…; <a href=\"docs/research/r6-results.md\">kết quả</a>); ngoài mọi lock. Server khởi động lại 18:05 UTC 11/11 làm mất các tmux session; chạy lại cùng lệnh sau khi kiểm file, xong 04:35 UTC 12/11 trên cuda:0 dùng chung. Sao lặp: SMC mean hơn tie tất định tốt nhất 7–19% (trước 8–22%); verdict theo regime như cũ; mode SMC thắng 10/10 ô; bank đạt 2/3 ô rộng; bank Gauss ≈ bank SMC. σ_a sai ở −5 dB: 0/2 ở cả 3,5 và 14 ms. Cơ chế 3,5 ms: prior drift khớp lại thô hơn (ℓ 10–15 so với 80–90 ms). Ba phân tích rẻ: sign test hiệu chỉnh cần nhiều giếng hơn; F-11 T2 Volve phụ thuộc tham chiếu; thứ tự coverage do độ dài huấn luyện. Không làm: nhiễu tương quan, TCN < 125, bank Gauss trên trục benchmark, sao lặp Thí nghiệm 3. <a href=\"outputs/replication/summary/summary.md\">Tổng hợp</a>, <a href=\"outputs/r6/summary.md\">A1–A3</a>."}, {id:"p7-r6", t:"Sao lặp Thí nghiệm 2 trên 8 realization mới; σ_a sai ở −5 dB; cơ chế σ_a = 3,5 ms; ba phân tích rẻ (exploratory)", s:"done", n:"11–12/11 (plan §12 ý 46). Khai báo và băm trước khi sinh realization 16–23 (<a href=\"docs/research/r6-replication.md\">khai báo</a>, 13b8b943…; <a href=\"docs/research/r6-results.md\">kết quả</a>); ngoài mọi lock. Server khởi động lại 18:05 UTC 11/11 làm mất các tmux session; chạy lại cùng lệnh sau khi kiểm file, xong 04:35 UTC 12/11 trên cuda:0 dùng chung. Sao lặp: SMC mean hơn tie tất định tốt nhất 7–19% (trước 8–22%); verdict theo regime như cũ; mode SMC thắng 10/10 ô; bank đạt 2/3 ô rộng; bank Gauss ≈ bank SMC. σ_a sai ở −5 dB: 0/2 ở cả 3,5 và 14 ms. Cơ chế 3,5 ms: prior drift khớp lại thô hơn (ℓ 10–15 so với 80–90 ms). Ba phân tích rẻ: sign test hiệu chỉnh cần nhiều giếng hơn; F-11 T2 Volve phụ thuộc tham chiếu; thứ tự coverage do độ dài huấn luyện. Không làm: nhiễu tương quan, TCN < 125, bank Gauss trên trục benchmark, sao lặp Thí nghiệm 3. <a href=\"outputs/replication/summary/summary.md\">Tổng hợp</a>, <a href=\"outputs/r6/summary.md\">A1–A3</a>."},
{id:"p7-bank", t:"Ablation kích thước bank SMC: S = 16, 64, 256, 1024 (exploratory)", s:"done", n:"16/11 (plan §12 ý 54). Khai báo và băm trước khi tính (<a href=\"docs/research/bank-size.md\">khai báo</a>, 1a192127…, 02:42:51 UTC; <a href=\"docs/research/bank-size-results.md\">kết quả</a>); không deviation. scripts/49_bank_size.py → outputs/bank_size/: 11 ô T2 ở N = 16, realization 8–15, 5 seed, 250 vòng; bank lồng nhau từ cùng 1024 hạt, cùng λ = 1/τ_c. Chạy tmux bank_size trên cuda:0, 02:45 → 03:48 UTC, exit 0; tái lập 7.040/7.040 dòng, sai lệch 0. Ghi vào bài: một câu ở Sec. 4, đoạn \"Bank size\" ở Phụ lục C, Limitations \"Tempering and bank size\"; main.pdf 85 trang, build sạch. Kết quả đã commit ngay sau 05f822b (khai báo commit trước khi có kết quả; 05f822b người dùng đã push); commit kết quả chưa push vì máy này không có credential Gitea."}, {id:"p7-bank", t:"Ablation kích thước bank SMC: S = 16, 64, 256, 1024 (exploratory)", s:"done", n:"16/11 (plan §12 ý 54). Khai báo và băm trước khi tính (<a href=\"docs/research/bank-size.md\">khai báo</a>, 1a192127…, 02:42:51 UTC; <a href=\"docs/research/bank-size-results.md\">kết quả</a>); không deviation. scripts/49_bank_size.py → outputs/bank_size/: 11 ô T2 ở N = 16, realization 8–15, 5 seed, 250 vòng; bank lồng nhau từ cùng 1024 hạt, cùng λ = 1/τ_c. Chạy tmux bank_size trên cuda:0, 02:45 → 03:48 UTC, exit 0; tái lập 7.040/7.040 dòng, sai lệch 0. Ghi vào bài: một câu ở Sec. 4, đoạn \"Bank size\" ở Phụ lục C, Limitations \"Tempering and bank size\"; main.pdf 85 trang, build sạch. Kết quả đã commit ngay sau 05f822b (khai báo commit trước khi có kết quả; 05f822b người dùng đã push); commit kết quả chưa push vì máy này không có credential Gitea."},
{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). Trước khi nộp: quét lại; abstract IMAGE 2026 của Palavicini Gurria; DOI Quesada 2024."}, {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). Trước khi nộp: quét lại; abstract IMAGE 2026 của Palavicini Gurria; DOI Quesada 2024."},
{id:"p7-cg", t:"Bản rút gọn theo giới hạn độ dài của C&G (paper_cg/)", s:"done", n:"12/11 (plan §12 ý 47). paper_cg/main.tex: bài tự đứng 17 trang theo template Elsevier CAS (cas-sc, review, số dòng), thân bài 5.099 từ (PDF bỏ chú thích, tính bảng, trích dẫn, ký hiệu) so với giới hạn 5.500 (đã kiểm trên PDF Guide for Authors chính thức người dùng lưu); abstract chép nguyên văn paper/ (269 từ); highlights.txt (5 ý, ≤ 85 ký tự); 3 bảng, 6 hình; có code/data availability, CRediT, competing interests, funding, khai báo AI (nháp), acknowledgements. paper_cg/supplement.tex (79 trang) input nguyên văn Sec. 2–7 và Phụ lục A–C của paper/, số mang tiền tố S. Đã sửa theo guide: chú thích không dùng the, chính tả Mỹ thống nhất (cả paper/, không số nào đổi), dấu cách ngăn nghìn, câu nêu điểm mới trong Introduction. make_submission.sh tạo thư mục nộp phẳng (Figure_1–6). Build sạch. Hướng dẫn: paper_cg/README.md."}, {id:"p7-cg", t:"Bản rút gọn theo giới hạn độ dài của C&G (paper_cg/)", s:"done", n:"12/11 (plan §12 ý 47). Ngày 16/11 thư mục đã bỏ khỏi working tree theo quyết định của người dùng (lấy lại từ git 883dccf nếu cần; plan §12 ý 56); bản nộp là paper_gp/. paper_cg/main.tex: bài tự đứng 17 trang theo template Elsevier CAS (cas-sc, review, số dòng), thân bài 5.099 từ (PDF bỏ chú thích, tính bảng, trích dẫn, ký hiệu) so với giới hạn 5.500 (đã kiểm trên PDF Guide for Authors chính thức người dùng lưu); abstract chép nguyên văn paper/ (269 từ); highlights.txt (5 ý, ≤ 85 ký tự); 3 bảng, 6 hình; có code/data availability, CRediT, competing interests, funding, khai báo AI (nháp), acknowledgements. paper_cg/supplement.tex (79 trang) input nguyên văn Sec. 2–7 và Phụ lục A–C của paper/, số mang tiền tố S. Đã sửa theo guide: chú thích không dùng the, chính tả Mỹ thống nhất (cả paper/, không số nào đổi), dấu cách ngăn nghìn, câu nêu điểm mới trong Introduction. make_submission.sh tạo thư mục nộp phẳng (Figure_1–6). Build sạch. Hướng dẫn: paper_cg/README.md."},
{id:"p7-sub", t:"Nộp Geophysical Prospecting (chỉ nơi miễn phí có tiền lệ thất bại trên dữ liệu thật; chốt 13/11, D-20)", s:"todo", n:"Không còn hạn ngày (D-17); trước đó T7 14/11. Venue chốt cuối ngày 13/11: Geophysical Prospecting (EAGE/Wiley, Original article, miễn phí theo đường thuê bao; D-20, plan §12 ý 51, docs/research/venue-survey.md §7); dự phòng Mathematical Geosciences; C&G chỉ khi có repo code công khai. GSE (D-19, 12/11) bị bỏ vì không có bài nào mà kết quả chính là phương pháp thất bại trên dữ liệu thật; ESI (D-18) bị bỏ vì điều khoản phạm vi kỹ thuật dầu khí; Frontiers và JGR-MLC có APC. Việc chưa làm: đọc guide hiện hành của GP (trang Wiley trả 403 trong phiên này), chuyển paper_cg/ từ template Elsevier CAS sang định dạng GP, viết Data Availability Statement, cover letter (lý thuyết và benchmark về sai số buộc giếng, hai trường hợp thực địa thất bại, yêu cầu cho kiểm định giếng mù), nộp supplement làm supporting information. Rủi ro: GP thường chỉ cho một vòng major revision. GP không bắt buộc repo code; repo công khai vẫn nên làm vì đóng góp 3 là benchmark và cần nếu dùng C&G (checklist của C&G: licence mã nguồn mở, README tiếng Anh, phụ thuộc, dữ liệu tái lập, hướng dẫn, user guide, không là một file nén, comment tiếng Anh; 159 dòng tiếng Việt trong 10 file code/config, phần lớn đã khóa: dịch trong bản công khai). Tác giả điền danh sách tác giả, địa chỉ, khai báo, funding, xác nhận câu khai báo AI; DOI; nhãn [dataset]; số trang của bốn tài liệu hội nghị."} {id:"p7-gp", t:"Lượt academic-humanizer và bản Geophysical Prospecting (paper_gp/)", s:"done", n:"16/11 (plan §12 ý 55). paper/sections/*.tex viết lại cho dễ đọc (tách câu dài, bỏ từ nối và filler, một thuật ngữ cho một đối tượng); token guard so với HEAD: mọi số, trích dẫn, ref/label, công thức, bảng và hình không đổi ở cả 12 file, mẫu cấm không tăng. Abstract 272 token, giống hệt giữa paper/, paper_cg/, paper_gp/. Khảo sát văn phong GP: <a href=\"docs/research/gp-style-survey.md\">gp-style-survey.md</a>. paper_gp/main.tex (27 trang): article, giãn dòng đôi, số dòng, bảng và hình ở cuối, Harvard; trang tựa có running title và 7 từ khóa; Acknowledgments có funding (todo) và câu khai báo AI dạng EAGE (tác giả xác nhận); Data Availability Statement; Related work gộp vào Introduction; mục riêng về thực địa và yêu cầu giếng mù; không highlights, CRediT. Tham chiếu tới SI viết dạng chữ, kiểm bằng paper_gp/check_si_refs.py (28/28). paper_cg/ sau đó bị bỏ (plan §12 ý 56). Điểm ZeroGPT không dùng làm mục tiêu. Chưa commit."},
{id:"p7-overlap", t:"Kiểm trùng lặp offline với refs/ (không công khai văn bản)", s:"done", n:"16/11 (plan §12 ý 56). Sau ảnh Humalingo (plagiarism 97%, 222 từ, 16 nguồn; bài chưa công bố, repo không công khai). scripts/50_ref_overlap.py so n-gram từ của paper/sections/*.tex và paper_gp/main.tex với 25 văn bản khác nhau trong refs/, offline → outputs/ref_overlap/: không có đoạn trùng 8 từ; 5–7 từ chỉ là cụm thuật ngữ chung; kiểm dương tính 8/8. Không phủ 7 PDF tải tay ngày 02/11 (không có trên máy này) và diễn đạt lại; kiểm chính thức là iThenticate. Abstract: tách câu 41 từ (272 token, guard PASS)."},
{id:"p7-sub", t:"Nộp Geophysical Prospecting (chỉ nơi miễn phí có tiền lệ thất bại trên dữ liệu thật; chốt 13/11, D-20)", s:"todo", n:"Không còn hạn ngày (D-17); trước đó T7 14/11. Venue chốt cuối ngày 13/11: Geophysical Prospecting (EAGE/Wiley, Original article, miễn phí theo đường thuê bao; D-20, plan §12 ý 51, docs/research/venue-survey.md §7); dự phòng Mathematical Geosciences; C&G chỉ khi có repo code công khai. GSE (D-19, 12/11) bị bỏ vì không có bài nào mà kết quả chính là phương pháp thất bại trên dữ liệu thật; ESI (D-18) bị bỏ vì điều khoản phạm vi kỹ thuật dầu khí; Frontiers và JGR-MLC có APC. Bản nộp GP xong 16/11 trong paper_gp/ (plan §12 ý 55; supplement.pdf 80 trang làm Supporting Information; Data Availability Statement có, DOI còn todo). Ngày 16/11 viết lại theo guide live do người dùng lưu (paper_gp/Geophysical Prospecting.pdf; plan §12 ý 57): thứ tự phần đúng guide, Appendix A với các mệnh đề và chứng minh chính, phương trình đều đánh số, [dataset] trước dữ liệu, khai báo AI chi tiết; main.pdf 37 trang giãn dòng đôi. Việc chưa làm: cover letter (lý thuyết và benchmark về sai số buộc giếng, hai trường hợp thực địa thất bại, yêu cầu cho kiểm định giếng mù). Rủi ro: GP thường chỉ cho một vòng major revision. GP không bắt buộc repo code; repo công khai vẫn nên làm vì đóng góp 3 là benchmark và cần nếu dùng C&G (checklist của C&G: licence mã nguồn mở, README tiếng Anh, phụ thuộc, dữ liệu tái lập, hướng dẫn, user guide, không là một file nén, comment tiếng Anh; 159 dòng tiếng Việt trong 10 file code/config, phần lớn đã khóa: dịch trong bản công khai). Tác giả điền danh sách tác giả, địa chỉ, e-mail, ORCID, funding, xác nhận câu khai báo AI, conflict of interest (ở hệ thống nộp); DOI; số trang của bốn tài liệu hội nghị; kiểm trục hình theo guide."}
]} ]}
]; ];
@@ -627,7 +629,13 @@ const LOG = [
["2026-11-13","Lên kế hoạch ablation hàm loss theo yêu cầu bằng chứng thực nghiệm cho lựa chọn Gaussian NLL (plan §12 ý 52, docs/research/loss-ablation-plan.md): survey 13 loss, 8 loss × 7 kiểu nhãn = 52 nhánh, nhóm A/B trên realization 8–15 và nhóm C lặp lại trên 16–23, siêu tham số chọn trên dev 902–905, luật đọc mô tả L1–L5, prompt thực thi. Chưa khai báo, chưa chạy, chưa commit."], ["2026-11-13","Lên kế hoạch ablation hàm loss theo yêu cầu bằng chứng thực nghiệm cho lựa chọn Gaussian NLL (plan §12 ý 52, docs/research/loss-ablation-plan.md): survey 13 loss, 8 loss × 7 kiểu nhãn = 52 nhánh, nhóm A/B trên realization 8–15 và nhóm C lặp lại trên 16–23, siêu tham số chọn trên dev 902–905, luật đọc mô tả L1–L5, prompt thực thi. Chưa khai báo, chưa chạy, chưa commit."],
["2026-11-13","Người dùng bỏ ablation hàm loss (không khai báo, không chạy; plan §12 ý 53). Thêm vào bài đoạn \"Why a Gaussian likelihood\" (Sec. 4: bốn lý do từ các bổ đề/mệnh đề sẵn có và cái giá của mô hình dư Gauss) và gạch đầu dòng \"Loss family\" trong Limitations; thêm tài liệu Nix & Weigend 1994 (kiểm Crossref). Không số mới. main.pdf 84 trang, supplement 80 trang, build sạch. Chưa commit."], ["2026-11-13","Người dùng bỏ ablation hàm loss (không khai báo, không chạy; plan §12 ý 53). Thêm vào bài đoạn \"Why a Gaussian likelihood\" (Sec. 4: bốn lý do từ các bổ đề/mệnh đề sẵn có và cái giá của mô hình dư Gauss) và gạch đầu dòng \"Loss family\" trong Limitations; thêm tài liệu Nix & Weigend 1994 (kiểm Crossref). Không số mới. main.pdf 84 trang, supplement 80 trang, build sạch. Chưa commit."],
["2026-11-16","Người dùng hỏi vì sao bank RML là 64 và đồng ý chạy ablation kích thước bank (plan §12 ý 54). Khai báo docs/research/bank-size.md và băm (1a192127…) trước khi tính; viết scripts/49_bank_size.py; chạy thử một ô tái lập đúng bank 64 đã đăng ký (sai lệch 0). Chạy đầy đủ 88 job trong tmux bank_size, cuda:0, từ 02:45 UTC."], ["2026-11-16","Người dùng hỏi vì sao bank RML là 64 và đồng ý chạy ablation kích thước bank (plan §12 ý 54). Khai báo docs/research/bank-size.md và băm (1a192127…) trước khi tính; viết scripts/49_bank_size.py; chạy thử một ô tái lập đúng bank 64 đã đăng ký (sai lệch 0). Chạy đầy đủ 88 job trong tmux bank_size, cuda:0, từ 02:45 UTC."],
["2026-11-16","Commit 05f822b (paper_cg/, venue survey, lý do chọn loss, khai báo và script bank-size trước khi có kết quả); push thất bại vì máy này không có credential Gitea. Ablation kích thước bank chạy xong 03:48 UTC (plan §12 ý 54; docs/research/bank-size-results.md): tái lập 7.040/7.040 dòng; bank 256 không hơn bank 64, bank 1024 lẫn lộn nhưng không kém ở ô nào và hơn ở 4/8 ô rộng (tối đa khoảng 2% ở c = 1), bank 16 kém ở 3/8. Bài: một câu ở Sec. 4, đoạn Bank size ở Phụ lục C, Limitations \"Tempering and bank size\"; main.pdf 85 trang, supplement 80, bản rút gọn 17; build sạch. Không verdict, ngưỡng hay protocol nào đổi. Chưa commit kết quả."] ["2026-11-16","Commit 05f822b (paper_cg/, venue survey, lý do chọn loss, khai báo và script bank-size trước khi có kết quả); push thất bại vì máy này không có credential Gitea. Ablation kích thước bank chạy xong 03:48 UTC (plan §12 ý 54; docs/research/bank-size-results.md): tái lập 7.040/7.040 dòng; bank 256 không hơn bank 64, bank 1024 lẫn lộn nhưng không kém ở ô nào và hơn ở 4/8 ô rộng (tối đa khoảng 2% ở c = 1), bank 16 kém ở 3/8. Bài: một câu ở Sec. 4, đoạn Bank size ở Phụ lục C, Limitations \"Tempering and bank size\"; main.pdf 85 trang, supplement 80, bản rút gọn 17; build sạch. Không verdict, ngưỡng hay protocol nào đổi. Chưa commit kết quả."],
["2026-11-17","Thực hiện kế hoạch sửa GP (plan §12 ý 60): E1, E2, E4, E5, E6 và A1–A9 xong (khai báo và băm trước, E3 không cần). Headline 8–22% giữ trước tie thực hành, mọi budget và point tie tối ưu cùng hàm mục tiêu; nhưng gain mất khi anchor chính xác ≤ 2 ms và đảo chiều khi có lỗi bulk 5 ms theo giếng (E1). Bài paper/ và paper_gp/ đã sửa, build sạch (88 và 44 trang). Chưa làm: W1 đầy đủ, W8, README/archive, vòng referee mới, response letter. Chưa commit."],
["2026-11-16","Lượt academic-humanizer trên paper/sections/*.tex (guard PASS 12/12 file: không số, trích dẫn, công thức, bảng nào đổi) và bản Geophysical Prospecting mới trong paper_gp/ (plan §12 ý 55; khảo sát docs/research/gp-style-survey.md; check_si_refs 28/28). Build sạch: paper/main.pdf 85 trang, paper_cg 17 + 80, paper_gp 27 + 80. Chưa commit."],
["2026-11-16","Người dùng bỏ paper_cg/ (không khôi phục; lấy lại từ git 883dccf nếu cần). Sau ảnh Humalingo: tách câu 41 từ của abstract (272 token, guard PASS); kiểm trùng lặp offline bằng scripts/50_ref_overlap.py với refs/: không đoạn trùng 8 từ, chỉ cụm thuật ngữ chung ở 5–7 từ (plan §12 ý 56). Chưa commit."],
["2026-11-16","paper_gp/main.tex viết lại theo guide live của Geophysical Prospecting (paper_gp/Geophysical Prospecting.pdf; plan §12 ý 57): thứ tự trang tiêu đề → Acknowledgments → Abstract và keywords → Data Availability Statement → nội dung → References → Tables → Figure legends → Appendix A → Figures (mỗi hình một trang); Appendix A mới với Mệnh đề A1–A5, Hệ quả A1–A2 và chứng minh chép từ A_proofs.tex; Introduction không còn kết quả; Conclusions ba đoạn, hai hướng tiếp; viết tắt định nghĩa theo từng mục, số dưới 10 bằng chữ, bỏ tên OpendTect; gpnat.bst in [dataset] trước F3, Volve, Teapot (prefix trong paper/refs.bib); khai báo AI chi tiết. Abstract giống hệt paper/; check_si_refs 24/24 OK; không số kết quả mới. main.pdf 37 trang, build sạch; paper/main.pdf 85 trang. Chưa commit."],
["2026-11-16","Referee mô phỏng cho bản GP (plan §12 ý 58): hai Fable (GP-A well tie/QI, GP-B thống kê/UQ) chấm paper_gp/ độc lập rồi chấm chéo, không được đọc các bài chấm cũ trong docs/, bỏ qua TODO đỏ. Cả hai: Major revision ở cả hai vòng, điểm 4/3/3/3/3/2/4, không thấy lỗi chứng minh. Must-fix chính: bài tự đứng được; headline so với point tie tốt nhất (2–22%); mô hình nhiễu anchor 7 ms; một tie đúng chuẩn thực hành; nối lý thuyết với các tie; estimand và tính khả thi của yêu cầu blind-well; CI thận trọng; đồng bộ phần phát hành. Lỗi nhỏ: White 2003 ghi \"Rachel\" (đúng là Roy E.). Tổng hợp docs/research/gp-referee/summary.md; prompt PROMPT.md. Chưa sửa bài, chưa commit."],
["2026-11-16","Vòng chấm GP thứ ba và kế hoạch sửa (plan §12 ý 59): người dùng dán báo cáo của mô hình ngoài \"6.1 sol\" (GP-C; chỉ đọc PDF chính và guide, không có SI): Major revision, 7/10; ưu tiên khớp định lý–loss–metric (A4 nói về nhãn trung bình posterior, còn SMC mean dùng nhãn tại warp trung bình; A11 dùng MSE gộp) và đối chứng cùng mô hình tie. Tổng hợp ba referee, kiểm chứng (MAD 6.9 ms là MAD đã chuẩn hóa, không phải 10 ms Gaussian; arm λ→0 đã có phần lớn so sánh GP-C đòi) và kế hoạch 6 giai đoạn (sửa nhanh, viết lại, phân tích trên output có sẵn A1–A9, thí nghiệm mới E1–E5, phát hành, kiểm tra) trong docs/research/gp-referee/review-and-revision-plan.md; báo cáo gốc GP-C_round1.md. PROMPT.md bị mất khỏi đĩa đã được khôi phục từ transcript. Chưa sửa gì trong bài; người dùng chọn thí nghiệm. Chưa commit."]
]; ];
/* ===================== HẾT DATA ===================== */ /* ===================== HẾT DATA ===================== */

View File

@@ -196,3 +196,7 @@ and metric tables are in the archives, so every reported number is recomputed fr
`build` selects files by the first matching rule of `RULES` in the script; files without a rule stay out. `code` `build` selects files by the first matching rule of `RULES` in the script; files without a rule stay out. `code`
refuses when the tracked files differ from the requested revision. Nothing is uploaded: the deposit (archives, code refuses when the tracked files differ from the requested revision. Nothing is uploaded: the deposit (archives, code
snapshot, benchmark package) needs the authors' account, author list and licence decisions. snapshot, benchmark package) needs the authors' account, author list and licence decisions.
## Not yet archived (17/11/2026)
The analyses added during the journal review (`outputs/gp_review/`, scripts 51–56, declared in `docs/research/gp-review-experiments.md` and `gp-review-analyses.md`) are not in the five archives and have no clean-room verify stage: E1, E2, E4, E5 and E6 retrain networks and need particles or a GPU. Their summaries are `docs/research/gp-review-results.md` and `outputs/gp_review/*/summary*`; each retraining experiment first reproduced its registered rows exactly (maximum deviation 0). Rebuild the archives with `scripts/39_repro_package.py build` and rerun `verify` after extending its stage list.

269
scripts/19_paper_figures.py Normal file
View File

@@ -0,0 +1,269 @@
"""Journal-style figures for the manuscript (paper/figures/*.pdf), drawn from the locked summaries only.
python scripts/19_paper_figures.py [--only td_drift,h1,p2_phase,h2b,p2r_grid]
Reads: F3 wells (TD QC), outputs/p2/h1/, outputs/p2/summary/main/cells.csv, outputs/p2r/summary/{h2b,band_rmse}.csv.
No titles or verdicts inside the figures (captions carry them); Computer Modern text to match the manuscript;
palette of ml_porosity.eval.figstyle (validated, colour-blind safe) on a white surface.
"""
from __future__ import annotations
import argparse
import importlib.util
import matplotlib
matplotlib.use("Agg")
import matplotlib as mpl
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
from matplotlib.colors import LinearSegmentedColormap, Normalize
from matplotlib.lines import Line2D
from matplotlib.patches import Rectangle
from ml_porosity.eval import figstyle as fs
from ml_porosity.paths import REPO_ROOT, outputs_dir
FIG = REPO_ROOT / "paper" / "figures"
WIDTH = 6.3 # in; \textwidth of the manuscript (A4, 2.5 cm margins)
WHITE = "#ffffff"
SEQ_BLUE = LinearSegmentedColormap.from_list("seq_blue", ["#f0f5fc", "#86b6ef", "#2a78d6", "#104281"])
RAMP4 = ["#86b6ef", "#5598e7", "#256abf", "#104281"] # ordinal ramp for σ (as in scripts/13)
REGIMES = ["R10", "R0", "Rm5", "R0h", "R10tb"]
METHODS = [("B3b", "B3b"), ("B3c", "B3c"), ("B3c-R", "B3c-R"), ("B3d", "B3d"), ("B3d-Sa", "B3d-Sa"), ("M2-Sa", "M2-Sa")]
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 style() -> None:
fs.apply()
mpl.rcParams.update({
"figure.facecolor": WHITE, "axes.facecolor": WHITE, "savefig.facecolor": WHITE,
"font.family": "serif", "font.serif": ["cmr10"], "mathtext.fontset": "cm", "axes.unicode_minus": False,
"axes.formatter.use_mathtext": True, "font.size": 8, "axes.labelsize": 8, "xtick.labelsize": 7.5,
"ytick.labelsize": 7.5, "legend.fontsize": 7.5, "axes.titlesize": 8.5, "axes.titlelocation": "left",
"pdf.fonttype": 42, "lines.linewidth": 1.4,
})
def panel(ax, letter: str) -> None:
ax.set_title(f"({letter})", loc="left", fontsize=8.5, color=fs.INK, pad=4)
def text_on(rgba) -> str:
return fs.INK if 0.2126 * rgba[0] + 0.7152 * rgba[1] + 0.0722 * rgba[2] > 0.55 else WHITE
def save(fig, name: str) -> None:
FIG.mkdir(parents=True, exist_ok=True)
fig.savefig(FIG / f"{name}.pdf", bbox_inches="tight", pad_inches=0.02)
plt.close(fig)
print("wrote", FIG / f"{name}.pdf")
# ---------------------------------------------------------------- Fig. TD drift (Section 3)
def td_drift() -> None:
from ml_porosity.data.las_io import F3_WELLS, load_td_source, load_well
from ml_porosity.data.tdr import TDR, legacy_sonic_tdr, misfit_at_anchors
src = [("legacy", "Integrated DT", fs.ORANGE, "o"), ("wlt", "OpendTect TD model", fs.BLUE, "s"),
("dt_model", "DT model", fs.AQUA, "^")]
fig, axes = plt.subplots(1, len(F3_WELLS), figsize=(WIDTH, 2.9), sharey=True, sharex=True)
for ax, name in zip(axes, F3_WELLS):
w = load_well(name)
cs = w.checkshot
tdrs = {"legacy": legacy_sonic_tdr(w.md, w.curve("DT")),
"wlt": TDR.from_pairs(load_td_source(name, "wlt"), drop_flat=True),
"dt_model": TDR.from_pairs(load_td_source(name, "dt_model"))}
ax.axhspan(600, 1100, color=fs.GRID, alpha=0.55, lw=0, zorder=0)
ax.axvline(0, color=fs.AXIS, lw=0.8, zorder=1)
for key, lab, col, mk in src:
ax.plot(misfit_at_anchors(tdrs[key], cs.md, cs.twt_ms), cs.twt_ms, marker=mk, ms=3, lw=1.1, color=col,
label=lab, zorder=3)
ax.set_title(name, loc="center", fontsize=8, color=fs.INK)
ax.set_xlabel("offset from marker (ms)")
axes[0].set_ylabel("marker TWT (ms)")
axes[0].set_ylim(1300, 400)
fig.legend(*axes[0].get_legend_handles_labels(), loc="lower center", ncol=3, bbox_to_anchor=(0.5, -0.06))
fig.tight_layout(rect=(0, 0.06, 1, 1), w_pad=0.6)
save(fig, "td_drift")
# ---------------------------------------------------------------- Fig. H1 (Section 4)
def h1() -> None:
s11, s12, s13 = load_script("11_run_d2.py"), load_script("12_h1_blur.py"), load_script("13_summarize_p2.py")
P = s11.load_protocol(check=True)
h = s13.h1_summary(P, s12)
f, tab = h["f"], h["table"]
fig, (ax, bx) = plt.subplots(1, 2, figsize=(WIDTH, 2.6), gridspec_kw={"width_ratios": [1.55, 1]})
sig = [s for s in sorted(h["use"]) if s > 0]
for s, col in zip(sig, RAMP4):
th, H, u = np.array(h["theory"][s]), np.array(h["H"][s]), h["use"][s]
ax.plot(f, th, color=col, lw=0.9, ls="--")
ax.plot(f[u], H[u], color=col, lw=1.5, marker="o", ms=2.2)
left = s == max(sig)
i = int(u.sum()) // 2 if left else -1
ax.annotate(rf"$\sigma = {s:g}$ ms", (f[u][i], H[u][i]), xytext=(7, 4) if left else (4, 0), textcoords="offset points",
va="center", ha="left", fontsize=7, color=fs.INK2, zorder=4,
bbox=dict(fc=WHITE, ec="none", pad=0.6, alpha=0.9))
ax.axvspan(0, 6, color=fs.GRID, alpha=0.7, lw=0)
ax.set(xlim=(0, 60), ylim=(-0.1, 1.15), xlabel="frequency (Hz)", ylabel="transfer function")
ax.legend(handles=[Line2D([], [], color=fs.INK2, lw=1.5, marker="o", ms=2.2, label=r"estimated $\hat H_\sigma(f)$"),
Line2D([], [], color=fs.INK2, lw=0.9, ls="--", label=r"$e^{-2\pi^2\sigma^2 f^2}$")],
loc="upper right")
panel(ax, "a")
s = tab.index[tab.index > 0]
bx.axhspan(0.5, 2.0, color=fs.GRID, alpha=0.7, lw=0)
bx.axhline(1.0, color=fs.AXIS, lw=0.9)
bx.vlines(s, tab.loc[s, "r_lo"], tab.loc[s, "r_hi"], color=fs.BLUE, lw=1.4)
bx.plot(s, tab.loc[s, "r"], "o", color=fs.BLUE, ms=4.5)
for x, r, n in zip(s, tab.loc[s, "r"], tab.loc[s, "n_freq"]):
bx.annotate(f"{r:.3f}\n({n} freq.)", (x, r), xytext=(0, 7), textcoords="offset points", ha="center",
va="bottom", fontsize=6.5, color=fs.INK2)
bx.set_xscale("log", base=2)
bx.set_yscale("log", base=2)
bx.set_xticks(list(s), [f"{x:g}" for x in s])
bx.set_yticks([0.5, 1, 2], ["0.5", "1", "2"])
bx.minorticks_off()
bx.set(xlim=(3, 45), ylim=(0.4, 2.5), xlabel=r"$\sigma$ (ms)", ylabel=r"$r(\sigma)$")
panel(bx, "b")
fig.tight_layout(w_pad=1.5)
save(fig, "p2_h1")
# ---------------------------------------------------------------- Fig. Experiment 1 (Section 6.1)
def p2_phase() -> None:
cells = pd.read_csv(outputs_dir() / "p2" / "summary" / "main" / "cells.csv")
cs, Ns = sorted(cells.c.unique()), sorted(cells.n_train.unique())
ix = cells.set_index(["c", "n_train"])
fig, axes = plt.subplots(1, 2, figsize=(WIDTH, 0.75 + 0.62 * len(cs)), layout="constrained")
panels = [("ratio", fs.diverging_norm(0.8, 1.0, 1.2), fs.DIVERGING, "{:.3f}", "{:.2f}", [0.90, 1.0], "band RMSE ratio"),
("dpcc", fs.diverging_norm(-0.1, 0.0, 0.1), fs.DIVERGING.reversed(), "{:+.3f}", "{:+.2f}", [0.0, 0.05],
"band PCC difference")]
for ax, (k, norm, cmap, fmt, fci, ticks, clabel), letter in zip(axes, panels, "ab"):
Z = ix[k].unstack("n_train").reindex(index=cs, columns=Ns).to_numpy()
im = ax.imshow(Z, cmap=cmap, norm=norm, origin="lower", aspect="auto")
for i, c in enumerate(cs):
for j, N in enumerate(Ns):
r = ix.loc[(c, N)]
col = text_on(cmap(norm(r[k])))
ax.text(j, i + 0.2, fmt.format(r[k]), ha="center", va="center", fontsize=7.5, color=col)
ax.text(j, i - 0.12, f"[{fci.format(r[k + '_lo'])}, {fci.format(r[k + '_hi'])}]", ha="center",
va="center", fontsize=6, color=col)
if k == "ratio":
ax.text(j, i - 0.36, f"{r.best}, {'pass' if r.cell_pass else 'fail'}", ha="center", va="center",
fontsize=5.5, color=col)
ax.set_xticks(range(len(Ns)), [str(n) for n in Ns])
ax.set_yticks(range(len(cs)), [f"{c:g}" for c in cs])
ax.set(xlabel=r"training wells $N$", ylabel=r"drift factor $c$")
ax.grid(False)
for sp in ax.spines.values():
sp.set_visible(False)
ax.tick_params(length=0)
if 1.0 in cs:
ax.add_patch(Rectangle((-0.5, cs.index(1.0) - 0.5), len(Ns), 1, fill=False, ec=fs.INK, lw=1.2))
cb = fig.colorbar(im, ax=ax, shrink=0.9, extend="both", pad=0.02)
for t in ticks:
cb.ax.axhline(t, color=fs.INK, lw=0.9)
cb.set_label(clabel, color=fs.INK2)
cb.outline.set_visible(False)
panel(ax, letter)
save(fig, "p2_phase")
# ---------------------------------------------------------------- Fig. H2b (Section 6.3)
def h2b() -> None:
d = pd.read_csv(outputs_dir() / "p2r" / "summary" / "h2b.csv")
shapes = {0.0: "o", 1.0: "s", 2.0: "^"}
cols = {16: fs.BLUE, 4: fs.ORANGE}
fig, (ax, bx) = plt.subplots(1, 2, figsize=(WIDTH, 2.8))
for (N, c), g in d.groupby(["n_train", "c"]):
kw = dict(marker=shapes[c], s=26, zorder=3)
kw |= dict(color=cols[N], lw=0) if N == 16 else dict(facecolor="none", edgecolor=cols[N], lw=1.0)
ax.errorbar(g.sigma_post_ms, g.ratio, yerr=[g.ratio - g.ratio_lo, g.ratio_hi - g.ratio], fmt="none",
ecolor=cols[N], elinewidth=0.7, alpha=0.6, zorder=2)
ax.scatter(g.sigma_post_ms, g.ratio, **kw)
bx.scatter(g["bound_1/B"], g.ratio, **kw)
ax.axvline(1.5, color=fs.INK2, lw=0.8, ls="--")
ax.text(1.55, 0.62, "1.5 ms", fontsize=7, color=fs.INK2)
ax.axhline(1.0, color=fs.AXIS, lw=0.9)
ax.set_xscale("log")
ax.set_xticks([0.3, 0.5, 1, 2, 5, 10], ["0.3", "0.5", "1", "2", "5", "10"])
ax.minorticks_off()
ax.set(xlabel=r"posterior width $\sigma_{\mathrm{post}}$ (ms)", ylabel="band RMSE ratio, M2-Sa / B3d-Sa",
ylim=(0.6, 1.05))
panel(ax, "a")
lo, hi = 0.6, 1.05
bx.plot([lo, hi], [lo, hi], color=fs.AXIS, lw=0.9)
bx.text(0.74, 0.695, "ratio = bound", rotation=45, rotation_mode="anchor", fontsize=7, color=fs.INK2)
bx.set(xlim=(lo, hi), ylim=(lo, hi), aspect="equal", xlabel=r"deblurring bound $1/B(\sigma_{\mathrm{post}})$",
ylabel="band RMSE ratio, M2-Sa / B3d-Sa")
panel(bx, "b")
handles = [Line2D([], [], ls="", marker="o", color=fs.BLUE, mew=0, label=r"$N = 16$"),
Line2D([], [], ls="", marker="o", mfc="none", mec=fs.ORANGE, label=r"$N = 4$")]
handles += [Line2D([], [], ls="", marker=m, color=fs.INK2, mfc="none", label=rf"$c = {c:g}$")
for c, m in shapes.items()]
fig.legend(handles=handles, loc="lower center", ncol=5, bbox_to_anchor=(0.5, -0.04))
fig.tight_layout(rect=(0, 0.06, 1, 1), w_pad=2.0)
save(fig, "p2r_h2b")
# ---------------------------------------------------------------- Fig. Experiment 2 overview (Section 6.3)
def p2r_grid() -> None:
d = pd.read_csv(outputs_dir() / "p2r" / "summary" / "band_rmse.csv")
d = d[d.setting.isin(REGIMES)]
cs = sorted(d.c.unique())
cols = [(r, c) for r in REGIMES for c in cs]
vals = []
for N in (4, 16):
t = d[d.n_train == N].set_index(["setting", "c"])
vals.append(np.array([[t.loc[(r, c), m] / t.loc[(r, c), "Oracle"] for r, c in cols] for m, _ in METHODS]))
norm = Normalize(1.0, 2.0) # R10tb at c = 2 reaches 3.2; clipped so that 1.0-1.6 stays readable
fig, axes = plt.subplots(2, 1, figsize=(WIDTH, 4.3), layout="constrained")
for ax, V, N, letter in zip(axes, vals, (4, 16), "ab"):
im = ax.imshow(V, cmap=SEQ_BLUE, norm=norm, aspect="auto")
for i in range(V.shape[0]):
for j in range(V.shape[1]):
ax.text(j, i, f"{V[i, j]:.2f}", ha="center", va="center", fontsize=6,
color=text_on(SEQ_BLUE(norm(V[i, j]))))
ax.set_yticks(range(len(METHODS)), [lab for _, lab in METHODS])
ax.set_xticks(range(len(cols)), [f"{c:g}" for _, c in cols])
sec = ax.secondary_xaxis("top")
sec.set_xticks([len(cs) * k + (len(cs) - 1) / 2 for k in range(len(REGIMES))], REGIMES)
sec.tick_params(length=0, labelsize=7.5, labelcolor=fs.INK)
sec.spines["top"].set_visible(False)
for k in range(1, len(REGIMES)):
ax.axvline(len(cs) * k - 0.5, color=WHITE, lw=2.5)
ax.grid(False)
for sp in ax.spines.values():
sp.set_visible(False)
ax.tick_params(length=0)
ax.set_xlabel(r"drift factor $c$")
ax.set_title(f"({letter}) $N = {N}$", loc="left", fontsize=8.5, color=fs.INK, pad=14)
cb = fig.colorbar(im, ax=axes, shrink=0.8, pad=0.01, extend="max")
cb.set_label("band RMSE / Oracle", color=fs.INK2)
cb.outline.set_visible(False)
save(fig, "p2r_grid")
FIGURES = {"td_drift": td_drift, "h1": h1, "p2_phase": p2_phase, "h2b": h2b, "p2r_grid": p2r_grid}
def main() -> None:
ap = argparse.ArgumentParser()
ap.add_argument("--only", default="", help="comma-separated subset of " + ",".join(FIGURES))
args = ap.parse_args()
style()
for k in (args.only.split(",") if args.only else FIGURES):
FIGURES[k]()
if __name__ == "__main__":
main()

View File

@@ -23,12 +23,15 @@ score Predictions <pred>/<split>/<setting>/r{rid}_c{c}_n{N}_s{seed}.npz with
(8, 126), porosity in p.u., test wells in task order. Metrics are those of the runner (scripts/11 evaluate). (8, 126), porosity in p.u., test wells in task order. Metrics are those of the runner (scripts/11 evaluate).
On the test split the locked rules of ml_porosity/benchmark/summary.py are applied per cell: the H2a cell On the test split the locked rules of ml_porosity/benchmark/summary.py are applied per cell: the H2a cell
rule against the best point tie {B3b, B3c, B3c-R}, and the `better` rule against B3d-Sa, M2-Sa, Oracle rule against the best point tie {B3b, B3c, B3c-R}, and the `better` rule against B3d-Sa, M2-Sa, Oracle
(PM2, BK2, Oracle in the two-mode settings). Reference rows are restricted to the submitted realizations and (PM2, BK2, Oracle in the two-mode settings). Scorer v1.1 (17/11/2026, after the Geophysical Prospecting
seeds. Bootstrap CIs use one generator (rng 0) per cell, so they can differ slightly from the summary review) adds the anchor mean B3d: the same H2a cell rule against the best of {B3b, B3c, B3c-R, B3d}
tables; no rule uses a CI. → <pred>/score/ (rule_point_ties_anchor.csv; only the nominal settings have B3d) and the `better` rule against B3d. The v1
outputs are unchanged and no task file or hash changed. Reference rows are restricted to the submitted
realizations and seeds. Bootstrap CIs use one generator (rng 0) per cell, so they can differ slightly from
the summary tables; no rule uses a CI. → <pred>/score/
selftest Writes saved predictions of reference methods as a submission (S1 R10 c = 1.5, S2 R10 wv_L1, P2r R10 c = 1, selftest Writes saved predictions of reference methods as a submission (S1 R10 c = 1.5, S2 R10 wv_L1, P2r R10 c = 1,
S8 R10 Δ = 16), scores it, and checks that metrics and rule outputs equal those of the reference runs and S8 R10 Δ = 16), scores it, and checks that metrics and rule outputs equal those of the reference runs and
that the package truth equals the y_true saved by the runner. that the package truth equals the y_true saved by the runner; v1.1 also checks the anchor-mean rule.
check Recomputes the content hashes of DIR against benchmark/MANIFEST.json (for a downloaded copy). check Recomputes the content hashes of DIR against benchmark/MANIFEST.json (for a downloaded copy).
Outside the code hash of the protocol_bench lock (scripts/34 and ml_porosity/ only); generate and tables check the Outside the code hash of the protocol_bench lock (scripts/34 and ml_porosity/ only); generate and tables check the
@@ -64,6 +67,8 @@ RUN = ["setting", "c", "n_train", "rid", "seed", "method"]
PRED = re.compile(r"r(\d+)_c([\d.]+)_n(\d+)_s(\d+)") PRED = re.compile(r"r(\d+)_c([\d.]+)_n(\d+)_s(\d+)")
WIDE_MS = 1.5 # rules.wide of protocol_bench WIDE_MS = 1.5 # rules.wide of protocol_bench
N_BOOT = 2000 N_BOOT = 2000
SCORER_VERSION = "1.1" # 1.0: 02/11/2026; 1.1: anchor mean B3d added as a competitor (17/11/2026)
ANCHOR_TIES = [*S.POINT_TIES, "B3d"]
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) 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)
@@ -204,7 +209,7 @@ def generate(a) -> None:
"'key|dtype|shape|' then the C-order bytes (scripts/37_bench_package.py content_sha)", "'key|dtype|shape|' then the C-order bytes (scripts/37_bench_package.py content_sha)",
"inputs": {f"inputs/{f.name}": file_sha(f) for f in sorted(src.iterdir()) if f.name != "analyst.json"}, "inputs": {f"inputs/{f.name}": file_sha(f) for f in sorted(src.iterdir()) if f.name != "analyst.json"},
"splits": {sp: rids[sp] for sp in sorted(set(old.get("splits", {})) | set(a.split))}, "splits": {sp: rids[sp] for sp in sorted(set(old.get("splits", {})) | set(a.split))},
"n_tasks": int(len(idx)), "files": dict(sorted((keep | files).items()))} "scorer_version": SCORER_VERSION, "n_tasks": int(len(idx)), "files": dict(sorted((keep | files).items()))}
(out / "MANIFEST.json").write_text(json.dumps(man, indent=1)) (out / "MANIFEST.json").write_text(json.dumps(man, indent=1))
ref = DOC / "MANIFEST.json" ref = DOC / "MANIFEST.json"
if ref.exists() and not a.update_manifest: if ref.exists() and not a.update_manifest:
@@ -346,8 +351,8 @@ def read_predictions(pred: Path, pkg: Path, name: str, f_c: float) -> pd.DataFra
return pd.DataFrame(rows) return pd.DataFrame(rows)
def rule_tables(run: pd.DataFrame, ref: pd.DataFrame, name: str) -> tuple[pd.DataFrame, pd.DataFrame, pd.DataFrame]: def rule_tables(run: pd.DataFrame, ref: pd.DataFrame, name: str) -> tuple[pd.DataFrame, ...]:
rules, pairs, means = [], [], [] rules, anch, pairs, means = [], [], [], []
for (setting, c, N), sub in run.groupby(CELL): for (setting, c, N), sub in run.groupby(CELL):
r = ref[(ref.setting == setting) & (ref.c == c) & (ref.n_train == N) & ref.rid.isin(sub.rid) & ref.seed.isin(sub.seed)] r = ref[(ref.setting == setting) & (ref.c == c) & (ref.n_train == N) & ref.rid.isin(sub.rid) & ref.seed.isin(sub.seed)]
both = pd.concat([sub[RUN + S.METRICS], r[RUN + S.METRICS]], ignore_index=True) both = pd.concat([sub[RUN + S.METRICS], r[RUN + S.METRICS]], ignore_index=True)
@@ -356,14 +361,18 @@ def rule_tables(run: pd.DataFrame, ref: pd.DataFrame, name: str) -> tuple[pd.Dat
if set(S.POINT_TIES) <= set(r.method): if set(S.POINT_TIES) <= set(r.method):
cells = S.h2a_cells(both, name, S.POINT_TIES, np.random.default_rng(0), N_BOOT) cells = S.h2a_cells(both, name, S.POINT_TIES, np.random.default_rng(0), N_BOOT)
rules.append(cells.drop(columns=["c", "n_train", "n_rid", "n_seed"]).assign(**key)) rules.append(cells.drop(columns=["c", "n_train", "n_rid", "n_seed"]).assign(**key))
for m in ("B3d-Sa", "M2-Sa", "PM2", "BK2", "Oracle"): if set(ANCHOR_TIES) <= set(r.method): # v1.1: anchor mean among the competitors
cells = S.h2a_cells(both, name, ANCHOR_TIES, np.random.default_rng(0), N_BOOT)
anch.append(cells.drop(columns=["c", "n_train", "n_rid", "n_seed"]).assign(**key))
for m in ("B3d-Sa", "M2-Sa", "B3d", "PM2", "BK2", "Oracle"):
if m in set(r.method): if m in set(r.method):
d = S.pair(both, name, m, np.random.default_rng(0), N_BOOT) d = S.pair(both, name, m, np.random.default_rng(0), N_BOOT)
pairs.append(key | {"reference": m} | d) pairs.append(key | {"reference": m} | d)
first = lambda df, cols: df[[*cols, *[k for k in df.columns if k not in cols]]] if len(df) else df first = lambda df, cols: df[[*cols, *[k for k in df.columns if k not in cols]]] if len(df) else df
k = ["setting", "c", "n_train", "n_rid", "n_seed"] k = ["setting", "c", "n_train", "n_rid", "n_seed"]
rules = pd.concat(rules, ignore_index=True) if rules else pd.DataFrame() rules = pd.concat(rules, ignore_index=True) if rules else pd.DataFrame()
return first(rules, k), first(pd.DataFrame(pairs), k + ["reference"]), first(pd.DataFrame(means), k) anch = pd.concat(anch, ignore_index=True) if anch else pd.DataFrame()
return first(rules, k), first(anch, k), first(pd.DataFrame(pairs), k + ["reference"]), first(pd.DataFrame(means), k)
def score(a) -> None: def score(a) -> None:
@@ -379,33 +388,42 @@ def score(a) -> None:
well.to_csv(out / "per_well.csv", index=False) well.to_csv(out / "per_well.csv", index=False)
run.to_csv(out / "runs.csv", index=False) run.to_csv(out / "runs.csv", index=False)
test = run[run.split == "test"].drop(columns="split") test = run[run.split == "test"].drop(columns="split")
L = [f"# Score of `{a.name}` (scripts/37_bench_package.py score)", "", L = [f"# Score of `{a.name}` (scripts/37_bench_package.py score, scorer v{SCORER_VERSION})", "",
f"{len(well.groupby(['split', *RUN]))} predictions; test split: {len(test)} runs in {test.groupby(CELL).ngroups} cells.", f"{len(well.groupby(['split', *RUN]))} predictions; test split: {len(test)} runs in {test.groupby(CELL).ngroups} cells.",
"Rules: protocol_bench (improves: band RMSE ≤ 0.90 × best point tie or band PCC ≥ +0.05; cell_pass: ≥ 4/5 seeds " "Rules: protocol_bench (improves: band RMSE ≤ 0.90 × best point tie or band PCC ≥ +0.05; cell_pass: ≥ 4/5 seeds "
"and > 1/2 of realizations; better: lower band RMSE in ≥ 4/5 seeds and > 1/2 of realizations).", ""] "and > 1/2 of realizations; better: lower band RMSE in ≥ 4/5 seeds and > 1/2 of realizations).", ""]
if len(test): if len(test):
rules, pairs, means = rule_tables(test, ref, a.name) rules, anch, pairs, means = rule_tables(test, ref, a.name)
for f, df in (("rule_point_ties.csv", rules), ("pairs.csv", pairs), ("cells.csv", means)): for f, df in (("rule_point_ties.csv", rules), ("rule_point_ties_anchor.csv", anch), ("pairs.csv", pairs),
("cells.csv", means)):
df.to_csv(out / f, index=False) df.to_csv(out / f, index=False)
complete = lambda df: df[(df.n_rid == 8) & (df.n_seed == 5)] if len(df) else df complete = lambda df: df[(df.n_rid == 8) & (df.n_seed == 5)] if len(df) else df
if len(rules): if len(rules):
rc = complete(rules) rc = complete(rules)
L += [f"- H2a cell rule vs best point tie: {int(rules.cell_pass.sum())}/{len(rules)} cells pass " L += [f"- H2a cell rule vs best point tie: {int(rules.cell_pass.sum())}/{len(rules)} cells pass "
f"({int(rc.cell_pass.sum())}/{len(rc)} among complete cells: 8 realizations × 5 seeds)."] f"({int(rc.cell_pass.sum())}/{len(rc)} among complete cells: 8 realizations × 5 seeds)."]
for m in ("B3d-Sa", "M2-Sa", "PM2", "BK2", "Oracle"): if len(anch):
ac = complete(anch)
L += [f"- v1.1 H2a cell rule vs best of point ties and anchor mean B3d: {int(anch.cell_pass.sum())}/{len(anch)} "
f"cells pass ({int(ac.cell_pass.sum())}/{len(ac)} among complete cells; nominal settings only)."]
for m in ("B3d-Sa", "M2-Sa", "B3d", "PM2", "BK2", "Oracle"):
q = pairs[pairs.reference == m] if len(pairs) else pairs q = pairs[pairs.reference == m] if len(pairs) else pairs
if len(q): if len(q):
L += [f"- better than {m}: {int(q.better.sum())}/{len(q)} cells; median ratio {q.ratio.median():.3f}."] L += [f"- better than {m}: {int(q.better.sum())}/{len(q)} cells; median ratio {q.ratio.median():.3f}."]
L += ["", "| setting | c | N | n_rid × n_seed | ratio vs best point tie (best) | cell_pass | ratio vs B3d-Sa |", L += ["", "| setting | c | N | n_rid × n_seed | ratio vs best point tie (best) | cell_pass | "
"|---|---|---|---|---|---|---|"] "ratio vs best of point ties and B3d (best) | cell_pass (v1.1) | ratio vs B3d-Sa |",
"|---|---|---|---|---|---|---|---|---|"]
rr = rules.set_index(CELL) if len(rules) else None rr = rules.set_index(CELL) if len(rules) else None
ra = anch.set_index(CELL) if len(anch) else None
pb = pairs[pairs.reference == "B3d-Sa"].set_index(CELL) if len(pairs) else None pb = pairs[pairs.reference == "B3d-Sa"].set_index(CELL) if len(pairs) else None
for row in means.itertuples(): for row in means.itertuples():
k = (row.setting, row.c, row.n_train) k = (row.setting, row.c, row.n_train)
h = f"{rr.loc[k, 'ratio']:.3f} ({rr.loc[k, 'best']})" if rr is not None and k in rr.index else "—" h = f"{rr.loc[k, 'ratio']:.3f} ({rr.loc[k, 'best']})" if rr is not None and k in rr.index else "—"
cp = str(bool(rr.loc[k, "cell_pass"])) if rr is not None and k in rr.index else "—" cp = str(bool(rr.loc[k, "cell_pass"])) if rr is not None and k in rr.index else "—"
ha = f"{ra.loc[k, 'ratio']:.3f} ({ra.loc[k, 'best']})" if ra is not None and k in ra.index else "—"
ca = str(bool(ra.loc[k, "cell_pass"])) if ra is not None and k in ra.index else "—"
b = f"{pb.loc[k, 'ratio']:.3f}" if pb is not None and k in pb.index else "—" b = f"{pb.loc[k, 'ratio']:.3f}" if pb is not None and k in pb.index else "—"
L.append(f"| {row.setting} | {row.c:g} | {row.n_train} | {row.n_rid} × {row.n_seed} | {h} | {cp} | {b} |") L.append(f"| {row.setting} | {row.c:g} | {row.n_train} | {row.n_rid} × {row.n_seed} | {h} | {cp} | {ha} | {ca} | {b} |")
dev = run[run.split == "dev"] dev = run[run.split == "dev"]
if len(dev): if len(dev):
L += ["", f"Dev split: {len(dev)} runs, metrics only (runs.csv); dev labels may be used for design."] L += ["", f"Dev split: {len(dev)} runs, metrics only (runs.csv); dev labels may be used for design."]
@@ -448,6 +466,7 @@ def selftest(a) -> None:
ref = pd.read_csv(pkg / "reference" / "runs.csv.gz") ref = pd.read_csv(pkg / "reference" / "runs.csv.gz")
got = pd.read_csv(sub / "score" / "runs.csv") got = pd.read_csv(sub / "score" / "runs.csv")
rules = pd.read_csv(sub / "score" / "rule_point_ties.csv") rules = pd.read_csv(sub / "score" / "rule_point_ties.csv")
anch = pd.read_csv(sub / "score" / "rule_point_ties_anchor.csv")
pairs = pd.read_csv(sub / "score" / "pairs.csv") pairs = pd.read_csv(sub / "score" / "pairs.csv")
msg, ok = [f"max |y_true(runner, float32) − y_test(package)| = {worst_y:.2e} p.u."], worst_y < 1e-4 msg, ok = [f"max |y_true(runner, float32) − y_test(package)| = {worst_y:.2e} p.u."], worst_y < 1e-4
for setting, _, _, c, m in SELFTEST: for setting, _, _, c, m in SELFTEST:
@@ -464,6 +483,11 @@ def selftest(a) -> None:
have = rules[(rules.setting == setting) & (rules.c == c) & (rules.n_train == N)].iloc[0] have = rules[(rules.setting == setting) & (rules.c == c) & (rules.n_train == N)].iloc[0]
same = want.best == have.best and bool(want.cell_pass) == bool(have.cell_pass) and abs(want.ratio - have.ratio) < 1e-4 same = want.best == have.best and bool(want.cell_pass) == bool(have.cell_pass) and abs(want.ratio - have.ratio) < 1e-4
line += f"; N={N} ratio {have.ratio:.4f} vs {want.ratio:.4f} ({want.best}, pass {bool(want.cell_pass)})" line += f"; N={N} ratio {have.ratio:.4f} vs {want.ratio:.4f} ({want.best}, pass {bool(want.cell_pass)})"
if set(ANCHOR_TIES) <= set(cr.method): # v1.1 anchor-mean rule
wa = S.h2a_cells(cr, m, ANCHOR_TIES, np.random.default_rng(0), N_BOOT).iloc[0]
ha = anch[(anch.setting == setting) & (anch.c == c) & (anch.n_train == N)].iloc[0]
same &= wa.best == ha.best and bool(wa.cell_pass) == bool(ha.cell_pass) and abs(wa.ratio - ha.ratio) < 1e-4
line += f" | v1.1 {ha.ratio:.4f} vs {wa.ratio:.4f} ({wa.best}, pass {bool(wa.cell_pass)})"
else: else:
want = S.pair(cr, m, "PM2", np.random.default_rng(0), N_BOOT) want = S.pair(cr, m, "PM2", np.random.default_rng(0), N_BOOT)
have = pairs[(pairs.setting == setting) & (pairs.c == c) & (pairs.n_train == N) & (pairs.reference == "PM2")].iloc[0] have = pairs[(pairs.setting == setting) & (pairs.c == c) & (pairs.n_train == N) & (pairs.reference == "PM2")].iloc[0]
@@ -472,7 +496,7 @@ def selftest(a) -> None:
ok &= same ok &= same
msg.append(line) msg.append(line)
print("\n".join(msg)) print("\n".join(msg))
(pkg / "selftest.json").write_text(json.dumps({"pass": bool(ok), "checks": msg}, indent=1)) (pkg / "selftest.json").write_text(json.dumps({"pass": bool(ok), "scorer_version": SCORER_VERSION, "checks": msg}, indent=1))
shutil.rmtree(sub) shutil.rmtree(sub)
if not ok: if not ok:
raise SystemExit("selftest FAILED") raise SystemExit("selftest FAILED")

View File

@@ -42,7 +42,7 @@ def bench_s1() -> None:
d = pd.read_csv(SUMMARY / "s1_cells.csv") d = pd.read_csv(SUMMARY / "s1_cells.csv")
cs, Ns = sorted(d.c.unique()), sorted(d.n_train.unique()) cs, Ns = sorted(d.c.unique()), sorted(d.n_train.unique())
norm, cmap = fs.diverging_norm(0.65, 1.0, 1.15), fs.DIVERGING norm, cmap = fs.diverging_norm(0.65, 1.0, 1.15), fs.DIVERGING
rows = [("pm_best", r"SMC mean / best point tie"), ("m2_pm", r"SMC bank / SMC mean")] rows = [("pm_best", r"SMC mean / best deterministic tie"), ("m2_pm", r"SMC bank / SMC mean")]
fig, axes = plt.subplots(2, len(REGIMES), figsize=(F.WIDTH, 3.55), sharex=True, sharey=True, layout="constrained") fig, axes = plt.subplots(2, len(REGIMES), figsize=(F.WIDTH, 3.55), sharex=True, sharey=True, layout="constrained")
for i, (k, lab) in enumerate(rows): for i, (k, lab) in enumerate(rows):
for j, reg in enumerate(REGIMES): for j, reg in enumerate(REGIMES):

85
scripts/50_ref_overlap.py Normal file
View File

@@ -0,0 +1,85 @@
#!/usr/bin/env python3
"""Offline word n-gram overlap between the manuscript prose and the reference PDFs in refs/.
Nothing leaves the machine. Prose of paper/sections/*.tex and paper_gp/main.tex (math, citation and
reference commands removed) is compared with the text of every distinct PDF in refs/ (PyMuPDF; line-end
hyphenation joined). Runs of shared word n-grams are merged into spans and written, longest first, to
outputs/ref_overlap/overlap_n<N>.json. Only near-verbatim reuse is found, and only against refs/ (PDFs
listed in refs/MISSING.md are not checked). Not a substitute for iThenticate.
python scripts/50_ref_overlap.py [N] # default N = 8
"""
import glob, hashlib, json, os, re, sys, warnings
warnings.filterwarnings("ignore")
import fitz
REPO = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
N = int(sys.argv[1]) if len(sys.argv) > 1 else 8
OUT = os.path.join(REPO, "outputs", "ref_overlap")
os.makedirs(OUT, exist_ok=True)
def tex_to_text(s):
s = re.sub(r"(?<!\\)%.*", "", s)
s = re.sub(r"\\begin\{(equation|align|gather|multline|eqnarray|displaymath)\*?\}.*?\\end\{\1\*?\}", " MATH ", s, flags=re.S)
s = re.sub(r"\\\[.*?\\\]", " MATH ", s, flags=re.S)
s = re.sub(r"(?<!\\)\$.+?(?<!\\)\$", " MATH ", s, flags=re.S)
s = re.sub(r"\\(cite[a-z]*|ref|eqref|label|Sref|includegraphics|input|url|href|todo)\*?(\[[^\]]*\])*\{[^}]*\}", " ", s)
s = re.sub(r"\\[a-zA-Z]+\*?", " ", s)
s = re.sub(r"[{}\[\]~&\\]", " ", s)
return s
def words(s):
s = s.replace("\u2010", "-").replace("\u2011", "-").replace("\ufb01", "fi").replace("\ufb02", "fl")
s = re.sub(r"(\w)-\s*\n\s*(\w)", r"\1\2", s) # de-hyphenate line breaks
return re.findall(r"[a-z0-9]+", s.lower())
# manuscript: full sections + GP article (prose); keep line numbers for reporting
docs = {}
for p in sorted(glob.glob(f"{REPO}/paper/sections/*.tex")) + [f"{REPO}/paper_gp/main.tex"]:
raw = open(p, encoding="utf-8").read()
if p.endswith("paper_gp/main.tex"):
raw = re.sub(r".*?\\begin\{document\}", "", raw, flags=re.S)
docs[os.path.relpath(p, REPO)] = words(tex_to_text(raw))
# references: dedupe by text hash
refs, seen = {}, {}
for p in sorted(glob.glob(f"{REPO}/refs/*.pdf")):
try:
t = "\n".join(pg.get_text() for pg in fitz.open(p))
except Exception as e:
print("skip", p, e); continue
w = words(t)
h = hashlib.sha1(" ".join(w[:2000]).encode()).hexdigest()
if h in seen:
continue
seen[h] = p
refs[os.path.basename(p)] = w
print(f"{len(refs)} distinct reference texts; n = {N}")
index = {}
for name, w in refs.items():
for i in range(len(w) - N + 1):
index.setdefault(tuple(w[i:i + N]), set()).add(name)
results = []
for d, w in docs.items():
hit = [index.get(tuple(w[i:i + N])) for i in range(len(w) - N + 1)]
i = 0
while i < len(hit):
if hit[i]:
j = i; src = set(hit[i])
while j + 1 < len(hit) and hit[j + 1]:
j += 1; src |= hit[j]
span = w[i:j + N]
results.append(dict(doc=d, nwords=len(span), text=" ".join(span), sources=sorted(src)))
i = j + 1
else:
i += 1
results.sort(key=lambda r: -r["nwords"])
json.dump(results, open(f"{OUT}/overlap_n{N}.json", "w"), indent=1)
tot = {d: sum(r["nwords"] for r in results if r["doc"] == d) for d in docs}
for d in docs:
print(f"{d}: {len(docs[d])} words, {tot[d]} in matched spans ({100*tot[d]/max(1,len(docs[d])):.2f}%)")
print(f"\n{len(results)} spans; longest first:")
for r in results[:60]:
print(f"[{r['nwords']}] {r['doc']} <- {', '.join(r['sources'])}\n {r['text']}")

1015
scripts/51_gp_review.py Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,548 @@
"""GP review, Phase 3: experiments E4, E5, E6 (and E3 if A3 is not sufficient). Declared in
docs/research/gp-review-experiments.md and hashed before the first run; exploratory; outside every lock and the
reproduction archives. The locked scripts 14, 15, 18 and 32 are imported unchanged; the only in-process replacement is
the budget list of `train_predict` in the E6 workers (as declared). E2 and E1 live in scripts 53 and 54.
E4 point tie optimizing the SMC target (L-BFGS-B from the 4 best saved particles), labels at the optimum, NLL, 250
E5 posterior-mean labels (64-member bank mean; 1024-particle mean) trained with the Gaussian likelihood
E6 the seven registered methods of Experiment 2 at 125/250/500 iterations (equal budget)
.venv/bin/python scripts/52_gp_experiments.py --stage e5 --workers 5 --device cuda:0
.venv/bin/python scripts/52_gp_experiments.py --stage e6 --workers 5 --device cuda:0
.venv/bin/python scripts/52_gp_experiments.py --stage e4 --workers 4 --device cuda:0
.venv/bin/python scripts/52_gp_experiments.py --stage summary # -> outputs/gp_review/e{4,5,6}/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" / "gp-review-experiments.md"
DECL_HASH = REPO_ROOT / "docs" / "research" / "gp-review-experiments.sha256"
OUT = outputs_dir() / "gp_review"
P2R = outputs_dir() / "p2r"
LAMLIM = outputs_dir() / "lambda_limit"
POINT_TIE = outputs_dir() / "point_tie"
RIDS = list(range(8, 16))
SEEDS = [0, 1, 2, 3, 4]
H2A_REGIMES, CS, NS = ["R10", "R0", "Rm5"], [0.0, 1.0], [4, 16]
E_BUDGETS = [125, 250, 500]
PRIMARY = 250
REG_BUD = {"Oracle": 500, "B3b": 125, "B3c": 250, "B3c-R": 500, "B3d": 250, "B3d-Sa": 250, "M2-Sa": 250}
SEVEN = list(REG_BUD)
POINT = ["B3b", "B3c", "B3c-R"]
WIDE = [(r, c) for r, c in t2.WIDE16]
NARROW = [(r, c) for r, c in t2.NARROW16]
N_BOOT = 2000
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 ({actual[:12]} != {expected[:12]})")
return actual
def set_threads(n: int = 2) -> None:
for k in ("OMP_NUM_THREADS", "MKL_NUM_THREADS", "OPENBLAS_NUM_THREADS", "NUMBA_NUM_THREADS", "NUMEXPR_NUM_THREADS"):
os.environ.setdefault(k, str(n))
def bank(Y, logpi, lam) -> dict:
return {"kind": "bank", "Y": np.asarray(Y, np.float32), "logpi": np.asarray(logpi, np.float32), "lam": lam}
def score_rows(cell, key, m, preds, s0, m0, f_c) -> list[dict]:
rows = []
for b, (mu, sg) in preds.items():
mu_p, sg_p = 100 * (mu * s0 + m0), 100 * sg * s0
for wt, r in zip(cell["R"].test, run_d2.evaluate(cell["yt"], mu_p, sg_p, f_c)):
rows.append(key | {"method": m, "budget": b, "test_well": wt.name} | r)
return rows
def run_pool(fn, jobs, workers: int, label: str) -> None:
print(f"{label}: {len(jobs)} jobs, {workers} workers", flush=True)
if not jobs:
return
t0 = time.time()
with ProcessPoolExecutor(workers, mp_context=get_context("spawn")) as ex:
futs = {ex.submit(fn, 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)
# ----------------------------------------------------------------------------------------------------------------
# E5: posterior-mean labels with the Gaussian likelihood
# ----------------------------------------------------------------------------------------------------------------
def e5_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
t0 = time.time()
cell = t2.build_cell(regime, rid, c, N, P, with_register=True)
out, wells = 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, np.float64) - m0) / s0).astype(np.float32)
Y_pm = nb(np.stack([cell["lab"](w["y_aa"], w["tm"]) for w in wells])) # B3d-Sa: label at the mean warp
Y_rml = nb(np.stack([w["Y"] for w in wells])) # (N, 64, L) M2-Sa bank
logpi = np.stack([w["logpi"] for w in wells]).astype(np.float64)
Y_mean = (Y_rml.astype(np.float64) * np.exp(logpi)[:, :, None]).sum(1) # label of Mean-MSE (scripts/41)
diag, Y_1024 = [], []
for w in wells:
Yall = cell["lab"](w["y_aa"], w["Tf"]) # (1024, L), all saved particles
ok = np.all(np.isfinite(Yall), 1)
y1024 = Yall[ok].mean(0)
Y_1024.append(y1024)
ypm = cell["lab"](w["y_aa"], w["tm"])[0]
y64 = Y_mean[w["i"]] * s0 + m0
rms = lambda a, b: float(100 * np.sqrt(np.mean((a - b) ** 2)))
diag.append(key | {"well": w["name"], "n_valid_1024": int(ok.sum()), "n_valid_64": int(w["ok"].sum()),
"rms_mean64_vs_pm_pu": rms(y64, ypm), "rms_mean1024_vs_pm_pu": rms(y1024, ypm),
"rms_mean64_vs_mean1024_pu": rms(y64, y1024)})
Y_1024 = nb(np.stack(Y_1024))
z1 = np.zeros((N, 1))
specs = {"Mean-NLL": bank(Y_mean[:, None, :], z1, lam), "Mean-NLL-1024": bank(Y_1024[:, None, :], z1, lam),
"B3d-Sa": bank(Y_pm, z1, lam)}
rows = []
for seed in seeds:
for m, sp in specs.items():
preds = train_predict(cell["X"], cell["Xte"], sp, tcfg, seed, E_BUDGETS, device)
rows += [r | {"seed": seed} for r in score_rows(cell, key, m, preds, s0, m0, f_c)]
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
# ----------------------------------------------------------------------------------------------------------------
# E6: equal budgets through the locked scripts/15 run_cell
# ----------------------------------------------------------------------------------------------------------------
def e6_job(job) -> tuple[str, float]:
regime, rid, c, N, seeds, device, cell_dir, P = job
import ml_porosity.models.bank_train as bt
orig = bt.train_predict
if not getattr(orig, "_gp_review_patched", False):
def train_predict(X, Xte, spec, cfg, seed, budgets, device, on_budget=None):
return orig(X, Xte, spec, cfg, seed, list(E_BUDGETS), device, on_budget=on_budget)
train_predict._gp_review_patched = True
bt.train_predict = train_predict # declared replacement: the budget list only
s15 = load_script("15_diag_train.py")
snr, dens = t2.regime_settings()[regime]
st = {"snr_db": snr, "anchor_density": dens, "sigma_a_reg": None, "variants": ["a"], "methods": SEVEN,
"save_preds": True, "budgets": None}
_, dt = s15.run_cell((rid, c, N, seeds, 0, P, device, P2R / "posterior" / regime, cell_dir, st))
return f"{regime}/r{rid}_c{c:g}_n{N}", dt
# ----------------------------------------------------------------------------------------------------------------
# E4: point tie optimizing the SMC target
# ----------------------------------------------------------------------------------------------------------------
def optimize_target(T, gamma: float, Z0s: np.ndarray, h: float = 1e-3, maxiter: int = 200) -> list:
"""L-BFGS-B on −F, F(z) = log p(u|anchor) + gamma * l(u), forward-difference gradient in one batched call."""
from scipy.optimize import minimize
d = Z0s.shape[1]
E = np.eye(d) * h
def F(Zb):
base, ll = T.parts(Zb)
f = base + gamma * ll
return np.where(np.isfinite(f), f, -np.inf)
def fg(z):
f = F(np.vstack([z[None, :], z[None, :] + E]))
f0, fp = f[0], f[1:]
if not np.isfinite(f0):
return 1e12, np.zeros(d)
g = (fp - f0) / h
bad = np.flatnonzero(~np.isfinite(fp))
if bad.size:
fm = F(z[None, :] - E[bad])
g[bad] = np.where(np.isfinite(fm), (f0 - fm) / h, 0.0)
return -f0, -g
res = []
for z0 in Z0s:
r = minimize(fg, z0.astype(float), jac=True, method="L-BFGS-B",
options={"maxiter": maxiter, "ftol": 1e-9, "gtol": 1e-6})
res.append(r)
return res
def e4_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.data.wavelet import statistical_wavelet
from ml_porosity.models.bank_train import train_predict
from ml_porosity.registration.smc import TiePosterior, phase_basis, phase_wavelet
from ml_porosity.registration.ties import warp_errors
from ml_porosity.registration.warp_prior import WarpHyper
t0 = time.time()
cell = t2.build_cell(regime, rid, c, N, P, with_register=True)
R, obs, reg, ph, out, wells = cell["R"], cell["obs"], cell["reg"], cell["ph"], 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, np.float64) - m0) / s0).astype(np.float32)
h = WarpHyper(**out["hyper"])
fac = int(round(R.dt / R.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")
diag, lab_opt, lab_map = [], [], []
for i, (o, w) in enumerate(zip(obs, wells)):
tw = time.time()
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"])
Z = T.z(w["U"])
base, ll = T.parts(Z)
F0 = np.where(np.isfinite(base) & np.isfinite(ll), base + gamma * ll, -np.inf)
k_map = int(np.argmax(F0)) # SMC-MAP of scripts/44
fin = np.flatnonzero(np.isfinite(F0))
_, first = np.unique(Z[fin], axis=0, return_index=True) # distinct saved particles
cand = fin[first]
starts = cand[np.argsort(-F0[cand])][:4]
res = optimize_target(T, gamma, Z[starts])
pool = [(F0[k], Z[k], "start") for k in starts] + [(-r.fun, r.x, "opt") for r in res if r.fun < 1e11]
f_best, z_best, src = max(pool, key=lambda p: p[0])
b_best, l_best = T.parts(z_best[None, :])
f_chk = float(b_best[0] + gamma * l_best[0])
u = T.u(z_best[None, :])[0]
t_opt = R.grid.t_of_tau(u[0], u[1:], tau=R.tau_fine)[0]
t_map = w["Tf"][k_map]
err = lambda t: warp_errors(np.atleast_2d(t), R.tau_fine, o["t_of_tau_true"], R.t_main)["warp_rmse_ms"]
y_opt = cell["lab"](w["y_aa"], t_opt)[0]
if not np.all(np.isfinite(y_opt)):
raise RuntimeError(f"{stem} {o['name']}: label at the optimum is not finite")
lab_opt.append(y_opt)
lab_map.append(cell["lab"](w["y_aa"], t_map)[0])
diag.append(key | {"well": o["name"], "gamma": gamma, "F_map": float(F0[k_map]), "F_opt": f_chk,
"dF": f_chk - float(F0[k_map]), "base_map": float(base[k_map]), "ll_map": float(ll[k_map]),
"base_opt": float(b_best[0]), "ll_opt": float(l_best[0]), "source": src,
"n_starts": int(len(starts)), "n_improved": int(sum(-r.fun > F0[k] + 1e-9 for r, k in zip(res, starts))),
"nit_max": int(max(r.nit for r in res)), "nfev_sum": int(sum(r.nfev for r in res)),
"converged": int(sum(bool(r.success) for r in res)),
"z_dist_opt_map": float(np.linalg.norm(z_best - Z[k_map])),
"SMC-opt_warp_rmse_ms": err(t_opt), "SMC-MAP_warp_rmse_ms": err(t_map),
"B3d-Sa_warp_rmse_ms": err(w["tm"]), "seconds": time.time() - tw})
z1 = np.zeros((N, 1))
specs = {"SMC-opt": bank(nb(np.stack(lab_opt))[:, None, :], z1, lam),
"SMC-MAP": bank(nb(np.stack(lab_map))[:, None, :], z1, lam)}
rows = []
for seed in seeds:
for m, sp in specs.items():
if m == "SMC-MAP" and seed != 0: # reproduction check of scripts/44 at seed 0
continue
preds = train_predict(cell["X"], cell["Xte"], sp, tcfg, seed, [PRIMARY], device)
rows += [r | {"seed": seed} for r in score_rows(cell, key, m, preds, s0, m0, f_c)]
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)
return stem, time.time() - t0
# ----------------------------------------------------------------------------------------------------------------
# summaries
# ----------------------------------------------------------------------------------------------------------------
def side(r: dict, m: str = "pct") -> str:
return "below" if r[f"{m}_hi"] < 1 else ("above" if r[f"{m}_lo"] > 1 else "contains")
def ratio_table(runs: pd.DataFrame, pairs: dict, cells, rng, budget_col: str | None = None) -> pd.DataFrame:
"""runs: per (regime, c, n_train, rid, seed, method[, budget]) band_rmse. pairs: tag -> (num, den | 'best')."""
rows = []
groups = ["regime", "c", "n_train"] + ([budget_col] if budget_col else [])
for k, g in runs.groupby(groups):
if (k[0], k[1], k[2]) not in cells:
continue
have = set(g.method)
best = min((m for m in POINT if m in have), key=lambda m: g[g.method == m].band_rmse.mean(), default=None)
for tag, (x, y) in pairs.items():
y = best if y == "best" else y
if x not in have or y not in have:
continue
sx, sy = ci.per_rid(g, x), ci.per_rid(g, y)
if len(sx) < len(RIDS) or len(sy) < len(RIDS):
continue
r = ci.intervals(sx, sy, rng)
rows.append(dict(zip(groups, k)) | {"cmp": tag, "num": x, "den": y} | r)
df = pd.DataFrame(rows)
for m in ("pct", "bca", "t"):
df[f"{m}_vs_1"] = [side(r, m) for _, r in df.iterrows()]
return df
def per_run(cells_csv: list[Path], extra: tuple = ()) -> pd.DataFrame:
d = pd.concat([pd.read_csv(f) for f in cells_csv], ignore_index=True)
keys = ["regime", "rid", "c", "n_train", "method", "seed", "budget", *extra]
num = [c for c in d.columns if c not in keys + ["test_well"] and pd.api.types.is_numeric_dtype(d[c])]
return d.groupby(keys, as_index=False)[num].mean()
def three_way(df: pd.DataFrame, tag: str, cells, need: int, words: tuple[str, str, str]) -> dict:
d = df[(df.cmp == tag) & df.apply(lambda r: (r.regime, r.c) in cells, axis=1)]
nb, na = int((d.pct_vs_1 == "below").sum()), int((d.pct_vs_1 == "above").sum())
reading = words[0] if nb >= need else (words[1] if na >= need else words[2])
return {"n_cells": int(len(d)), "ci_below_1": nb, "ci_above_1": na, "rule": f">= {need} of {len(cells)}",
"reading": reading, "ratio_range": [float(d.ratio.min()), float(d.ratio.max())] if len(d) else None}
def summary_e5(rng) -> None:
out = OUT / "e5"
files = sorted(f for f in (out / "cells").glob("*.csv") if not f.name.endswith("_diag.csv"))
if not files:
print("E5: no cells yet")
return
new = pd.concat([pd.read_csv(f) for f in files], ignore_index=True)
cells = sorted({(r, c) for r, c in new[["regime", "c"]].drop_duplicates().itertuples(index=False)})
reg = t2.registered_cells([(r, c, 16) for r, c in cells])
keys = ["regime", "c", "rid", "seed", "method", "test_well"]
rep = new[(new.method == "B3d-Sa") & (new.budget == PRIMARY)]
mg = rep.merge(reg[keys + ["band_rmse", "rmse", "nll"]], on=keys, suffixes=("", "_reg"))
dev = max(float((mg[c] - mg[f"{c}_reg"]).abs().max()) for c in ("band_rmse", "rmse", "nll"))
sc = {"n_rows": int(len(mg)), "n_expected": int(len(rep)), "abs_dev_max": dev, "pass": bool(len(mg) == len(rep) and dev <= 1e-9)}
ll = [f for f in sorted((LAMLIM / "cells").glob("*_n16.csv")) if not f.name.endswith("_seff.csv")]
old = pd.concat([pd.read_csv(f) for f in ll], ignore_index=True)
old = old[old.method.isin(["M2-Sa", "Bank-lam0", "Mean-MSE"])]
allr = pd.concat([new, old], ignore_index=True)
runs = allr.groupby(["regime", "rid", "c", "n_train", "method", "seed", "budget"], as_index=False)[
["band_rmse", "rmse", "coverage_90", "mean_sigma", "nll"]].mean()
pairs = {"R5a": ("Mean-NLL", "B3d-Sa"), "R5b": ("Mean-NLL", "Mean-MSE"), "R5c": ("M2-Sa", "Mean-NLL"),
"D1": ("Bank-lam0", "Mean-NLL"), "D2": ("Mean-NLL-1024", "Mean-NLL")}
df = ratio_table(runs, pairs, set((r, c, 16) for r, c in cells), rng, budget_col="budget")
df.to_csv(out / "ratios.csv", index=False)
d250 = df[df.budget == PRIMARY]
complete = all((r, c) in cells for r, c in WIDE)
reading = {"selfcheck": sc, "complete_wide": complete} | ({
"R5a_label": three_way(d250, "R5a", WIDE, 5, ("the mean of labels is better", "the label at the mean warp is better", "no consistent difference")),
"R5b_loss": three_way(d250, "R5b", WIDE, 5, ("NLL better", "MSE better", "no consistent difference")),
"R5c_bank": three_way(d250, "R5c", WIDE, 5, ("bank better", "mean label better", "no consistent difference"))}
if sc["pass"] and complete else {"note": "reproduction check failed or wide cells incomplete; ratios not read"})
(out / "reading.json").write_text(json.dumps(reading, indent=1))
cov = runs[runs.budget == PRIMARY].groupby(["regime", "c", "method"])[["coverage_90", "mean_sigma", "band_rmse"]].mean().reset_index()
cov.to_csv(out / "coverage.csv", index=False)
dg = pd.concat([pd.read_csv(f) for f in sorted((out / "cells").glob("*_diag.csv"))], ignore_index=True)
lab = dg.groupby(["regime", "c"])[["rms_mean64_vs_pm_pu", "rms_mean1024_vs_pm_pu", "rms_mean64_vs_mean1024_pu", "n_valid_1024"]].mean().reset_index()
lab.to_csv(out / "label_distance.csv", index=False)
cols = ["cmp", "regime", "c", "budget", "num", "den", "ratio", "pct_lo", "pct_hi", "bca_lo", "bca_hi", "t_lo", "t_hi", "pct_vs_1"]
txt = ["# E5: posterior-mean labels with the Gaussian likelihood (exploratory)", "", "```", json.dumps(reading, indent=1), "```", "",
"## Ratios at 250 iterations", "", d250[cols].round(3).to_markdown(index=False), "",
"## Coverage90, mean sigma and band RMSE at 250 iterations", "", cov.round(3).to_markdown(index=False), "",
"## Label distances (p.u., main window)", "", lab.round(3).to_markdown(index=False), "",
"## Ratios at 125 and 500 iterations", "", df[df.budget != PRIMARY][cols].round(3).to_markdown(index=False)]
(out / "summary.md").write_text("\n".join(txt))
print("\n".join(txt[:6]))
def summary_e6(rng) -> None:
out = OUT / "e6"
s18 = load_script("18_summarize_p2r.py")
parts, rep_rows = [], []
for regime in H2A_REGIMES:
cd = out / regime / "cells"
files = sorted(f for f in cd.glob("r*_c*_n*.csv") if not f.name.endswith("_diag.csv")) if cd.exists() else []
for f in files:
d = pd.read_csv(f).assign(regime=regime)
parts.append(d)
r = pd.read_csv(P2R / "train" / regime / "cells" / f.name)
r = r[r.method.isin(SEVEN) & (r.budget == r.method.map(REG_BUD))]
mg = d.merge(r, on=["seed", "method", "budget", "test_well"], suffixes=("", "_reg"))
met = [c for c in r.columns if c not in ("rid", "c", "n_train", "seed", "method", "budget", "test_well")]
dev = max(float((mg[c] - mg[f"{c}_reg"]).abs().max()) for c in met)
rep_rows.append({"regime": regime, "cell": f.stem, "n_rows": len(mg), "n_expected": len(r), "abs_dev_max": dev})
if not parts:
print("E6: no cells yet")
return
rep = pd.DataFrame(rep_rows)
rep.to_csv(out / "reproduction.csv", index=False)
sc = {"n_cells": int(len(rep)), "rows_ok": bool((rep.n_rows == rep.n_expected).all()),
"abs_dev_max": float(rep.abs_dev_max.max()), "pass": bool((rep.n_rows == rep.n_expected).all() and rep.abs_dev_max.max() <= 1e-9)}
d = pd.concat(parts, ignore_index=True)
num = [c for c in d.columns if c not in ("regime", "rid", "c", "n_train", "seed", "method", "budget", "test_well")
and pd.api.types.is_numeric_dtype(d[c])]
runs = d.groupby(["regime", "rid", "c", "n_train", "method", "seed", "budget"], as_index=False)[num].mean()
runs.to_csv(out / "runs.csv", index=False)
sets = {"point_ties": POINT, "with_B3d": POINT + ["B3d"]}
rows, ver = [], {}
for b in E_BUDGETS:
for regime in H2A_REGIMES:
run = runs[(runs.regime == regime) & (runs.budget == b)].drop(columns=["regime", "budget"])
if run.empty:
continue
for cand in ("B3d-Sa", "M2-Sa"):
for sname, comp in sets.items():
cells, gv = s18.h2a_cells(run, cand, comp, rng, N_BOOT)
c1 = cells[cells.c == 1.0]
ver[f"b{b}/{regime}/{cand}/{sname}"] = {"c1_pass": int(c1.cell_pass.sum()), "c1_cells": int(len(c1)),
"zero_drift_macro_ratio": gv["zero_drift_macro_ratio"],
"zero_drift_guard": gv["zero_drift_guard"]}
rows.append(cells.assign(budget=b, regime=regime, candidate=cand, competitors=sname))
tab = pd.concat(rows, ignore_index=True)
tab.to_csv(out / "h2a_by_budget.csv", index=False)
k = {b: sum(v["c1_pass"] for kk, v in ver.items() if kk.startswith(f"b{b}/") and kk.endswith("/B3d-Sa/point_ties"))
for b in E_BUDGETS}
complete = len(tab[(tab.candidate == "B3d-Sa") & (tab.competitors == "point_ties")]) == 3 * len(E_BUDGETS) * len(CS) * len(NS)
if sc["pass"] and complete:
reading = ("budget-robust" if all(v >= 5 for v in k.values())
else ("budget-dependent" if any(v <= 3 for v in k.values()) else "partly robust"))
else:
reading = "not read (reproduction check failed or grid incomplete)"
res = {"selfcheck": sc, "complete": complete, "k_b": k, "reading": reading, "per_budget": ver}
(out / "reading.json").write_text(json.dumps(res, indent=1, default=float))
mean = runs.groupby(["regime", "c", "n_train", "method", "budget"]).band_rmse.mean().unstack("budget").reset_index()
mean.to_csv(out / "band_rmse_by_budget.csv", index=False)
cols = ["budget", "regime", "candidate", "competitors", "c", "n_train", "best", "ratio", "ratio_lo", "ratio_hi",
"seeds_improve", "rids_improve", "cell_pass"]
txt = ["# E6: equal-budget table (exploratory)", "", "```", json.dumps({kk: res[kk] for kk in ("selfcheck", "complete", "k_b", "reading")},
indent=1, default=float), "```", "", "## H2a cell rule per budget", "", tab[cols].round(3).to_markdown(index=False), "",
"## Mean band RMSE (p.u.) per budget", "", mean.round(3).to_markdown(index=False)]
(out / "summary.md").write_text("\n".join(txt))
print("\n".join(txt[:8]))
def summary_e4(rng) -> None:
out = OUT / "e4"
files = sorted(f for f in (out / "cells").glob("*.csv") if not f.name.endswith("_diag.csv"))
if not files:
print("E4: no cells yet")
return
new = pd.concat([pd.read_csv(f) for f in files], ignore_index=True)
pt = pd.concat([pd.read_csv(f) for f in sorted((POINT_TIE / "cells").glob("*.csv")) if not f.name.endswith("_diag.csv")],
ignore_index=True)
keys = ["regime", "rid", "c", "n_train", "seed", "method", "test_well"]
a = new[new.method == "SMC-MAP"].merge(pt[pt.method == "SMC-MAP"], on=keys, suffixes=("", "_pt"))
sc = {"n_rows": int(len(a)), "n_expected": int((new.method == "SMC-MAP").sum()),
"abs_dev_max": float((a.band_rmse - a.band_rmse_pt).abs().max()) if len(a) else None}
sc["pass"] = bool(sc["n_rows"] == sc["n_expected"] and sc["abs_dev_max"] is not None and sc["abs_dev_max"] <= 1e-9)
regs = []
for regime in H2A_REGIMES:
r = pd.read_csv(P2R / "train" / regime / "runs.csv")
regs.append(r[r.method.isin(SEVEN) & r.c.isin(CS) & r.n_train.isin(NS)].assign(regime=regime))
reg = pd.concat(regs, ignore_index=True)[["regime", "rid", "c", "n_train", "method", "seed", "band_rmse"]]
ptr = pt[pt.method.isin(["SMC-MAP", "Anchor-LS"])].groupby(["regime", "rid", "c", "n_train", "method", "seed"], as_index=False).band_rmse.mean()
opt = new[new.method == "SMC-opt"].groupby(["regime", "rid", "c", "n_train", "method", "seed"], as_index=False).band_rmse.mean()
runs = pd.concat([reg, ptr, opt], ignore_index=True)
pairs = {"E4-1": ("SMC-opt", "best"), "E4-2": ("B3d-Sa", "SMC-opt"), "E4-3": ("SMC-opt", "SMC-MAP"),
"E4-4": ("SMC-opt", "Anchor-LS")}
cells12 = {(r, c, n) for r in H2A_REGIMES for c in CS for n in NS}
df = ratio_table(runs, pairs, cells12, rng)
df.to_csv(out / "ratios.csv", index=False)
n = lambda tag, s: int((df[df.cmp == tag].pct_vs_1 == s).sum())
e3 = df[df.cmp == "E4-3"]
complete = len(df[df.cmp == "E4-1"]) == 12
reading = {"selfcheck_smc_map_seed0": sc, "complete": complete}
if complete:
reading |= {
"R4a": {"ci_below_1": n("E4-1", "below"), "rule": ">= 10 of 12",
"reading": "the target, not the sampler, carries the gain over deterministic ties" if n("E4-1", "below") >= 10 else "not supported"},
"R4b": {"ci_below_1": n("E4-2", "below"), "ci_above_1": n("E4-2", "above"), "rule": ">= 6 of 12",
"reading": ("posterior averaging improves on the optimized point" if n("E4-2", "below") >= 6 else
("the optimized point is better than averaging" if n("E4-2", "above") >= 6 else "no consistent difference"))},
"R4c": {"in_0.98_1.02": int(((e3.ratio >= 0.98) & (e3.ratio <= 1.02)).sum()), "rule": ">= 10 of 12",
"reading": "optimizing beyond the best particle changes little" if ((e3.ratio >= 0.98) & (e3.ratio <= 1.02)).sum() >= 10 else "not supported"}}
(out / "reading.json").write_text(json.dumps(reading, indent=1))
dg = pd.concat([pd.read_csv(f) for f in sorted((out / "cells").glob("*_diag.csv"))], ignore_index=True)
wd = dg.groupby(["regime", "c", "n_train"]).agg(dF_mean=("dF", "mean"), dF_median=("dF", "median"), z_dist=("z_dist_opt_map", "mean"),
opt_warp=("SMC-opt_warp_rmse_ms", "mean"), map_warp=("SMC-MAP_warp_rmse_ms", "mean"),
pm_warp=("B3d-Sa_warp_rmse_ms", "mean"), frac_opt_source=("source", lambda s: float((s == "opt").mean())),
converged=("converged", "mean")).reset_index()
wd.to_csv(out / "optimizer.csv", index=False)
cols = ["cmp", "regime", "c", "n_train", "num", "den", "ratio", "pct_lo", "pct_hi", "bca_lo", "bca_hi", "t_lo", "t_hi", "pct_vs_1"]
txt = ["# E4: point tie optimizing the SMC target (exploratory)", "", "```", json.dumps(reading, indent=1), "```", "",
"## Ratios (budget 250 for SMC-opt; registered budgets otherwise)", "", df[cols].round(3).to_markdown(index=False), "",
"## Optimizer and warp RMSE (ms), mean over training wells and realizations", "", wd.round(3).to_markdown(index=False)]
(out / "summary.md").write_text("\n".join(txt))
print("\n".join(txt[:6]))
# ----------------------------------------------------------------------------------------------------------------
def main() -> None:
ap = argparse.ArgumentParser()
ap.add_argument("--stage", choices=["e5", "e6", "e4", "summary"], required=True)
ap.add_argument("--device", default="cuda:0")
ap.add_argument("--workers", type=int, default=4)
ap.add_argument("--rids", type=int, nargs="+", default=RIDS)
args = ap.parse_args()
set_threads()
sha = check_declaration()
P = run_d2.load_protocol(check=True)
print(f"declaration {sha[:12]} and the locked protocols match ({time.strftime('%FT%TZ', time.gmtime())})", flush=True)
if args.stage == "e5":
d = OUT / "e5" / "cells"
d.mkdir(parents=True, exist_ok=True)
jobs = [(r, rid, c, 16, SEEDS, args.device, d, P) for r, c in WIDE + NARROW for rid in args.rids
if not (d / f"{t2.tag(r, rid, c, 16)}.csv").exists()]
run_pool(e5_job, jobs, args.workers, "E5")
elif args.stage == "e6":
jobs = []
for r in H2A_REGIMES:
d = OUT / "e6" / r / "cells"
d.mkdir(parents=True, exist_ok=True)
jobs += [(r, rid, c, n, SEEDS, args.device, d, P) for c in CS for n in NS for rid in args.rids
if not (d / f"r{rid}_c{c:g}_n{n}.csv").exists()]
jobs.sort(key=lambda j: -j[3])
run_pool(e6_job, jobs, args.workers, "E6")
elif args.stage == "e4":
d = OUT / "e4" / "cells"
d.mkdir(parents=True, exist_ok=True)
jobs = [(r, rid, c, n, SEEDS, args.device, d, P) for r in H2A_REGIMES for c in CS for n in NS for rid in args.rids
if not (d / f"{t2.tag(r, rid, c, n)}.csv").exists()]
jobs.sort(key=lambda j: -j[3])
run_pool(e4_job, jobs, args.workers, "E4")
else:
for f in (summary_e5, summary_e6, summary_e4):
f(np.random.default_rng(0))
if __name__ == "__main__":
os.environ.setdefault("PYTHONHASHSEED", "0")
main()

View File

@@ -0,0 +1,655 @@
"""GP review, Phase 3, experiment E2: a practitioner-grade deterministic tie (B3p), tuned on development data. Declared in
docs/research/gp-review-experiments.md (section E2) and hashed before the first run; exploratory; outside every lock and
the reproduction archives. Locked code is imported unchanged.
Tie (per well; synthetic sonic time is τ itself):
1 anchor calibration of d(τ) = t − τ: exact (= B3b) or smooth (GCV smoothing spline with ≥ 5 anchors, LS line with
3–4, B3b with ≤ 2; constant extrapolation; dt/dτ ≥ 0.05)
2 wavelet from the N training wells: stat | stat+phase (15° grid in [−90°, 90°]) | LS (Wiener, 1% prewhitening)
3 bulk shift in [−B, B] ms, B ∈ {0, 12}
4 dynamic warping on a 1-ms grid, lags |l| ≤ L ∈ {4, 8, 16, 24}, strain ε ∈ {0.02, 0.05, 0.10} (knots every
round(1/ε) ms, neighbours differ by ≤ 1 ms, linear between), dynamic programming
5 t1(τ) = t(τ) + l(t(τ))
6 iterations n ∈ {1, 2} (wavelet re-estimated at the first-pass ties, steps 3–5 redone from the step-1 tie)
.venv/bin/python scripts/53_gp_practitioner_tie.py --stage tune --workers 4 # dev 900–905, CPU
.venv/bin/python scripts/53_gp_practitioner_tie.py --stage select # configuration per regime
.venv/bin/python scripts/53_gp_practitioner_tie.py --stage budget --device cuda:0
.venv/bin/python scripts/53_gp_practitioner_tie.py --stage train --set p2r|rep --workers 4 --device cuda:0
.venv/bin/python scripts/53_gp_practitioner_tie.py --stage summary
"""
from __future__ import annotations
import argparse
import hashlib
import importlib.util
import itertools
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
import yaml
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" / "gp-review-experiments.md"
DECL_HASH = REPO_ROOT / "docs" / "research" / "gp-review-experiments.sha256"
OUT = outputs_dir() / "gp_review" / "e2"
P2R = outputs_dir() / "p2r"
REP = outputs_dir() / "replication"
REGIMES = ["R10", "R0", "Rm5", "R0h", "R10tb"]
DEV_RIDS = [900, 901, 902, 903, 904, 905]
SEEDS = [0, 1, 2, 3, 4]
CALIB = ["exact", "smooth"]
WAVELETS = ["stat", "stat+phase", "LS"]
BULK = [0, 12]
LAGS = [4, 8, 16, 24]
STRAIN = [0.02, 0.05, 0.10]
ITERS = [1, 2]
PHASES = np.arange(-90, 91, 15)
REG_BUD = {"Oracle": 500, "B3b": 125, "B3c": 250, "B3c-R": 500, "B3d": 250, "B3d-Sa": 250, "M2-Sa": 250}
POINT = ["B3b", "B3c", "B3c-R"]
N_BOOT = 2000
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 ({actual[:12]} != {expected[:12]})")
return actual
def configs() -> list[dict]:
return [dict(calib=a, wavelet=w, B=b, L=l, eps=e, n=n)
for a, w, b, l, e, n in itertools.product(CALIB, WAVELETS, BULK, LAGS, STRAIN, ITERS)]
def cfg_name(k: dict) -> str:
return f"{k['calib']}|{k['wavelet']}|B{k['B']}|L{k['L']}|e{k['eps']:g}|n{k['n']}"
def simplicity(k: dict) -> tuple:
"""Declared tie-break order: n = 1, B = 0, smaller L, larger ε, exact, stat < stat+phase < LS."""
return (k["n"], k["B"], k["L"], -k["eps"], CALIB.index(k["calib"]), WAVELETS.index(k["wavelet"]))
# ----------------------------------------------------------------------------------------------------------------
# cell construction (as scripts/32 build_cell, without the saved posterior)
# ----------------------------------------------------------------------------------------------------------------
def make_cell(regime: str, rid: int, c: float, N: int, P: dict, snr=None, dens=None, sigma_a_reg=None,
with_register: bool = False) -> dict:
from ml_porosity.data.synth_d2 import D2Realization, load_horizon_grid
from ml_porosity.losses.rml import effective_lambda
from ml_porosity.models.bank_train import zscore_patch
from ml_porosity.registration.labels import antialias, labels_for_warps
from ml_porosity.registration.pipeline import label_norm
from ml_porosity.registration.ties import tie_b3b
from ml_porosity.registration.warp_prior import WarpHyper
if snr is None:
snr, dens = t2.regime_settings()[regime]
cfg = yaml.safe_load((REPO_ROOT / P["inputs"]["d2_config"]["path"]).read_text())
hg = load_horizon_grid(cfg["horizons"], REPO_ROOT / cfg["horizon_cache"])
prior = json.loads((REPO_ROOT / P["inputs"]["warp_prior"]["path"]).read_text())["fits"][P["inputs"]["warp_prior"]["fit"]]
wav = np.load(REPO_ROOT / P["inputs"]["wavelet"]["path"])[P["inputs"]["wavelet"]["key"]]
R = D2Realization(cfg, rid, hg, WarpHyper(**prior["hyper"]), wav)
sa = cfg["anchors"]["sigma_a_ms"]
obs = [R.observe(w, c, snr, sa, dens) for w in R.pool[:N]]
test = [R.observe(w, c, snr, sa) for w in R.test]
reg = run_d2.reg_settings(P)
if sigma_a_reg is not None:
reg["sigma_a_ms"] = sigma_a_reg
f = cfg["fine_dt_ms"]
lab = lambda y, T: labels_for_warps(R.tau_fine, y, np.atleast_2d(T), R.t_main)
y_aa = [antialias(o["phi_log"], f, R.dt) for o in obs]
cell = dict(R=R, obs=obs, test=test, reg=reg, lab=lab, y_aa=y_aa, cfg=cfg,
seis=[o["seis"][o["seis"].shape[0] // 2].astype(float) for o in obs])
if with_register:
from ml_porosity.registration.pipeline import register
out = register(R, obs, reg, 0)
cell["out"] = out
cell["norm"], cell["lam"] = out["norm"], out["lam"]
else: # the same normalisation and λ as register() (label_norm; B3b reference)
cell["norm"] = label_norm(R, obs)
ref = [lab(y, tie_b3b(o["tau_k"], o["t_k"], R.tau_fine))[0] for y, o in zip(y_aa, obs)]
cell["lam"] = effective_lambda(ref, dt_ms=R.dt)[0]
cell["X"] = np.stack([zscore_patch(o["seis"], R.main) for o in obs])
cell["Xte"] = np.stack([zscore_patch(o["seis"], R.main) for o in test])
cell["yt"] = 100 * np.stack([o["y_true"] for o in test])
return cell
# ----------------------------------------------------------------------------------------------------------------
# the B3p tie
# ----------------------------------------------------------------------------------------------------------------
class TieKit:
"""Grids and forward model shared by all wells of a cell."""
def __init__(self, cell: dict):
from ml_porosity.data.wavelet import statistical_wavelet
from ml_porosity.registration.tie_likelihood import fine_wavelet
self.R, self.obs, self.seis = cell["R"], cell["obs"], cell["seis"]
R = self.R
self.fac = int(round(R.dt / cell["cfg"]["fine_dt_ms"]))
self.wl = cell["reg"]["wavelet_ms"]
self.t1 = np.arange(R.t_ext[0], R.t_ext[-1] + 0.5, 1.0) # 1-ms grid over the extended window
from scipy.interpolate import CubicSpline
self.splines = [CubicSpline(R.t_ext, s, extrapolate=False) for s in self.seis]
self.seis1 = [np.nan_to_num(sp(self.t1)) for sp in self.splines]
self.w0 = statistical_wavelet(np.stack(self.seis), R.dt, self.wl)
n = int(round(self.wl / R.dt)) // 2
spike = np.zeros(2 * n + 1)
spike[n] = 1.0
self.spike_fine = fine_wavelet(spike, self.fac) # band-limited reflectivity
self.fine = lambda w: fine_wavelet(w, self.fac)
def synth(self, i: int, t: np.ndarray, wf: np.ndarray, t_out: np.ndarray) -> np.ndarray:
from ml_porosity.registration.tie_likelihood import synth_for_warps
return synth_for_warps(self.R.tau_fine, self.obs[i]["ai_log"], t, self.R.t_fine, t_out, wf)[0]
def support(self, t: np.ndarray, grid: np.ndarray, pad: tuple[float, float] | None = None) -> np.ndarray:
lo, hi = max(grid[0], t[0]), min(grid[-1], t[-1])
if pad is not None:
lo, hi = max(lo, pad[0]), min(hi, pad[1])
return (grid >= lo) & (grid <= hi)
# -- step 1 --------------------------------------------------------------------------------------------------
def calibrate(self, i: int, mode: str) -> np.ndarray:
from scipy.interpolate import make_smoothing_spline
from ml_porosity.registration.ties import clean_monotone, tie_b3b
o, tau = self.obs[i], self.R.tau_fine
if mode == "exact":
return tie_b3b(o["tau_k"], o["t_k"], tau)
tk, ttk = clean_monotone(o["tau_k"], o["t_k"])
if len(tk) <= 2:
return tie_b3b(o["tau_k"], o["t_k"], tau)
d, tc = ttk - tk, np.clip(tau, tk[0], tk[-1])
if len(tk) >= 5:
dd = make_smoothing_spline(tk, d)(tc) # λ by GCV (lam=None)
else:
dd = np.polyval(np.polyfit(tk, d, 1), tc)
t = tau + dd
return np.maximum.accumulate(t - 0.05 * tau) + 0.05 * tau
# -- step 2 --------------------------------------------------------------------------------------------------
def wavelet(self, kind: str, ties: list[np.ndarray]) -> np.ndarray:
"""Fine-grid wavelet estimated from the N training wells at the given ties."""
from ml_porosity.data.wavelet import estimate_wavelet_ls, rotate_phase
R = self.R
if kind == "stat":
return self.fine(self.w0)
if kind == "stat+phase":
f0, fh = self.fine(self.w0), self.fine(np.imag(__import__("scipy.signal", fromlist=["hilbert"]).hilbert(self.w0)))
score = np.zeros(len(PHASES))
for i, t in enumerate(ties):
m = self.support(t, R.t_ext)
s0, sh = self.synth(i, t, f0, R.t_ext)[m], self.synth(i, t, fh, R.t_ext)[m]
d = self.seis[i][m]
for k, ph in enumerate(PHASES):
p = np.deg2rad(ph)
score[k] += np.corrcoef(s0 * np.cos(p) - sh * np.sin(p), d)[0, 1]
return self.fine(rotate_phase(self.w0, float(PHASES[int(np.argmax(score))])))
if kind == "LS":
r_list, s_list = [], []
win = (R.t_main[0] - 50.0, R.t_main[-1] + 50.0)
for i, t in enumerate(ties):
m = self.support(t, R.t_ext, win)
r_list.append(self.synth(i, t, self.spike_fine, R.t_ext)[m])
s_list.append(self.seis[i][m])
w = estimate_wavelet_ls(r_list, s_list, R.dt, self.wl, damping=0.01)
return self.fine(w / np.max(np.abs(w)))
raise ValueError(kind)
def phase_of(self, kind, ties): # for the diagnostics only
return None
# -- steps 3–5 -----------------------------------------------------------------------------------------------
def window(self, i: int, t: np.ndarray, wf: np.ndarray):
m = self.support(t, self.t1)
syn = self.synth(i, t, wf, self.t1)
idx = np.flatnonzero(m)
s = syn[idx]
s = s / max(np.sqrt(np.mean(s ** 2)), 1e-12)
d = self.seis1[i]
sc = max(np.sqrt(np.mean(d[idx] ** 2)), 1e-12)
return idx, s, sc
def bulk(self, i: int, t: np.ndarray, wf: np.ndarray, B: int) -> int:
if B == 0:
return 0
idx, s, sc = self.window(i, t, wf)
d, best, arg = self.seis1[i] / sc, -np.inf, 0
for b in range(-B, B + 1):
j = idx + b
ok = (j >= 0) & (j < len(d))
r = np.corrcoef(s[ok], d[j[ok]])[0, 1]
if r > best + 1e-12 or (abs(r - best) <= 1e-12 and abs(b) < abs(arg)):
best, arg = r, b
return arg
def dtw(self, i: int, t: np.ndarray, wf: np.ndarray, L: int, eps: float) -> np.ndarray:
"""Lag l(t) on the 1-ms window (knots every round(1/ε) ms, |Δl| ≤ 1 ms between knots), returned as t1(τ)."""
idx, s, sc = self.window(i, t, wf)
tt = self.t1[idx]
h = int(round(1 / eps))
kn = np.arange(0, len(tt), h)
if kn[-1] != len(tt) - 1:
kn = np.append(kn, len(tt) - 1)
lags = np.arange(-L, L + 1)
nA = len(lags)
sp = self.splines[i]
nseg = len(kn) - 1
cost = np.full((nseg, nA, 3), np.inf)
for j in range(nseg):
a, b = kn[j], kn[j + 1]
samp = np.arange(a, b + 1 if j == nseg - 1 else b)
fr = (samp - a) / (b - a)
for di, dl in enumerate((-1, 0, 1)):
pos = tt[samp][None, :] + lags[:, None] + dl * fr[None, :]
v = sp(pos)
v = np.where(np.isfinite(v), v, 0.0) / sc # zero outside the seismic window
cost[j, :, di] = np.sum((s[samp][None, :] - v) ** 2, 1)
if j == 0:
pass
# cost[j, a, δ]: segment j from lag a to lag a + δ (δ ∈ {−1, 0, 1}); invalid end lags excluded
V = np.zeros(nA)
back = np.zeros((nseg, nA), int)
for j in range(nseg):
Vn = np.full(nA, np.inf)
for di, dl in enumerate((-1, 0, 1)):
src = np.arange(nA) - dl # end lag index e = src + dl
ok = (src >= 0) & (src < nA)
cand = np.full(nA, np.inf)
cand[ok] = V[src[ok]] + cost[j, src[ok], di]
better = cand < Vn
Vn[better], back[j, better] = cand[better], src[better]
V = Vn
e = int(np.argmin(V))
path = [e]
for j in range(nseg - 1, -1, -1):
e = back[j, e]
path.append(e)
lag_kn = lags[np.array(path[::-1])].astype(float)
lag_t = np.interp(t, tt[kn], lag_kn) # constant outside the window
return t + lag_t
def tie_from(self, i: int, t0: np.ndarray, wf: np.ndarray, B: int, L: int, eps: float) -> np.ndarray:
b = self.bulk(i, t0, wf, B)
return self.dtw(i, t0 + b, wf, L, eps)
def all_ties(cell: dict, grid: list[dict] | None = None) -> dict:
"""{cfg_name: [t(τ) per well]} for every configuration in `grid` (default: all 288)."""
kit = TieKit(cell)
N = len(cell["obs"])
grid = grid or configs()
need = {(k["calib"], k["wavelet"]) for k in grid}
res = {}
for calib in CALIB:
if not any(a == calib for a, _ in need):
continue
t0 = [kit.calibrate(i, calib) for i in range(N)]
for wk in WAVELETS:
sub = [k for k in grid if k["calib"] == calib and k["wavelet"] == wk]
if not sub:
continue
w1 = kit.wavelet(wk, t0)
first = {}
for B, L, eps in sorted({(k["B"], k["L"], k["eps"]) for k in sub}):
first[(B, L, eps)] = [kit.tie_from(i, t0[i], w1, B, L, eps) for i in range(N)]
for k in sub:
key = (k["B"], k["L"], k["eps"])
if k["n"] == 1 or wk == "stat": # stat does not depend on the tie
res[cfg_name(k)] = first[key]
else:
w2 = kit.wavelet(wk, first[key])
res[cfg_name(k)] = [kit.tie_from(i, t0[i], w2, *key) for i in range(N)]
return res
def warp_rmse(cell: dict, i: int, t: np.ndarray) -> float:
from ml_porosity.registration.ties import warp_errors
R, o = cell["R"], cell["obs"][i]
return warp_errors(np.atleast_2d(t), R.tau_fine, o["t_of_tau_true"], R.t_main)["warp_rmse_ms"]
# ----------------------------------------------------------------------------------------------------------------
# stages
# ----------------------------------------------------------------------------------------------------------------
PHASE_DIRS = {"R10": ["p2/diag/posterior", "bench/dev/posterior/R10"], "R0": ["p2/diag/stress/snr0_full"],
"Rm5": ["p2/diag/stress/snr-5_full"], "R0h": ["p2/diag/stress/snr0_half"],
"R10tb": ["p2/diag/stress/snr10_topbottom"]}
def dev_phase(regime: str, rid: int, c: float, N: int) -> dict | None:
"""Saved re-estimated phase of a development posterior with the regime's SNR and anchor density, if any."""
snr, dens = t2.regime_settings()[regime]
for sub in PHASE_DIRS[regime]:
f = outputs_dir() / sub / f"r{rid}_c{c:g}_n{N}_s0_phase.json"
if not f.exists():
continue
pc = pd.read_csv(f.with_name(f.name.replace("_phase.json", ".csv")))
if "snr_db" in pc.columns: # bench dev posteriors carry their settings; the P2 diagnostic ones are 10 dB, full anchors, sigma_a 7
if float(pc.snr_db.iloc[0]) != float(snr) or pc.anchor_density.iloc[0] != dens or float(pc.sigma_a_reg.iloc[0]) != 7.0:
continue
elif regime != "R10":
continue
ph = json.loads(f.read_text())
return {"phase_R": float(ph["phase_R"]), "phase0": float(ph.get("phase0", 0.0)), "src": sub,
"particles": int(pc.particles.iloc[0]) if "particles" in pc.columns else 1024}
return None
def tune_job(job) -> tuple[str, float]:
from ml_porosity.data.wavelet import statistical_wavelet
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
regime, rid, c, N, P, out_dir = job
t0 = time.time()
cell = make_cell(regime, rid, c, N, P, with_register=True)
ties = all_ties(cell)
R, ph = cell["R"], dev_phase(regime, rid, c, N)
if ph is not None:
fac = int(round(R.dt / cell["cfg"]["fine_dt_ms"]))
wR = phase_wavelet(phase_basis(statistical_wavelet(np.stack(cell["seis"]), R.dt, cell["reg"]["wavelet_ms"]), fac),
ph["phase_R"])
rows = []
for i, o in enumerate(cell["obs"]):
d = {"regime": regime, "rid": rid, "c": c, "n_train": N, "well": o["name"], "n_anchor": len(o["tau_k"])}
dg = cell["out"]["diag"][i]
d |= {f"{m}": dg[f"{m}_warp_rmse_ms"] for m in ("B3b", "B3c", "B3d")}
d |= {"B3c-R": np.nan, "phase_src": None, "phase0_reg": cell["out"].get("phase")}
if ph is not None:
tb = tie_b3b(o["tau_k"], o["t_k"], R.tau_fine)
syn = synth_for_warps(R.tau_fine, o["ai_log"], tb, R.t_fine, R.t_ext, wR)[0]
d |= {"B3c-R": warp_rmse(cell, i, tie_b3c(tb, R.tau_fine, syn, cell["seis"][i], R.t_ext, R.dt)),
"phase_src": ph["src"], "phase_particles": ph["particles"], "phase0_saved": ph["phase0"]}
d |= {name: warp_rmse(cell, i, T[i]) for name, T in ties.items()}
rows.append(d)
stem = f"{regime}_r{rid}_c{c:g}_n{N}"
pd.DataFrame(rows).to_csv(out_dir / f"{stem}.csv", index=False)
return stem, time.time() - t0
def select() -> dict:
files = sorted((OUT / "tune").glob("*.csv"))
d = pd.concat([pd.read_csv(f) for f in files], ignore_index=True)
grid = configs()
names = [cfg_name(k) for k in grid]
exp = len(REGIMES) * len(DEV_RIDS) * 3 * 2
sel, rows = {}, []
for regime in REGIMES:
g = d[d.regime == regime]
n_cells = g[["rid", "c", "n_train"]].drop_duplicates().shape[0]
m = g[names].mean() # pooled over all training wells
best = m.min()
tied = [k for k in grid if m[cfg_name(k)] <= best + 1e-9]
k = min(tied, key=simplicity)
sel[regime] = k | {"name": cfg_name(k), "dev_warp_rmse_ms": float(m[cfg_name(k)]), "n_cells": int(n_cells),
"n_wells": int(len(g)), "n_tied": len(tied)}
gr = g[g["B3c-R"].notna()] # cells with a saved dev phase
rows.append({"regime": regime, "B3p": cfg_name(k), "B3p_ms": float(m[cfg_name(k)]),
**{f"{x}_ms": float(g[x].mean()) for x in ("B3b", "B3c", "B3d")},
"B3c-R_ms": float(gr["B3c-R"].mean()) if len(gr) else np.nan,
"B3p_ms_on_B3c-R_cells": float(gr[cfg_name(k)].mean()) if len(gr) else np.nan,
"B3c_ms_on_B3c-R_cells": float(gr["B3c"].mean()) if len(gr) else np.nan,
"n_cells_B3c-R": int(gr[["rid", "c", "n_train"]].drop_duplicates().shape[0]),
"worst_config_ms": float(m.max()), "median_config_ms": float(m.median()), "n_cells": int(n_cells)})
meta = {"selected": sel, "n_cells_found": int(d[["regime", "rid", "c", "n_train"]].drop_duplicates().shape[0]),
"n_cells_expected": exp, "pooling": "mean over all training wells of all dev cells of the regime"}
(OUT / "selected.json").write_text(json.dumps(meta, indent=1))
pd.DataFrame(rows).to_csv(OUT / "dev_warp_rmse.csv", index=False)
print(pd.DataFrame(rows).round(3).to_string(index=False))
return meta
def selected() -> dict:
f = OUT / "selected.json"
if not f.exists():
raise SystemExit("run --stage select first")
return json.loads(f.read_text())["selected"]
def b3p_labels(cell: dict, k: dict) -> tuple[np.ndarray, list[np.ndarray], list[float]]:
T = all_ties(cell, [{x: k[x] for x in ("calib", "wavelet", "B", "L", "eps", "n")}])[cfg_name(k)]
Y = np.stack([cell["lab"](y, t)[0] for y, t in zip(cell["y_aa"], T)])
if not np.all(np.isfinite(Y)):
raise RuntimeError("B3p label is not finite (warp does not cover the main window)")
return Y, T, [warp_rmse(cell, i, t) for i, t in enumerate(T)]
def train_cell(cell: dict, k: dict, seeds, budgets, device, P, key: dict) -> tuple[list[dict], list[dict]]:
from ml_porosity.models.bank_train import train_predict
Y, T, err = b3p_labels(cell, k)
m0, s0 = cell["norm"]
spec = {"kind": "bank", "Y": ((Y - m0) / s0).astype(np.float32)[:, None, :],
"logpi": np.zeros((len(Y), 1), np.float32), "lam": cell["lam"]}
tcfg = P["training"]["model"] | P["training"]["optimizer"]
f_c = P["metrics"]["bands"]["f_c_hz"]
rows = []
for seed in seeds:
preds = train_predict(cell["X"], cell["Xte"], spec, tcfg, seed, budgets, device)
for b, (mu, sg) in preds.items():
mu_p, sg_p = 100 * (mu * s0 + m0), 100 * sg * s0
for wt, r in zip(cell["R"].test, run_d2.evaluate(cell["yt"], mu_p, sg_p, f_c)):
rows.append(key | {"seed": seed, "method": "B3p", "budget": b, "test_well": wt.name} | r)
diag = [key | {"well": o["name"], "B3p_warp_rmse_ms": e, "config": cfg_name(k)} for o, e in zip(cell["obs"], err)]
return rows, diag
def budget_job(job) -> tuple[str, float]:
rid, N, seeds, device, P, out_dir = job
import torch
torch.set_num_threads(2)
t0 = time.time()
k = selected()["R10"]
cell = make_cell("R10", rid, 1.0, N, P)
key = {"regime": "R10", "rid": rid, "c": 1.0, "n_train": N}
rows, diag = train_cell(cell, k, seeds, P["training"]["budget_candidates"], device, P, key)
stem = f"R10_r{rid}_c1_n{N}"
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)
return stem, time.time() - t0
def train_job(job) -> tuple[str, float]:
regime, rid, c, N, seeds, device, P, out_dir, extra = job
import torch
torch.set_num_threads(2)
t0 = time.time()
k = selected()[regime]
budget = json.loads((OUT / "budget.json").read_text())["B3p"]
cell = make_cell(regime, rid, c, N, P, **extra)
key = {"regime": regime, "rid": rid, "c": c, "n_train": N}
rows, diag = train_cell(cell, k, seeds, [budget], device, P, key)
stem = f"{regime}_r{rid}_c{c:g}_n{N}"
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)
return stem, time.time() - t0
def run_pool(fn, jobs, workers: int, label: str) -> None:
print(f"{label}: {len(jobs)} jobs, {workers} workers", flush=True)
if not jobs:
return
t0 = time.time()
with ProcessPoolExecutor(workers, mp_context=get_context("spawn")) as ex:
futs = [ex.submit(fn, j) 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)
# ----------------------------------------------------------------------------------------------------------------
# summary
# ----------------------------------------------------------------------------------------------------------------
def registered_runs(base: Path, regimes, rids) -> pd.DataFrame:
rows = []
for regime in regimes:
for f in sorted((base / "train" / regime / "cells").glob("r*_c*_n*.csv")):
if f.name.endswith("_diag.csv"):
continue
d = pd.read_csv(f)
if int(d.rid.iloc[0]) not in rids:
continue
d = d[d.method.isin(list(REG_BUD)) & (d.budget == d.method.map(REG_BUD))]
rows.append(d.assign(regime=regime))
d = pd.concat(rows, ignore_index=True)
num = [c for c in d.columns if c not in ("regime", "rid", "c", "n_train", "seed", "method", "budget", "test_well")
and pd.api.types.is_numeric_dtype(d[c])]
return d.groupby(["regime", "rid", "c", "n_train", "method", "seed"], as_index=False)[num].mean()
def summary() -> None:
s18 = load_script("18_summarize_p2r.py")
rng = np.random.default_rng(0)
res = {"selected": selected(), "budget": json.loads((OUT / "budget.json").read_text())}
tabs, ratios, warps = [], [], []
for tag, base, rids, regimes in (("8-15", P2R, list(range(8, 16)), ["R10", "R0", "Rm5"]),
("16-23", REP, list(range(16, 24)), ["R10", "R0", "Rm5"])):
cd = OUT / ("train_p2r" if tag == "8-15" else "train_rep")
files = sorted(f for f in cd.glob("*.csv") if not f.name.endswith("_diag.csv")) if cd.exists() else []
if not files:
continue
b = pd.concat([pd.read_csv(f) for f in files], ignore_index=True)
b = b.groupby(["regime", "rid", "c", "n_train", "method", "seed"], as_index=False)[["band_rmse", "band_pcc", "rmse"]].mean()
reg = registered_runs(base, regimes, rids)
runs = pd.concat([reg, b], ignore_index=True)
ver = {}
for regime in regimes:
run = runs[(runs.regime == regime) & runs.c.isin([0.0, 1.0])].drop(columns=["regime"])
if "B3p" not in set(run.method) or run[run.method == "B3p"].rid.nunique() < len(rids):
continue
for cand in ("B3d-Sa", "M2-Sa"):
for sname, comp in (("with_B3p", POINT + ["B3p"]), ("with_B3d_B3p", POINT + ["B3d", "B3p"]),
("point_ties", POINT)):
cells, gv = s18.h2a_cells(run, cand, comp, rng, N_BOOT)
c1 = cells[cells.c == 1.0]
ver[f"{regime}/{cand}/{sname}"] = {"c1_pass": int(c1.cell_pass.sum()), "c1_cells": int(len(c1)),
"zero_drift_macro_ratio": gv["zero_drift_macro_ratio"],
"zero_drift_guard": gv["zero_drift_guard"],
"best": {int(r.n_train): r.best for r in c1.itertuples()}}
tabs.append(cells.assign(rids=tag, regime=regime, candidate=cand, competitors=sname))
for (c, n), g in run.groupby(["c", "n_train"]):
for x, y in (("B3d-Sa", "B3p"), ("M2-Sa", "B3p"), ("B3p", "B3b"), ("B3p", "B3c")):
r = ci.intervals(ci.per_rid(g, x), ci.per_rid(g, y), rng)
ratios.append({"rids": tag, "regime": regime, "c": c, "n_train": n, "num": x, "den": y} | r)
k = sum(v["c1_pass"] for kk, v in ver.items() if kk.endswith("/B3d-Sa/with_B3p"))
n_cells = sum(v["c1_cells"] for kk, v in ver.items() if kk.endswith("/B3d-Sa/with_B3p"))
reading = None
if n_cells == 6:
reading = ("the headline survives a practitioner tie" if k >= 5 else ("narrowed" if k >= 3 else "does not survive"))
res[tag] = {"B3d-Sa_vs_point+B3p_c1_pass": f"{k}/{n_cells}", "reading" if tag == "8-15" else "replication": reading,
"per_regime": ver}
dg = pd.concat([pd.read_csv(f) for f in sorted(cd.glob("*_diag.csv"))], ignore_index=True)
dr = []
for regime in regimes:
for f in sorted((base / "train" / regime / "cells").glob("r*_c*_n*_diag.csv")):
x = pd.read_csv(f)
if int(x.rid.iloc[0]) in rids:
dr.append(x.assign(regime=regime))
dr = pd.concat(dr, ignore_index=True)
w = dg.merge(dr, on=["regime", "rid", "c", "n_train", "well"], how="left")
warps.append(w.groupby(["regime", "c", "n_train"])[["B3p_warp_rmse_ms", "B3c-R_warp_rmse_ms", "B3d-Sa_warp_rmse_ms"]]
.mean().reset_index().assign(rids=tag))
tab = pd.concat(tabs, ignore_index=True) if tabs else pd.DataFrame()
tab.to_csv(OUT / "h2a_with_b3p.csv", index=False)
rt = pd.DataFrame(ratios)
rt.to_csv(OUT / "ratios.csv", index=False)
wp = pd.concat(warps, ignore_index=True) if warps else pd.DataFrame()
wp.to_csv(OUT / "warp_rmse.csv", index=False)
(OUT / "reading.json").write_text(json.dumps(res, indent=1, default=float))
dev = pd.read_csv(OUT / "dev_warp_rmse.csv")
cols = ["rids", "regime", "candidate", "competitors", "c", "n_train", "best", "ratio", "ratio_lo", "ratio_hi",
"seeds_improve", "rids_improve", "cell_pass"]
rcols = ["rids", "regime", "c", "n_train", "num", "den", "ratio", "pct_lo", "pct_hi", "t_lo", "t_hi"]
txt = ["# E2: practitioner-grade deterministic tie B3p (exploratory)", "", "```",
json.dumps({k: (v if k not in ("8-15", "16-23") else {kk: vv for kk, vv in v.items() if kk != "per_regime"})
for k, v in res.items()}, indent=1, default=float), "```", "",
"## Development warp RMSE (ms; pooled over training wells of 900–905, c 0/1/2, N 4/16)", "",
dev.round(3).to_markdown(index=False), "", "## Warp RMSE on the evaluation cells (ms)", "",
wp.round(3).to_markdown(index=False) if len(wp) else "(none)", "", "## H2a cell rule with B3p", "",
tab[cols].round(3).to_markdown(index=False) if len(tab) else "(none)", "", "## Ratios", "",
rt[rcols].round(3).to_markdown(index=False) if len(rt) else "(none)"]
(OUT / "summary.md").write_text("\n".join(txt))
print("\n".join(txt[:30]))
def main() -> None:
ap = argparse.ArgumentParser()
ap.add_argument("--stage", choices=["tune", "select", "budget", "train", "summary"], required=True)
ap.add_argument("--set", choices=["p2r", "rep"], default="p2r")
ap.add_argument("--device", default="cuda:0")
ap.add_argument("--workers", type=int, default=4)
args = ap.parse_args()
for k in ("OMP_NUM_THREADS", "MKL_NUM_THREADS", "OPENBLAS_NUM_THREADS", "NUMBA_NUM_THREADS"):
os.environ.setdefault(k, "2")
sha = check_declaration()
P = run_d2.load_protocol(check=True)
print(f"declaration {sha[:12]} and protocol_p2 match ({time.strftime('%FT%TZ', time.gmtime())})", flush=True)
if args.stage == "tune":
d = OUT / "tune"
d.mkdir(parents=True, exist_ok=True)
jobs = [(r, rid, c, n, P, d) for r in REGIMES for rid in DEV_RIDS for c in (0.0, 1.0, 2.0) for n in (16, 4)
if not (d / f"{r}_r{rid}_c{c:g}_n{n}.csv").exists()]
run_pool(tune_job, jobs, args.workers, "E2 tune")
elif args.stage == "select":
select()
elif args.stage == "budget":
d = OUT / "budget"
d.mkdir(parents=True, exist_ok=True)
jobs = [(rid, n, [0, 1], args.device, P, d) for rid in (900, 901) for n in (4, 16)
if not (d / f"R10_r{rid}_c1_n{n}.csv").exists()]
run_pool(budget_job, jobs, args.workers, "E2 budget")
df = pd.concat([pd.read_csv(f) for f in sorted(d.glob("*.csv")) if not f.name.endswith("_diag.csv")], ignore_index=True)
b = run_d2.select_budgets(df)
mean = df.groupby(["budget", "rid", "n_train", "seed"]).rmse.mean().groupby("budget").mean()
(OUT / "budget.json").write_text(json.dumps({"B3p": b["B3p"], "mean_rmse": mean.to_dict()}, indent=1))
print("B3p budget:", b, mean.round(4).to_dict())
elif args.stage == "train":
if args.set == "p2r":
d = OUT / "train_p2r"
cells = [(r, rid, c, n) for r in REGIMES for c in (0.0, 1.0, 2.0) for n in (16, 4) for rid in range(8, 16)]
else:
d = OUT / "train_rep"
cells = [(r, rid, c, n) for r in ("R10", "R0", "Rm5") for c in (0.0, 1.0) for n in (16, 4) for rid in range(16, 24)]
d.mkdir(parents=True, exist_ok=True)
jobs = [(r, rid, c, n, SEEDS, args.device, P, d, {}) for r, rid, c, n in cells
if not (d / f"{r}_r{rid}_c{c:g}_n{n}.csv").exists()]
run_pool(train_job, jobs, args.workers, f"E2 train {args.set}")
else:
summary()
if __name__ == "__main__":
os.environ.setdefault("PYTHONHASHSEED", "0")
main()

View File

@@ -0,0 +1,636 @@
"""GP review E1 (declared in docs/research/gp-review-experiments.md, hashed before realizations 24-31 were generated;
exploratory; outside every lock and the reproduction archives): the true anchor error varies, with and without a
per-well bulk component, and the registration states sigma_a correctly or at 7 ms.
Anchor data model: t_k = boundary time + sigma_true * eps_k + beta_w, eps_k the realization's own draws (eps_a) and
beta_w = sigma_B * z_w, z_w ~ N(0, 1) from default_rng([rid, crc32(well name), 2417]). It is implemented by replacing
D2Realization.observe in the worker process (only the anchor times change). Conditions with "-fix" fit the drift
hyperparameters at sigma_a = 7 ms and then set sigma_a to sigma_reg (the pattern of scripts/47). Every other step runs
through the locked scripts/14 run_job and scripts/15 run_cell, unchanged.
--stage fingerprints SHA-256 fingerprints of realizations 24-31 (as scripts/46) and a check of the replacement
-> outputs/gp_review/e1/{fingerprints.json, patch_check.json}; required before any posterior
--stage post 1024-particle posteriors (estR), R10, c = 1, N = 4, 16 -> e1/<cond>/posterior/R10/
--stage train the seven registered methods at their registered budgets, seeds 0-4 -> e1/<cond>/train/R10/cells/
--stage arms SMC-MAP (budget 250, seeds 0-4) and B3d-Sa at seed 0 (reproduction check) -> e1/<cond>/arms/
--stage b3p B3p (E2 selection and budget) once per anchor model (it does not use sigma_reg) -> e1/b3p/<anchor>/
--stage summary P1-P5 and the declared readings -> e1/summary/
Every stage skips jobs whose CSV exists.
"""
from __future__ import annotations
import argparse
import dataclasses
import hashlib
import importlib.util
import json
import math
import os
import time
import zlib
from concurrent.futures import ProcessPoolExecutor, as_completed
from multiprocessing import get_context
from pathlib import Path
for _k in ("OMP_NUM_THREADS", "MKL_NUM_THREADS", "OPENBLAS_NUM_THREADS", "NUMBA_NUM_THREADS", "NUMEXPR_NUM_THREADS"):
os.environ.setdefault(_k, "2")
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" / "gp-review-experiments.md"
DECL_HASH = REPO_ROOT / "docs" / "research" / "gp-review-experiments.sha256"
ROOT = outputs_dir() / "gp_review" / "e1"
E2 = outputs_dir() / "gp_review" / "e2"
BUDGETS_JSON = outputs_dir() / "p2" / "diag" / "train" / "budgets.json"
RIDS = list(range(24, 32))
NS = [16, 4]
C = 1.0
SNR, DENS = 10.0, "full"
SEEDS = [0, 1, 2, 3, 4]
PARTICLES = 1024
REG_BUD = {"Oracle": 500, "B3b": 125, "B3c": 250, "B3c-R": 500, "B3d": 250, "B3d-Sa": 250, "M2-Sa": 250}
SEVEN = list(REG_BUD)
POINT = ["B3b", "B3c", "B3c-R"]
ARM_BUDGET = 250
BULK_SEED = 2417
N_BOOT = 2000
# condition -> (sigma_true, sigma_B, sigma_reg, drift hyperparameters)
CONDITIONS = {
"iid7-reg7": (7.0, 0.0, 7.0, "refit"),
"iid4-reg4": (4.0, 0.0, 4.0, "refit"),
"iid4-reg7": (4.0, 0.0, 7.0, "refit"),
"iid2-reg2": (2.0, 0.0, 2.0, "refit"),
"iid2-reg7": (2.0, 0.0, 7.0, "refit"),
"iid1-reg1": (1.0, 0.0, 1.0, "refit"),
"iid1-reg7": (1.0, 0.0, 7.0, "refit"),
"bulk-reg2": (2.0, 5.0, 2.0, "refit"),
"bulk-reg5.4": (2.0, 5.0, math.sqrt(29.0), "refit"),
"bulk-reg7": (2.0, 5.0, 7.0, "refit"),
"iid2-reg2-fix": (2.0, 0.0, 2.0, "fix"),
"bulk-reg2-fix": (2.0, 5.0, 2.0, "fix"),
}
ANCHOR_MODELS = {"iid7": (7.0, 0.0), "iid4": (4.0, 0.0), "iid2": (2.0, 0.0), "iid1": (1.0, 0.0), "bulk": (2.0, 5.0)}
P5_PAIRS = {"iid4": ("iid4-reg7", "iid4-reg4"), "iid2": ("iid2-reg7", "iid2-reg2"), "iid1": ("iid1-reg7", "iid1-reg1"),
"bulk": ("bulk-reg7", "bulk-reg5.4")}
S1 = ["iid4-reg7", "iid2-reg7", "iid1-reg7"]
S2 = ["iid4-reg4", "iid2-reg2", "iid1-reg1"]
S3 = {"2": "bulk-reg2", "5.39": "bulk-reg5.4", "7": "bulk-reg7"}
def anchor_model(cond: str) -> str:
s_true, s_b = CONDITIONS[cond][:2]
return next(k for k, v in ANCHOR_MODELS.items() if v == (s_true, s_b))
def cdir(cond: str) -> Path:
return ROOT / cond
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 ({actual[:12]} != {expected[:12]})")
return actual
# ----------------------------------------------------------------------------------------------------------------
# in-process replacements (declared): D2Realization.observe (anchor times only), pipeline.fit_cell_hyper ("-fix")
# ----------------------------------------------------------------------------------------------------------------
LOG = {"anchors": [], "hyper": []}
def bulk_z(rid: int, name: str) -> float:
return float(np.random.default_rng([rid, zlib.crc32(name.encode()), BULK_SEED]).standard_normal())
def patch_observe(s_true: float, s_b: float) -> None:
from ml_porosity.data import synth_d2
D = synth_d2.D2Realization
if not hasattr(D, "_gp_orig_observe"):
D._gp_orig_observe = D.observe
orig = D._gp_orig_observe
def observe(self, w, c, snr_db, sigma_a_ms, anchor_density="full"):
o = orig(self, w, c, snr_db, s_true, anchor_density)
beta = s_b * bulk_z(self.rid, w.name) if s_b > 0 else 0.0
if s_b > 0:
o["t_k"] = o["t_k"] + beta
LOG["anchors"].append({"well": w.name, "beta_ms": beta, "n_anchor": int(len(o["t_k"]))})
return o
D.observe = observe
def patch(cond: str, reg_settings: bool = False) -> None:
"""Apply the replacements of `cond` in this process (idempotent; resets every earlier condition)."""
from ml_porosity.registration import pipeline
s_true, s_b, s_reg, hyp = CONDITIONS[cond]
patch_observe(s_true, s_b)
if not hasattr(pipeline, "_gp_orig_fit"):
pipeline._gp_orig_fit = pipeline.fit_cell_hyper
orig = pipeline._gp_orig_fit
def fit(R, obs, reg, seed=0):
if hyp == "fix":
h, info = orig(R, obs, reg | {"sigma_a_ms": 7.0}, seed)
h = dataclasses.replace(h, sigma_a_ms=reg["sigma_a_ms"])
else:
h, info = orig(R, obs, reg, seed)
LOG["hyper"].append(h.as_dict() | {"sigma_a_reg_in": float(reg["sigma_a_ms"]), "mode": hyp})
return h, info
pipeline.fit_cell_hyper = fit
if not hasattr(run_d2, "_gp_orig_reg"):
run_d2._gp_orig_reg = run_d2.reg_settings
if reg_settings: # build_cell/register of the arms stage: registration sigma_a
run_d2.reg_settings = lambda P: run_d2._gp_orig_reg(P) | {"sigma_a_ms": s_reg}
else:
run_d2.reg_settings = run_d2._gp_orig_reg
def st_post(cond: str) -> dict:
return {"snr_db": SNR, "anchor_density": DENS, "sigma_a_reg": CONDITIONS[cond][2], "wavelets": ["estR"],
"smc_seed": None}
def st_train(cond: str) -> dict:
bud = json.loads(BUDGETS_JSON.read_text())
assert all(int(bud[m]) == b for m, b in REG_BUD.items()), "budgets.json differs from the registered budgets"
return {"snr_db": SNR, "anchor_density": DENS, "sigma_a_reg": CONDITIONS[cond][2], "variants": ["a"],
"methods": SEVEN, "save_preds": True, "budgets": {m: int(bud[m]) for m in SEVEN}}
# ----------------------------------------------------------------------------------------------------------------
# fingerprints and replacement check
# ----------------------------------------------------------------------------------------------------------------
def realization(P: dict, rid: int):
import yaml
from ml_porosity.data.synth_d2 import D2Realization, load_horizon_grid
from ml_porosity.registration.warp_prior import WarpHyper
cfg = yaml.safe_load((REPO_ROOT / P["inputs"]["d2_config"]["path"]).read_text())
hg = load_horizon_grid(cfg["horizons"], REPO_ROOT / cfg["horizon_cache"])
prior = json.loads((REPO_ROOT / P["inputs"]["warp_prior"]["path"]).read_text())["fits"][P["inputs"]["warp_prior"]["fit"]]
wav = np.load(REPO_ROOT / P["inputs"]["wavelet"]["path"])[P["inputs"]["wavelet"]["key"]]
return D2Realization(cfg, rid, hg, WarpHyper(**prior["hyper"]), wav)
def stage_fingerprints(P: dict) -> None:
"""Fingerprints with the unmodified observe (definition of scripts/46), then the replacement check."""
import scipy
from ml_porosity.data import synth_d2
ROOT.mkdir(parents=True, exist_ok=True)
if (ROOT / "fingerprints.json").exists():
print("fingerprints.json exists; not rewritten")
else:
if any((ROOT / c / "posterior").exists() for c in CONDITIONS):
raise SystemExit("posteriors exist without fingerprints.json")
sha = lambda chunks: (lambda h: ([h.update(np.ascontiguousarray(np.asarray(a)).tobytes()) for a in chunks], h.hexdigest())[1])(hashlib.sha256())
fields = ("seis_clean", "noise_unit", "phi_t", "z_g", "z_b", "boundaries_t", "eps_a")
keys = ("seis", "phi_log", "ai_log", "tau_k", "t_k", "b", "g", "t_of_tau_true", "y_true")
out = {"meta": {"numpy": np.__version__, "scipy": scipy.__version__, "d2_config": P["inputs"]["d2_config"]["path"],
"declaration": check_declaration(), "written_utc": time.strftime("%Y-%m-%dT%H:%M:%SZ", time.gmtime())},
"rids": {}}
for rid in RIDS:
R = realization(P, rid)
obs = [R.observe(w, c, 10, 7.0, "full") for c in (0.0, 1.0, 2.0) for w in R.test + R.pool[:4]]
out["rids"][str(rid)] = {"wells": {k: sha(getattr(w, k) for w in R.wells) for k in fields},
"obs": {k: sha(o[k] for o in obs) for k in keys}}
print(f"fingerprint r{rid}", flush=True)
(ROOT / "fingerprints.json").write_text(json.dumps(out, indent=1))
# replacement check: iid7 reproduces observe bit for bit; the bulk model adds one constant per well; other
# fields never change
D = synth_d2.D2Realization
orig = getattr(D, "_gp_orig_observe", D.observe)
chk = {"rids": {}}
ok_all = True
for rid in RIDS[:2]:
R = realization(P, rid)
wells = R.pool[:16]
base7 = [orig(R, w, C, SNR, 7.0, DENS) for w in wells]
base2 = [orig(R, w, C, SNR, 2.0, DENS) for w in wells]
patch_observe(7.0, 0.0)
p7 = [R.observe(w, C, SNR, 7.0, DENS) for w in wells]
patch_observe(2.0, 5.0)
pb = [R.observe(w, C, SNR, 7.0, DENS) for w in wells]
same7 = all(all(np.array_equal(np.asarray(a[k]), np.asarray(b[k])) for k in a if k != "name") for a, b in zip(base7, p7))
others = all(all(np.array_equal(np.asarray(a[k]), np.asarray(b[k])) for k in a if k not in ("name", "t_k"))
for a, b in zip(base2, pb))
offs = [np.unique(np.round(b["t_k"] - a["t_k"], 9)) for a, b in zip(base2, pb)]
const = all(len(u) == 1 for u in offs)
betas = [float(u[0]) for u in offs]
want = [5.0 * bulk_z(rid, w.name) for w in wells]
match = bool(np.allclose(betas, want, atol=1e-9))
ok = same7 and others and const and match
ok_all &= ok
chk["rids"][str(rid)] = {"iid7_identical": same7, "bulk_other_fields_identical": others, "bulk_constant_per_well": const,
"bulk_offsets_match": match, "beta_ms": [round(b, 4) for b in betas],
"beta_sd_ms": float(np.std(betas, ddof=1))}
chk["pass"] = bool(ok_all)
(ROOT / "patch_check.json").write_text(json.dumps(chk, indent=1))
print(json.dumps(chk, indent=1))
if not ok_all:
raise SystemExit("replacement check failed")
# ----------------------------------------------------------------------------------------------------------------
# jobs (each worker applies the replacements of its job's condition)
# ----------------------------------------------------------------------------------------------------------------
def post_job(job) -> tuple[str, float]:
cond, rid, N, P, device, mem_gb = job
patch(cond)
s14 = load_script("14_diag_posterior.py")
d = cdir(cond) / "posterior" / "R10"
LOG["anchors"].clear(), LOG["hyper"].clear()
t0 = time.time()
tag = s14.job_tag(rid, C, N, 0)
s14.run_job((rid, C, N, 0, PARTICLES, P, d, device, mem_gb, st_post(cond)))
(d / f"{tag}_e1.json").write_text(json.dumps({"condition": cond, "hyper": LOG["hyper"], "anchors": LOG["anchors"]}, indent=1))
return f"{cond}/{tag}", time.time() - t0
def train_job(job) -> tuple[str, float]:
cond, rid, N, P, device = job
patch(cond)
s15 = load_script("15_diag_train.py")
d = cdir(cond) / "train" / "R10" / "cells"
_, dt = s15.run_cell((rid, C, N, SEEDS, 0, P, device, cdir(cond) / "posterior" / "R10", d, st_train(cond)))
return f"{cond}/r{rid}_c1_n{N}", dt
def arms_job(job) -> tuple[str, float]:
cond, rid, N, P, device = 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
patch(cond, reg_settings=True)
s44 = load_script("44_point_tie_arm.py")
t2.P2R = cdir(cond) # build_cell reads <cond>/posterior/R10/
s44.P2R = cdir(cond) # point_warps reads the tempering gamma there
t0 = time.time()
cell = t2.build_cell("R10", rid, C, N, P, with_register=True)
R, out, wells = cell["R"], cell["out"], cell["wells"]
if abs(cell["reg"]["sigma_a_ms"] - CONDITIONS[cond][2]) > 1e-12:
raise RuntimeError("registration sigma_a was not applied")
stem = f"r{rid}_c1_n{N}"
key = dict(condition=cond, regime="R10", 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 = s44.point_warps(cell, "R10", rid, C, N)
one = np.zeros((N, 1), np.float32)
bank = lambda Y: {"kind": "bank", "Y": Y, "logpi": one, "lam": lam}
specs = {"SMC-MAP": bank(nb(np.stack([cell["lab"](w["y_aa"], pw[w["name"]]["SMC-MAP"]) for w in wells]))),
"B3d-Sa": bank(nb(np.stack([cell["lab"](w["y_aa"], w["tm"]) for w in wells])))}
diag = []
for w in wells:
err = lambda t: warp_errors(np.atleast_2d(t), R.tau_fine, w["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"]),
"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: # reproduction check of the scripts/15 rows
continue
for b, (mu, sg) in train_predict(cell["X"], cell["Xte"], sp, tcfg, seed, [ARM_BUDGET], device).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)
d = cdir(cond) / "arms"
pd.DataFrame(diag).to_csv(d / f"{stem}_diag.csv", index=False)
pd.DataFrame(rows).to_csv(d / f"{stem}.csv", index=False) # written last: marks the job complete
return f"{cond}/{stem}", time.time() - t0
def b3p_job(job) -> tuple[str, float]:
amodel, rid, N, P, device = job
import torch
torch.set_num_threads(2)
patch_observe(*ANCHOR_MODELS[amodel])
s53 = load_script("53_gp_practitioner_tie.py")
t0 = time.time()
k = s53.selected()["R10"]
budget = int(json.loads((E2 / "budget.json").read_text())["B3p"])
cell = s53.make_cell("R10", rid, C, N, P, snr=SNR, dens=DENS)
key = {"anchor_model": amodel, "regime": "R10", "rid": rid, "c": C, "n_train": N}
rows, diag = s53.train_cell(cell, k, SEEDS, [budget], device, P, key)
d = ROOT / "b3p" / amodel
stem = f"r{rid}_c1_n{N}"
pd.DataFrame(diag).to_csv(d / f"{stem}_diag.csv", index=False)
pd.DataFrame(rows).to_csv(d / f"{stem}.csv", index=False)
return f"b3p/{amodel}/{stem}", time.time() - t0
def run_pool(fn, jobs, workers: int, label: str) -> None:
print(f"{label}: {len(jobs)} jobs, {workers} workers", flush=True)
if not jobs:
return
t0 = time.time()
with ProcessPoolExecutor(workers, mp_context=get_context("spawn")) as ex:
futs = [ex.submit(fn, j) 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)
def interleave(conds, rids) -> list[tuple]:
"""Long jobs (N = 16) first; conditions interleaved so that partial results cover every condition."""
return [(cond, rid, N) for N in NS for rid in rids for cond in conds]
# ----------------------------------------------------------------------------------------------------------------
# summary
# ----------------------------------------------------------------------------------------------------------------
def side(r: dict, m: str = "pct") -> str:
return "below" if r[f"{m}_hi"] < 1 else ("above" if r[f"{m}_lo"] > 1 else "contains")
def load_runs() -> pd.DataFrame:
parts = []
for cond in CONDITIONS:
cd = cdir(cond) / "train" / "R10" / "cells"
for f in sorted(cd.glob("r*_c*_n*.csv")) if cd.exists() else []:
if f.name.endswith("_diag.csv"):
continue
d = pd.read_csv(f)
parts.append(d[d.method.isin(SEVEN) & (d.budget == d.method.map(REG_BUD))].assign(condition=cond))
ad = cdir(cond) / "arms"
for f in sorted(ad.glob("r*_c*_n*.csv")) if ad.exists() else []:
if f.name.endswith("_diag.csv"):
continue
d = pd.read_csv(f)
parts.append(d[d.method == "SMC-MAP"].drop(columns=["regime"], errors="ignore"))
bd = ROOT / "b3p" / anchor_model(cond)
for f in sorted(bd.glob("r*_c*_n*.csv")) if bd.exists() else []:
if f.name.endswith("_diag.csv"):
continue
d = pd.read_csv(f)
parts.append(d.drop(columns=["regime", "anchor_model"], errors="ignore").assign(condition=cond))
if not parts:
return pd.DataFrame()
d = pd.concat(parts, ignore_index=True)
keys = ["condition", "rid", "c", "n_train", "method", "seed", "budget"]
num = [c for c in d.columns if c not in keys + ["test_well"] and pd.api.types.is_numeric_dtype(d[c])]
return d.groupby(keys, as_index=False)[num].mean()
def selfcheck() -> dict:
rows = []
for cond in CONDITIONS:
ad = cdir(cond) / "arms"
for f in sorted(ad.glob("r*_c*_n*.csv")) if ad.exists() else []:
if f.name.endswith("_diag.csv"):
continue
a = pd.read_csv(f)
a = a[(a.method == "B3d-Sa") & (a.seed == 0)]
t = cdir(cond) / "train" / "R10" / "cells" / f.name
if not t.exists():
continue
r = pd.read_csv(t)
r = r[(r.method == "B3d-Sa") & (r.seed == 0) & (r.budget == ARM_BUDGET)]
mg = a.merge(r, on=["test_well"], suffixes=("", "_reg"))
dev = max(float((mg[c] - mg[f"{c}_reg"]).abs().max()) for c in ("band_rmse", "rmse", "nll"))
rows.append({"condition": cond, "cell": f.stem, "n": len(mg), "abs_dev_max": dev})
if not rows:
return {"n_cells": 0}
d = pd.DataFrame(rows)
return {"n_cells": int(len(d)), "n_pass": int((d.abs_dev_max <= 1e-9).sum()), "abs_dev_max": float(d.abs_dev_max.max())}
def posterior_table() -> pd.DataFrame:
rows = []
for cond in CONDITIONS:
d = cdir(cond) / "posterior" / "R10"
for f in sorted(d.glob("r*_c1_n*_s0.csv")) if d.exists() else []:
g = pd.read_csv(f)
smc = g[(g.method == "SMC_g_acf") & (g.wavelet == "estR")]
row = {"condition": cond, "rid": int(g.rid.iloc[0]), "n_train": int(g.n_train.iloc[0]),
"SMC_warp_rmse_ms": float(smc.warp_rmse_ms.mean()), "SMC_cov90": float(smc.warp_cov90.mean()),
"SMC_width90_ms": float(smc.warp_width90_ms.mean())}
for m in ("B3b", "B3c", "B3d"):
row[f"{m}_warp_rmse_ms"] = float(g[(g.method == m) & (g.wavelet == "est")].warp_rmse_ms.mean())
e = d / f.name.replace(".csv", "_e1.json")
if e.exists():
h = json.loads(e.read_text())["hyper"]
if h:
row |= {f"hyp_{k}": h[-1][k] for k in ("m_g", "sigma_g", "ell_ms", "sigma_a_ms") if k in h[-1]}
rows.append(row)
return pd.DataFrame(rows)
def stage_summary() -> None:
out = ROOT / "summary"
out.mkdir(parents=True, exist_ok=True)
rng = np.random.default_rng(20261117)
runs = load_runs()
if runs.empty:
print("E1: no cells yet")
return
sc = selfcheck()
rat = []
for (cond, N), g in runs.groupby(["condition", "n_train"]):
have = set(g.method)
mean = lambda m: g[g.method == m].band_rmse.mean()
sets = {"point_ties": POINT, "with_B3p": POINT + ["B3p"], "with_B3d": POINT + ["B3d"],
"with_B3d_B3p": POINT + ["B3d", "B3p"]}
pairs = {}
for sname, comp in sets.items():
if set(comp) <= have:
pairs[f"P1/{sname}"] = ("B3d-Sa", min(comp, key=mean))
pairs[f"P1-M2/{sname}"] = ("M2-Sa", min(comp, key=mean))
pairs[f"P1-MAP/{sname}"] = ("SMC-MAP", min(comp, key=mean))
pairs |= {"P2": ("B3d-Sa", "B3d"), "P3": ("M2-Sa", "B3d-Sa"), "MAP/B3d-Sa": ("SMC-MAP", "B3d-Sa"),
"Oracle/B3d-Sa": ("Oracle", "B3d-Sa")}
for tag, (x, y) in pairs.items():
if x not in have or y not in have:
continue
sx, sy = ci.per_rid(g, x), ci.per_rid(g, y)
if len(sx) < len(RIDS) or len(sy) < len(RIDS):
continue
rat.append({"condition": cond, "n_train": N, "cmp": tag, "num": x, "den": y} | ci.intervals(sx, sy, rng))
for pname, (a, b) in P5_PAIRS.items(): # paired over realizations, same anchors
for N in NS:
ga = runs[(runs.condition == a) & (runs.n_train == N)]
gb = runs[(runs.condition == b) & (runs.n_train == N)]
for m in ("B3d-Sa", "M2-Sa", "SMC-MAP"):
sa, sb = ci.per_rid(ga, m), ci.per_rid(gb, m)
if len(sa) == len(RIDS) and len(sb) == len(RIDS):
rat.append({"condition": f"{a}|{b}", "n_train": N, "cmp": f"P5/{pname}", "num": f"{m}@{a}",
"den": f"{m}@{b}"} | ci.intervals(sa, sb, rng))
df = pd.DataFrame(rat)
for m in ("pct", "bca", "t"):
df[f"{m}_vs_1"] = [side(r, m) for _, r in df.iterrows()]
df.to_csv(out / "ratios.csv", index=False)
def reading(cond: str, tag: str) -> str:
d = df[(df.condition == cond) & (df.cmp == tag)]
if len(d) < len(NS):
return "incomplete"
s = set(d.pct_vs_1)
if s == {"below"}:
return "gain holds"
if "above" in s:
return "reversed"
if s == {"contains"}:
return "gain lost"
return "partial"
readings = {}
for sname in ("point_ties", "with_B3p", "with_B3d", "with_B3d_B3p"):
tag = f"P1/{sname}"
r = {cond: reading(cond, tag) for cond in CONDITIONS}
st = lambda conds: ("incomplete" if any(r[c] == "incomplete" for c in conds)
else "holds" if all(r[c] == "gain holds" for c in conds) else "does not hold")
readings[sname] = {"per_condition": r,
"S1_more_accurate_than_assumed": st(S1),
"S2_sigma_a_stated_correctly": st(S2),
"S3_bulk": {k: st([c]) for k, c in S3.items()}}
pt = posterior_table()
if not pt.empty:
pt.to_csv(out / "posterior_cells.csv", index=False)
p4 = pt.groupby(["condition", "n_train"]).mean(numeric_only=True).drop(columns=["rid"]).reset_index()
p4["n_rid"] = pt.groupby(["condition", "n_train"]).rid.nunique().values
p4.to_csv(out / "p4_posterior.csv", index=False)
else:
p4 = pd.DataFrame()
warp = []
for cond in CONDITIONS:
for sub, cols in (("train/R10/cells", ["B3c-R_warp_rmse_ms", "B3d-Sa_warp_rmse_ms"]), ("arms", ["SMC-MAP_warp_rmse_ms"])):
d = cdir(cond) / sub
for f in sorted(d.glob("*_diag.csv")) if d.exists() else []:
g = pd.read_csv(f)
for c_ in cols:
if c_ in g:
warp.append({"condition": cond, "n_train": int(g.n_train.iloc[0]), "rid": int(g.rid.iloc[0]),
"method": c_.replace("_warp_rmse_ms", ""), "warp_rmse_ms": float(g[c_].mean())})
d = ROOT / "b3p" / anchor_model(cond)
for f in sorted(d.glob("*_diag.csv")) if d.exists() else []:
g = pd.read_csv(f)
warp.append({"condition": cond, "n_train": int(g.n_train.iloc[0]), "rid": int(g.rid.iloc[0]), "method": "B3p",
"warp_rmse_ms": float(g.B3p_warp_rmse_ms.mean())})
wt = pd.DataFrame(warp)
if not wt.empty:
wt = wt.groupby(["condition", "n_train", "method"]).warp_rmse_ms.mean().unstack("method").reset_index()
wt.to_csv(out / "warp_rmse.csv", index=False)
means = runs.groupby(["condition", "n_train", "method"]).agg(band_rmse=("band_rmse", "mean"), n_rid=("rid", "nunique"),
coverage_90=("coverage_90", "mean")).reset_index()
means.to_csv(out / "means.csv", index=False)
verdict = {"selfcheck_B3d-Sa_seed0": sc, "readings": readings,
"complete": {cond: {int(N): int(runs[(runs.condition == cond) & (runs.n_train == N) & (runs.method == "B3d-Sa")].rid.nunique())
for N in NS} for cond in CONDITIONS}}
(out / "verdict.json").write_text(json.dumps(verdict, indent=1))
cols = ["condition", "n_train", "cmp", "num", "den", "ratio", "pct_lo", "pct_hi", "bca_lo", "bca_hi", "t_lo", "t_hi", "pct_vs_1"]
order = {c: i for i, c in enumerate(CONDITIONS)}
key = lambda s: s.map(lambda v: order.get(v, 99)) if s.name == "condition" else s
txt = ["# E1: anchor-noise misspecification on realizations 24-31 (exploratory)", "",
"Declared in docs/research/gp-review-experiments.md (E1). R10, c = 1, registration seed 0, training seeds 0-4.",
"Ratios: mean band RMSE over realizations; intervals: percentile bootstrap over the 8 realizations (primary), BCa, t.", "",
"```", json.dumps(verdict, indent=1), "```", ""]
for title, pat in (("P1: SMC mean against the best deterministic tie", "P1/"), ("P1 for M2-Sa and SMC-MAP", "P1-"),
("P2, P3 and others", "P2|P3|MAP/|Oracle/"), ("P5: misstated sigma_reg (paired)", "P5/")):
d = df[df.cmp.str.contains(pat) & ~(df.cmp.str.startswith("P1-") if pat == "P1/" else False)]
if len(d):
txt += [f"## {title}", "", d.sort_values(["condition", "cmp", "n_train"], key=key)[cols].round(3).to_markdown(index=False), ""]
if len(p4):
txt += ["## P4: SMC posterior and point-tie warp RMSE (ms, training wells, main window)", "",
p4.round(3).to_markdown(index=False), ""]
if not wt.empty:
txt += ["## Warp RMSE of the methods trained here (ms)", "", wt.round(3).to_markdown(index=False), ""]
txt += ["## Mean band RMSE (p.u.)", "", means.pivot_table(index=["condition", "n_train"], columns="method",
values="band_rmse").round(4).to_markdown(), ""]
(out / "summary.md").write_text("\n".join(txt))
print("\n".join(txt[:8]))
# ----------------------------------------------------------------------------------------------------------------
def main() -> None:
ap = argparse.ArgumentParser()
ap.add_argument("--stage", choices=["fingerprints", "post", "train", "arms", "b3p", "summary"], required=True)
ap.add_argument("--device", default="cuda:0")
ap.add_argument("--workers", type=int, default=4)
ap.add_argument("--gpu-mem-gb", type=float, default=1.5)
ap.add_argument("--conds", nargs="+", default=list(CONDITIONS), choices=list(CONDITIONS))
ap.add_argument("--rids", type=int, nargs="+", default=RIDS)
args = ap.parse_args()
sha = check_declaration()
P = run_d2.load_protocol(check=True)
print(f"declaration {sha[:12]} and protocol_p2 match ({time.strftime('%Y-%m-%dT%H:%M:%SZ', time.gmtime())})", flush=True)
if args.stage == "fingerprints":
stage_fingerprints(P)
return
if args.stage == "summary":
stage_summary()
return
if not (ROOT / "fingerprints.json").exists() or not json.loads((ROOT / "patch_check.json").read_text())["pass"]:
raise SystemExit("run --stage fingerprints first (fingerprints and replacement check)")
rids = [r for r in args.rids if r in RIDS]
if args.stage == "post":
jobs = []
for cond, rid, N in interleave(args.conds, rids):
d = cdir(cond) / "posterior" / "R10"
d.mkdir(parents=True, exist_ok=True)
if not (d / f"r{rid}_c1_n{N}_s0.csv").exists():
jobs.append((cond, rid, N, P, args.device, args.gpu_mem_gb))
run_pool(post_job, jobs, args.workers, "E1 posteriors")
elif args.stage == "train":
jobs = []
for cond, rid, N in interleave(args.conds, rids):
d = cdir(cond) / "train" / "R10" / "cells"
d.mkdir(parents=True, exist_ok=True)
ready = (cdir(cond) / "posterior" / "R10" / f"r{rid}_c1_n{N}_s0.csv").exists()
if ready and not (d / f"r{rid}_c1_n{N}.csv").exists():
jobs.append((cond, rid, N, P, args.device))
run_pool(train_job, jobs, args.workers, "E1 training (seven registered methods)")
elif args.stage == "arms":
jobs = []
for cond, rid, N in interleave(args.conds, rids):
d = cdir(cond) / "arms"
d.mkdir(parents=True, exist_ok=True)
ready = (cdir(cond) / "posterior" / "R10" / f"r{rid}_c1_n{N}_s0.csv").exists()
if ready and not (d / f"r{rid}_c1_n{N}.csv").exists():
jobs.append((cond, rid, N, P, args.device))
run_pool(arms_job, jobs, args.workers, "E1 arms (SMC-MAP)")
elif args.stage == "b3p":
if not (E2 / "budget.json").exists() or not (E2 / "selected.json").exists():
raise SystemExit("E2 select and budget must finish first")
amodels = sorted({anchor_model(c) for c in args.conds})
jobs = []
for am in amodels:
d = ROOT / "b3p" / am
d.mkdir(parents=True, exist_ok=True)
jobs += [(am, rid, N, P, args.device) for N in NS for rid in rids if not (d / f"r{rid}_c1_n{N}.csv").exists()]
run_pool(b3p_job, jobs, args.workers, "E1 B3p")
if __name__ == "__main__":
main()

View File

@@ -0,0 +1,36 @@
#!/usr/bin/env python3
"""Per-well field table (review item W9). Reads outputs/gp_review/a7/a7_wells.csv (descriptive,
exploratory, outside every lock) and writes LaTeX rows to outputs/gp_review/tables/field_wells.tex."""
import pandas as pd, numpy as np, pathlib
root = pathlib.Path(__file__).resolve().parents[1]
d = pd.read_csv(root / "outputs/gp_review/a7/a7_wells.csv")
d = d[d.reference == "calibrated"]
NAME = {"B3b": "calibrated sonic", "B3c": "correlation tie", "B3c-R": "phase-estimated correlation"}
def f(x, n=2): return "--" if pd.isna(x) else f"{x:.{n}f}"
rows = []
for (fld, split), g in d.groupby(["field", "split"], sort=False):
for _, r in g.iterrows():
c = r.gate_competitor
# gate metric: band RMSE on F3, total RMSE on Volve (outputs/p3, outputs/p4/summary/gate_gd.json)
m = "band_rmse" if fld == "F3" else "rmse"
comp_b = r[f"{c}_{m}"]; bank_b = r[f"M2-Sa_{m}"]; mean_b = r[f"B3d-Sa_{m}"]
rows.append(dict(field=fld, split=split.replace("nested LOWO", "nested leave-one-well-out").replace("lowo", "leave-one-well-out").replace("slot", "slot"),
well=r.well, comp=NAME[c], comp_b=comp_b, mean_b=mean_b, bank_b=bank_b,
bank_pcc=r["M2-Sa_band_pcc"], const=r.const_rmse,
win=bank_b < comp_b))
out = []
prev = None
for r in rows:
key = (r["field"], r["split"])
if key != prev:
out.append(r"\midrule" if prev else "")
out.append(rf"\multicolumn{{7}}{{l}}{{\emph{{{r['field']}, {r['split']}}}}} \\")
prev = key
out.append(f"{r['well']} & {r['comp']} & {f(r['comp_b'])} & {f(r['mean_b'])} & {f(r['bank_b'])} & {f(r['bank_pcc'])} & {f(r['const'])} \\\\")
tex = "\n".join(o for o in out if o != "")
(root / "outputs/gp_review/tables").mkdir(parents=True, exist_ok=True)
(root / "outputs/gp_review/tables/field_wells.tex").write_text(tex + "\n")
w = pd.DataFrame(rows)
for k, g in w.groupby(["field", "split"], sort=False):
print(k, "bank better than selected tie at", int(g.win.sum()), "of", len(g), "wells")
print(tex)

View File

@@ -0,0 +1,24 @@
#!/usr/bin/env python3
"""Misspecification table for the journal article (review item W4). Reads the locked summaries in
outputs/bench/summary/ (s2_h2a.csv, s2_smc.csv) and outputs/gp_review/ is not needed; writes LaTeX rows to
outputs/gp_review/tables/misspec.tex. Descriptive; no new computation."""
import pandas as pd, pathlib
root = pathlib.Path(__file__).resolve().parents[1]
h = pd.read_csv(root / "outputs/bench/summary/s2_h2a.csv")
m = pd.read_csv(root / "outputs/bench/summary/s2_smc.csv")
h = h[h.regime == "R10"]; m = m[m.regime == "R10"]
NAME = [("rp_L1", "Rock physics, mild"), ("rp_L2", "Rock physics, strong"),
("wv_L1", "Wavelet phase, mild"), ("wv_L2", "Wavelet phase, strong"),
("wv_Q", "Attenuation"), ("dr_L1", "Scaled warp prior"), ("dr_L2", "Out-of-family warp")]
NOM = {4: (0.857, 0.805, 0.922), 16: (0.782, 0.748, 0.813)} # Table S9, hash-locked nominal cell
NOMSMC = {4: (1.20, 0.85), 16: (0.63, 0.89)} # Table S15 (warp RMSE ms, cov90)
def cell(r): return f"{r.ratio:.3f} [{r.ratio_lo:.3f}, {r.ratio_hi:.3f}]"
rows = [f"Nominal (assumed model) & {NOM[4][0]:.3f} [{NOM[4][1]:.3f}, {NOM[4][2]:.3f}] & {NOM[16][0]:.3f} [{NOM[16][1]:.3f}, {NOM[16][2]:.3f}] "
f"& {NOMSMC[4][0]:.2f} / {NOMSMC[16][0]:.2f} & {NOMSMC[4][1]:.2f} / {NOMSMC[16][1]:.2f} \\\\", r"\midrule"]
for key, lab in NAME:
a = h[(h.preset == key) & (h.n_train == 4)].iloc[0]; b = h[(h.preset == key) & (h.n_train == 16)].iloc[0]
s4 = m[(m.preset == key) & (m.n_train == 4)].iloc[0]; s16 = m[(m.preset == key) & (m.n_train == 16)].iloc[0]
rows.append(f"{lab} & {cell(a)} & {cell(b)} & {s4.warp_rmse_ms:.2f} / {s16.warp_rmse_ms:.2f} & {s4.warp_cov90:.2f} / {s16.warp_cov90:.2f} \\\\")
(root / "outputs/gp_review/tables").mkdir(parents=True, exist_ok=True)
(root / "outputs/gp_review/tables/misspec.tex").write_text("\n".join(rows) + "\n")
print("\n".join(rows))

34
scripts/run_gp_review.sh Executable file
View File

@@ -0,0 +1,34 @@
#!/usr/bin/env bash
# GP review, Phases 2-3 (declared in docs/research/gp-review-analyses.md and gp-review-experiments.md, hashed before
# the first run; exploratory; outside every lock and the reproduction archives).
# scripts/run_gp_review.sh a # A1-A9 on existing outputs (scripts/51)
# scripts/run_gp_review.sh e5 # E5: posterior-mean labels with the Gaussian likelihood (scripts/52)
# scripts/run_gp_review.sh e6 # E6: seven registered methods at 125/250/500 iterations (scripts/52)
# scripts/run_gp_review.sh e4 # E4: point tie optimizing the SMC target (scripts/52)
# scripts/run_gp_review.sh e3 # E3: one shift per well (only if A3 is not sufficient; scripts/52)
# scripts/run_gp_review.sh e2 tune|budget|train # E2: practitioner-grade tie (scripts/53)
# scripts/run_gp_review.sh e1 <stage> # E1: anchor-noise misspecification on realizations 24-31 (scripts/54)
# scripts/run_gp_review.sh summary # summaries of every finished experiment
# Every stage skips jobs that already have a CSV, so any stage can be restarted with the same command.
set -euo pipefail
cd "$(dirname "$0")/.."
PY="${PY:-.venv/bin/python}"
DEVICE="${DEVICE:-cuda:0}"
WORKERS="${WORKERS:-4}"
THREADS="${THREADS:-2}"
export OMP_NUM_THREADS=$THREADS MKL_NUM_THREADS=$THREADS OPENBLAS_NUM_THREADS=$THREADS NUMEXPR_NUM_THREADS=$THREADS \
NUMBA_NUM_THREADS=$THREADS VECLIB_MAXIMUM_THREADS=$THREADS PYTHONHASHSEED=0
stage="$1"; shift
echo "== gp_review $stage $* ($(date -u +%FT%TZ))"
case "$stage" in
a) CUDA_VISIBLE_DEVICES= "$PY" scripts/51_gp_review.py "$@" ;;
e3|e4|e5|e6) "$PY" scripts/52_gp_experiments.py --stage "$stage" --device "$DEVICE" --workers "$WORKERS" "$@" ;;
e2) "$PY" scripts/53_gp_practitioner_tie.py --stage "$1" --device "$DEVICE" --workers "$WORKERS" "${@:2}" ;;
e1) "$PY" scripts/54_gp_anchor_noise.py --stage "$1" --device "$DEVICE" --workers "$WORKERS" "${@:2}" ;;
summary)
CUDA_VISIBLE_DEVICES= "$PY" scripts/52_gp_experiments.py --stage summary
[[ -f scripts/53_gp_practitioner_tie.py ]] && CUDA_VISIBLE_DEVICES= "$PY" scripts/53_gp_practitioner_tie.py --stage summary || true
[[ -f scripts/54_gp_anchor_noise.py ]] && CUDA_VISIBLE_DEVICES= "$PY" scripts/54_gp_anchor_noise.py --stage summary || true ;;
*) echo "unknown stage $stage" >&2; exit 2 ;;
esac
echo "== gp_review $stage done ($(date -u +%FT%TZ))"