Complete P4 Volve; pivot the manuscript to theory + benchmark

P4 (Volve field case). Add the deviated-well and Volve well builders
(ml_porosity/data/deviated.py, volve_wells.py), the ml_porosity/volve/
pipeline, scripts 23-25, the run_p4 drivers and tests. The protocol
configs/protocol_volve.yaml was locked at 2026-10-29T01:17:42Z before the
run (.sha256, .lock.json) and is committed here after the run. Gate G-D
failed: M2-Sa beats the selected B3 at 2/6 wells (lowo) and 3/6 (slot),
coverage90 is about 0.47, and no method has blind-well skill (R2 < 0).
A post hoc constant at the training-well mean beats every network, so
G-D had no power. The dropped P4x exploratory run is kept as a record
only (exploratory/, docs/research/p4-exploratory.md).

Applicability and Teapot Dome (exploratory, pre-declared). Scripts 26-29
and docs/research/applicability-*.md: F3 and Volve fail C1 and pass C2;
T3 power needs 5-18 blind wells with an exact reference; Teapot T0 and
pilot P-a failed, so Teapot is stopped. Raw Teapot data stay gitignored.

Manuscript (Pivot 1, level A). Reframe paper/ as a theory and synthetic
benchmark paper: Propositions 3-6, Corollaries 3-4, T4 coverage
(script 30) and the post hoc H2b bound check (script 31), with F3/Volve
moved to Appendix B. Correct two earlier claims: the Berkson and
classical bounds differ by 1.5-4.6x at the f^4-weighted band, and the
bank gain exceeds the registered classical bound (7/8 wide cells at
N = 16) but only 3/8 under the post hoc Berkson bound.

Docs. Sync plan, AGENTS.md, README, report.html, theory and technical
overview. The length pass for the venue is dropped by the user
(plan section 12 item 25); the length risk stays recorded as R9.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-29 12:18:22 +00:00
parent 7da6b077b6
commit 0cfe202a8b
61 changed files with 7162 additions and 881 deletions

View File

@@ -2,30 +2,32 @@
\label{sec:discussion}
\paragraph{What the synthetic experiments show.}
The two experiments separate two questions that are easy to conflate. The first is whether the tie posterior is informative. The second is whether training on it helps. In Experiment~1 the posterior was not informative: 64 anchor-conditioned samples reweighted by tie likelihoods stayed as wide as the anchors allowed. Labels drawn from it were no better than a good correlation-based point tie. Once the posterior contracted (SMC, Experiment~2), labels at its mean beat every point tie in all three full-anchor regimes, and a bank of its samples gained further when the posterior was wide. Better registration of the training labels came first. Marginalizing over what remained then added a smaller, width-dependent gain. Neither result says that marginalization rescues a poor posterior. Experiment~1 is direct evidence that it does not.
The two experiments separate two questions that are easy to conflate. The first is whether the tie posterior is informative. The second is whether training on it helps. In Experiment~1 the posterior was not informative: 64 anchor-conditioned samples reweighted by tie likelihoods stayed as wide as the anchors allowed, and labels drawn from them were no better than a good correlation-based point tie. Once the posterior contracted (SMC, Experiment~2), labels at its mean beat every point tie in all three full-anchor regimes, and a bank of its samples gained further when the posterior was wide. Better registration of the training labels came first. Marginalizing over what remained then added a smaller, width-dependent gain. Neither result says that marginalization rescues a poor posterior, and Experiment~1 is direct evidence that it does not.
\paragraph{Where the bank gain comes from.}
The theory gives a population limit, and whether the measured gains exceed it depends on the structure of the tie error. In population, a calibrated bank has the minimizer of training on the true labels (Proposition~\ref{prop:bank}), and no method improves on a point label by more than the factor $\rho^\star$ of \eqref{eq:rhostar}. Its distortion term is of fourth order in the tie error. For the Oracle predictions of Experiment~2 it sits near 70\,Hz, where a Berkson error distorts much more than a classical error of the same width (Section~\ref{sec:theory:post}). Under the registered bound for classical error, \mRML{} gained more than the limit allows in 7 of the 8 wide cells at $N = 16$. Under the bound for Berkson error, the natural idealization for labels at the posterior-mean warp, it did so in 3 cells at the posterior width and in at most 1 at the measured warp error of \mPM{} (Section~\ref{sec:exp:p2r}). In most cells the bank gain is therefore no larger than removing a population sharpening of \mPM{} could give, but this rests on an error structure that was not tested. On synthetic data the covariance test of Section~\ref{sec:theory:post} can settle it (Section~\ref{sec:exp:mech}). Finite-sample effects can add to this population effect or outweigh it: the label error itself is of first order, and its effect on the conditional variance that a network must absorb is of second order, against the fourth-order population distortion (Section~\ref{sec:theory:post}). Part of the gap to the Oracle is not caused by registration at all. At $c = 0$, with SMC warp errors of 0.2--0.7\,ms, the Oracle was still 1--3\% better than \mPM{}, and it was trained twice as long. \mRML{} closed 27--46\% of the gap between \mPM{} and the Oracle at $c = 1$, and it did not reach the Oracle in any wide cell at $N = 16$. Beyond the population correction, three mechanisms could contribute to the bank gain. The bank acts as label augmentation, and the learned variance absorbs its spread. For $\lambda > 0$ the responsibilities re-register the labels during training (Remark~\ref{rem:lambda}). A multimodal posterior gives the mean warp a non-Gaussian error, against which a bank can gain more than the Gaussian bound allows (Corollary~\ref{cor:twomode}). Until the exploratory analysis of Section~\ref{sec:exp:mech} is done, the bank gain is an empirical regularity of this benchmark whose source is not identified.
\paragraph{When to use a bank rather than the posterior mean.}
When the posterior is narrow ($\sigpost < 1.5$\,ms), RML and posterior-mean labels are equivalent within 1\% on average. RML costs little there, but it also brings no benefit. When the posterior is wide, because of low SNR, sparse anchors or strong drift, RML helped in every wide cell at $N = 16$. The size of the gain follows the posterior width. The largest gain came with sparse anchors (R10tb), where the posterior was also overconfident. The bank is cheap: 64 labels per window add little to training cost. A practical rule is therefore to train with the bank whenever the tie posterior is wider than about 1.5\,ms. On real data this width cannot be checked against a true warp. It depends on $\sigma_a$ (next paragraph).
Within this benchmark the answer depends on the posterior width. When the posterior is narrow ($\sigpost < 1.5$\,ms), \mRML{} and \mPM{} are equivalent within 1\% on average, so the bank costs little and brings nothing. When the posterior is wide, because of low SNR, sparse anchors or strong drift, \mRML{} passed in all eight wide cells at $N = 16$, and over all cells at $N = 16$ the gain grew with the width (Spearman $\rho = -0.85$). The bank is cheap: 64 labels per window add little to the cost of training. A practical rule is therefore to train with the bank whenever the tie posterior is wider than about 1.5\,ms. The largest gain at $c = 1$ came with sparse anchors (R10tb), where the posterior was overconfident and the bank was narrower than the error it was meant to represent, so in that regime the bank helped without being calibrated. On real data the width cannot be checked against a true warp, and it depends on $\sigma_a$.
\paragraph{The anchor uncertainty is the main risk.}
Every positive result in Experiment~2 assumes that $\sigma_a$ is known. Halving or doubling it removed the H2a advantage in every cell, and it miscalibrated the posterior in both directions. On F3 the time--depth markers are horizon-tie picks on the same seismic. A type-II estimate treats them as exact (0.4\,ms), while the marker--horizon spread suggests 7\,ms. These two values place F3 at opposite ends of the $\sigpost$ axis: about 0.6\,ms (narrow, like R10) or 2.5--3.4\,ms (wide, close to Rm5). The synthetic results therefore do not predict the F3 outcome. Independent check shots, or anchors from a second source (for example, horizons picked on a different volume), would be needed to pin down $\sigma_a$. On F3 we kept the registered 7\,ms, at which $\sigpost$ was 1.7--3.6\,ms, and ran arms at 3.5 and 14\,ms (Table~\ref{tab:f3sens}). \mRML{} beat the selected point tie at one, one and two of the four wells, and coverage failed in all three arms. The field data did not discriminate between these values, and none of them made the result positive.
Every positive result of Experiment~2 assumes that $\sigma_a$ is known. Halving or doubling it removed the H2a advantage in every cell and miscalibrated the posterior in both directions (Table~\ref{tab:sigmaa}). On F3 the time--depth 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 R10) or 2.5--3.4\,ms (wide, close to Rm5), and the arms at 3.5 and 14\,ms did not change the F3 outcome (Appendix~\ref{sec:exp:f3}). The width that decides between \mPM{} and \mRML{} inherits this dependence. An estimate of $\sigma_a$ from independent time--depth data at wells outside the test set is therefore a precondition for using the tie posterior, not a refinement of it.
\paragraph{Why the RML gain is not explained by the theory.}
Proposition~\ref{prop:blur} bounds what a bank can recover from a Gaussian-blurred posterior mean. In 7 of 8 wide cells, RML gained more than that bound allows. The extra gain is real in the sense that it passed the pre-registered rule, but its cause is open. Label augmentation, which regularizes a network trained on few wells, and bias of the posterior mean under multimodality are both plausible. Separating them needs an experiment in which the bank is replaced by random perturbations of matched size. We did not run it.
\paragraph{What a field test of registration needs.}
Proposition~\ref{prop:reference} and the detectability analysis (Section~\ref{sec:exp:detect}) turn the field failures into four requirements. They are derived under the simulator of the benchmark. First, the scoring reference must be independent of the seismic and accurate to about 1\,ms. To leading order, the measured advantage has the sign of the true one only if the reference error is below $1/\sqrt2$ times the tie error that the comparison is meant to detect (Corollary~\ref{cor:tolerance}), and power is lost well before that point. With an exact reference, a sign test reached a power of 0.8 with 5--18 blind wells in five of the six cells. At 1\,ms it needed 11--30 wells in four cells, and at 3\,ms or more no cell reached that power with 40 wells. Check shots or a vertical seismic profile can meet this requirement once their datum and statics are reconciled with the seismic. A reference tied by synthetic--seismic matching on the same seismic cannot, because its error is not independent of the predictions. Second, the number of blind wells should follow from a power analysis at the expected effect, and the pass rule should be a test. A rule of $k$ of $n$ wells is not one: with independent wells and no true difference, three of four passes with probability 0.31 and five of six with probability 0.11, and no one-sided sign test at $\alpha = 0.05$ can reject with four wells. Third, $\sigma_a$ must be estimated outside the test set (previous paragraph). Fourth, the networks must have skill in the seismic band at blind wells before registration can matter there. The two field cases that we tested meet none of the four. Teapot Dome, the one large dataset that we inventoried, has 152 wells but fails the first and the third: at most two of its wells have an independent time--depth reference, and the best reference that we could build from horizons and formation tops had a per-well error of 5--7\,ms (Section~\ref{sec:exp:scope}).
\paragraph{What the field cases show.}
Both field gates failed, but in neither case was the timing of the training labels what limited the error at the blind wells. On F3 the networks followed the low-frequency trend (total PCC about 0.5) but predicted little of the seismic band. The macro difference in band RMSE between \mRML{} and B3c-R, 0.016\,p.u., was an eighth of the variation between seeds (up to 0.13\,p.u.) and smaller than the shift produced by plausible alternative scoring references (up to 0.15\,p.u.). Two contrasts with the synthetic results 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 of H4 but fell slightly on F3 (1.247 against 1.272\,p.u.). The shift-bank losses B4a and B4b, 38--53\% worse than B3b in Experiment~1, had a lower band RMSE than every point tie on F3. The F3 label is, moreover, a linear function of the sonic at three of the four wells, so label and time axis share a source, which violates (A1). On Volve, whose label is density-driven, the error was dominated by the level of porosity, whose well means span 8.5\,p.u. The tie methods changed the macro RMSE by at most 0.25\,p.u.\ out of 6--7\,p.u., and a constant at the training-well mean beat every network (Appendix~\ref{sec:exp:volve}). Neither case is evidence against the synthetic results, and neither is evidence for them. They bound the scope of the paper: its claims 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{Labels on F3 are sonic.} At three of four wells, the F3 porosity label is an exact linear function of DT. Learning it from seismic is learning a sonic-derived quantity, and the label and the time axis share a source, which violates (A1). The second field dataset is meant to address this. \todo{Volve: porosity from density--neutron.}
\item \textbf{A trend is the strongest F3 baseline.} No learned model beat B0a in total RMSE on F3, either in the baseline run or under the nested design (Tables~\ref{tab:p1} and~\ref{tab:f3all}). Under the nested design only B4b had a lower band RMSE than a prediction with no seismic-band content, and no network had a band PCC above 0.22. With two or three training wells, the networks learned little of the seismic-band variation of the label.
\item \textbf{One simulator.} Every confirmatory result comes from one generator, whose statistics and warp prior were estimated on F3. The registration methods use the warp family and the wavelet of the generator. They differ from it only in the prior hyperparameters, which are fitted to the training anchors or fixed, and in the estimated wavelet phase, so a misspecified warp family or wavelet has not been tested. \todo{S2 of \texttt{protocol\_bench} (three misspecification axes). If S2 is not locked and run before submission, call the study a controlled synthetic study, not a benchmark, throughout.}
\item \textbf{Experiment~2 is a deviation.} It was pre-registered and run on new realizations, but it was designed after Experiment~1 had failed, and re-running was not among the options registered for that failure (Section~\ref{sec:exp:diag}).
\item \textbf{Strong drift.} At $c = 2$ the SMC posterior was multimodal and its mean was unstable between runs. These cells are reported but are not evidence.
\item \textbf{Untested stresses.} The bulk-offset prior $\sigma_b$ was not varied. Rock-physics misspecification between training and test areas was not tested. The anchor-free baselines B4a--B4d were not rerun in Experiment~2.
\item \textbf{Untested stresses.} The bulk-offset prior $\sigma_b$ was not varied, and the anchor-free losses B4a--B4d were not rerun with the SMC posterior. \todo{S3 (B4 under the SMC posterior) and S8 (controlled cycle-skip regime).}
\item \textbf{Monte Carlo variability.} At low SNR the SMC run-to-run stability criterion failed in one of four development cells at $c = 1$, mainly through the phase estimate. This variability is small relative to $\sigpost$, but it was not removed.
\item \textbf{Uncertainty quantification.} Seed ensembles under-covered for every method, and more so for better labels. On F3 every probabilistic method under-covered as well (macro 80\% coverage 0.38--0.52). Propagating the tie posterior to predictive uncertainty at a new well needs a different mechanism, for example predicting in depth through the warp posterior. We did not attempt this.
\item \textbf{Uncertainty quantification.} Seed ensembles under-covered for every method ($\xi$ of 0.19--0.66 at R10, $c = 1$, $N = 16$), and more so for better labels and longer training. Because training length and label source are confounded, parts (b) and (c) of Proposition~\ref{prop:coverage} remain untested. On F3 the macro 80\% coverage of every probabilistic method was 0.38--0.52, and on Volve 0.29--0.39. Carrying the tie posterior to predictive uncertainty at a new well needs a different mechanism, for example prediction in depth through the warp posterior. We did not attempt this.
\item \textbf{The tempering $\lambda$.} $\lambda = 1/\tau_c$ is a heuristic fixed in advance. We did not compare it with alternatives and make no claim about it.
\item \textbf{One backbone.} All learned methods share one CNN--GRU; only two F3 ablations used a second, purely convolutional backbone (Table~\ref{tab:f3abl}). Assumption (B) of Proposition~\ref{prop:ident} holds only approximately for it.
\item \textbf{One backbone.} All learned methods share one CNN--GRU; only two F3 ablations used a second, purely convolutional backbone (Table~\ref{tab:f3abl}). Assumption (B) of Proposition~\ref{prop:ident} holds only approximately for it. \todo{S4 (second backbone).}
\item \textbf{Detectability.} Section~\ref{sec:exp:detect} rescored predictions with the skill of Experiment~2 against references whose errors are smooth and independent of the predictions. Its numbers of wells hold for predictors of comparable skill. A reference tied on the same seismic adds a covariance with the predictions that we did not model.
\end{itemize}
\paragraph{The F3 field test.}
On the four F3 wells the direction found in Experiment~2 was not reproduced. \mRML{} beat the selected point tie at one well of four, and its intervals under-covered badly (Section~\ref{sec:exp:f3}). Three features of the F3 results bear on how to read this failure. We did not test any of them as an explanation. First, the posterior was wide by the rule of Experiment~2 ($\sigpost$ of 1.7--3.6\,ms), but each model was trained on two wells, and the networks predicted little of the seismic band: only B4b had a lower band RMSE than a prediction with no band content. Second, the difference being tested was small compared with other sources of variation. The macro gap between \mRML{} and B3c-R was 0.016\,p.u. Between seeds, the macro band RMSE of each method varied by up to 0.13\,p.u. The ablations of \mRML{} spanned 0.07\,p.u., and plausible alternative scoring references moved the band RMSE of a method by up to 0.15\,p.u. Third, $\sigma_a$ was not identified. The arms at 3.5 and 14\,ms did not change the outcome, and the leave-one-anchor-out check found the anchor prior at 7\,ms too wide (mean $z^2$ of 0.21), the same direction as the type-II estimate. Two contrasts with the synthetic experiments point the same way. Without anchors, band RMSE nearly doubled in the synthetic test of H4 but fell slightly on F3 (1.247 against 1.272\,p.u.). The shift-bank losses B4a and B4b, 38--53\% worse than B3b in Experiment~1, had lower band RMSE than every point tie on F3. Both contrasts would be expected if the F3 band score were insensitive to the timing of the labels, but we did not test this. A field test that can separate methods whose band errors differ by about 1\% needs more wells, a scoring reference that does not depend on the tie, or both. The predicted volume shows where the ensemble members disagree. Given the under-coverage at the outer wells, its standard deviation is not an error bar.
\todoblock{Discussion of Volve results (gate G-D): whether the direction holds with a label that does not depend on sonic, and how this changes the reading of the F3 failure. Write this paragraph whatever the outcome, including a failure of G-D.}