diff --git a/AGENTS.md b/AGENTS.md index a5c7f5a..a75f710 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -134,11 +134,17 @@ Read first: `docs/plan.md` (plan, gates, decisions; §6 roadmap, §10 forbidden - **Committed, then referee R4 fixes A + B (10/11/2026; `docs/plan.md` §12 item 43).** Commit `894fbdf` on `main` (not pushed: no credentials for `gitea.vts-ai.space` on this machine; the user must push). Lost exec bits from the sync were restored, not committed. Group B, exploratory, declared and hashed before computing (`docs/research/referee-r4-analyses.md`, `963324c1…`; `scripts/42_referee_r4.py` → `outputs/referee_r4/`; results `docs/research/referee-r4-results.md`): (B1) no sharpening of the posterior-mean network relative to the Oracle at equal budget in 10 cells; blur in 6, including all 5 with power; (B2) the margin rule passes at 0.004–0.10 per cell under permutation, the `better` rule up to 0.36 (sign counting), but all 14 `better` cells have CIs excluding 1; (B3) the truth-free SMC-vs-correlation-tie disagreement does not flag the wavelet-phase failure. Group A: "hash-locked" replaces "pre-registered"; Berkson sharpening is a prediction, not a finding; the comparison is between tie models (no MAP arm); new Sec. 3.3 on the package (true σ_a in `analyst.json`); "9 of 11" removed; benign-direction warp preset stated; App. C review analyses and name–code table; seven new verified references; README titles and "hidden truth" fixed. No verdict, threshold or protocol changed. `main.pdf` builds cleanly (76 pages). M1/M2/M7 experiments not run (stated as limits). After the Berkson-bound passages were reworded, an Opus referee reviewed independently (`docs/research/referee-reports/R5_opus_round1.md`): **major revision**, scores 3/3/3/3/4/4/4; deciding issues: weak deterministic competitors and no same-information point tie, the sharpening prediction failed (not merely undetected) and the Berkson covariance check is uninformative for a posterior mean, λ→0 theory vs λ≈0.37 experiments, field requirements narrower than stated, 8-realization bootstrap; R4 M1–M8: 5 addressed, 2 partly, 1 not (σ_a axis). Wording fixes and a CI analysis then done (plan §12 item 44; `docs/research/referee-r5-ci-results.md`, `scripts/43_referee_r5_ci.py`, declared and hashed first): BCa changes none of 38 conclusions, a t-interval changes 3 (all within 0.005 of 1); against the anchor-only mean the SMC-mean gain is 2–33%. Then (plan §12 item 45, all declared and hashed first): same-information point ties (`scripts/44_point_tie_arm.py`, `outputs/point_tie/`, 17 min on cuda:0): the best saved SMC particle (approximate mode) beats the best deterministic tie in 12/12 cells (0.78–0.95) and posterior averaging adds at most 3%; the anchor-only mode is worse than the best tie at 10 dB, c = 1 (1.15, 1.25); powered independence test (`scripts/45_referee_r5_followups.py`): the Berkson independence is rejected in 10/10 cells (|error| correlates with posterior width, Spearman 0.04–0.73); Wilcoxon and paired-t need 25–50% fewer blind wells than the sign test; benchmark package now has two anchor-uncertainty settings (`R10__sa3.5`, `R10__sa14`): 658 tasks, 1316 hashes (no old hash changed), 46,320 reference runs; `scripts/39_repro_package.py` archives the post-review outputs and has six new verify steps (F1, B3 and the training stages need particles or a GPU and stay outside the clean room). Clean-room rerun on 10/11: 18/18 steps exit 0, no differing file, no read outside the package (`repro/verify_report.md`). `main.pdf` 80 pages, clean. - **Simulated referee review (04/11/2026; `docs/plan.md` §12 item 37, `docs/research/referee-simulation.md`, reports in `docs/research/referee-reports/`).** Three Fable subagents (applied geophysicist; statistician; ML/benchmark) read only the manuscript, `refs.bib`, the figures and the two READMEs, reviewed independently and then cross-reviewed. 3/3 Major revision, none toward reject. Consensus: (C1) the 8–22% H2a gain is already present at c = 0, so it is mostly a tie-quality comparison; the MAP/mode point tie of the same SMC model is missing as a competitor, and only H2b (2–11%) isolates uncertainty; (C2) the paper says "hidden truth" (Sec. 1 C2, Sec. 8) but the package ships `truth/` and `analyst.json` gives the true σ_a = 7.0 (verified in `outputs/bench/package/`); (C3) the *better* rule has no margin (null pass rate about 0.1–0.2), the 100 S1 cells are dependent, S2-H2 passes at 1.020/1.019 against 1.02, "9 of 11" sums dependent verdicts; (C4) H1 is verified only at 7–23 Hz and has no power at σ = 4, 8 ms, while the 1/B bounds and Berkson sharpening live at 60–70 Hz where nothing is measured; (C5) "pre-registered" is self-certified. One real proof slip: "Q has no zero inside the band" in the Cor. 3 proof is false for cos(πfΔ). Editor rulings on the disagreements and a five-item consolidated decision letter (reword / rerun on existing data / new experiment: MAP tie + jitter bank about 1–2 GPU-days, realizations 16–23 about 0.5 GPU-day) are in the simulation doc. All items are outside the locks and must be declared before computing. **Nothing in the paper was changed yet**; the user decides whether to run the new-experiment items before 14/11. - **Replication on new realizations, σ_a test at −5 dB, σ_a = 3.5 ms mechanism, three cheap analyses (exploratory; 11–12/11/2026; `docs/plan.md` §12 item 46).** Declared and hashed in `docs/research/r6-replication.md` (`13b8b943…`, 11/11, before realizations 16–23 were generated; outside every lock; locked code not edited). Scripts 46 (replication, arms, summary), 47 (σ_a = 3.5 ms with fixed drift hyperparameters), 48 (A1–A3); driver `scripts/run_r6.sh` (stages fingerprints, b3, c1, c0, sa, arms, summary); outputs `outputs/replication/`, `outputs/r6/`; logs `logs/r6_*.out`; results `docs/research/r6-results.md`. A server reboot (about 18:05 UTC 11/11 → 02:10 UTC 12/11) killed every tmux session; runs were resumed with the same commands after a file-integrity check and finished 04:35 UTC 12/11. **A1–A3:** a sign test calibrated for within-realization correlation needs more blind wells (nominal size up to 0.40 at ρ = 0.45); the Volve F-11 T2 RMSE moves 0.31–0.51 p.u. across four references against 0.12–0.29 between methods (rankings change); the coverage order of `tab:t4` comes from training length, not labels. **B1 (realizations 16–23):** the SMC-mean gain over the best deterministic tie is 7–19% at c = 1 (8–22% before), zero-drift 0.82–0.90; against the anchor mean 2/2 at 10 dB, 0/2 at 0 dB (1/2 before), 0/2 at −5 dB; the SMC mode beats the best tie in 10/10 cells (0.73–0.96), averaging changes ≤ 2.5% except two-anchor (mean 4–5% worse); Anchor-LS 1.16/1.22; the bank passes 2/3 wide N = 16 cells (meets the declared ≥ 2/3), 4/4 at N = 4, Spearman −0.45; the Gaussian bank is within 2%. Self-check 128/128. **B2 (−5 dB, σ_a 3.5/14 ms):** 0/2 in both arms, so "the gain needs a correct σ_a" holds at 10 and −5 dB. **B3:** the over-trusted anchors are absorbed by a rougher drift prior (refit ℓ 10–15 vs 80–90 ms, σ_g 0.26–0.29 vs 0.10); with fixed hyperparameters σ_post is 0.88/0.67 ms. Deviations: no `--save-preds`; stages split and resumed. Not done: correlated noise, TCN budgets < 125, Gaussian bank on the benchmark axes, replication of Experiment 3 (runner locked to 8–15). Paper updated (Sec. 6.3 and `tab:sigmaa`, abstract/Intro/Conclusions "7–19%", Sec. 3.3, 4.1, `tab:lessons`, Limitations, App. C (iv)–(vi)); `main.pdf` 83 pages, clean. No verdict, threshold or protocol changed. Committed and pushed as `d0d2cd3` (12/11/2026). -- **Condensed *Computers & Geosciences* version (12/11/2026; `docs/plan.md` §12 item 47, `paper_cg/README.md`).** `paper_cg/main.tex` is a self-contained 17-page article in the Elsevier CAS single-column template (`cas-sc`, `review`, line numbers, `cas-model2-names`; bundle v2.4 in `paper_cg/els-cas-templates/`; build with `TEXINPUTS`/`BSTINPUTS` pointing there): same title and abstract (a verbatim copy of `paper/sections/00_abstract.tex`, 269 words; check after any edit), highlights (also `paper_cg/highlights.txt`), three tables, six figures from `paper/figures/`, code and data availability, CRediT, competing interests, funding, a drafted generative-AI declaration and acknowledgements. `paper_cg/supplement.tex` (79 pages) `\input`s Secs. 2–7 and Apps. A–C of `paper/sections/` unchanged, with every number prefixed S; the article refers to it through xr-hyper (`\Sref`). Edit `paper/sections/` and rebuild both, supplement first. Every number in the article appears in `paper/`. Body (Introduction to Conclusions) is 5,099 words counted on the PDF of a caption-free copy with tables, citations and math tokens, against 5,500. Checked on 12/11 against the official guide PDF saved by the user: captions without 'the', American spelling throughout (`paper/sections/` normalized; no number changed; `paper/main.pdf` 83 pages, clean), space thousands separator, a novelty statement in the Introduction, required declarations. `paper_cg/make_submission.sh` builds a flat, gitignored `paper_cg/submission/` (Figure_1–6, CAS files, bbl, supplement) and test-compiles it. R9 is mitigated. Committed and pushed in `05f822b` (16/11/2026). **For C&G, code must be in a public, documented repository (GitHub or equivalent) at submission, or the paper is normally desk-rejected** (the target is now *Geophysical Prospecting*, which has no code gate; a public repository is still advisable for the benchmark and is needed if C&G is used): open-source license, English README with installation and usage, dependencies, reproduction material, tutorials, a user guide, not a single archive, English comments (159 Vietnamese lines remain in 10 tracked code/config files, mostly locked; translate only in the public copy). The Gitea server is not public. Open for the authors: author list and addresses, declarations, funding, confirming the AI statement, DOIs, cover letter, [dataset] markers, pages of four proceedings references, optional graphical abstract. +- **Condensed *Computers & Geosciences* version (12/11/2026; `docs/plan.md` §12 item 47; folder removed from the working tree on 16/11/2026 at the user's request, recoverable from commit `883dccf`, plan §12 item 56).** `paper_cg/main.tex` was a self-contained 17-page article in the Elsevier CAS single-column template (`cas-sc`, `review`, line numbers, `cas-model2-names`; bundle v2.4 in `paper_cg/els-cas-templates/`; build with `TEXINPUTS`/`BSTINPUTS` pointing there): same title and abstract (a verbatim copy of `paper/sections/00_abstract.tex`, 269 words; check after any edit), highlights (also `paper_cg/highlights.txt`), three tables, six figures from `paper/figures/`, code and data availability, CRediT, competing interests, funding, a drafted generative-AI declaration and acknowledgements. `paper_cg/supplement.tex` (79 pages) `\input`s Secs. 2–7 and Apps. A–C of `paper/sections/` unchanged, with every number prefixed S; the article refers to it through xr-hyper (`\Sref`). Edit `paper/sections/` and rebuild both, supplement first. Every number in the article appears in `paper/`. Body (Introduction to Conclusions) is 5,099 words counted on the PDF of a caption-free copy with tables, citations and math tokens, against 5,500. Checked on 12/11 against the official guide PDF saved by the user: captions without 'the', American spelling throughout (`paper/sections/` normalized; no number changed; `paper/main.pdf` 83 pages, clean), space thousands separator, a novelty statement in the Introduction, required declarations. `paper_cg/make_submission.sh` builds a flat, gitignored `paper_cg/submission/` (Figure_1–6, CAS files, bbl, supplement) and test-compiles it. R9 is mitigated. Committed and pushed in `05f822b` (16/11/2026). **For C&G, code must be in a public, documented repository (GitHub or equivalent) at submission, or the paper is normally desk-rejected** (the target is now *Geophysical Prospecting*, which has no code gate; a public repository is still advisable for the benchmark and is needed if C&G is used): open-source license, English README with installation and usage, dependencies, reproduction material, tutorials, a user guide, not a single archive, English comments (159 Vietnamese lines remain in 10 tracked code/config files, mostly locked; translate only in the public copy). The Gitea server is not public. Open for the authors: author list and addresses, declarations, funding, confirming the AI statement, DOIs, cover letter, [dataset] markers, pages of four proceedings references, optional graphical abstract. - **Lecture rewritten (12/11/2026; `docs/plan.md` §12 item 48).** `docs/lecture.md` (Vietnamese) is updated to 12/11: a name↔code table, every term explained with its full English name, plain meaning, example and source; facts corrected per the 04/11 audit (type-II MAP prior, drift ranges, TD models, hash-locked, Berkson sharpening not observed, new title and contributions, 658-task package with public truth); T2, band spectra, λ→0, R4/R5, point ties and the replication added; glossary (App. A), questions (App. B) and references with Crossref-verified DOIs (App. C, † = outside `refs.bib`). No new numbers. Committed and pushed in `05f822b` (16/11/2026). - **Venue survey; submission venue fixed as *Geophysical Prospecting* (13/11/2026; `docs/plan.md` §12 items 49–51, `docs/research/venue-survey.md` §7).** Round 3 (item 51, 13/11) replaces round 2 (item 50, GSE): the user asked to keep only venues with a published paper whose main result is a method failing on real data, still free only. Abstracts of the §2/§6 precedents were reread on OpenAlex and GP, JAG and Mathematical Geosciences were searched again (12 failure phrases, 529 papers since 2015; the same search for C&G, Comput. Geosci., Acta Geophysica and GSE/JPSE could not run because the OpenAlex daily quota ran out). Qualify: GP (Pirogova et al. 2019, every Q-estimation method unreliable on real Otway VSP; a 2022 paper finds the cross-property DEM model unusable on measured data; closest topic Heidari et al. 2023, probabilistic porosity on real data with a misspecified noise model), Mathematical Geosciences (Carvalho et al. 2026, benchmark on public well logs, deep models do not win), C&G (Baddeley et al. 2025, 'unstable' on real data; public repository mandatory). Do not qualify: GSE (no such paper; Male & Duncan 2019 is in JPSE), JAG (failure only a side remark), Acta Geophysica, Comput. Geosci. **Decision: *Geophysical Prospecting* (Original article; free on the subscription route; < 60 days to first decision, 184 days to acceptance by Crossref median); fallback *Mathematical Geosciences* (abstract must be cut from 269 to ≤ 250 words); C&G only with a public repository.** Risks: usually a single major-revision round; the current GP guide could not be read (Wiley 403), so format, abstract limit and keywords must be checked at submission; `paper_cg/` must leave the Elsevier CAS template. Round 2 (item 50, superseded on 13/11) replaced round 1 (item 49, below). The user then asked for free venues only and dropped ESI because its scope excludes manuscripts focused on petroleum engineering; Frontiers (APC) is out too. Of the round-1 venues only C&G and Geophysical Prospecting are free for every author. Two subagents surveyed eight more (JAG, GSE, Petroleum Science, JGE, Mathematical Geosciences, Computational Geosciences, Acta Geophysica, Interpretation); the main session computed Crossref received→accepted medians (Wiley/Springer only: GP 184 d, Acta Geophysica 193, PAGEOPH 194, NRR 173, MG 233, Comput. Geosci. 251) and rechecked the MG, Acta Geophysica and GSE pages and six precedent DOIs. Paid, ruled out: Petroleum Science (APC since 01/01/2026), JGE (APC), Interpretation and Geophysics (page charges for non-members). Acta Geophysica excludes modeling studies without real-data validation. **Decision: *Geoenergy Science and Engineering* (Elsevier, Research article; free on the subscription route); fallback *Computers & Geosciences* if a public repository exists, else *Journal of Applied Geophysics*.** Reasons: shortest acceptance among free venues (135 days, journal page, Wayback capture 25/08/2025; C&G 171, JAG 192), scope names hydrocarbon exploration and AI/ML in the energy industry, no code gate, no word limit, abstract ≤ 500 words, same Elsevier CAS template as `paper_cg/`. Risks: speed data 15 months old; engineering and energy-transition readership (theory-heavy papers may be returned); weaker failure-centred precedents (Luo & Ranazzi 2024, Durga Kannaiah & Maurya 2023, Zhang et al. 2024). To do: GeoRef keywords, rename "Computer code availability" to "Code and data availability", cover letter on reservoir characterization, reread the current guide (latest read 01/2024). Round 1 (item 49, superseded): The user wants the fastest acceptance; ranking does not matter. Four subagents surveyed eight venues (guides for authors, speed, fees, length, code policy, and published papers whose main result is a failed experiment; DOIs checked on Crossref; pages that return 403 read from Wayback captures, no user-agent spoofing). **Decision: *Earth Science Informatics* (Springer, Research article); fallback *Frontiers in Earth Science*.** Reasons: 7-day median to first decision (journal page), about 110 days to acceptance (Crossref median 2025, not official), no fee on the subscription route, SCIE, no length limit, supplement as Online Resource, code sharing encouraged but not a desk-reject gate; 2026 precedents centred on failed validation, one of them petrophysics on Teapot Dome (doi:10.1007/s12145-026-02173-z). Ruled out: C&G (new scope excludes benchmark papers lacking novelty and purely analytical work; public repository mandatory; 171 days), ACAGS and JGR-MLC (mandatory APC; code public at submission or review), Geophysical Prospecting (usually one major revision only), AIG and Geophysics (slow). Risk: the ESI scope clause says manuscripts focused on application domains such as petroleum engineering may fall outside scope; frame the paper as evaluation methodology (label registration error, a benchmark with a scorer, reproducibility, blind-well requirements) and say so in the cover letter. The Springer conversion it called for is no longer needed. No new result numbers. Committed and pushed in `05f822b` (16/11/2026). - **Loss-function ablation planned, then dropped; rationale written instead (13/11/2026; `docs/plan.md` §12 items 52–53).** The user asked for experimental evidence for the Gaussian NLL choice; `docs/research/loss-ablation-plan.md` (Vietnamese) has a survey of 13 losses, a 52-arm design and an execution prompt. The user then decided: state the reason, do not run the ablation (never declared, never run; the plan stays as a record). `paper/sections/04_method.tex` now has a paragraph "Why a Gaussian likelihood" (four reasons from Lemma S=1, the shift/soft-DTW lemmas, the bank proposition and the predicted σ; cost: Gaussian, unbounded residual model), and Sec. 7 Limitations has a "Loss family" bullet (other losses untested; the bank-mean MSE arm changed the label too). New reference `nix1994meanvariance` (Crossref-verified). No new numbers. `paper/main.pdf` 84 pages, `paper_cg/supplement.pdf` 80, `paper_cg/main.pdf` 17 (unchanged); clean builds. Committed and pushed in `05f822b` (16/11/2026). - **Bank-size ablation (exploratory; 16/11/2026; `docs/plan.md` §12 item 54; done).** Declared and hashed in `docs/research/bank-size.md` (`1a192127…`, 02:42:51 UTC) before computing; no deviation. `scripts/49_bank_size.py` (outside every lock and the repro archives) → `outputs/bank_size/`; results `docs/research/bank-size-results.md`. The 11 T2 cells at N = 16 (realizations 8–15, 5 seeds, 250 iterations), nested banks from the same 1024 particles with the same λ = 1/τ_c: `Bank-S16` ⊂ `M2-Sa` (S = 64) ⊂ `Bank-S256` ⊂ `Bank-S1024`, plus `B3d-Sa`. Run in tmux on cuda:0, 02:45–03:48 UTC, exit 0; 7,040/7,040 rows reproduced exactly. Declared readings over the 8 wide cells: S256/S64 "no gain" (CI below 1 in 3/8, above in 0; 0.961–1.005); S1024/S64 "mixed" (below 1 in 4/8, above in 0; 0.936–0.998); S16/S64 "no gain from the smaller bank" (above 1 in 3/8). So "S = 64 did not cost the reported results" cannot be claimed: S = 64 may have slightly understated the bank gain (up to about 2% band RMSE at c = 1, 6.4% in the two-anchor c = 2 cell; bank gain over the SMC mean at c = 1 is 1.8–11.0% at S = 64, 2.9–12.7% at S = 1024). S_eff grows in proportion to S (0.11–0.42 of S at c = 1). Paper: one sentence in Sec. 4, an App. C paragraph "Bank size", the Limitations bullet "Tempering and bank size"; nothing in the abstract, highlights or conclusions. `paper/main.pdf` 85 pages, supplement 80, `paper_cg/main.pdf` 17; clean builds. Declaration and script were committed before the results (`05f822b`, pushed by the user); results and paper edits are in the next commit (16/11/2026), not pushed: no Gitea credentials on this machine, the user must push. +- **Humanizer pass and Geophysical Prospecting version (16/11/2026; `docs/plan.md` §12 item 55).** The academic-humanizer skill was applied to `paper/sections/*.tex` (sentences split, connectives and filler cut, one term per referent) under a token guard against HEAD: every number, citation key, ref/label key, math segment, table body and figure target unchanged in all 12 files; forbidden patterns did not rise; claim scope, hash-locked wording and the 09/11 abstract content kept. The abstract (272 whitespace tokens, 271 before; its longest sentence split after a Humalingo screenshot) is identical in `paper/`, `paper_cg/` and `paper_gp/`. A ZeroGPT score shown by the user was not used as a target; the AI statement is the route for disclosure. GP style survey: `docs/research/gp-style-survey.md` (guide of 19/07/2022 read from the Wayback copy of 10/12/2025; live pages 403). **New `paper_gp/`** (derived from the humanized `paper_cg/main.tex`): article class, double spacing, line numbers, `endfloat` (tables then figures), `natbib`+`plainnat`; title page with running title and 7 GP keywords; Acknowledgments with funding todo and an EAGE-form AI statement for the authors to confirm; abstract; Data Availability Statement (DOIs todo); Related work folded into a prose Introduction without results; F3 audit numbers moved to Data; a separate "Field cases and blind-well requirements" section; abbreviations spelled out in headings and defined per section and in captions; no highlights, CRediT or competing-interest section. SI references are plain text (Section S6.1, Table S9, ...), checked against `supplement.aux` by `paper_gp/check_si_refs.py` (28/28 OK). No new numbers (guard against the C&G article: only front/back-matter numbers dropped and "64 particles" added in three captions). Builds clean: `paper/main.pdf` 85 pages, `paper_cg/supplement.pdf` 80, `paper_cg/main.pdf` 17, `paper_gp/supplement.pdf` 80, `paper_gp/main.pdf` 27. Not committed. +- **`paper_cg/` removed; offline overlap check (16/11/2026; `docs/plan.md` §12 item 56).** The user deleted `paper_cg/` from the working tree and chose not to restore it ("không khôi phục"); its humanized `main.tex` and README edits were never committed; the committed version is in `883dccf`. `paper_gp/` is the only condensed version; C&G would need it rebuilt. After a Humalingo screenshot (91% "AI", 97% "plagiarism", 222 words, 16 sources; the paper is unpublished and the repository private, so no public source can hold it), the abstract's 41-word sentence was split (272 tokens; identical in `paper/` and `paper_gp/`; guard PASS); online detectors are not used as targets, and the user was advised not to paste unpublished text into free tools. `scripts/50_ref_overlap.py` (outside every lock) compares the prose of `paper/sections/*.tex` and `paper_gp/main.tex` with the 25 distinct texts in `refs/` by word n-grams, offline → `outputs/ref_overlap/`: 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"); a planted 15-word quotation is found (8/8 8-grams). Not covered: the 7 PDFs downloaded by hand on 02/11 (not on this machine) and paraphrase; iThenticate (journal, or institutional with "do not store") stays the formal check. `paper/main.pdf` 85 pages, `paper_gp/main.pdf` 27, clean. Not committed. +- **`paper_gp/` rewritten after the live GP guide (16/11/2026; `docs/plan.md` §12 item 57).** The user saved the Wiley author guide as `paper_gp/Geophysical Prospecting.pdf` (publisher page; not in git). `paper_gp/main.tex` now follows its order: title page (title, running title, authors, affiliations, corresponding author, keywords), Acknowledgments (funding todo, a detailed AI statement for the authors to confirm), Abstract and keywords, Data Availability Statement, main text, References, Tables, Figure legends, Appendix A, Figures (one per page; no `endfloat`, no floats). New **Appendix A** copies the core statements and proofs of `paper/sections/A_proofs.tex` (Propositions A1–A5, Corollaries A1–A2; no new mathematics), because the guide treats Supporting Information as non-essential; band bounds, coverage and loss lemmas stay in Appendix SA. Basic LaTeX (macros expanded), all equations numbered, no results in the Introduction, abbreviations defined per section, numbers below 10 in words, a three-paragraph Conclusions with two directions, self-contained legends, no trade names. `paper_gp/gpnat.bst` (plainnat + a `prefix` field) prints "[dataset]" before the F3, Volve and Teapot entries (`prefix` added in `paper/refs.bib`; ignored by plainnat in `paper/`). Checks: abstract identical to `paper/`; `check_si_refs.py` 24/24 OK; number guard against the previous version: none dropped, only "2026" and an appendix exponent added; no verdict, threshold or protocol changed. `paper_gp/main.pdf` 37 pages, `paper/main.pdf` 85, clean builds. Not committed. +- **Simulated GP referees (16/11/2026; `docs/plan.md` §12 item 58).** Two Fable referees (GP-A well ties/QI; GP-B statistics/UQ/benchmarks) reviewed `paper_gp/` independently, then cross-reviewed. They could read only the manuscript, SI, `paper/sections/`, `refs.bib`, figures, the benchmark/repro READMEs and the author guide; not `docs/` (earlier reports), `AGENTS.md`, `outputs/`, `scripts/` or git (`AGENTS.md` may still have been auto-loaded into their context). Red TODOs were ignored. Reusable prompt: `docs/research/gp-referee/PROMPT.md`; reports `GP-{A,B}_round{1,2}.md`; synthesis `summary.md`. Both: **major revision** in both rounds, scores 4/3/3/3/3/2/4, no proof errors, novelty stands. Shared must-fix list: self-contained article (headline evidence is in the SI); headline against the best point tie of any kind (2–22%); the independent 7 ms anchor-noise model is an assumption contradicted by the F3/Teapot evidence, and the true σ_a is never varied; one practitioner-grade or anchor-smoothing tie; link the theory to the compared ties (one-shift-per-well blur arm; l. 190–191 "<7%" vs about 51% in Table S7); blind-well requirements with an estimand and attainability of 1 ms; conservative intervals, an equal-budget Table 2, locked/exploratory rows marked; scorer, READMEs and Data Availability aligned. Verified small errors: `white2003goodpractice` reads "Rachel E." (Crossref R.E.; Roy E. White); the AI statement's "every citation against its source" overstates; the Fig. 5 colour bar and legend disagree. Nothing in the paper changed yet; the user decides. Not committed. +- **Third GP referee and revision plan (16/11/2026; `docs/plan.md` §12 item 59).** The user pasted a report from an external model ("6.1 sol"; GP-C, main PDF and guide only, no SI, no cross-review): **major revision, 7/10**. Its two priorities: align theorem, loss and metric (Proposition A4(a) is about the posterior mean of labels E[y|D], while "SMC mean" uses labels at the posterior-mean warp — verified; fourth order only at λ → 0; Eq. A11 pools MSE while Fig. 4b averages per-well RMSE) and an optimized point tie of the same SMC target; also cite Di & Abubakar 2023 (in `refs.bib`, not cited). Report `docs/research/gp-referee/GP-C_round1.md`. Consolidated review of GP-A/B/C and a six-phase plan in `docs/research/gp-referee/review-and-revision-plan.md`: Q1–Q12 quick fixes, W1–W10 rewording/restructuring, A1–A9 analyses on existing outputs, E1–E5 new experiments (proposed: E1 true σ_a 1–7 ms plus per-well bulk anchor error, E2 practitioner-grade tie tuned on dev, E4 same-target optimizer, E5 posterior-mean-of-labels with NLL; E3 one-shift blur arm if A3 is not enough), R1–R4 release, then guards and a new referee round. Verified: 6.9 ms is the scaled MAD (raw MAD 4.65 ms, SD 16.5 ms over 18 pairs), so the paper must say "scaled MAD", and GP-A's "≈ 10 ms Gaussian" is wrong; most of GP-C's label/bank comparison already exists in `outputs/lambda_limit/`; warp RMSE in ms, power grids and per-seed predictions already exist. `PROMPT.md` had disappeared from disk and was restored from the transcript. Nothing in the paper changed; the user chooses experiments and approves phase 0. Not committed. +- **Thực hiện kế hoạch sửa GP (17/11/2026; `docs/plan.md` §12 item 60).** E1, E2, E4, E5, E6 và A1–A9 xong (E3 không cần; khai báo và băm trước; kết quả `docs/research/gp-review-results.md`): 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 theo giếng (E1). Bài `paper/` và `paper_gp/` đã sửa (abstract 285 từ, ρ* là giới hạn quần thể, bảng mới); đã làm thêm: README scorer v1.1, bib nộp không annote, response letter; chưa làm: W1 trọn vẹn, W8, archive/verify cho `outputs/gp_review/`, vòng referee mới, cover letter. Đã commit 17/11/2026. ## Next @@ -157,7 +163,7 @@ No date deadline since 11/11/2026 (`docs/plan.md` §12 item 46); §6.1 is now on package: done 02/11/2026** (plan §12 item 32) except the deposit of `outputs/repro/*.tar.gz` (user's account and licence decisions). 6. **Next: review and submission (no date deadline):** the replication, the −5 dB σ_a test and the σ_a = 3.5 ms mechanism are done (plan §12 item 46); the remaining limits are listed there; internal review (hallucination audit done 04/11, plan §12 item 36; simulated three-referee review done 04/11, plan §12 item 37, with a five-item decision letter in `docs/research/referee-simulation.md` awaiting the user's choice on the new-experiment items), figures, final proofread of the proof appendix (reviewed 02/11), final novelty scan (Sec. 2 todoblock; preliminary scan done 02/11, plan §12 item 31), quartile check, preprint, then submit to - *Geophysical Prospecting* (free venues with a real-data-failure precedent only; fixed on 13/11/2026, plan §12 item 51; fallback *Mathematical Geosciences*; *Computers & Geosciences* only with a public repository): read the current GP author guidelines, move the condensed version in `paper_cg/` from the Elsevier CAS template to the GP format (drop Elsevier-only items such as highlights if not required), write a Data Availability Statement and a cover letter (theory and benchmark of well-tie error in seismic porosity prediction, two failed field cases, requirements for blind-well tests), and submit the supplement as supporting information. The authors must fill the author list and declarations. + *Geophysical Prospecting* (submission version `paper_gp/` since 16/11/2026; plan §12 item 55) (free venues with a real-data-failure precedent only; fixed on 13/11/2026, plan §12 item 51; fallback *Mathematical Geosciences*; *Computers & Geosciences* only with a public repository): the GP format, Data Availability Statement and Supporting Information are done in `paper_gp/` (16/11/2026; plan §12 item 55; rewritten after the live guide the same day, plan §12 item 57); simulated GP referees (16/11, plan §12 items 58–59; two Fable and one external model): all major revision; consolidated review and six-phase revision plan in `docs/research/gp-referee/review-and-revision-plan.md` awaiting the user's choice of experiments (E1–E5) and approval of phase 0; still to write: the cover letter (theory and benchmark of well-tie error in seismic porosity prediction, two failed field cases, requirements for blind-well tests). The authors must fill the author list and declarations. 7. **Loss-function ablation: dropped by the user on 13/11/2026** (plan §12 item 53); the paper states the rationale instead. Do not run it unless the user asks again. ## Conventions diff --git a/README.md b/README.md index 073e6ab..cce30cc 100644 --- a/README.md +++ b/README.md @@ -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/ 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_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_cg && ./make_submission.sh) # thư mục nộp phẳng paper_cg/submission/ (Figure_1–6, file CAS, highlights.txt), tự build thử +(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 +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" # (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ở. @@ -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/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/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.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/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`. | diff --git a/benchmark/MANIFEST.json b/benchmark/MANIFEST.json index a250889..b5ad8b4 100644 --- a/benchmark/MANIFEST.json +++ b/benchmark/MANIFEST.json @@ -30,6 +30,7 @@ 15 ] }, + "scorer_version": "1.1", "n_tasks": 658, "files": { "tasks/dev/R0/r900_c0.5.npz": "40624bd49fc30748affb193a65ef5efd21727ca3add869f072f2e80dfba3afbb", diff --git a/benchmark/README.md b/benchmark/README.md index 7387d23..be7245e 100644 --- a/benchmark/README.md +++ b/benchmark/README.md @@ -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`. +### 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 ``` diff --git a/docs/plan.md b/docs/plan.md index 3b81887..0a3101d 100644 --- a/docs/plan.md +++ b/docs/plan.md @@ -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. | | **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ỏ. | -| **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) | | **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) | -| **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) @@ -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). 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. +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. diff --git a/docs/research/gp-referee/GP-A_round1.md b/docs/research/gp-referee/GP-A_round1.md new file mode 100644 index 0000000..c2ee6a0 --- /dev/null +++ b/docs/research/gp-referee/GP-A_round1.md @@ -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. diff --git a/docs/research/gp-referee/GP-A_round2.md b/docs/research/gp-referee/GP-A_round2.md new file mode 100644 index 0000000..a67793b --- /dev/null +++ b/docs/research/gp-referee/GP-A_round2.md @@ -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. diff --git a/docs/research/gp-referee/GP-B_round1.md b/docs/research/gp-referee/GP-B_round1.md new file mode 100644 index 0000000..5bb9548 --- /dev/null +++ b/docs/research/gp-referee/GP-B_round1.md @@ -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. diff --git a/docs/research/gp-referee/GP-B_round2.md b/docs/research/gp-referee/GP-B_round2.md new file mode 100644 index 0000000..ce41566 --- /dev/null +++ b/docs/research/gp-referee/GP-B_round2.md @@ -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. diff --git a/docs/research/gp-referee/GP-C_round1.md b/docs/research/gp-referee/GP-C_round1.md new file mode 100644 index 0000000..c6e775f --- /dev/null +++ b/docs/research/gp-referee/GP-C_round1.md @@ -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. diff --git a/docs/research/gp-referee/PROMPT.md b/docs/research/gp-referee/PROMPT.md new file mode 100644 index 0000000..67ea972 --- /dev/null +++ b/docs/research/gp-referee/PROMPT.md @@ -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. diff --git a/docs/research/gp-referee/response-letter.md b/docs/research/gp-referee/response-letter.md new file mode 100644 index 0000000..7fc9bf5 --- /dev/null +++ b/docs/research/gp-referee/response-letter.md @@ -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. diff --git a/docs/research/gp-referee/review-and-revision-plan.md b/docs/research/gp-referee/review-and-revision-plan.md new file mode 100644 index 0000000..e6e0f68 --- /dev/null +++ b/docs/research/gp-referee/review-and-revision-plan.md @@ -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. diff --git a/docs/research/gp-referee/summary.md b/docs/research/gp-referee/summary.md new file mode 100644 index 0000000..1be5ec4 --- /dev/null +++ b/docs/research/gp-referee/summary.md @@ -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). diff --git a/docs/research/gp-review-analyses.md b/docs/research/gp-review-analyses.md new file mode 100644 index 0000000..15715ac --- /dev/null +++ b/docs/research/gp-review-analyses.md @@ -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. diff --git a/docs/research/gp-review-analyses.sha256 b/docs/research/gp-review-analyses.sha256 new file mode 100644 index 0000000..7b0391e --- /dev/null +++ b/docs/research/gp-review-analyses.sha256 @@ -0,0 +1 @@ +ac04abe0efb09986a268d72c47ad6ac996041c542541edca322bbba8f0517477 docs/research/gp-review-analyses.md diff --git a/docs/research/gp-review-experiments.md b/docs/research/gp-review-experiments.md new file mode 100644 index 0000000..cb3e860 --- /dev/null +++ b/docs/research/gp-review-experiments.md @@ -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. diff --git a/docs/research/gp-review-experiments.sha256 b/docs/research/gp-review-experiments.sha256 new file mode 100644 index 0000000..1ad8a1a --- /dev/null +++ b/docs/research/gp-review-experiments.sha256 @@ -0,0 +1 @@ +17509191bcee281e82e1cde1cd8bebd94afdb823f1ed3a8eac1e9f33beadbc28 docs/research/gp-review-experiments.md diff --git a/docs/research/gp-review-results.md b/docs/research/gp-review-results.md new file mode 100644 index 0000000..e158f42 --- /dev/null +++ b/docs/research/gp-review-results.md @@ -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. diff --git a/docs/research/gp-style-survey.md b/docs/research/gp-style-survey.md new file mode 100644 index 0000000..d9c6973 --- /dev/null +++ b/docs/research/gp-style-survey.md @@ -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. diff --git a/docs/research/venue-survey.md b/docs/research/venue-survey.md index 75c72d4..ece17b3 100644 --- a/docs/research/venue-survey.md +++ b/docs/research/venue-survey.md @@ -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. 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. + +**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). diff --git a/paper/README.md b/paper/README.md index b2b2bd9..8eb0361 100644 --- a/paper/README.md +++ b/paper/README.md @@ -6,15 +6,19 @@ Build (no latexmk on the server): 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 -material that `\input`s these sections unchanged live in `../paper_cg/` (see its README). Edit -the sections here; then rebuild both. On 13/11/2026 the submission venue changed to *Geophysical +The *Geophysical Prospecting* article and its Supporting Information, which `\input`s these sections +unchanged, live in `../paper_gp/` (see its README). Edit the sections here; then rebuild both. The +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 *Mathematical Geosciences*; *Computers & Geosciences* only with a public repository; `../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 -template to the GP format, and the GP guide must be reread for the abstract limit (the abstract, -shared with `sections/00_abstract.tex`, has 269 words; *Mathematical Geosciences* allows ≤ 250). +dropped). The GP version was made on 16/11/2026 in `../paper_gp/` (article class, its own +supplement that `\input`s these sections; see its README). Its Appendix A copies the core +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. 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, 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. diff --git a/paper/figures/bench_s1.pdf b/paper/figures/bench_s1.pdf index 05d1e87..bc8de68 100644 Binary files a/paper/figures/bench_s1.pdf and b/paper/figures/bench_s1.pdf differ diff --git a/paper/refs.bib b/paper/refs.bib index dec897f..57423fd 100644 --- a/paper/refs.bib +++ b/paper/refs.bib @@ -88,7 +88,7 @@ pages = {698--712}, doi = {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, @@ -607,6 +607,7 @@ } @misc{bader2017teapot, + prefix = {[dataset]}, author = {Bader, Sean}, title = {{Teapot Dome Well Tie}}, howpublished = {Texas Data Repository, dataset}, @@ -635,7 +636,7 @@ pages = {226--236}, doi = {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). @@ -681,6 +682,7 @@ % ---- 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}, @@ -691,6 +693,7 @@ } @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}, @@ -769,7 +772,7 @@ } @article{white2003goodpractice, - author = {White, Rachel E. and Simm, Rob}, + author = {White, R. E. and Simm, Rob}, title = {Tutorial: good practice in well ties}, journal = {First Break}, volume = {21}, diff --git a/paper/sections/00_abstract.tex b/paper/sections/00_abstract.tex index 2f6a0b0..dba8f50 100644 --- a/paper/sections/00_abstract.tex +++ b/paper/sections/00_abstract.tex @@ -1,5 +1,5 @@ \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} \noindent\textbf{Keywords:} well tie; tie uncertainty; registration error; errors-in-variables; seismic porosity prediction; synthetic benchmark; blind-well validation; statistical power diff --git a/paper/sections/01_introduction.tex b/paper/sections/01_introduction.tex index 59d8d96..83f2c43 100644 --- a/paper/sections/01_introduction.tex +++ b/paper/sections/01_introduction.tex @@ -1,20 +1,20 @@ \section{Introduction} \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 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} - \item \textbf{A theory of tie error in training labels.} When timing errors are independent of the data, the predictor that minimizes the mean squared error (MSE) is the correctly registered predictor convolved with the error distribution, so the seismic band is attenuated (Proposition~\ref{prop:blur}). A controlled experiment matches this attenuation to within 1\% for errors of 4--16\,ms, in the band where the predictor has coherent power. The error of an estimated tie can instead have the Berkson structure, which is predicted to sharpen the predictor (Proposition~\ref{prop:tie}); where this could be tested on the benchmark, the trained network was blurred instead (Section~\ref{sec:exp:mech}). Without time anchors, a shared network and its label alignment can drift together without changing the loss (Proposition~\ref{prop:ident}), so losses that learn the alignment from the network's own predictions, such as soft-DTW \citep{cuturi2017softdtw}, cannot fix absolute timing. Training on a calibrated bank of posterior labels has the population optimum of training on true labels, but, for zero-mean errors, its population gain over the posterior-mean label is only of fourth order in the tie error (Proposition~\ref{prop:bank}). We also relate the coverage of predictive intervals to the error structure (Proposition~\ref{prop:coverage}). - \item \textbf{A controlled test of training on a tie posterior.} Where the true timing is known, we compare deterministic ties, the mean of a tie posterior, banks of posterior samples and anchor-free alignment losses. To place them on one footing, we write every training objective as a special case of one tempered log-likelihood over a bank of labels, registration-marginalized learning (RML$_\lambda$), which contains point-tie training, hard-min and soft-min shift losses and soft-DTW (Lemmas~\ref{lem:s1}--\ref{lem:sdtw}). RML is a device for this comparison, not a proposed method expected to win. The test separates registration from uncertainty: a posterior helped only once it was more accurate than the best deterministic tie, its mean then gave the main gain, and training on its samples added a smaller gain when it was wide. + \item \textbf{A 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$). 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{Requirements for a field test.} We give the bias of scoring blind wells against a misregistered reference (Proposition~\ref{prop:reference}), derive how accurately that reference must be tied (Corollary~\ref{cor:tolerance}), and estimate how many blind wells a comparison of tie methods needs (Section~\ref{sec:exp:detect}). Two field cases, F3 and Volve, show what a test that misses these requirements can and cannot show. We also audit the public F3 well data: the porosity labels at three of the four wells are a linear function of the sonic log, and the time--depth markers are horizon-tie picks, not check shots. \end{enumerate} -The benchmark results assume a correctly specified tie model and dense anchors of known uncertainty. Under these conditions, labels at the mean of a sequential Monte Carlo (SMC) tie posterior reduced seismic-band root-mean-square error (RMSE) by 8--22\% relative to the best deterministic tie at F3-like drift, 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}). diff --git a/paper/sections/02_related.tex b/paper/sections/02_related.tex index db39a6e..c8d9f4c 100644 --- a/paper/sections/02_related.tex +++ b/paper/sections/02_related.tex @@ -1,23 +1,23 @@ \section{Related work} \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.} -\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. \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. -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.} Soft-DTW \citep{cuturi2017softdtw} and DILATE \citep{leguen2019dilate} replace the pointwise loss with a smoothed minimum over monotone alignments, and shift-tolerant losses take the minimum over a set of bulk lags. Apart from DILATE's penalty on departure from the label time axis, these losses have no prior over warps. Proposition~\ref{prop:ident} shows that, without anchors, the absolute timing they learn is not identified. Learned alignment has also been applied to seismic inputs: \citet{huff2024anglestack} train a CNN on synthetic angle stacks moveout-corrected with true and perturbed velocities and use it to align field angle stacks. There the misaligned quantities are the inputs, and the synthetic targets are aligned by construction. \paragraph{Error models for labels mostly concern values, not positions.} -Measurement-error models distinguish classical error, independent of the true value, from Berkson error, independent of the assigned value \citep{berkson1950two,fuller1987measurement,carroll2006measurement}. In linear regression, classical error in a covariate attenuates the fitted slope, while Berkson error leaves it unbiased and adds variance. Work on noisy labels in machine learning mostly treats corrupted class labels \citep{frenay2014label,song2023noisy}, 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}). @@ -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. \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] \centering diff --git a/paper/sections/03_data.tex b/paper/sections/03_data.tex index 6bf96cb..47d7c65 100644 --- a/paper/sections/03_data.tex +++ b/paper/sections/03_data.tex @@ -1,12 +1,12 @@ \section{Data and audit} \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} \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}). @@ -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. \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] \centering @@ -44,21 +44,21 @@ The ``check-shot'' tables are these markers, with the same depths and times. The \end{figure} \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. \subsection{Synthetic benchmark} \label{sec:data:d2} -The synthetic benchmark makes the true registration known while keeping the F3 statistics. Five F3 horizons (Shallow, FS8, FS7, Truncation, MFS4) define the stratigraphic frame. Porosity is a trend ($\phi_0 = 0.32$, slope $-0.008$ per 100\,ms) plus unit offsets and a sum of two Ornstein--Uhlenbeck fields in stratigraphic coordinates (standard deviations 0.010 and 0.006, correlation lengths 10 and 2\,ms), clipped to $[0.05, 0.45]$. The F3 rock physics maps porosity to DT, RHOB and impedance. Seismic is the reflectivity convolved with a 128\,ms zero-phase statistical wavelet estimated from F3, plus noise at a prescribed signal-to-noise ratio (SNR). The SNR is a power ratio computed on the clean central trace of the input patch over the extended window; the 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$. \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} \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. @@ -69,7 +69,7 @@ The model error measures the size of a seismic misspecification. It is the RMS r \subsection{Released benchmark package} \label{sec:data:package} -The package turns the synthetic benchmark into tasks on which other tie methods can be run and scored (contribution~3). It contains 658 tasks, 47 per realization: the five observation settings at five drift factors, 14 misspecification settings, six two-mode settings and two anchor-uncertainty settings, on the test realizations 8--15 and the development realizations 900--905 (Table~\ref{tab:package}). A method receives what an analyst would have: seismic patches at every well, and logs and noisy anchors at the training wells. It also receives the analyst's nominal model, which in the misspecification settings still describes the nominal simulator. This file states the true anchor uncertainty, $\sigma_a = 7$\,ms, in all tasks except the two anchor-uncertainty settings, which have the data of the 10\,dB, $c = 1$ setting and a task file that states $\sigma_a = 3.5$ or 14\,ms, as in Experiment~2, where a wrong value removed the advantage (Section~\ref{sec:exp:p2r}). The reference results of these two settings are those of Experiment~2 for realizations 8--15; the 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] \centering diff --git a/paper/sections/04_method.tex b/paper/sections/04_method.tex index f130f59..a978d5e 100644 --- a/paper/sections/04_method.tex +++ b/paper/sections/04_method.tex @@ -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' . \label{eq:warp} \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} \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$. \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. @@ -57,7 +57,7 @@ The network outputs a mean $\mu_\theta$ and a standard deviation $\sigma_\theta$ The training loss is the mean of $\RML_\lambda$ over windows and wells. \paragraph{The tempering $\lambda$ accounts for correlated residuals.} -With $\lambda = 1$, differences between bank members are $O(n)$ and the log-sum-exp puts almost all weight on one member. Residuals are also autocorrelated, so a window holds less information than $n$ independent observations. If two members differ by $\Delta_\ell = \sum_i d_i$, and $d_i$ is a product of two zero-mean Gaussian processes with common autocorrelation $r_{\mathrm{ac}}$, then $\Var\Delta_\ell \approx n \Var(d)\,\tau_c$ with $\tau_c = 1 + 2\sum_{k\ge1}r_{\mathrm{ac}}(k)^2$. Setting $\lambda = 1/\tau_c$ gives $\lambda\Delta_\ell$ the variance of a log-likelihood difference over $n/\tau_c$ independent observations, the simplest magnitude adjustment of a composite likelihood \citep{pauli2011composite,ribatet2012composite}. Residuals are not available before training, so we estimate $r_{\mathrm{ac}}$ from the pooled autocorrelation of the high-passed training labels, truncated at the first non-positive lag. This gives $\tau_c \approx 2.7$--$2.9$ samples and $\lambda \approx 0.36$--$0.37$, nearly constant across the grid. The choice is a heuristic fixed before the experiments, and we make no claim about it. 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.} 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$. \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} \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. -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} \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] \centering @@ -163,4 +163,4 @@ Calibrated-sonic ensemble & the five-seed ensemble of the calibrated sonic, the \subsection{Metrics} \label{sec:method:metrics} -Accuracy is reported in porosity units (p.u., porosity $\times 100$). We split every trace into a low band ($|f| < f_c$) and a seismic band ($|f| \ge f_c$, $f_c = 6$\,Hz), using a fourth-order Butterworth filter applied forward and backward (zero phase). On F3, energy below 5\,Hz is 0.2--0.5\% of the total. The primary metrics are the root-mean-square error (RMSE) and the Pearson correlation coefficient (PCC) in the seismic band (band RMSE, band PCC), because registration errors act there while the low band is dominated by the trend. We also report total RMSE and PCC and the band standard-deviation ratio. Calibration is described by the coverage of central intervals at 50, 80, 90 and 95\%, the calibration error (mean absolute deviation of coverage from nominal over these levels), the Gaussian negative log-likelihood and the continuous ranked probability score (CRPS) \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. diff --git a/paper/sections/05_theory.tex b/paper/sections/05_theory.tex index 07e4fad..4e2ea42 100644 --- a/paper/sections/05_theory.tex +++ b/paper/sections/05_theory.tex @@ -1,7 +1,7 @@ \section{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] \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:ident} & Without anchors, a network and its alignment can drift together & model closed under shifts & registration without anchors: warp error about ten times larger (tests the prior, not a network) \\ Prop.~\ref{prop:tie} & Classical tie error blurs the predictor; Berkson error sharpens it & error structure & exploratory: Berkson structure of the bulk offset at $c = 1$; no sharpening detected \\ -Prop.~\ref{prop:bank} & A calibrated bank has the oracle's optimum; its gain over one label is of fourth order & calibrated bank, $\lambda \to 0$ & measured gains compared with the bound (Section~\ref{sec:exp:p2r}) \\ +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 \\ 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 \\ @@ -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} \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*} 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*} 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. @@ -98,15 +98,15 @@ $\sigma$ (ms) & $r(\sigma)$ & 95\% CI & frequencies & band RMSE & band PCC & ban \subsection{Without anchors, absolute timing is not identified} \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*} \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*} -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. -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} \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} 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.} -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.} -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 \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} -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.} -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} \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} \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. diff --git a/paper/sections/06_experiments.tex b/paper/sections/06_experiments.tex index 927830a..45711cd 100644 --- a/paper/sections/06_experiments.tex +++ b/paper/sections/06_experiments.tex @@ -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). -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} \label{sec:exp:p2} \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.} 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} \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} \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. \begin{itemize} \item \textbf{Posterior-mean claim.} Do labels at the SMC mean warp beat the best deterministic tie (calibrated sonic, correlation tie, phase-estimated correlation; the last borrows the wavelet phase estimated by SMC)? This is decided for each full-anchor setting: a setting passes if both cells at $c = 1$ pass and the zero-drift guard holds. A secondary comparison adds the anchor mean to the competitors. - \item \textbf{Bank claim.} Does the \mRML{} beat the \mPM{} when the posterior is wide ($\sigpost \ge 1.5$\,ms, a \emph{wide} cell)? At $N = 16$ the protocol requires three things: the \mRML{} is better than the \mPM{}, in at least two thirds of wide cells; the Spearman correlation between $\sigpost$ and the ratio \mRML{}/\mPM{} over all cells is negative; and the mean ratio over narrow cells is at most 1.02. + \item \textbf{Bank claim.} Does the \mRML{} beat the \mPM{} when the posterior is wide ($\sigpost \ge 1.5$\,ms, a \emph{wide} cell)? At $N = 16$ the protocol requires three things: the \mRML{} is better than the \mPM{} in at least two thirds of wide cells; the Spearman correlation between $\sigpost$ and the ratio \mRML{}/\mPM{} over all cells is negative; and the mean ratio over narrow cells is at most 1.02. \item \textbf{Anchor-uncertainty test.} The posterior-mean claim is repeated at 10\,dB, $c = 1$ with every method registered using $\sigma_a = 3.5$ or 14\,ms, while the data are generated with 7\,ms. \end{itemize} -Cells at $c = 2$ are reported with an ``unstable posterior'' flag and are not primary evidence for the posterior-mean claim (Section~\ref{sec:method:posterior}); the 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.} -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] \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{table} -\paragraph{The gain requires a correct anchor uncertainty.} -With misspecified anchor uncertainty, no cell passed (Table~\ref{tab:sigmaa}). Over-trusting the anchors ($\sigma_a = 3.5$\,ms) made the \mPM{} 14\% \emph{worse} than the best deterministic tie at $N = 16$. Under-trusting them (14\,ms) left a 7\% gain at $N = 16$ that did not pass. The cause is a miscalibrated posterior in both directions. With 3.5\,ms the warp RMSE was 4.8\,ms against a $\sigpost$ of 2.5\,ms (90\% coverage 0.62); with 14\,ms it was 2.8\,ms against 0.9\,ms (coverage 0.52); with the correct 7\,ms it was 0.63\,ms (coverage 0.89). 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. +\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. 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] \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} \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] \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} \small \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] \centering \includegraphics[width=\linewidth]{p2r_h2b.pdf} -\caption{Bank claim. (a) Band RMSE of the \mRML{} divided by that of the \mPM{} against the posterior width $\sigpost$, for every setting $\times$ $c$ $\times$ $N$ cell (filled: $N = 16$; open: $N = 4$; marker shape: drift factor $c$). Bars are 95\% bootstrap intervals over realizations. The dashed line is the 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} \end{figure} \paragraph{Whether the bank gain exceeds a population correction depends on the error structure.} -The measured ratio is below the classical bound $\rhoCl$ in 7 of the 8 wide cells (Fig.~\ref{fig:h2b}b); 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.} -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.} 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} \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] \centering @@ -205,19 +205,20 @@ Calibrated-sonic ens.\ & 125 & 1.10 & 1.36 & 0.662 & 0.79 & 0.199 & 0.199 & \end{table} \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)} \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} \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{Training length.} At the Oracle's budget of 500 iterations, the ratio of the Oracle to the \mPM{} at $c = 1$ was 0.949, 0.944 and 0.957 at 0\,dB, half-anchor and $-5$\,dB, against 0.927, 0.919 and 0.933 at the hash-locked budgets. Training length thus accounts for 30--35\% of the hash-locked gap, and it does not explain the remaining 4--6\%. At $c = 0$ the gap nearly vanished (0.985--1.006). - \item \emph{Gaussian bank.} A bank with the posterior's first two moments and no link to the seismic improved on the \mPM{} in 7 of the 8 cells. At $c = 1$ it matched the \mRML{} in three of four cells (ratios to the \mPM{} 0.970 and 0.970, 0.904 and 0.890, 0.984 and 0.982). At $c = 2$ the SMC bank was ahead in three of four cells. + \item \emph{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 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$ 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{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} 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. -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] \centering @@ -249,7 +250,7 @@ Two-mode error & 10 and $-5$\,dB $\times$ $c = 1$ $\times$ $N \in \{4, 16\}$ $\t \begin{table}[!htbp] \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} \small \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 \\ \midrule \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 \\ \multicolumn{3}{l}{\emph{Misspecification (posterior-mean claim at 10\,dB, $c = 1$, mild level)}} \\ \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 \\ \mRML{}/\mPM{} $\le 1.02$ for all 14 presets $\times$ settings & pass & pass \\ \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}} \\ 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 \\ @@ -281,7 +282,7 @@ Two-member bank better than midpoint label at $\Delta \in \{16, 32\}$\,ms, $N = \end{table} \paragraph{The posterior-mean advantage holds in most of the plane of drift and well count.} -At 10\,dB, $c = 1.5$, the \mPM{} reduced band RMSE relative to the best deterministic tie (phase-estimated correlation) by 15\% at $N = 4$ (0.853 [0.805, 0.910], 5/5 seeds, 7/8 realizations) and by 20\% at $N = 16$ (0.796 [0.762, 0.826], 8/8). Across all 100 cells, 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.} 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} \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.} -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] \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} \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.} -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.} -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.} -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. @@ -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}). \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.} With an exact reference, the \mRML{} won at 81--97\% of the test wells, and its median band RMSE was 0.80--0.92 times that of the competitor (Table~\ref{tab:t3}). At $\sigma_{\mathrm{ref}} = 4$\,ms the win rate was 0.46--0.64 and the median ratio 0.96--1.01. At 8\,ms the win rate was 0.22--0.44 and the median ratio exceeded 1 in every cell: against this reference the deterministic tie scored better, although against the true labels it was worse. In the three cells with $N = 16$, the median ratio crossed 1 between 3.6 and 4.3\,ms. Corollary~\ref{cor:tolerance} places the crossing at or below $\sigma/\sqrt2$ for an unshrunk oracle, where $\sigma$ is the tie error of the point label. The RMS warp error of the phase-estimated correlation tie on the training wells of these cells was 4.2, 5.8 and 7.3\,ms at 10, 0 and $-5$\,dB, so $\sigma/\sqrt2$ is 3.0, 4.1 and 5.1\,ms. The simulated crossings, 3.6, 3.8 and 4.3\,ms by linear interpolation, follow the same order and lie within 1\,ms of these values: below them at 0 and $-5$\,dB, and 0.6\,ms above at 10\,dB, outside the corollary's condition. The assumptions explain why the agreement can only be approximate: shrinkage relaxes the condition, the \mRML{} is not an oracle, the tie errors are not constant Gaussian shifts, and the reference error here includes a stretch. \paragraph{The number of wells needed rises quickly with the reference error.} -With an exact reference, the sign test needs five blind wells at 0\,dB (both $N$) and at 10\,dB with $N = 16$, and 18 and 11 wells at $-5$\,dB with $N = 4$ and 16. At 10\,dB with $N = 4$, the outcomes are strongly correlated within realizations (intra-class correlation 0.45), and no $n_{\mathrm{b}} \le 40$ reaches a pass probability of 0.8. At 1\,ms, four of the six cells need 11--30 wells; at 2\,ms, only 0\,dB stays within 40 (23 and 37 wells); at 3\,ms or more, no cell does. 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.} 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} \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.} 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} - \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{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. diff --git a/paper/sections/07_discussion.tex b/paper/sections/07_discussion.tex index 37d1e06..8f90dc8 100644 --- a/paper/sections/07_discussion.tex +++ b/paper/sections/07_discussion.tex @@ -2,7 +2,7 @@ \label{sec:discussion} \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.} 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} \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.} 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{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{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. \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{Networks with skill in the seismic band at blind wells,} shown before registration is compared. \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.} \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{Band of the benchmark.} In the benchmark, 72\% of the band power of the synthetic labels and 73\% of that of the Oracle predictions at 10\,dB lies below 25\,Hz, so the low-frequency concentration of the predictions is already present in the labels. The F3 $\mathrm{PHIE}_{\mathrm{DT}}$ labels are richer in high frequencies, with 54\% below 25\,Hz (46--68\% across the four wells), and the F3 seismic peaks near 60\,Hz (Table~\ref{tab:bandspectra}; post hoc and descriptive). The measured sensitivities to timing error may therefore understate what a label with more high-frequency content would suffer. We did not test this. - \item \textbf{Dependence between tests.} Experiment~2 was designed after Experiment~1 had failed. 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{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{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{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{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. 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 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; 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. 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{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{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. diff --git a/paper/sections/08_conclusion.tex b/paper/sections/08_conclusion.tex index fbb27d8..dd743d3 100644 --- a/paper/sections/08_conclusion.tex +++ b/paper/sections/08_conclusion.tex @@ -1,19 +1,19 @@ \section{Conclusions} \label{sec:conclusion} -A well tie is an uncertain estimate, yet learning workflows treat it as exact. Treating its error as an error in the time index of the label 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.} 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.} -\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.} \todo{Author contributions.} @@ -22,7 +22,7 @@ The F3 Demo 2023 data are available from dGB Earth Sciences through the TerraNub \todo{Competing interests.} \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.} 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.} diff --git a/paper/sections/A_proofs.tex b/paper/sections/A_proofs.tex index 23f7040..4bcf672 100644 --- a/paper/sections/A_proofs.tex +++ b/paper/sections/A_proofs.tex @@ -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{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$ 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{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, \begin{equation*} @@ -275,4 +277,4 @@ Substituting $\ell_A = -\frac12\langle A,D\rangle_w$, $\pi_A = |\mathcal P|^{-1} \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| . \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$ diff --git a/paper/sections/B_field.tex b/paper/sections/B_field.tex index 449db1c..04c8b17 100644 --- a/paper/sections/B_field.tex +++ b/paper/sections/B_field.tex @@ -7,15 +7,15 @@ This appendix reports the two field tests in full. Section~\ref{sec:exp:scope} s \label{sec:exp:f3} \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.} 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.} -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] \centering @@ -38,7 +38,7 @@ Required & & & $\ge 3/4$ & $[0.75, 0.85]$ & $[0.85, 0.95]$ \\ \end{table} \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] \centering @@ -77,14 +77,14 @@ No band content & 1.224 & -- & -- & -- & -- & -- \\ \end{table} \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.} 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. -(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.). -(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] \centering @@ -108,9 +108,9 @@ PHIE label & 0.992 & 0.911 & 1.025 & 0.943 & 3/4 & 0.45 & 0.50 \\ \end{table} \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.} 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.} \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. -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.} -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.} -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] \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.} 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. @@ -249,9 +249,9 @@ $\sigma_a$ (ms) & \mRML & Phase-est.\ corr. & improved & cov$_{90}$ & \mRML & Ph \end{table} \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} \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). diff --git a/paper/sections/C_record.tex b/paper/sections/C_record.tex index aa49d06..4d6a0f5 100644 --- a/paper/sections/C_record.tex +++ b/paper/sections/C_record.tex @@ -5,13 +5,13 @@ This appendix records when each protocol was locked, how the experiments deviate \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.} -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.} -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} @@ -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}. \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.} 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. \subsection{Secondary results} +\label{app:record:secondary} \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. \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.} -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.} -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.} -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.} -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.} 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.} -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.} -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.} 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} \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.} -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.} -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.} -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.} 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. \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] \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} \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.} -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.} -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. diff --git a/paper_cg/README.md b/paper_cg/README.md deleted file mode 100644 index 333a171..0000000 --- a/paper_cg/README.md +++ /dev/null @@ -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. diff --git a/paper_cg/els-cas-templates/README b/paper_cg/els-cas-templates/README deleted file mode 100644 index ffc9f6d..0000000 --- a/paper_cg/els-cas-templates/README +++ /dev/null @@ -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'. diff --git a/paper_cg/els-cas-templates/cas-common.sty b/paper_cg/els-cas-templates/cas-common.sty deleted file mode 100644 index e3e4154..0000000 --- a/paper_cg/els-cas-templates/cas-common.sty +++ /dev/null @@ -1,2641 +0,0 @@ -%% -%% This is file `cas-common.sty', -%% -%% 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-common.sty 94 2024-05-04 09:27:09Z rishi $ - - \def\RCSfile{cas-common}% - \def\RCSversion{2.4}% - \def\RCSdate{2024/05/04}% -\NeedsTeXFormat{LaTeX2e}[1995/12/01] - -\pretolerance=-1 -\tolerance=1000 -\hyphenpenalty=1000 -\exhyphenpenalty=100 -\brokenpenalty=10000 -\vfuzz=\z@ -\hfuzz=.2pt -\doublehyphendemerits=100 -\emergencystretch=2pt -\frenchspacing -\clubpenalty=10000 -\widowpenalty=10000 - -\ExplSyntaxOn -\makeatletter -% -% Front matter macros -% -% The front matter macros are derived/adopted from stm-prelims.sty -% written by CV Radhakrishnan and copyrighted by him. -% Usage of those macros and methods are gratefully acknowledged. -% - -\tl_set:Nn \l_stm_title_color_tl { black } - -\keys_define:nn { stm / title } - { - mode .choice: , - mode / title .meta:n = - { - type = title , - size = \LARGE , - shape = \upshape , - weight = \mdseries , - color = black , - before = 0pt , - after = 0pt , - align = \raggedright , - } , - mode / alt .meta:n = - { - type = alt , - size = \large , - shape = \upshape , - weight = \mdseries , - color = black , - before = 6pt , - after = 0pt , - align = \raggedright , - } , - mode / sub .meta:n = - { - type = sub , - size = \large , - shape = \upshape , - weight = \mdseries , - color = black!80 , - before = 6pt , - after = 0pt , - align = \raggedright , - } , - mode / trans .meta:n = - { - type = trans , - size = \normalsize , - shape = \upshape , - weight = \mdseries , - color = black!60 , - before = 6pt , - after = 0pt , - align = \raggedright , - } , - mode / transsub .meta:n = - { - type = transsub , - size = \small , - shape = \upshape , - weight = \mdseries , - color = black!50 , - before = 6pt , - after = 0pt , - align = \raggedright , - } , - mode / ascii .meta:n = - { - type = ascii , - size = \small\ttfamily , - shape = \upshape , - weight = \mdseries , - color = black , - before = 12pt , - after = 0pt , - align = \raggedright , - } , - type .tl_set:N = \l_stm_title_type_tl , - size .tl_set:N = \l_stm_title_size_tl , - shape .tl_set:N = \l_stm_title_shape_tl , - weight .tl_set:N = \l_stm_title_weight_tl , - before .dim_set:N = \l_stm_title_before_dim , - after .dim_set:N = \l_stm_title_after_dim , - align .tl_set:N = \l_stm_title_align_tl , - color .tl_set:N = \l_stm_title_color_tl , - } - -\NewDocumentCommand \processTmarks { } - { - \cs_if_free:cTF { mark@title } - { \ignorespaces } - { \tl_set:Nx \l_tmpa_tl { \cs:w mark@title\cs_end: } - \clist_map_inline:cn { mark@title } - { - \str_case:nn { ##1 } - { - { 1 } { $^\star$ } - { 2 } { $^{,\star\star}$ } - { 3 } { $^{,\star\star\star}$ } - } - } - } - } - -\RenewDocumentCommand \title { O{} m } - { - \pdfstringdef \@pdftitle { #2 } - \csgdef { casprelimstitle } { #2 } - \keys_set:nn { stm / title } { #1 } - \seq_gput_right:Nn \g_stm_title_seq - { - \keys_set:nn { stm / title } { #1 } -% \msg_term:n { MODE:~\l_stm_title_mode_tl ~ ~ [#2]} - \par \vskip \l_stm_title_before_dim - \l_stm_title_align_tl - \l_stm_title_size_tl - \l_stm_title_shape_tl - \l_stm_title_weight_tl - \color { \l_stm_title_color_tl } - \noindent \unskip \ignorespaces #2 - \tl_set:Nn \l_tmpa_tl { title } - \tl_if_eq:NNTF \l_stm_title_type_tl \l_tmpa_tl - { \processTmarks } { } - \par \vskip \l_stm_title_after_dim - \normalcolor \normalsize \normalfont - } - } - -% \gappto\usestmtitle{#1}% - -\renewcommand \@title { \seq_use:Nn \g_stm_title_seq { } } - -\NewDocumentCommand \wrAun { m } % unexpanded write to aux - { \iow_now:Nn \@auxout { #1 } } -\NewDocumentCommand \wrAux { m } % expanded write to aux - { \iow_now:Nx \@auxout { #1 } } - -\NewDocumentCommand \wrShipAux { m } % expanded write at shipout - { \iow_shipout:Nx \@auxout { #1 } } -\NewDocumentCommand \wrShipAun { m } % unexpanded write at shipout - { \iow_shipout:Nn \@auxout { #1 } } - -\NewDocumentCommand \stmLabel { m } - { - \@bsphack \wrAux - { \token_to_str:N \NewLabel { #1 } - { \@currentlabel } - } \@esphack - } -\NewDocumentCommand \NewLabel { m m } - { - \cs_if_free:cTF { X@#1: } - { \cs_new:cx { X@#1: } { #2 } } - { \cs_set:cx { X@#1: } { #2 } } - } -\NewDocumentCommand \stmRef { m } - { - \cs_if_free:cTF { X@#1: } - { 0 } {\use:c {X@#1:} } - } - -\seq_clear_new:N \l_fnmk_seq -\NewDocumentCommand \processFnRef { m } - { - \seq_clear:N \l_fnmk_seq - \clist_map_inline:nn { #1 } - { \seq_put_right:Nx \l_fnmk_seq - {\cs_if_free:cTF { X@##1: } {0} { \use:c {X@##1:} }} - } - } - -\NewDocumentCommand \fnmark { O{} } - { \writemarks { fnau\theau@ } { #1 } } - - -\NewDocumentCommand \fnref { m } - { - \processFnRef { #1 } - \wrAux { \token_to_str:N \csxdef {mark@fnau\theau@} - { \seq_use:Nn \l_fnmk_seq { , } } } - } - -\NewDocumentCommand \corref { m } - { - \str_set:Nx \l_tmpa_str { \stmRef { #1 } } - \wrAux { \token_to_str:N \csxdef { mark@corau\theau@ } - { - \cs_if_free:cTF { X@#1: } {0} { \use:c {X@#1:} } - } - } - } - -\NewDocumentCommand \cormark { O{} } - { - \@cormarktrue - \writemarks {corau\theau@} { #1 } - } - -\seq_new:N \l_stm_au_seq -\seq_new:N \l_stm_au_sn_seq -\seq_new:N \l_stm_au_fn_seq -\seq_new:N \l_stm_au_ead_seq -\seq_new:N \l_stm_au_orcid_seq -\seq_new:N \l_stm_au_contrib_role_seq - -\NewDocumentCommand \parsename { m } - { \seq_set_split:Nnn \l_stm_au_seq { ~ } {#1} - \seq_pop_right:NN \l_stm_au_seq \l_stm_au_sn_seq - \seq_map_inline:Nn \l_stm_au_seq - { \seq_put_right:Nx \l_stm_au_ead_seq - { \tl_head:n { #1 }. } } - } - -\NewDocumentCommand \invparsename { m } - { \seq_set_split:Nnn \l_stm_au_seq { ~ } {#1} - \seq_pop_left:NN \l_stm_au_seq \l_stm_au_sn_seq - \seq_map_inline:Nn \l_stm_au_seq - { \seq_put_right:Nx \l_stm_au_ead_seq - { \tl_head:n { #1 }. } } - } - - -\NewDocumentCommand \surname {} { \l_stm_au_sn_seq } -\NewDocumentCommand \firstname {} - { \seq_use:Nn \l_stm_au_seq { ~ } } -\NewDocumentCommand \eadauthor {} - { \seq_map_inline:Nn \l_stm_au_seq - { \regex_match:nnTF { \. } { ##1 } - { ##1 } - { \tl_head:n {##1}. } - } - {~} \l_stm_au_sn_seq - } -\cs_set_eq:NN \shortauthor \eadauthor - -\seq_clear_new:N \l_affmk_seq -\NewDocumentCommand \processAffRef { m } - { - \seq_clear:N \l_affmk_seq - \clist_map_inline:nn { #1 } - { - \seq_put_right:Nx \l_affmk_seq - {\stmRef{##1}} - } - } - -\NewDocumentCommand \processAffNum { m } - { - \seq_clear:N \l_affmk_seq - \clist_map_inline:nn { #1 } - { - \seq_put_right:Nn \l_affmk_seq - { \int_to_alph:n {##1} } - } - } - -\NewDocumentCommand \listAff { } - { - \tl_if_blank:nTF { \l_affmk_seq } - { \tl_gset:Nn \g_stm_comma_tl { 0 } } - { - \seq_use:Nn \l_affmk_seq { , } - \tex_def:D \sep{\unskip,} - } - } - -\NewDocumentCommand \ead { O{} m } - { - \tl_if_empty:nTF { #1 } { \@ead {#2} } { \@uad[#1]{#2} } - } - -\NewDocumentCommand \eadsep { } { } - -\int_new:N \g_ead_int -\seq_new:N \g_stm_ead_seq -\int_new:N \g_uad_int -\seq_new:N \g_stm_uad_seq -\seq_new:N \g_stm_orcid_seq -\seq_new:N \g_stm_contrib_role_seq - -\newcommand\theead { \int_use:N \g_ead_int } - -\NewDocumentCommand \@uad { O{} m } - { - \group_begin: - \wrAux { \token_to_str:N \urlauthor - { \exp_not:n {#2}}{\the\@eadauthor}}% - \group_end: - } - -\NewDocumentCommand \urlauthor { m m } - { - \int_gincr:N \g_uad_int - \seq_gput_right:Nn \g_stm_uad_seq - { - { %\ttfamily \tl_to_str:n - \url{ #1 } } - \parsename { #2 } - \space(\eadauthor) - } - } -\NewDocumentCommand \@stmuads { } - { \seq_use:Nn \g_stm_uad_seq { ;~ } } - -\NewDocumentCommand \@ead { m } - { - \group_begin: - \wrAux { \token_to_str:N \emailauthor - { \exp_not:n { #1 }}{ \the\@eadauthor }} - \group_end: - } - -\newtoks \@eadauthor -\newbool{@cormark} - -\NewDocumentCommand \emailauthor { m m } - { - \int_gincr:N \g_ead_int - \seq_gput_right:Nn \g_stm_ead_seq - { - { \ttfamily \tl_to_str:n { #1 } } - \parsename { #2 } - \space(\eadauthor)% - } - } - -\NewDocumentCommand \@elseads { } - { \seq_use:Nn \g_stm_ead_seq { ;~ } } - - -\NewDocumentCommand \printemails { } -{ - \group_begin: - \int_compare:nNnTF { \int_use:N \g_ead_int } > { 0 } - { - \tex_let:D \thefootnote \relax \footnotetext - { - \raggedright - \bool_if:NTF \g_stm_nologo_bool - { - \int_compare:nTF { \g_ead_int = 1 } - { \textit{Email~address:\c_space_token} } - { \textit{Email~addresses:\c_space_token} } - } - { \includegraphics[height=8pt]{thumbnails/cas-email.jpeg}\c_space_token } - \seq_use:Nn \g_stm_ead_seq { ;~ } - } - } - { } - \group_end: -} - -\NewDocumentCommand \printurls { } -{ - \group_begin: - \int_compare:nTF { \g_uad_int > 0 } - { - \tex_let:D \thefootnote \relax \footnotetext - { - \raggedright - \bool_if:NTF \g_stm_nologo_bool - { \textit{URL:\c_space_token} } - { \includegraphics[height=8pt]{thumbnails/cas-url.jpeg}\c_space_token } - \seq_use:Nn \g_stm_uad_seq { ;~ } - } - } - { } - \group_end: -} - -% -% orcid -% -\NewDocumentCommand \orcidauthor { m m } - { - \seq_gput_right:Nn \g_stm_orcid_seq - { - { \ttfamily \tl_to_str:n { #1 } } - \parsename{#2} - \space(\eadauthor) - } - } - -\NewDocumentCommand \printorcid { } -{ - \group_begin: - \tex_let:D \thefootnote \relax \footnotetext - { - \raggedright - \textsc{orcid}(s):\c_space_token - \seq_use:Nn \g_stm_orcid_seq { ;~ } - } - \group_end: -} - -% -% Contrib Role -% - -\seq_gclear_new:N \g_stm_credits_seq - -\NewDocumentCommand \ContribRole { m } -{ - \wrAux { \token_to_str:N \creditauthor - { #1 } { \the\@eadauthor } } -} - -\NewDocumentCommand \creditauthor { m m } -{ - \seq_gput_right:Nx \g_stm_credits_seq - { { \exp_not:N\bfseries #2 :}\space #1 } -} - -\cs_set_eq:NN \credit \ContribRole - -\NewDocumentCommand \printcredits { } -{ - \seq_if_empty:NF \g_stm_credits_seq - { - \section*{CRediT ~authorship ~contribution ~statement} - \ifnum\theblind>0\relax - \vspace*{10mm} - \else - \seq_use:Nn \g_stm_credits_seq { .~ }. - \fi - } -} - -\NewDocumentCommand \writemarks { m m } - { \wrAux { \token_to_str:N \csgdef{mark@#1}{#2} } } - -\seq_new:N \g_stm_title_seq - -\NewDocumentCommand \tnotemark { O{} } - { \writemarks { title } { #1 } } - -\NewDocumentCommand \@tnoteref { m } - { \int_set:Nn \l_tmpa_int { 0 } - \clist_map_inline:nn { #1 } - { -% \iow_term:n { ##1 .. [\cs:w X@##1:\cs_end:] } - \cs_if_free:cTF { X@##1: } - { \csdef{X@##1:}{0} } - { - \tl_set:Nx \l_tmpa_tl { \cs:w X@##1:\cs_end: } - \int_case:nn { \l_tmpa_tl } - { - { 1 } { $^\star$ } - { 2 } { $^{,\star\star}$ } - { 3 } { $^{,\star\star\star}$ } - } - } - } - } - -\seq_new:N \g_stm_tnote_seq -\int_new:N \g_stm_tnote_int - -\NewDocumentCommand \tnotetext { O{} m } - { - \tl_if_head_eq_catcode:nNTF { #1 } a - { -% \iow_term:n { [TNOTE:~alpha] }% - \seq_gput_right:Nn \g_stm_tnote_seq - { \int_incr:N \g_stm_tnote_int - \str_set:Nx \@currentlabel { \int_use:N \g_stm_tnote_int } - \stmLabel { #1 } - \renewcommand\thefootnote - { \int_case:nn { \g_stm_tnote_int } - { - { 1 } { $^\star$ } - { 2 } { $^{\star\star}$ } - { 3 } { $^{\star\star\star}$ } - } - } - \footnotetext { #2 } - } - } - { -% \iow_term:n { [TNOTE:~Number] } - \seq_gput_right:Nn \g_stm_tnote_seq - { - \int_set:Nn \l_tmpa_int { #1 } - \renewcommand\thefootnote - { \int_case:nn { \l_tmpa_int } - { - { 1 } { $^\star$ } - { 2 } { $^{\star\star}$ } - { 3 } { $^{\star\star\star}$ } - } - } - \footnotetext { #2 } - } - } - } - -\newcommand \printtnotes { \seq_use:Nn \g_stm_tnote_seq { \par } } - -\seq_new:N \g_stm_nonumnote_seq - -\NewDocumentCommand \nonumnote { m } -{ - \group_begin: - \seq_gput_right:Nn \g_stm_nonumnote_seq - { - \tex_def:D \thefootnote { } - \footnotetext{#1} - } - \group_end: -} - -\newcommand \printnonumnotes { \seq_use:Nn \g_stm_nonumnote_seq { \par } } - -\seq_new:N \g_stm_fnote_seq -\int_new:N \g_stm_fnote_int - -\NewDocumentCommand \fntext { O{} m } -{ - \tl_if_head_eq_catcode:nNTF { #1 } a - { -% \iow_term:n { [FN:~alpha] }% - \seq_gput_right:Nn \g_stm_fnote_seq - { \int_incr:N \g_stm_fnote_int - \str_set:Nx \@currentlabel { \int_use:N \g_stm_fnote_int } - \stmLabel { #1 } - \tex_def:D \thefootnote { \int_use:N \g_stm_fnote_int } - \footnotetext { #2 } - } - } - { -% \iow_term:n { [FN:~Number] } - \seq_gput_right:Nn \g_stm_fnote_seq - { - \int_set:Nn \l_tmpa_int { #1 } - \tex_def:D \thefootnote { \int_use:N \l_tmpa_int } - \footnotetext { #2 } - } - } -} - -\newcommand \printfnotes { \seq_use:Nn \g_stm_fnote_seq { \par } } - -\seq_new:N \g_stm_cor_seq -\int_new:N \g_stm_cor_int - -\NewDocumentCommand \cortext { O{} m } -{ - \tl_if_head_eq_catcode:nNTF { #1 } a - { -% \iow_term:n { [COR:~alpha] }% - \seq_gput_right:Nn \g_stm_cor_seq - { \int_incr:N \g_stm_cor_int - \str_set:Nx \@currentlabel { \int_use:N \g_stm_cor_int } - \stmLabel { #1 } - \tex_def:D \thefootnote - { \int_case:nn { \g_stm_cor_int } - { - { 1 } { $\ast$ } - { 2 } { $\ast\!\ast$ } - { 3 } { $\ast\!\ast\!\ast$ } - } - } - \footnotetext { #2 } - } - } - { -% \iow_term:n { [COR:~Number] } - \seq_gput_right:Nn \g_stm_cor_seq - { - \int_set:Nn \l_tmpa_int { #1 } - \tex_def:D \thefootnote - { \int_case:nn { \l_tmpa_int } - { - { 1 } { $\ast$ } - { 2 } { $\ast\!\ast$ } - { 3 } { $\ast\!\ast\!\ast$ } - } - } - \footnotetext { #2 } - } - } -} - -\newcommand \printcornotes { \seq_use:Nn \g_stm_cor_seq { \par } } - -\NewDocumentCommand \process@marks { } - { - \cs_if_free:cTF { mark@corau\theauthor } - { \ignorespaces } - { \str_set:Nx \l_tmpa_str { \use:c{ mark@corau\theauthor } } - \int_case:nn { \l_tmpa_str } - { - { 1 } { \sep$\ast$ } - { 2 } { \sep$\ast\ast$ } - { 3 } { \sep$\ast\!\ast\!\ast$ } - } - \tex_def:D \sep{\unskip,} - } - \cs_if_free:cTF { mark@fnau\theauthor } - { \ignorespaces } - { \sep\use:c { mark@fnau\theauthor } - \tex_def:D \sep{\unskip,} - } - } - - -% -% Author macros -% -\seq_new:c { g_stm_au0_seq } -\seq_new:c { g_stm_clau0_seq } -\int_new:N \g_stm_au_int -\int_new:N \g_stm_aau_int - -\NewDocumentCommand \ResetMarks { } - { - \keys_set:nn { stm / author } - { - auid = {} , - bioid = {} , - alt = {} , - style = { normal } , - prefix = {} , - suffix = {} , - degree = {} , - role = {} , - orcid = {} , - collab = { false } , - type = { author } , - anon = { false } , - deceased = { false } , - twitter = {} , - facebook = {} , - linkedin = {} , - plus = {} , - gplus = {} , - } - \tex_gdef:D \sep{} - \tex_gdef:D \stm@corref{} - \tex_gdef:D \@fnmark {} - } - - -\int_new:N \l_autype_int -\keys_define:nn { stm / author } - { - auid .tl_set:N = \l_stm_au_id_tl , - bioid .tl_set:N = \l_stm_au_bioid_tl , - alt .tl_set:N = \l_stm_au_alt_tl , - style .tl_set:N = \l_stm_au_style_tl , - prefix .tl_set:N = \l_stm_au_prefix_tl , - suffix .tl_set:N = \l_stm_au_suffix_tl , - degree .tl_set:N = \l_stm_au_degree_tl , - role .tl_set:N = \l_stm_au_role_tl , - orcid .tl_set:N = \l_stm_au_orcid_tl , - collab .bool_set:N = \l_stm_au_collab_bool , - type .multichoice:, - type/author .code:n = { \int_set:Nn \l_autype_int { 0 } }, - type/editor .code:n = { \int_set:Nn \l_autype_int { 1 } }, - type/collab .code:n = { \int_set:Nn \l_autype_int { 2 } }, - type/anon .code:n = { \int_set:Nn \l_autype_int { 3 } }, -% type/collab .bool_set:N = \l_stm_au_collab_bool , -% type/anon .bool_set:N = \l_stm_au_anon_bool , - anon .bool_set:N = \l_stm_au_anon_bool , - deceased .bool_set:N = \l_stm_au_deceased_bool , - twitter .tl_set:N = \l_stm_au_twitter_tl , - facebook .tl_set:N = \l_stm_au_facebook_tl , - linkedin .tl_set:N = \l_stm_au_linkedin_tl , - plus .tl_set:N = \l_stm_au_gplus_tl , - gplus .tl_set:N = \l_stm_au_gplus_tl , - } - -\keys_set:nn { stm / author } - { - auid = {} , - bioid = {} , - alt = {} , - style = { normal } , - prefix = {} , - suffix = {} , - degree = {} , - role = {} , - orcid = {} , - collab = { false } , - type = { author } , - anon = { false } , - deceased = { false } , - twitter = {} , - facebook = {} , - linkedin = {} , - plus = {} , - gplus = {} , - } - -\keys_define:nn { stm / ausetup } - { - type .choice: , - type / authors .meta:n = - { - size = \large , - shape = \upshape , - weight = \mdseries , - before = \bigskipamount , - after = 0pt , - align = \raggedright , - color = black , - lskip = 0pt , - rskip = 0pt , - } , - type / collaboration .meta:n = - { - size = \Large , - shape = \upshape , - weight = \mdseries , - before = \bigskipamount , - after = 0pt , - align = \raggedright , - color = black , - lskip = 0pt , - rskip = 0pt , - } , - size .tl_set:N = \l_stm_augroup_size_tl , - shape .tl_set:N = \l_stm_augroup_shape_tl , - weight .tl_set:N = \l_stm_augroup_weight_tl , - before .dim_set:N = \l_stm_augroup_before_dim , - after .dim_set:N = \l_stm_augroup_after_dim , - align .tl_set:N = \l_stm_augroup_align_tl , - color .tl_set:N = \l_stm_augroup_color_tl , - lskip .dim_set:N = \l_stm_augroup_lskip_tl , - rskip .dim_set:N = \l_stm_augroup_rskip_tl , - } - -\DeclareDocumentCommand \stmAuthorSetup { m } - { \keys_set:nn { stm / ausetup } { #1 } } -\DeclareDocumentCommand \stmausetup { m } - { \tl_set:Nn \l_stm_au_setup_tl - { \keys_set:nn { stm / ausetup } { #1 } } - } -\DeclareDocumentCommand \stmclbsetup { m } - { \tl_set:Nn \l_stm_clb_setup_tl - { \keys_set:nn { stm / ausetup } { #1 } } - } - -\stmausetup { } -\stmclbsetup { } - -\seq_new:N \g_stm_maltese_seq -\seq_new:N \g_stm_facebook_seq -\seq_new:N \g_stm_twitter_seq -\seq_new:N \g_stm_gplus_seq -\seq_new:N \g_stm_linkedin_seq -\bool_new:N \g_stm_nologo_bool -\bool_gset_false:N \g_stm_nologo_bool - -\NewDocumentCommand \twitterauthor { m m } - { - \seq_gput_right:Nn \g_stm_twitter_seq - { - \parsename { #2 } - \url{https://twitter.com/\tl_to_str:n{#1}}\space(\eadauthor) - } - } -\NewDocumentCommand \facebookauthor { m m } - { - \seq_gput_right:Nn \g_stm_facebook_seq - { - \parsename { #2 } - \url{https://www.facebook.com/\tl_to_str:n{#1}}\space(\eadauthor) % - } - } -\NewDocumentCommand \gplusauthor { m m } - { - \seq_gput_right:Nn \g_stm_gplus_seq - { - \parsename { #2 } - \url{https://plus.google.com/\tl_to_str:n{#1}}\space(\eadauthor)% - } - } -\NewDocumentCommand \linkedinauthor { m m } - { - \seq_gput_right:Nn \g_stm_linkedin_seq - { - \parsename { #2 } - \url{https://www.linkedin.com/profile/view?id=\tl_to_str:n{#1}}% - \space(\eadauthor) - } - } - -\NewDocumentCommand \printmaltese { } - { - \seq_use:Nn { \g_stm_maltese_seq } { } - } -\NewDocumentCommand \printfacebook { } - { - \seq_if_empty:NTF \g_stm_facebook_seq { } - { - \tex_def:D \thefootnote{} - \footnotetext - { - \bool_if:NTF \g_stm_nologo_bool - { Facebook:\c_space_token } - { \includegraphics[height=8pt]{thumbnails/cas-facebook.jpeg}\c_space_token } - \seq_use:Nn \g_stm_facebook_seq {,\c_space_token } - } - } - } -\NewDocumentCommand \printtwitter { } - { - \seq_if_empty:NTF \g_stm_twitter_seq { } - { - \tex_def:D \thefootnote{} - \footnotetext - { - \bool_if:NTF \g_stm_nologo_bool - { Twitter:\c_space_token } - { \includegraphics[height=8pt]{thumbnails/cas-twitter.jpeg}\c_space_token } - \seq_use:Nn \g_stm_twitter_seq {,\c_space_token } - } - } - } -\NewDocumentCommand \printgplus { } - { - \seq_if_empty:NTF \g_stm_gplus_seq { } - { - \tex_def:D \thefootnote{} - \footnotetext - { - \bool_if:NTF \g_stm_nologo_bool - { Google+:\c_space_token } - { \includegraphics[height=8pt]{thumbnails/cas-gplus.jpeg}\c_space_token } - \seq_use:Nn \g_stm_gplus_seq {,\c_space_token } - } - } - } -\NewDocumentCommand \printlinkedin { } - { - \seq_if_empty:NTF \g_stm_linkedin_seq { } - { - \tex_def:D \thefootnote{} - \footnotetext - { - \bool_if:NTF \g_stm_nologo_bool - { LinkedIn:\c_space_token } - { \includegraphics[height=8pt]{thumbnails/cas-linkedin.jpeg}\c_space_token } - \seq_use:Nn \g_stm_linkedin_seq {,\c_space_token } - } - } - } - -\seq_new:N \g_stm_prelimsau_seq - -\csxdef{infoauthors}{} -\cs_new:Nn \no_break_space: { \nobreak{~} \penalty 10000 } -\RenewDocumentCommand \author { O{} m O{} } - { - \ResetMarks - \tl_if_blank:nTF { #3 } { } - { \keys_set:nn { stm / author } { #3 } } -% - \int_gincr:N \g_stm_au_int - \tex_gdef:D \theau@ { \int_use:N \g_stm_au_int } -% - \seq_gput_right:Nn \g_stm_prelimsau_seq { #2 } - \bool_if:NTF \l_stm_au_collab_bool - { \seq_gput_right:cn { g_stm_clau\int_use:N \g_stm_augr_int _seq } } - { \seq_gput_right:cn { g_stm_au\int_use:N \g_stm_augr_int _seq } } - { - \int_gincr:N \g_stm_aau_int - \tex_gdef:D \theauthor {\int_use:N \g_stm_aau_int } - \keys_set:nn { stm /author } { #3 } - \tl_if_head_eq_catcode:nNTF { #1 } a - { \processAffRef { #1 } } - { \processAffNum { #1 } } - \tl_if_empty:NF \l_stm_au_prefix - { \l_stm_au_prefix_tl \c_space_token } - \str_if_eq:VnTF \l_stm_au_style_tl { chinese } - { %\iow_term:n {STYLE~T=\l_stm_au_style_tl........} - \invparsename { #2 } - \textcolor{\l_stm_augroup_color_tl}{\surname} - \no_break_space: - \textcolor{\l_stm_augroup_color_tl !50}{\firstname} - } - { %\iow_term:n {STYLE~F=\l_stm_au_style_tl........} - \parsename { #2 } - \textcolor{\l_stm_augroup_color_tl !50}{\firstname} - \no_break_space: - \textcolor{\l_stm_augroup_color_tl}{\surname} - } - \tl_if_empty:NF \l_stm_au_suffix_tl - { \c_space_token \l_stm_au_suffix_tl } - \unskip - \textsuperscript - { - \tl_if_blank:nTF { #1 } - { \tex_def:D \sep{} } - { {\itshape\listAff} \tex_def:D \sep{\unskip,} } - \process@marks - \bool_if:NT \l_stm_au_deceased_bool - { \sep \maltese - \tex_def:D \sep { \unksip, } - } - } - \tl_if_empty:NF \l_stm_au_degree_tl - { ,\c_space_token \l_stm_au_degree_tl } - \tl_if_empty:NF \l_stm_au_role_tl - { \c_space_token (\l_stm_au_role_tl) } -% - \ResetMarks - } -% - \bool_if:NT \l_stm_au_deceased_bool - { - \seq_gput_right:Nn \g_stm_maltese_seq - { - \tex_def:D \thefootnote { \maltese } - \footnotetext{Deceased~author.} - } - } -% various social media - \tl_if_empty:NTF \l_stm_au_facebook_tl { } - { - \wrAux { \token_to_str:N \facebookauthor - { \l_stm_au_facebook_tl } { \exp_not:n {#2} } } - } - \tl_if_empty:NF \l_stm_au_twitter_tl - { - \wrAux { \token_to_str:N \twitterauthor - { \l_stm_au_twitter_tl } { \exp_not:n {#2} } } - } - \tl_if_empty:NF \l_stm_au_gplus_tl - { - \wrAux { \token_to_str:N \gplusauthor - { \l_stm_au_gplus_tl } { \exp_not:n {#2} } } - } - \tl_if_empty:NF \l_stm_au_linkedin_tl - { - \wrAux { \token_to_str:N \linkedinauthor - { \l_stm_au_linkedin_tl } { \exp_not:n {#2} } } - } - \tl_if_empty:NF \l_stm_au_orcid_tl - { - \wrAux { \token_to_str:N \orcidauthor - { \l_stm_au_orcid_tl } { \exp_not:n {#2} } } - } -% - \@eadauthor={#2} - \pdfstringdef\__info_au: { #2 } - \int_compare:nNnTF { \theau@ } < { 4 } - { \xappto \infoauthors { \__info_au: , ~ } } - { - \int_compare:nNnTF { \theau@ } = { 4 } - { \xappto \infoauthors { et~al. } } - { } - } - } - -\NewDocumentCommand \stmauthors { } - { - \group_begin: - \stmAuthorSetup { type = authors } - \l_stm_au_setup_tl - \par \vskip\l_stm_augroup_before_dim - \l_stm_augroup_align_tl - \l_stm_augroup_size_tl - \l_stm_augroup_shape_tl - \l_stm_augroup_weight_tl - \color{ \l_stm_augroup_color_tl } - \bool_if:NTF \g_stm_augr_bool - { \seq_use:Nn \g_stm_augr_seq { \par } } - { - \seq_use:cnnn { g_stm_au\int_use:N\g_stm_augr_int _seq } - { ,~ } { ,~ } { ~and~ } - } - \par\vskip\l_stm_augroup_after_dim - \group_end: - } - -\seq_new:c { g_stm_collab0_seq } -\bool_new:N \g_stm_in_clau_bool - -\NewDocumentCommand \stmcollab { } - { - \bool_if:NTF \g_stm_augr_bool - { } - { - \group_begin: - \stmAuthorSetup { type = collaboration } - \l_stm_clb_setup_tl - \par \vskip \l_stm_augroup_before_dim - \l_stm_augroup_align_tl - \l_stm_augroup_size_tl - \l_stm_augroup_shape_tl - \l_stm_augroup_weight_tl - \color{ \l_stm_augroup_color_tl } - \seq_use:cn {g_stm_collab\int_use:N \g_stm_aaugr_int _seq} { } - \seq_use:cnnn {g_stm_clau\int_use:N \g_stm_aaugr_int _seq} - { ~and~ } { ,~ } { ~and~ } - \par \vskip \l_stm_augroup_after_dim - \group_end: - } - } - -\newenvironment{collaboration}[1][] - { - \seq_gput_right:cn {g_stm_collab\int_use:N \g_stm_augr_int _seq} - { \textit{Collaboration:~} #1 \par \smallskip } - } - { } - -\NewDocumentCommand \dept { m } { #1 } -\NewDocumentCommand \divn { m } { #1 } -\NewDocumentCommand \aline { m } { #1 } -\NewDocumentCommand \city { m } { #1 } -\NewDocumentCommand \cnty { m } { #1 } -\NewDocumentCommand \phone { m } { #1 } -\NewDocumentCommand \fax { m } { #1 } -\NewDocumentCommand \aurl { m } { #1 } - -\def\ca_affitem_postskip{\mbox{~}\unskip\ignorespaces} -%%Author Address -\DeclareDocumentCommand \ca_organization { O{,} m } - { -% #2 #1\mbox{~}\unskip\ignorespaces - \csgappto { ca_affiliation_values } { #2 #1\ca_affitem_postskip } - } -\DeclareDocumentCommand \ca_postal_code { O{,} m } - { -% #2 #1\mbox{~}\unskip\ignorespaces - \csgappto { ca_affiliation_values } { #2 #1\ca_affitem_postskip } - } -\DeclareDocumentCommand \ca_aff_city { O{,} m } - { -% #2 #1\mbox{~}\unskip\ignorespaces - \csgappto { ca_affiliation_values } { #2 #1\ca_affitem_postskip } - } -\DeclareDocumentCommand \ca_address_line { O{,}m } - { -% #2 #1\mbox{~}\unskip\ignorespaces - \csgappto { ca_affiliation_values } { #2 #1\ca_affitem_postskip } - } -\DeclareDocumentCommand \ca_state { O{,} m } - { -% #2 #1\mbox{~}\unskip\ignorespaces - \csgappto { ca_affiliation_values } { #2 #1\ca_affitem_postskip } - } -\DeclareDocumentCommand \ca_country { O{ } m } - { -% #2 #1 - \csgappto { ca_affiliation_values } { #2 #1 } - } - -\DeclareDocumentCommand \ca_stm_organization { O{,} m } - { - #2 #1\ca_affitem_postskip - } -\DeclareDocumentCommand \ca_stm_postal_code { O{,} m } - { - #2 #1\ca_affitem_postskip - } -\DeclareDocumentCommand \ca_stm_aff_city { O{,} m } - { - #2 #1\ca_affitem_postskip - } -\DeclareDocumentCommand \ca_stm_aff_address_line { O{,}m } - { - #2 #1\ca_affitem_postskip - } -\DeclareDocumentCommand \ca_stm_state { O{,} m } - { - #2 #1\ca_affitem_postskip - } -\DeclareDocumentCommand \ca_stm_country { O{ } m } - { - #2 #1 - } - -\keys_define:nn { stm / affiliation } - { - op .tl_set_x:N = \l_organization_punc_tl, - oraganizationsep .tl_set_x:N = \l_organization_punc_tl, - ap .tl_set_x:N = \l_address_line_punc_tl, - addresslinesep .tl_set_x:N = \l_address_line_punc_tl, - cp .tl_set_x:N = \l_city_punc_tl, - citysep .tl_set_x:N = \l_city_punc_tl, - pp .tl_set_x:N = \l_postal_code_punc_tl, - postcodesep .tl_set_x:N = \l_postal_code_punc_tl, - sp .tl_set_x:N = \l_state_punc_tl, - statesep .tl_set_x:N = \l_state_punc_tl, - o .code:n = { \ca_organization[\l_organization_punc_tl]{#1} }, - organization .code:n = { \ca_organization[\l_organization_punc_tl]{#1} }, - a .code:n = { \ca_address_line[\l_address_line_punc_tl]{#1} }, - addressline .code:n = { \ca_address_line[\l_address_line_punc_tl]{#1} }, - c .code:n = { \ca_aff_city[\l_city_punc_tl]{#1} }, - city .code:n = { \ca_aff_city[\l_city_punc_tl]{#1} }, - p .code:n = { \ca_postal_code[\l_postal_code_punc_tl]{#1} }, - postcode .code:n = { \ca_postal_code[\l_postal_code_punc_tl]{#1} }, - s .code:n = { \ca_state[\l_state_punc_tl]{#1} }, - state .code:n = { \ca_state[\l_state_punc_tl]{#1} }, - orp .tl_set_x:N = \l_organization_punc_tl, - adp .tl_set_x:N = \l_address_line_punc_tl, - cip .tl_set_x:N = \l_city_punc_tl, - pcp .tl_set_x:N = \l_postal_code_punc_tl, - stp .tl_set_x:N = \l_state_punc_tl, - cyp .tl_set_x:N = \l_country_punc_tl, - or .code:n = { \ca_organization[\l_organization_punc_tl]{#1} }, - ad .code:n = { \ca_address_line[\l_address_line_punc_tl]{#1} }, - ci .code:n = { \ca_aff_city[\l_city_punc_tl]{#1} }, - pc .code:n = { \ca_postal_code[\l_postal_code_punc_tl]{#1} }, - st .code:n = { \ca_state[\l_state_punc_tl]{#1} }, - cy .code:n = { \ca_country[\l_country_punc_tl]{#1} }, - country .code:n = { \ca_country[\l_country_punc_tl]{#1} }, - unknown .code:n = { - \ifstrempty { #1 } { - \csxappto { ca_affiliation_values } - { {\l_keys_key_tl}~ } - } { - \csxappto { ca_affiliation_values } - { {#1}~ } - } - } - } - -\cs_set:Npn \__reset_affiliation: -{ - \tl_gset:Nn \l_organization_punc_tl { , } - \tl_gset:Nn \l_address_line_punc_tl { , } - \tl_gset:Nn \l_city_punc_tl { , } - \tl_gset:Nn \l_postal_code_punc_tl { , } - \tl_gset:Nn \l_state_punc_tl { , } - \tl_gset:Nn \l_country_punc_tl { } -} - -\seq_new:c { g_stm_aff0_seq } -\int_new:N \g_stm_aff_int -\tl_new:N \l_addrtype_tl - -\keys_define:nn { stm / address } - { - foot .bool_gset:N = \g_stm_addr_foot_bool , - name .tl_set:N = \l_stm_addr_name_tl , - type .multichoice: , - type/alt .code:n = { \tl_set:Nn \l_stm_addr_type_tl - { Alternate~address } } , - type/addl .code:n = { \tl_set:Nn \l_stm_addr_type_tl - { Additional~address } } , - type/regular .code:n = { \tl_set:Nn \l_stm_addr_type_tl - { } } , - type/custom .code:n = { \tl_set:Nn \l_stm_addr_type_tl - { \l_stm_addr_name_tl } } , - } -\DeclareDocumentCommand \stmAddrSetup { m } - { \keys_set:nn { stm / address } { #1 } } - -\keys_set:nn { stm / address } -{ - foot = { false } , - type = { regular } , - name = { Alternate~address } , -} - -\cs_new:Nn \__reset_addr: -{ - \bool_gset_false:N \g_stm_addr_foot_bool - \tl_set:Nn \l_stm_addr_type_tl { } - \tl_set:Nn \l_stm_addr_name_tl { Alternate~address } -} - -\seq_new:N \g_stm_aff_foot_seq - -\NewDocumentCommand \printaddrinfoot { } - { - { \seq_use:Nn \g_stm_aff_foot_seq { \par } } - } - -\NewDocumentCommand \address { O{} m O{} } - { - \__reset_addr: - \keys_set:nn { stm / address } { #3 } - \bool_if:NTF \g_stm_addr_foot_bool - { \__foot_address:nnn [#1]{#2}[#3] } - { - \seq_gput_right:cn { g_stm_aff\int_use:N \g_stm_augr_int _seq } - { \tl_if_blank:nTF { #1 } - { - \tex_xdef:D \thefootnote{} - { #2 } - } - { - \tl_if_head_eq_catcode:nNTF { #1 } a - { - \int_gincr:N \g_stm_aff_int - \tex_xdef:D \@currentlabel - { \int_to_alph:n { \int_use:N \g_stm_aff_int } } - \stmLabel {#1} - \textsuperscript{\itshape\@currentlabel} #2 - } - { - \int_gset:Nn \g_stm_aff_int { #1 } - \tex_xdef:D \@currentlabel - { \int_to_alph:n { \int_use:N \g_stm_aff_int } } - \textsuperscript{\itshape\@currentlabel} #2 - } - } - } - } - } - -\int_new:N \g_stm_aff_ext_int -\int_new:N \g_stm_aff_int_int - -\NewDocumentCommand \affiliation { O{} m O{} } - { - \__reset_affiliation: - \csgdef { ca_affiliation_values } { } - \IfNoValueTF { #2 } - { } - { - \keys_set:nn { stm / affiliation } { #2 } - } - \int_gincr:N \g_stm_aff_ext_int - \csxdef{ca_affiliation_\int_use:N \g_stm_aff_ext_int}{\csuse { ca_affiliation_values }} - \__reset_addr: - \keys_set:nn { stm / address } { #3 } - \bool_if:NTF \g_stm_addr_foot_bool - { \__foot_affiliation:nnn [#1]{#2}[#3] } - { - \seq_gput_right:cn { g_stm_aff\int_use:N \g_stm_augr_int _seq } - { \int_gincr:N \g_stm_aff_int_int - \tl_if_blank:nTF { #1 } - { - \tex_xdef:D \thefootnote{} - { \csuse { ca_affiliation_\int_use:N \g_stm_aff_int_int } } - } - { - \tl_if_head_eq_catcode:nNTF { #1 } a - { - \int_gincr:N \g_stm_aff_int - \tex_xdef:D \@currentlabel - { \int_to_alph:n { \int_use:N \g_stm_aff_int } } - \stmLabel {#1} - \textsuperscript{\itshape\@currentlabel} { \csuse { ca_affiliation_\int_use:N \g_stm_aff_int_int } } - } - { - \int_gset:Nn \g_stm_aff_int { #1 } - \tex_xdef:D \@currentlabel - { \int_to_alph:n { \int_use:N \g_stm_aff_int } } - \textsuperscript{\itshape\@currentlabel} { \csuse { ca_affiliation_\int_use:N \g_stm_aff_int_int } } - } - } - } - } -} - -\cs_new:Npn \__foot_address:nnn [#1]#2[#3] -{ - \keys_set:nn { stm / address } { #3 } - \seq_gput_right:cn { g_stm_aff_foot_seq } - { - \tl_if_empty:nTF { #1 } - { - \tl_if_empty:NTF \l_stm_addr_type_tl - { \footnotetext{#2} } - { - \footnotetext{\textit{\l_stm_addr_type_tl}: - \c_space_token #2 } - } - } - { - \tl_if_head_eq_catcode:nNTF { #1 } a - % - { - \tex_def:D \thefootnote{\itshape\@currentlabel} - \tl_if_empty:NTF \l_stm_addr_type_tl - { \footnotetext{#2} } - { \footnotetext{\textit{\l_stm_addr_type_tl}: \c_space_token #2} } - } - { - \tex_def:D \thefootnote { \itshape\int_to_alph:n { #1 } } - \tl_if_empty:NTF \l_stm_addr_type_tl - { \footnotetext{#2} } - { \footnotetext{\textit{\l_stm_addr_type_tl}: - \c_space_token #2 } } - } - } - } -} - -\int_new:N \g_stm_fn_aff_ext_int -\int_new:N \g_stm_fn_aff_int_int -\cs_new:Npn \__foot_affiliation:nnn [#1]#2[#3] -{ - \__reset_affiliation: - \csgdef { ca_affiliation_values } { } - \IfNoValueTF { #2 } - { } - { - \keys_set:nn { stm / affiliation } { #2 } - } - \int_gincr:N \g_stm_aff_ext_int - \csxdef{ca_affiliation_\int_use:N \g_stm_fn_aff_ext_int}{\csuse { ca_affiliation_values }} - \keys_set:nn { stm / address } { #3 } - \seq_gput_right:cn { g_stm_aff_foot_seq } - { - \int_gincr:N \g_stm_aff_int_int - \tl_if_empty:nTF { #1 } - { - \tl_if_empty:NTF \l_stm_addr_type_tl - { \footnotetext{\csuse { ca_affiliation_\int_use:N \g_stm_fn_aff_int_int }} } - { - \footnotetext{\textit{\l_stm_addr_type_tl}: - \c_space_token \csuse { ca_affiliation_\int_use:N \g_stm_fn_aff_int_int } } - } - } - { - \tl_if_head_eq_catcode:nNTF { #1 } a - % - { - \tex_def:D \thefootnote{\itshape\@currentlabel} - \tl_if_empty:NTF \l_stm_addr_type_tl - { \footnotetext{\csuse { ca_affiliation_\int_use:N \g_stm_fn_aff_int_int }} } - { \footnotetext{\textit{\l_stm_addr_type_tl}: \c_space_token - \csuse { ca_affiliation_\int_use:N \g_stm_fn_aff_int_int }} } - } - { - \tex_def:D \thefootnote { \itshape\int_to_alph:n { #1 } } - \tl_if_empty:NTF \l_stm_addr_type_tl - { \footnotetext{\csuse { ca_affiliation_\int_use:N \g_stm_fn_aff_int_int }} } - { \footnotetext{\textit{\l_stm_addr_type_tl}: - \c_space_token \csuse { ca_affiliation_\int_use:N \g_stm_fn_aff_int_int } } } - } - } - } -} - - -\keys_define:nn { stm / affsetup } - { - type .choice: , - type / normal .code:n = - { \tl_set:Nn \l_stm_aff_type_tl { 0 } } , - type / nonum .code:n = - { \tl_set:Nn \l_stm_aff_type_tl { 1 } } , - - size .tl_set:N = \l_stm_aff_size_tl , - shape .tl_set:N = \l_stm_aff_shape_tl , - weight .tl_set:N = \l_stm_aff_weight_tl , - before .dim_set:N = \l_stm_aff_before_dim , - after .dim_set:N = \l_stm_aff_after_dim , - align .tl_set:N = \l_stm_aff_align_tl , - color .tl_set:N = \l_stm_aff_color_tl , - lskip .dim_set:N = \l_stm_aff_lskip_dim , - rskip .dim_set:N = \l_stm_aff_rskip_dim , - } - -\DeclareDocumentCommand \stmAffSetup { m } - { \keys_set:nn { stm / affsetup } { #1 } } -\DeclareDocumentCommand \stmaffsetup { m } - { \tl_set:Nn \l_stm_aff_setup_tl - { \keys_set:nn { stm / affsetup } { #1 } } - } -\stmaffsetup { - size = \footnotesize, - shape = \itshape, - color = black, - before = 0pt, - weight = \mdseries, - align = \raggedright, - } - -\NewDocumentCommand \stmaddress { } - { - \bool_if:NTF \g_stm_augr_bool - { } - { - \group_begin: - \stmAffSetup { type = normal } - \l_stm_aff_setup_tl - \par \vskip\l_stm_aff_before_dim - \l_stm_aff_align_tl - \l_stm_aff_size_tl - \l_stm_aff_shape_tl - \l_stm_aff_weight_tl - \color{ \l_stm_aff_color_tl } - \seq_use:cn { g_stm_aff\int_use:N \g_stm_aaugr_int _seq } - { \par\vskip2pt } - \par\vskip\l_stm_aff_after_dim - \group_end: - } - } - -\int_new:N \g_stm_augr_int -\seq_new:N \g_stm_augr_seq -\int_new:N \g_stm_aaugr_int -\bool_new:N \g_stm_augr_bool - -\NewDocumentEnvironment { augroup } { } - { - \bool_gset_true:N \g_stm_augr_bool - \int_gincr:N \g_stm_augr_int - \seq_new:c {g_stm_au\int_use:N \g_stm_augr_int _seq} - \seq_new:c {g_stm_aff\int_use:N \g_stm_augr_int _seq} - \seq_new:c {g_stm_collab\int_use:N \g_stm_augr_int _seq} - \seq_new:c {g_stm_clau\int_use:N \g_stm_augr_int _seq} -% \iow_term:n { AUGR:~\int_use:N \g_stm_augr_int ... } - } - { - \seq_gput_right:Nn \g_stm_augr_seq - { - \int_gincr:N \g_stm_aaugr_int - \group_begin: - \stmAuthorSetup { type = collaboration } - \l_stm_clb_setup_tl - \par \vskip \l_stm_augroup_before_dim - \l_stm_augroup_align_tl - \l_stm_augroup_size_tl - \l_stm_augroup_shape_tl - \l_stm_augroup_weight_tl - \color{ \l_stm_augroup_color_tl } - \seq_use:cnnn { g_stm_au\int_use:N \g_stm_aaugr_int _seq } - { ~and~ } { ,~ } { ~and~ } - \par \vskip \l_stm_augroup_after_dim - \group_end: -% - \group_begin: - \stmAffSetup { type = normal } - \l_stm_aff_setup_tl - \par \vskip\l_stm_aff_before_dim - \l_stm_aff_align_tl - \l_stm_aff_size_tl - \l_stm_aff_shape_tl - \l_stm_aff_weight_tl - \color{ \l_stm_aff_color_tl } - \seq_use:cn { g_stm_aff\int_use:N \g_stm_aaugr_int _seq } - { \par \smallskip } - \par\vskip\l_stm_aff_after_dim -% \iow_term:n { AAUGR:~\int_use:N \g_stm_aaugr_int ... } - \group_end: -% - \group_begin: - \stmAuthorSetup { type = collaboration } - \l_stm_clb_setup_tl - \par \vskip \l_stm_augroup_before_dim - \l_stm_augroup_align_tl - \l_stm_augroup_size_tl - \l_stm_augroup_shape_tl - \l_stm_augroup_weight_tl - \color{ \l_stm_augroup_color_tl } - \seq_use:cn {g_stm_collab\int_use:N \g_stm_aaugr_int _seq} { } - \seq_use:cnnn {g_stm_clau\int_use:N \g_stm_aaugr_int _seq} - { ~and~ } { ,~ } { ~and~ } - \par\vskip \l_stm_augroup_after_dim - \group_end: - } - } - -% -% Abstract -% -\RequirePackage{moreverb} - -\tex_gdef:D \abstractname { A\,B\,S\,T\,R\,A\,C\,T } -\tl_new:N \l_stm_abs_title_tl -\box_new:N \g_stm_abs_box - -\NewDocumentEnvironment { Abstract } { o } -{ -% \global\setbox \g_stm_abs_box = \vtop \bgroup -% \hsize = .65 \textwidth \parindent \z@ - \group_begin: - \IfNoValueTF { #1 } { } - { \tex_gdef:D \abstractname { #1 } } - \parindent \z@ - \box_if_empty:NTF \g_stm_key_box - { \leftskip = .35 \textwidth } - { - \dim_gset:Nn \l_tmpa_dim { \box_ht:N \g_stm_key_box } - \dim_gadd:Nn \l_tmpa_dim { \box_dp:N \g_stm_key_box } - \leftskip .35\textwidth - \hspace*{-.35 \textwidth } - \noindent\hbox_to_wd:nn { \z@ } { \box \g_stm_key_box } - \skip_vertical:n { - \l_tmpa_dim } - } - \noindent \abstractname \par - \skip_vertical:n { -4pt} - \noindent \rule{.65\textwidth}{.2pt}\par \footnotesize - \ignorespaces \everypar { \parindent=1.5em } -} -{ \par \group_end: } - -\NewDocumentEnvironment { PrelimsAbstract } { O{} } - {\parindent=0pt - { \fontsize{14pt}{16pt}\selectfont #1 }\par - \vskip12pt - { \fontsize{12pt}{14pt}\bfseries\selectfont\casprelimstitle } \par - \vskip6pt - \ifnum\theblind>0\relax - \vspace*{\the\baselineskip} - \else - \seq_use:Nn \g_stm_prelimsau_seq { ,~ } - \fi - \vskip12pt - \par - } - {} - -\RenewDocumentEnvironment { abstract } { o } -{ - \IfNoValueTF { #1 } { } - { \tex_gdef:D \abstracttitle { #1 } } - \verbatimwrite{\jobname.abs} -} -{ \endverbatimwrite } - -\newbox\casgrabsbox -\newbox\casauhlbox -\newbool { usecasgrabsbox } -\newbool { usecashlsbox } - -\DeclareDocumentEnvironment { graphicalabstract } { O{Graphical~Abstract} } -{ - \global \booltrue { usecasgrabsbox } - \global\setbox\casgrabsbox=\vbox\bgroup - \begin{PrelimsAbstract}[#1] - \noindent \ignorespaces -} -{ - \end{PrelimsAbstract} - \egroup -} - -\DeclareDocumentEnvironment { highlights } { O{Highlights} } -{ - \global \booltrue { usecashlsbox } - \global\setbox\casauhlbox=\vbox\bgroup - \begin{PrelimsAbstract}[#1] - \noindent \ignorespaces - \begin{itemize} -} -{ - \end{itemize} - \end{PrelimsAbstract} - \egroup -} - - -\NewDocumentCommand \dashrule { O{.4pt} m m } - { - \color{black!50} - \skip_vertical:n { #2 } - \noindent \rule { \linewidth } { #1} - \normalcolor \skip_vertical:n { #3 } - } - -\NewDocumentCommand \keywordtitle { } { Keywords } -\NewDocumentCommand \keywordtitlesep { } {:\c_space_token } -\box_new:N \g_stm_key_box - -\NewDocumentCommand \MSC { O{} m } - { - \par\noindent \textit { #1\c_space_token MSC:\c_space_token } #2 - } -\NewDocumentCommand \JEL { m } - { - \par\noindent \textit { JEL:\c_space_token } #1 - } -\NewDocumentCommand \PACS { m } - { - \par\noindent \textit { PACS:\c_space_token } #1 - } - -\NewDocumentEnvironment { keywords } { O{ Keywords } } - { - \tex_global:D \tex_setbox:D \g_stm_key_box = \vtop \bgroup - \hsize=.25 \textwidth - \cs_new:Nn \sep: { \par } - \cs_set_eq:NN \sep \sep: - \parindent \z@ - A\,R\,T\,I\,C\,L\,E\ \ I\,N\,F\,O \par \skip_vertical:n { -3pt } - \rule{.25 \textwidth}{.2pt}\par\footnotesize - \noindent \textit { #1 }: \par - } - { \egroup } - - -% -% Print all footnotes in the title page -% - -\bool_new:N \g_stm_longmktitle_bool -\int_new:N \g_stm_jtype_int -\int_new:N \g_stm_blind_int - -\NewDocumentCommand \printFirstPageNotes { } - { - \bool_if:NTF \g_stm_longmktitle_bool - { \tex_let:D \columnwidth = \textwidth } - { } - \int_compare:nTF { \g_stm_jtype_int > 5 } - { \stmaddress } - { } - \printtnotes - \printnonumnotes - \bool_if:NTF \g_stm_blind_bool - { } - { - \printcornotes - \printmaltese - \printaddrinfoot - \printemails - \printurls - \printorcid - \printfacebook - \printtwitter - \printgplus - \printlinkedin - \printfnotes - } - \bool_if:NTF \g_stm_longmktitle_bool - { - \if@twocolumn - \tex_let:D \columnwidth = \Columnwidth \fi - } - { } - \normalcolor - } - -% -% Date History -% -\tl_new:N \g_stm_recd_tl -\tl_new:N \g_stm_accd_tl -\tl_new:N \g_stm_revd_tl -\tl_new:N \g_stm_pub_online_tl -\tl_new:N \g_stm_pub_print_tl - -\cs_new:Npn \date_parse:n #1 { \date_parse_aux:w #1 \q_stop } -\cs_new:Npn \date_parse_aux:w #1 / #2 / #3 \q_stop -{ } - -\NewDocumentCommand \received { m } - { \tl_gput_right:Nn \g_stm_recd_tl { #1 } } -\NewDocumentCommand \accepted { m } - { \tl_gput_right:Nn \g_stm_accd_tl { #1 } } -\NewDocumentCommand \revised { m } - { \tl_gput_right:Nn \g_stm_revd_tl { #1 } } -\NewDocumentCommand \published { O{} m } -{ - \tl_if_eq:nnTF { #1 } { online } - { \tl_if_gput_right:Nn \g_stm_pub_online_tl { #2 } } - { \tl_if_gput_right:Nn \g_stm_pub_print_tl { #2 } } -} - -% -% Verse/Recto -% -\tl_new:N \l_stm_verso_tl -\tl_new:N \l_stm_recto_tl - -\NewDocumentCommand \verso { m } -{ \tl_set:Nn \l_stm_verso_tl { #1 } } -\NewDocumentCommand \recto { m } -{ \tl_set:Nn \l_stm_recto_tl { #1 } } - -% -% Maketitle -% - -\newcounter{au} -\newcounter{cnote} -\newcounter{tnote} -\newcounter{fnote} -\newcounter{aff} - -\cs_new:Nn \__reset_title_counters: -{ - \setcounter{cnote}{0} - \setcounter{fnote}{0} - \setcounter{tnote}{0} - \setcounter{footnote}{0} -} - -\keys_define:nn { stm / mktitle } -{ - blind .bool_gset:N = \g_stm_blind_bool , - footer .multichoice:, - footer/default .tl_gset:N = \g_stm_footer_default_tl , - footer/custom .tl_gset:N = \g_stm_footer_custom_tl , - longtitle .bool_gset:N = \g_stm_longtitle_bool , - longabstract .bool_gset:N = \g_stm_longtitle_bool , - breakafter .clist_gset:N = \g_stm_breakafter_clist , - nologo .bool_gset:N = \g_stm_nologo_bool , -} - -\bool_new:N \g_stm_breakafter_title_bool -\bool_new:N \g_stm_breakafter_auaff_bool -\bool_new:N \g_stm_breakafter_abstract_bool - -\NewDocumentCommand \processbreakafter { } -{ - \clist_if_empty:NTF \g_stm_breakafter_clist { } - { - \clist_map_inline:Nn \g_stm_breakafter_clist - { \bool_gset_true:c { g_stm_breakafter_##1_bool } } - } -} - -\NewDocumentCommand \pprintMaketitle { O{} } -{ - \tl_if_blank:nTF { #1 } { } - { \keys_set:nn { stm / mktitle } { #1 } } - \processbreakafter - \clearpage - \__reset_title_counters: - \tex_def:D \baselinestretch { 1 } - \printFirstPageNotes - \thispagestyle{pprintTitle}% - \group_begin: - \@title - \group_end: - \bool_if:NTF \g_stm_breakafter_title_bool - { \newpage } { } - % - \bool_if:NTF \g_stm_blind_bool - { \vspace* { 10 mm } } - { - \group_begin: - \normalsize \stmauthors \par - \stmcollab \par - \footnotesize \itshape \stmaddress \par \vskip36pt - \group_end: - \bool_if:NTF \g_stm_breakafter_auaff_bool - { \newpage } { } - } - % - \printabsbox - \printkeybox - \bool_if:NTF \g_stm_breakafter_abstract_bool - { \newpage } { } - % - \setcounter{footnote}{\c@fnote} - \tex_gdef:D \thefootnote { \arabic{footnote} } - \tex_def:D \baselinestretch { \@blstr } - \normalfont \normalsize -} - -\NewDocumentCommand \MaketitleBox { O{} } -{ - \tl_if_blank:nTF { #1 } { } - { \keys_set:nn { stm / mktitle } { #1 } } - \processbreakafter - \tex_def:D \baselinestretch{1} - \group_begin: - \@title - \group_end: - % - \bool_if:NTF \g_stm_blind_bool - { \vspace* { 10 mm } } - { - \group_begin: - \normalsize \stmauthors \par - \stmcollab \par - \footnotesize \itshape \stmaddress \par - \group_end: - \bool_if:NTF \g_stm_breakafter_auaff_bool - { \newpage } { } - } - % \printFirstPageNotes - % - \dashrule{0pt}{3pt} - \begin{Abstract} - \noindent \ignorespaces - \file_if_exist:nT { \jobname.abs } { \file_input:n { \jobname.abs } } - \end{Abstract} - \dashrule{6pt}{3pt} - \bool_if:NTF \g_stm_breakafter_abstract_bool - { \newpage } { } -} - -\box_new:N \g_stm_notes_box -\box_new:N \g_stm_front_box -\cs_set:Npn \__fn_text:n #1 -{ \group_begin:\vbox_top:n { \footnotesize #1 } \group_end:\par} - -\NewDocumentCommand \LongMaketitleBox { O{} } -{ - \tl_if_blank:nTF { #1 } { } - { \keys_set:nn { stm / mktitle } { #1 } } - \vbox_gset:Nn \g_stm_front_box - { - \tex_def:D \baselinestretch{1} - \group_begin: - \@title - \group_end: - % - \bool_if:NTF \g_stm_blind_bool - { \vspace* { 10 mm } } - { \group_begin: - \normalsize \stmauthors \par - \stmcollab \par - \footnotesize \itshape \stmaddress \par - \group_end: - } - % - \dashrule{0pt}{3pt} - \begin{Abstract} - \noindent \ignorespaces - \file_if_exist:nT { \jobname.abs } { \file_input:n { \jobname.abs } } - \end{Abstract} - \dashrule{3pt}{3pt} - } - \vbox_gset:Nn \g_stm_notes_box - { \cs_set_eq:NN \footnotetext \__fn_text:n \printFirstPageNotes } - \dim_gset:Nn \g_tmpb_dim { \box_ht:N \g_stm_notes_box } - % \iow_term:x { ...~[ht: \dim_use:N \g_tmpb_dim ] } - \dim_gadd:Nn \g_tmpb_dim { \box_dp:N \g_stm_notes_box } - % \iow_term:x { ...~[ht+dp: \dim_use:N \g_tmpb_dim ] } - \ifbool{sc}{\dim_gadd:Nn \g_tmpb_dim { 12pt } } { } - -} - -\NewDocumentCommand \ProcessLongTitleBox { } -{ - % \vbox_gset:Nn \g_stm_notes_box - % { \cs_set_eq:NN \footnotetext \__fn_text:n \printFirstPageNotes } - % \dim_gset:Nn \g_tmpb_dim { \box_ht:N \g_stm_notes_box } - % % \iow_term:x { ...~[ht: \dim_use:N \g_tmpb_dim ] } - % \dim_gadd:Nn \g_tmpb_dim { \box_dp:N \g_stm_notes_box } - % % \iow_term:x { ...~[ht+dp: \dim_use:N \g_tmpb_dim ] } - % - \dim_gset:Nn \g_tmpa_dim { \textheight } -% \vbox_unpack:N \g_stm_notes_box - % \iow_term:x { ...~[tmpa:~ \dim_use:N \g_tmpa_dim ] } - % \dim_gsub:Nn \g_tmpa_dim { \box_ht:N \g_stm_notes_box } - % \iow_term:x { ...~[tmpa-noteht:~ \dim_use:N \g_tmpa_dim ] } - % \dim_gsub:Nn \g_tmpa_dim { \box_dp:N \g_stm_notes_box } - % \iow_term:x { ...~[tmpa-notedp:~ \dim_use:N \g_tmpa_dim ] } - \dim_gsub:Nn \g_tmpa_dim { \g_tmpb_dim } - \vbox_set_split_to_ht:NNn \g_tmpb_box \g_stm_front_box { \g_tmpa_dim } - \noindent \vbox_unpack_clear:N \g_tmpb_box - \printFirstPageNotes - \dim_gzero:N \g_tmpa_dim - \dim_gset:Nn \g_tmpa_dim { \box_ht:N \g_stm_front_box } - % \iow_term:x { ...~[tmpa-ht:~ \dim_use:N \g_tmpa_dim ] } - \dim_gadd:Nn \g_tmpa_dim { \box_dp:N \g_stm_front_box } - % \iow_term:x { ...~[tmpa-ht+dp:~ \dim_use:N \g_tmpa_dim ~+~\the\textheight] } - \dim_compare:nNnTF { \dim_use:N \g_tmpa_dim } > { \the\textheight } - { - \vbox_set_split_to_ht:NNn \g_tmpb_box \g_stm_front_box { \textheight } - \vbox_unpack_clear:N \g_tmpb_box - \ifbool{dc} - { \twocolumn[{\vbox_unpack_clear:N \g_stm_front_box}] } - { \vbox_unpack_clear:N \g_stm_front_box } - } - { - \ifbool{dc} - { \twocolumn[{\vbox_unpack_clear:N \g_stm_front_box}] } - { \vbox_unpack_clear:N \g_stm_front_box } - } - \normalcolor \normalfont -} -\ExplSyntaxOff - -% -% Headings -% -\def\@seccntDot{.} -\def\@seccntformat#1{\csname the#1\endcsname\@seccntDot\hskip 0.5em} - -\newdimen\paraindent \paraindent=\parindent -\newdimen\subparaindent \subparaindent=\parindent -\def\ssssparaindent{} -\def\sectionfont{\rmfamily\fontsize{12pt}{14pt}% - \bfseries} -\def\ssectionfont{\rmfamily\fontsize{11pt}{13pt}% - \bfseries\selectfont} -\def\sssectionfont{\rmfamily\fontsize{10.5pt}{12pt}% - \fontseries{b}\fontshape{it}\selectfont} -\def\ssssectionfont{\rmfamily\fontsize{11pt}{10pt}\itshape\selectfont} -\def\sssssectionfont{\rmfamily\fontsize{11pt}{10pt}\selectfont}% - -\AtBeginDocument{\global\@afterindentfalse} - -\renewcommand\section{\@startsection{section}{1}{\z@}% - {15pt \@plus 3\p@ \@minus 3\p@}% - {4\p@}% - {%\let\@hangfrom\relax - \sectionfont\raggedright\hst[13pt]}} - -\renewcommand\subsection{\@startsection{subsection}{2}{\z@}% - {10pt \@plus 3\p@ \@minus 2\p@}% - {.1\p@}% - {%\let\@hangfrom\relax - \ssectionfont\raggedright }} - -\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}% - {10pt \@plus 1\p@ \@minus .3\p@}% - {.1\p@}% - {%\let\@hangfrom\relax - \sssectionfont\raggedright}} - -\renewcommand\paragraph{\@startsection{paragraph}{4}{\parindent}% - {10pt \@plus0.01pt \@minus0.01pt}% - {-6pt}% - {\ssssparaindent% - \ssssectionfont\itshape\raggedright}} - -\renewcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}% - {0pt \@plus0.1pt \@minus0.1pt}% - {-6pt}% - {\hspace*{\subparaindent} - \sssssectionfont\raggedright}} - -\def\thesubsection{\thesection.\arabic{subsection}} -\def\thesubsubsection{\thesubsection.\arabic{subsubsection}} - -% -% Sundry lengths -% -\def\xstrut#1#2{\vrule height#1 depth #2 width\z@} -\def\hstrut#1{\vrule height#1 depth \z@ width 0pt} -\def\dstrut#1{\vrule height0pt depth#1 width 0pt} -\def\hst[#1]{\vrule height#1 depth \z@ width \z@} -\def\dst[#1]{\vrule height0pt depth#1 width 0pt} -\def\xst[#1][#2]{\vrule height#1 depth #2 width\z@} - -\def\lastpage{100} - -\AtEndDocument{% -% \clearpage - \immediate\write\@auxout{\string\csxdef{lastpage}{\thepage}} -} - -\ExplSyntaxOn - -% -% pagestyle -% - -\cs_new:Npn \__first_footerline: -{ - \group_begin: - \small - \sffamily - \ifnum\theblind>0\relax - \else - \__short_authors: :~ - \fi - { \rmfamily \itshape Preprint~ submitted ~to ~Elsevier } - \group_end: -} - -\cs_new:Npn \__first_head: -{ - \parbox[t]{\textwidth} - { - \color{black!20} - \rule{\textwidth}{0pt} - } -} - - -\cs_new:Npn \__first_foot: -{ - \parbox[t]{\textwidth} - { - \rule{\textwidth}{.2pt}\\ - \__first_footerline: \hfill Page~ \thepage {} ~of~ \lastpage } -} - - -\cs_new:Npn \__cas_head: -{ - \parbox{\textwidth} - { - \sffamily\small\centering - \__short_title: - } - } - - -\cs_new:Npn \__cas_foot: -{ - \parbox[t]{\textwidth} - { - \rule{\textwidth}{.2pt}\\ - \sffamily\small - \__first_footerline: - \hfill Page~\thepage {}~of~ \lastpage - } -} - -\newcommand \ps@first - { - \cs_set_eq:NN \@oddhead \__first_head: - \cs_set_eq:NN \@evenhead \__first_head: - \cs_set_eq:NN \@evenfoot \__first_foot: - \cs_set_eq:NN \@oddfoot \__first_foot: - } - - -\newcommand \ps@cas -{ - \cs_set_eq:NN \@oddhead \__cas_head: - \cs_set_eq:NN \@evenhead \__cas_head: - \cs_set_eq:NN \@evenfoot \__cas_foot: - \cs_set_eq:NN \@oddfoot \__cas_foot: -} - -\ps@cas - - -% -% Floats -% - -\def\topfraction{.9} -\def\bottomfraction{.9} -\setcounter{topnumber}{4} -\setcounter{bottomnumber}{3} -\setcounter{totalnumber}{5} -\renewcommand\textfraction{.1} -\renewcommand\floatpagefraction{.9} -\setcounter{dbltopnumber}{2} -\renewcommand\dbltopfraction{.9} -\renewcommand\dblfloatpagefraction{.95} -\newdimen \FullWidth -\ABD{\FullWidth=\textwidth} - -\newcolumntype{L}{@{\extracolsep{\fill}}l} -\newcolumntype{R}{@{\extracolsep{\fill}}r} -\newcolumntype{C}{@{\extracolsep{\fill}}c} - -\cs_gset_eq:NN \thead \toprule -\cs_gset_eq:NN \endthead \midrule -\cs_gset_eq:NN \tabref \ref - -\dim_new:N \l_tbl_width_dim -\dim_set:Nn \l_tbl_width_dim { \linewidth } - -\cs_new:Npn \__make_tbl_caption:nn #1#2 -{ - \l_tbl_align_tl - \skip_vertical:N \l_tbl_abovecap_skip - % \bool_if:NTF \g_tbl_full_bool - % { - % \color{scolor!70}\rule{\FullWidth}{2pt}\normalcolor\\ - % } - % { \color{scolor!70}\rule{\tblwidth}{2pt}\normalcolor\\ } - % \fboxsep=4pt - % \colorbox{white} - {\parbox{ \dimexpr(\l_tbl_width_dim)} - {\rightskip=0pt\sffamily\small\textbf{\color{scolor}#1}\par#2\par\vskip4pt }} - \skip_vertical:N \l_tbl_belowcap_skip -} - -\keys_define:nn { cas / tbl } -{ - width .dim_set:N = \l_tbl_width_dim , - pos .tl_set:N = \l_tbl_pos_tl , - cols .tl_set:N = \l_tbl_cols_tl , - align .tl_set:N = \l_tbl_align_tl, - abovecap .skip_set:N = \l_tbl_abovecap_skip , - belowcap .skip_set:N = \l_tbl_belowcap_skip , - abovetbl .skip_set:N = \l_tbl_abovetbl_skip , - belowtbl .skip_set:N = \l_tbl_belowtbl_skip , - full .bool_gset:N = \g_tbl_full_bool , - unknown .code:n = { - \ifstrempty { #1 } - { - \tl_set:Nn \l_fig_pos_tl { \l_keys_key_tl } - } - { - \l_keys_key_tl=#1 - } - } -} - -\cs_set:Npn \__reset_tbl: -{ - \tl_set:Nx \l_tbl_pos_tl { t } - \tl_set:Nx \l_tbl_cols_tl { 1 } - \tl_set:Nn \l_tbl_align_tl { \centering } - \skip_set:Nn \l_tbl_abovecap_skip { 6pt } - \skip_set:Nn \l_tbl_belowcap_skip { 0pt } - \skip_set:Nn \l_tbl_abovetbl_skip { 6pt } - \skip_set:Nn \l_tbl_belowtbl_skip { 6pt } - -} - -\RenewDocumentEnvironment { table } { O{} } -{ - \__reset_tbl: - \bool_gset_false:N \g_tbl_full_bool - \dim_set:Nn \l_tbl_width_dim { \linewidth } - \keys_set:nn { cas / tbl } { #1 } - \csxdef{fps@table}{\l_tbl_pos_tl} - \csgdef{tblwidth}{\dim_use:N \l_tbl_width_dim} - \cs_set_eq:NN \@makecaption \__make_tbl_caption:nn - \@float{table} - \l_tbl_align_tl - \sffamily\small -} -{ -\end@float -} - - -\RenewDocumentEnvironment { table* } { O{width=\FullWidth} } - { - \__reset_tbl: - \bool_gset_true:N \g_tbl_full_bool - \dim_set:Nn \l_tbl_width_dim { \FullWidth } - \keys_set:nn { cas / tbl } { #1 } - \csxdef{fps@table}{\l_tbl_pos_tl} - \csgdef{tblwidth}{\dim_use:N \l_tbl_width_dim} - \cs_set_eq:NN \@makecaption \__make_tbl_caption:nn - \@dblfloat{table} - \l_tbl_align_tl - \sffamily\small - % \leftskip=-\FullWidth - } - { - \end@dblfloat - } - - -\dim_new:N \l_fig_width_dim -\dim_set:Nn \l_fig_width_dim { \linewidth } - -\newbox\cascaptionbox - -\cs_new:Npn \__make_fig_caption:nn #1#2 -{ - \l_fig_align_tl - \skip_vertical:N \l_fig_abovecap_skip -% \bool_if:NTF \g_fig_full_bool -% { \skip_horizontal:n { -\FullWidth } } { } - \setbox\cascaptionbox=\hbox{% - \sffamily\small\textbf{\color{scolor}#1:}~#2} - \ifdim\the\wd\cascaptionbox<\dim_use:N \l_fig_width_dim\relax - \parbox{ \l_fig_width_dim } - {\unskip\ignorespaces\hfil\sffamily\small - \textbf{\color{scolor}#1:}~#2\hfil\par } - \else - \parbox{ \l_fig_width_dim } - {\rightskip=0pt\unskip\ignorespaces\sffamily - \small\textbf{\color{scolor}#1:}~#2\par } - \fi - \skip_vertical:N \l_fig_belowcap_skip -} - -\keys_define:nn { cas / fig } -{ - width .dim_set:N = \l_fig_width_dim , - pos .tl_set:N = \l_fig_pos_tl , - cols .tl_set:N = \l_fig_cols_tl , - align .tl_set:N = \l_fig_align_tl, - abovecap .skip_set:N = \l_fig_abovecap_skip , - belowcap .skip_set:N = \l_fig_belowcap_skip , - abovefig .skip_set:N = \l_fig_abovefig_skip , - belowfig .skip_set:N = \l_fig_belowfig_skip , - full .bool_gset:N = \g_fig_full_bool , - unknown .code:n = { - \ifstrempty { #1 } - { - \tl_set:Nn \l_fig_pos_tl { \l_keys_key_tl } - } - { - \l_keys_key_tl=#1, - } - } -} - -\cs_set:Npn \__reset_fig: -{ - \tl_set:Nx \l_fig_pos_tl { t } - \tl_set:Nx \l_fig_cols_tl { 1 } - \tl_set:Nn \l_fig_align_tl { \raggedleft } - \skip_set:Nn \l_fig_abovecap_skip { 6pt } - \skip_set:Nn \l_fig_belowcap_skip { 6pt } - \skip_set:Nn \l_fig_abovefig_skip { 6pt } - \skip_set:Nn \l_fig_belowfig_skip { 6pt } - -} - -\RenewDocumentEnvironment { figure } { O{} } - { - \__reset_fig: - \bool_gset_false:N \g_fig_full_bool - \dim_set:Nn \l_fig_width_dim { \linewidth } - \keys_set:nn { cas / fig } { #1 } - \csxdef{fps@figure}{\l_fig_pos_tl} - \csgdef{figwidth}{\dim_use:N \l_fig_width_dim} - \cs_set_eq:NN \@makecaption \__make_fig_caption:nn - \@float{figure} - \l_fig_align_tl - \sffamily\small - } - { - \end@float - } - - -\RenewDocumentEnvironment { figure* } { O{width=\textwidth} } -{ - \__reset_fig: - \bool_gset_true:N \g_fig_full_bool - \dim_set:Nn \l_fig_width_dim { \FullWidth } - \keys_set:nn { cas / fig } { #1 } - \csxdef{fps@figure}{\l_fig_pos_tl} - \csgdef{figwidth}{\dim_use:N \l_fig_width_dim} - \cs_set_eq:NN \@makecaption \__make_fig_caption:nn - \@dblfloat{figure} - \l_fig_align_tl - \sffamily\small -% \leftskip=-\FullWidth -} -{ \end@dblfloat } - -% -% wrapped figure -% -\RequirePackage{wrapfig} - -\dim_new:N \l_wrap_figwidth_dim -\dim_new:N \l_wrap_fighspace_dim -\dim_new:N \l_wrap_figvspace_dim -\dim_new:N \l_wrap_fighcorr_dim -\dim_new:N \l_wrap_figvcorr_dim -\dim_new:N \l_above_bio_dim -\int_new:N \l_wrap_figlcorr_int -\int_new:N \l_wrap_figlines_int -\tl_new:N \l_wrap_figfile_tl - -\NewDocumentCommand \wfigwidth { m } - { \dim_set:Nn \l_wrap_figwidth_dim { #1 } } -\NewDocumentCommand \wfighspace { m } - { \dim_set:Nn \l_wrap_fighspace_dim { #1 } } -\NewDocumentCommand \wfigvspace { m } - { \dim_set:Nn \l_wrap_figvspace_dim { #1 } } -\NewDocumentCommand \wfighcorr { m } - { \dim_set:Nn \l_wrap_fighcorr_dim { #1 } } -\NewDocumentCommand \wfigvcorr { m } - { \dim_set:Nn \l_wrap_figvcorr_dim { #1 } } -\NewDocumentCommand \addfiglines { m } - { \int_set:Nn \l_wrap_figlcorr_int { #1 } } -\NewDocumentCommand \abovebioskip { m } - { \dim_set:Nn \l_above_bio_dim { #1 } } - -\cs_new:Nn \__fig_defaults: - { - \wfigwidth { 25.5mm } - \wfighspace { 0mm } - \wfigvspace { 0mm } - \wfighcorr { 0pt } - \wfigvcorr { -12pt } - \wfigvcorr { 0pt } - \abovebioskip { 12pt } - \tl_set:Nn \l_wrap_figpos_tl { l } - \int_set:Nn \l_wrap_figlines_int { 3 } - \int_set:Nn \l_wrap_figlcorr_int { 1 } - \tl_clear:N \l_wrap_figcap_tl - } - -\__fig_defaults: - -\keys_define:nn { wrap / fig } -{ - width .dim_set:N = \l_wrap_figwidth_dim , - hspace .dim_set:N = \l_wrap_fighspace_dim , - vspace .dim_set:N = \l_wrap_figvspace_dim , - hcorr .dim_set:N = \l_wrap_fighcorr_dim , - vcorr .dim_set:N = \l_wrap_figvcorr_dim , - lcorr .int_set:N = \l_wrap_figlcorr_int , - pos .tl_set:N = \l_wrap_figpos_tl , - lines .int_set:N = \l_wrap_figlines_int , - cap .tl_set:N = \l_wrap_figcap_tl , -} - -\cs_new:Npn \__find_fig_height:n #1 -{ - \box_clear:N \g_tmpa_box - \hbox_gset:Nn \g_tmpa_box - { \includegraphics [ width = \l_wrap_figwidth_dim ] { #1 } } - \dim_zero:N \l_tmpa_dim - \dim_set:Nn \l_tmpa_dim { \box_ht:N \g_tmpa_box } - \dim_add:Nn \l_tmpa_dim { \box_dp:N \g_tmpa_box } - \fp_set:Nn \l_tmpa_fp { \dim_to_fp:n { \l_tmpa_dim } } - \fp_set:Nn \l_tmpb_fp { \dim_to_fp:n { \baselineskip } } -% - \fp_set:Nn \l_wrap_figlines_fp - { \fp_eval:n { ( \l_tmpa_fp / \l_tmpb_fp ) + .5 } } - \int_set:Nn \l_wrap_figlines_int - { \fp_to_int:N \l_wrap_figlines_fp } -% - \iow_term:x { ...~wr-fig:~[BL:~\the\baselineskip] ~ ...} - \iow_term:x { ...~wr-fig:~[LINE-FP:~ \fp_use:N \l_wrap_figlines_fp]~ ...} - \iow_term:x { ...~wr-fig:~[LINE-INT:~ \int_use:N \l_wrap_figlines_int]~ ...} -} - -\newbox \l_bio_text_box - -\NewDocumentCommand \WrapFigure { o m } -{ - \__fig_defaults: - \IfNoValueTF { #1 } { } { \keys_set:nn { wrap / fig } { #1 } } - \stepcounter { ca_biography_ctr } - \__find_fig_height:n { #2 } - \dim_zero:N \l_tmpb_dim - \dim_set:Nn \l_tmpb_dim - { \l_wrap_figwidth_dim + \l_wrap_fighspace_dim } - \int_gadd:Nn \l_wrap_figlines_int { \int_use:N \l_wrap_figlcorr_int } - \setlength { \columnsep } { 5pt } - \setlength { \intextsep } { 0pt } -% \mbox{} - \ifbool { dc } - { \xdef\Columnwidth{238.25pt} } - { \xdef\Columnwidth{\the\textwidth} } - \ifcsundef { cabio\theca_biography_ctr lines } - { - \setbox \l_bio_text_box = \vbox \bgroup - \hsize = \dimexpr ( \Columnwidth - 72.28pt ) - } - { - \ifbool { dc } { - \int_gset:Nn \l_wrap_figlines_int - { \csuse { cabio\theca_biography_ctr lines } } - } { } - \skip_vertical:N \l_above_bio_dim - \begin{wrapfigure}[\int_use:N \l_wrap_figlines_int] - { \l_wrap_figpos_tl } - [ \dim_use:N \l_wrap_fighcorr_dim ] - { \dim_use:N \l_tmpb_dim } - %\skip_vertical:N \l_wrap_figvcorr_dim - \includegraphics[width=\l_wrap_figwidth_dim]{#2} - \end{wrapfigure} - \setbox \l_bio_text_box = \vbox \bgroup - \hsize = \dimexpr ( \Columnwidth ) - } -} - -\cs_set:Nn \__fwidth: { 1in } -\cs_set:Nn \__fpos: { l } - -% -% short authors/title -% - -\newcommand\shortauthors[1]{ \cs_gset:Nn \__short_authors: { #1 } } -\newcommand\shorttitle[1]{ \cs_gset:Nn \__short_title: { #1 } } - -\shortauthors{First~Author~et~al.} -\shorttitle{Short ~Title ~of~the~Article} - -\newcounter { ca_biography_ctr } -\newbool { cas_no_pic_bio } -\boolfalse { cas_no_pic_bio } - -\ifnum\theblind>0\relax -\newbox\hidebiobox -\NewDocumentCommand \bio { O{} m } - {\setbox\hidebiobox=\vbox\bgroup} -\NewDocumentCommand \endbio { } { - \egroup -} -\else -\NewDocumentCommand \bio { O{} m } -{ - \global \boolfalse { cas_no_pic_bio } - \casbiographyfont - \par \medskip \tl_set:Nn \l_tmpa_tl { #2 } - \tl_if_empty:NTF \l_tmpa_tl - { \global \booltrue { cas_no_pic_bio } } - { \WrapFigure [ #1 ]{ #2 } } - \noindent \ignorespaces -} - -\int_new:N \l_ca_temp_inta - -\NewDocumentCommand \endbio { } { - \ifbool{ cas_no_pic_bio } { } { - \egroup -% \fp_set:Nn \l_wrap_figlines_fp -% { \fp_eval:n { ( ( \l_tmpa_fp + -% \numexpr\dimexpr\the\ht\l_bio_text_box ) -% / \l_tmpb_fp ) + .5 } } - \int_gset:Nn \l_ca_temp_inta - { \numexpr\dimexpr(\the\ht\l_bio_text_box + 2\baselineskip )/ - \dimexpr\the\baselineskip } - \iow_now:Nx \@auxout { - \string\csgdef{cabio\theca_biography_ctr lines} - { \int_use:N \l_ca_temp_inta } } -\mbox{}\vspace*{-4.5pt}\noindent -\unvbox \l_bio_text_box } -} -\fi - -\let\casbiographyfont\relax - -\NewDocumentEnvironment { biography } { o m } -{ - \IfValueTF { #1 } - { \par\medskip \noindent \includegraphics[width=1in]{#1} } - { } - \par\smallskip - \noindent \textbf{#2:}\enspace -} -{ } - -\ExplSyntaxOff - -% -% Customized Enumeration -% -\def\blstr#1{\gdef\@bslstr{#1}} -\def\@blstr{1} -\newdimen\leftMargin -\leftMargin=2em -\newtoks\@enLab %\newtoks\@enfont -\def\@enQmark{?} -\def\@enLabel#1#2{% - \edef\@enThe{\noexpand#1{\@enumctr}}% - \@enLab\expandafter{\the\@enLab\csname the\@enumctr\endcsname}% - \@enloop} -\def\@enSpace{\afterassignment\@enSp@ce\let\@tempa= } -\def\@enSp@ce{\@enLab\expandafter{\the\@enLab\space}\@enloop} -\def\@enGroup#1{\@enLab\expandafter{\the\@enLab{#1}}\@enloop} -\def\@enOther#1{\@enLab\expandafter{\the\@enLab#1}\@enloop} -\def\@enloop{\futurelet\@entemp\@enloop@} -\def\@enloop@{% - \ifx A\@entemp \def\@tempa{\@enLabel\Alph }\else - \ifx a\@entemp \def\@tempa{\@enLabel\alph }\else - \ifx i\@entemp \def\@tempa{\@enLabel\roman }\else - \ifx I\@entemp \def\@tempa{\@enLabel\Roman }\else - \ifx 1\@entemp \def\@tempa{\@enLabel\arabic}\else - \ifx \@sptoken\@entemp \let\@tempa\@enSpace \else - \ifx \bgroup\@entemp \let\@tempa\@enGroup \else - \ifx \@enum@\@entemp \let\@tempa\@gobble \else - \let\@tempa\@enOther - \fi\fi\fi\fi\fi\fi\fi\fi - \@tempa} -\newlength{\@sep} \newlength{\@@sep} -\setlength{\@sep}{.5\baselineskip plus.2\baselineskip - minus.2\baselineskip} -\setlength{\@@sep}{.1\baselineskip plus.01\baselineskip - minus.05\baselineskip} -\providecommand{\sfbc}{\rmfamily\upshape} -\providecommand{\sfn}{\rmfamily\upshape} -\def\@enfont{\ifnum \@enumdepth >1\let\@nxt\sfn \else\let\@nxt\sfbc \fi\@nxt} -\def\enumerate{% - \ifnum \@enumdepth >3 \@toodeep\else - \advance\@enumdepth \@ne - \edef\@enumctr{enum\romannumeral\the\@enumdepth}\fi - \@ifnextchar[{\@@enum@}{\@enum@}} -\def\@@enum@[#1]{% - \@enLab{}\let\@enThe\@enQmark - \@enloop#1\@enum@ - \ifx\@enThe\@enQmark\@warning{The counter will not be printed.% - ^^J\space\@spaces\@spaces\@spaces The label is: \the\@enLab}\fi - \expandafter\edef\csname label\@enumctr\endcsname{\the\@enLab}% - \expandafter\let\csname the\@enumctr\endcsname\@enThe - \csname c@\@enumctr\endcsname7 - \expandafter\settowidth - \csname leftmargin\romannumeral\@enumdepth\endcsname - {\the\@enLab\hskip\labelsep}% - \@enum@} -\def\@enum@{\list{{\@enfont\csname label\@enumctr\endcsname}}% - {\usecounter{\@enumctr}\def\makelabel##1{\hss\llap{##1}}% - \ifnum \@enumdepth>1\setlength{\topsep}{\@@sep}\else - \setlength{\topsep}{\@sep}\fi - \ifnum \@enumdepth>1\setlength{\itemsep}{0pt plus1pt minus1pt}% - \else \setlength{\itemsep}{\@@sep}\fi - %\setlength\leftmargin{\leftMargin}%%%{1.8em} - \setlength{\parsep}{0pt plus1pt minus1pt}% - \setlength{\parskip}{0pt plus1pt minus1pt} - }} - -\def\endenumerate{\par\ifnum \@enumdepth >1\addvspace{\@@sep}\else - \addvspace{\@sep}\fi \endlist} - -\def\sitem{\@noitemargtrue\@item[\@itemlabel *]} - -\def\itemize{\@ifnextchar[{\@Itemize}{\@Itemize[]}} - -\def\@Itemize[#1]{\def\next{#1}% - \ifnum \@itemdepth >\thr@@\@toodeep\else - \advance\@itemdepth\@ne - \ifx\next\@empty\else\expandafter\def\csname - labelitem\romannumeral\the\@itemdepth\endcsname{#1}\fi% - \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}% - \expandafter\list\csname\@itemitem\endcsname - {\def\makelabel##1{\hss\llap{##1}}}% - \fi} - -% -% Customized theorem -% (non-italic enunciations) -% - -\def\newdefinition#1{% - \@ifnextchar[{\@odfn{#1}}{\@ndfn{#1}}}%] -\def\@ndfn#1#2{% - \@ifnextchar[{\@xndfn{#1}{#2}}{\@yndfn{#1}{#2}}} -\def\@xndfn#1#2[#3]{% - \expandafter\@ifdefinable\csname #1\endcsname - {\@definecounter{#1}\@newctr{#1}[#3]% - \expandafter\xdef\csname the#1\endcsname{% - \expandafter\noexpand\csname the#3\endcsname \@dfncountersep - \@dfncounter{#1}}% - \global\@namedef{#1}{\@dfn{#1}{#2}}% - \global\@namedef{end#1}{\@enddefinition}}} -\def\@yndfn#1#2{% - \expandafter\@ifdefinable\csname #1\endcsname - {\@definecounter{#1}% - \expandafter\xdef\csname the#1\endcsname{\@dfncounter{#1}}% - \global\@namedef{#1}{\@dfn{#1}{#2}}% - \global\@namedef{end#1}{\@enddefinition}}} -\def\@odfn#1[#2]#3{% - \@ifundefined{c@#2}{\@nocounterr{#2}}% - {\expandafter\@ifdefinable\csname #1\endcsname - {\global\@namedef{the#1}{\@nameuse{the#2}} - \global\@namedef{#1}{\@dfn{#2}{#3}}% - \global\@namedef{end#1}{\@enddefinition}}}} -\def\@dfn#1#2{% - \refstepcounter{#1}% - \@ifnextchar[{\@ydfn{#1}{#2}}{\@xdfn{#1}{#2}}} -\def\@xdfn#1#2{% - \@begindefinition{#2}{\csname the#1\endcsname}\ignorespaces} -\def\@ydfn#1#2[#3]{% - \@opargbegindefinition{#2}{\csname the#1\endcsname}{#3}\ignorespaces} -\def\@dfncounter#1{\noexpand\arabic{#1}} -\def\@dfncountersep{.} -\def\@begindefinition#1#2{\trivlist - \item[\hskip\labelsep{\bfseries #1\ #2.}]\upshape} -\def\@opargbegindefinition#1#2#3{\trivlist - \item[\hskip\labelsep{\bfseries #1\ #2\ (#3).}]\upshape} -\def\@enddefinition{\endtrivlist} - -\def\@begintheorem#1#2{\trivlist - \let\baselinestretch\@blstr - \item[\hskip \labelsep{\bfseries #1\ #2.}]\itshape} -\def\@opargbegintheorem#1#2#3{\trivlist - \let\baselinestretch\@blstr - \item[\hskip \labelsep{\bfseries #1\ #2\ (#3).}]\itshape} -% -% Unnumbered roman proofs -% -\def\newproof#1{% - \@ifnextchar[{\@oprf{#1}}{\@nprf{#1}}} -\def\@nprf#1#2{% - \@ifnextchar[{\@xnprf{#1}{#2}}{\@ynprf{#1}{#2}}} -\def\@xnprf#1#2[#3]{% - \expandafter\@ifdefinable\csname #1\endcsname - {\@definecounter{#1}\@newctr{#1}[#3]% - \expandafter\xdef\csname the#1\endcsname{% - \expandafter\noexpand\csname the#3\endcsname \@prfcountersep - \@prfcounter{#1}}% - \global\@namedef{#1}{\@prf{#1}{#2}}% - \global\@namedef{end#1}{\@endproof}}} -\def\@ynprf#1#2{% - \expandafter\@ifdefinable\csname #1\endcsname - {\@definecounter{#1}% - \expandafter\xdef\csname the#1\endcsname{\@prfcounter{#1}}% - \global\@namedef{#1}{\@prf{#1}{#2}}% - \global\@namedef{end#1}{\@endproof}}} -\def\@oprf#1[#2]#3{% - \@ifundefined{c@#2}{\@nocounterr{#2}}% - {\expandafter\@ifdefinable\csname #1\endcsname - {\global\@namedef{the#1}{\@nameuse{the#2}}% - \global\@namedef{#1}{\@prf{#2}{#3}}% - \global\@namedef{end#1}{\@endproof}}}} -\def\@prf#1#2{% - \refstepcounter{#1}% - \@ifnextchar[{\@yprf{#1}{#2}}{\@xprf{#1}{#2}}} -\def\@xprf#1#2{% - \@beginproof{#2}{\csname the#1\endcsname}\ignorespaces} -\def\@yprf#1#2[#3]{% - \@opargbeginproof{#2}{\csname the#1\endcsname}{#3}\ignorespaces} -\def\@prfcounter#1{\noexpand\arabic{#1}} -\def\@prfcountersep{.} -\def\@beginproof#1#2{\trivlist\let\baselinestretch\@blstr - \item[\hskip \labelsep{\scshape #1.}]\rmfamily} -\def\@opargbeginproof#1#2#3{\trivlist\let\baselinestretch\@blstr - \item[\hskip \labelsep{\scshape #1\ (#3).}]\rmfamily} -\def\@endproof{\endtrivlist} -\newcommand*{\qed}{\hbox{}\hfill$\Box$} - -\xspaceaddexceptions{]} - -\ABD{\@ifundefined{bibsep}{}{\bibsep=0pt}} -%\ifbool{casfinallayout} -% {% - \ABD{\gdef\bibfont{\fontsize{8pt}{10pt}\selectfont}% - \gdef\casbiographyfont{\fontsize{8pt}{10pt}\selectfont}% - }% -% } -% {} - -\endinput - diff --git a/paper_cg/els-cas-templates/cas-dc-sample.pdf b/paper_cg/els-cas-templates/cas-dc-sample.pdf deleted file mode 100644 index aeaa27f..0000000 Binary files a/paper_cg/els-cas-templates/cas-dc-sample.pdf and /dev/null differ diff --git a/paper_cg/els-cas-templates/cas-dc-sample.tex b/paper_cg/els-cas-templates/cas-dc-sample.tex deleted file mode 100644 index aeaa9e5..0000000 --- a/paper_cg/els-cas-templates/cas-dc-sample.tex +++ /dev/null @@ -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{