Add manuscript draft with F3 results; close P3
- paper/: LaTeX draft. Section 6.4 reports the F3 nested leave-one-well-out test (gate G-C failed: 1/4 wells improved, macro coverage 0.52/0.61) with all-method, sensitivity and ablation tables, posterior width, LOAO and the descriptive volume. Discussion, abstract, introduction and conclusion carry the F3 outcome; Volve parts remain marked as todo. - Correct the pre-registration wording for F3: the protocol hash lock preceded the run, but the protocol was committed and tagged only after it. - scripts/22_paper_figures.py: paper figures, including the F3 inline section (f3_volume). - docs/plan.md §12 item 17: close P3 without a rerun, record the lock timeline, the post hoc descriptive analyses and the axis label issue in the locked plot_sections. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
107
paper/sections/04_theory.tex
Normal file
107
paper/sections/04_theory.tex
Normal file
@@ -0,0 +1,107 @@
|
||||
\section{Theory: blur and identifiability}
|
||||
\label{sec:theory}
|
||||
|
||||
\paragraph{Notation.}
|
||||
$t$ is seismic two-way time, $X$ the seismic input around a well, and $y(t)$ the label under correct registration. $\delta(t)$ is the registration error, and the observed label is $\tilde y(t) = y(t + \delta(t))$. The oracle predictor is $m(t) = \E[y(t)\mid X]$, the MSE-optimal predictor under correct labels. The Fourier transform is $\hat g(f) = \int g(t)\,e^{-i2\pi f t}\dd t$, and $T_\beta h(t) = h(t-\beta)$ is a time shift. $S_a$ is the power spectrum of $a$. The seismic band is $|f| \ge f_c$ with $f_c = 6$\,Hz, and $B$ is the corresponding high-pass operator, with $a_b = Ba$. In the experiments $B$ is a zero-phase fourth-order Butterworth filter. Its response is real and non-negative, so every result below holds with $S$ replaced by $|H_B|^2 S$. Spectral statements assume second-order stationarity in $t$, which is a working assumption for well logs.
|
||||
|
||||
\subsection{Misregistered labels blur the optimal predictor}
|
||||
|
||||
\begin{proposition}[Blur]
|
||||
\label{prop:blur}
|
||||
Assume (A1) that for every $t$, $\delta(t)$ is independent of $(X, y(\cdot))$ with distribution $p_t$, and (A2) that $\E[y(t)^2] < \infty$. Then the MSE-optimal predictor of the observed label is
|
||||
\begin{equation}
|
||||
\hat y^\star(t) = \E[\tilde y(t)\mid X] = \int p_t(d)\, m(t+d)\dd d .
|
||||
\end{equation}
|
||||
If $p_t \equiv p$, then $\hat y^\star$ is $m$ passed through a linear time-invariant filter with frequency response equal to the characteristic function of $\delta$,
|
||||
\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}.
|
||||
\label{eq:transfer}
|
||||
\end{equation}
|
||||
\end{proposition}
|
||||
|
||||
Only the marginal distribution of $\delta(t)$ at each $t$ enters $\hat y^\star$. 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 linear phase, that is, a common shift. This common shift is the direction that Proposition~\ref{prop:ident} shows to be unidentified. Assumption (A1) is a modelling assumption. On F3 the same sonic log produces both the label and the time axis, so $\delta$ and $y$ are not strictly independent.
|
||||
|
||||
\begin{corollary}[Seismic-band bounds]
|
||||
\label{cor:band}
|
||||
Let $\langle h\rangle = \int_{|f|\ge f_c} h\, S_{m}\dd f \big/ \int_{|f|\ge f_c} S_{m}\dd f$. Then
|
||||
\begin{equation}
|
||||
\frac{\sd \hat y^\star_b}{\sd y_b} \le \sqrt{\langle |P|^2\rangle} \le \sup_{|f|\ge f_c}|P(f)|,
|
||||
\qquad
|
||||
\PCC_b(\hat y^\star) = \kappa(P)\,\PCC_b(m), \quad \kappa(P) = \frac{\langle \operatorname{Re} P\rangle}{\sqrt{\langle|P|^2\rangle}} \le 1 ,
|
||||
\end{equation}
|
||||
with equality in $\kappa$ if and only if $P$ is a positive constant on the support of $S_{m_b}$.
|
||||
\end{corollary}
|
||||
|
||||
The coherence at each frequency is unchanged. 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.
|
||||
|
||||
\begin{corollary}[Variance matching rescales amplitude only]
|
||||
\label{cor:var}
|
||||
Consider $J(h) = \E\|h - \tilde y\|^2 + \Psi(\E h, \Var h)$ over predictors $h$ that are functions of $X$, where $\Psi$ is any penalty on the mean and variance of the prediction (for example a penalty on the standard-deviation ratio). Every minimizer satisfies $h^\star - \E h^\star = a\,(\hat y^\star - \E\hat y^\star)$ for some $a \ge 0$.
|
||||
\end{corollary}
|
||||
|
||||
A variance-matching loss can therefore restore the overall standard-deviation ratio, but the in-band spectrum keeps the shape $|P|^2 S_m$. The prediction becomes larger but stays blurred. Baseline B2 (Section~\ref{sec:method:baselines}) combines a variance-matching term with a best-shift term and is affected in the same way.
|
||||
|
||||
\paragraph{Verification (H1).}
|
||||
We trained the backbone of Section~\ref{sec:method:train} with MSE on oracle synthetic labels shifted by $\delta_{wj} = \sigma z_{wj}$, $z \sim \N(0,1)$. The shift is fixed within each 64-sample window and independent of everything else, so (A1) holds by construction. We used $c = 0$, $N = 16$, eight realizations and five seeds. The cross-spectrum ratio
|
||||
\begin{equation}
|
||||
\hat H_\sigma(f) = \frac{\sum \operatorname{Re}[Y^*(f)\hat Y_\sigma(f)]}{\sum \operatorname{Re}[Y^*(f)\hat Y_0(f)]}
|
||||
\end{equation}
|
||||
estimates $P_\sigma(f)$; the sums run over test wells, realizations and seeds. The pre-registered statistic is $r(\sigma)$, the geometric mean of $\hat H_\sigma/P_\sigma$ over frequencies with $f \ge f_c$, $P_\sigma \ge 0.1$ and reference cross-power at least 10\% of its in-band maximum. The hypothesis is rejected if $r \notin [0.5, 2]$ for any $\sigma > 0$. Table~\ref{tab:h1} and Fig.~\ref{fig:h1} show the result: $r = 1.009$, 1.009 and 1.007 for $\sigma = 4$, 8 and 16\,ms, and $r = 1.093$ for $\sigma = 32$\,ms. Proposition~\ref{prop:blur} is not rejected. Two limitations apply. First, the frequency-selection rule keeps only 6.8--22.5\,Hz, where the MSE predictor has coherent power (72\% of the in-band cross-spectrum); the test says nothing above about 23\,Hz. Second, at 32\,ms the measured attenuation is 9\% weaker than predicted and the interval excludes 1. This is within the pre-registered tolerance, and we have not identified its cause.
|
||||
|
||||
\begin{table}[t]
|
||||
\centering
|
||||
\caption{Test of Proposition~\ref{prop:blur} (H1). $r(\sigma)$: geometric mean of measured over theoretical transfer; 95\% bootstrap interval over realizations. Band metrics in p.u.\ on test wells.}
|
||||
\label{tab:h1}
|
||||
\small
|
||||
\begin{tabular}{rcccccc}
|
||||
\toprule
|
||||
$\sigma$ (ms) & $r(\sigma)$ & 95\% CI & frequencies & band RMSE & band PCC & band sd ratio \\
|
||||
\midrule
|
||||
0 & 1 & -- & 17 & 0.426 & 0.954 & 0.945 \\
|
||||
4 & 1.009 & [0.996, 1.019] & 17 & 0.587 & 0.908 & 0.817 \\
|
||||
8 & 1.009 & [0.990, 1.025] & 17 & 0.805 & 0.817 & 0.677 \\
|
||||
16 & 1.007 & [0.975, 1.038] & 15 & 1.042 & 0.670 & 0.475 \\
|
||||
32 & 1.093 & [1.046, 1.143] & 4 & 1.269 & 0.388 & 0.247 \\
|
||||
\bottomrule
|
||||
\end{tabular}
|
||||
\end{table}
|
||||
|
||||
\begin{figure}[t]
|
||||
\centering
|
||||
\includegraphics[width=\linewidth]{p2_h1.pdf}
|
||||
\caption{Test of Proposition~\ref{prop:blur}. (a) Estimated transfer $\hat H_\sigma(f)$ on the frequencies used (solid) and $e^{-2\pi^2\sigma^2 f^2}$ (dashed). The shaded band below 6\,Hz is outside the seismic band and is not used. (b) $r(\sigma)$ with 95\% intervals over realizations and the number of frequencies used; the shaded region is the pre-registered non-rejection interval $[0.5, 2]$. Setting: $c = 0$, $N = 16$, MSE loss.}
|
||||
\label{fig:h1}
|
||||
\end{figure}
|
||||
|
||||
\paragraph{Implication for posterior labels.}
|
||||
\label{sec:theory:post}
|
||||
A tie posterior can be used in two ways: labels at the posterior-mean warp $\bar\tau(t)$, or a bank of labels drawn from posterior samples. Let $\delta = \bar\tau - \tau$ be the error of the mean warp. If the posterior is calibrated, $\Var\delta(t) \approx \sigpost(t)^2$. Treating (A1) as an approximation, Proposition~\ref{prop:blur} says that training on mean-warp labels blurs the optimum by $P(f) \approx e^{-2\pi^2\sigpost^2 f^2}$. No method can beat labels at the true warp, so the largest possible gain of a bank over the mean warp is the loss caused by this blur. We measure that loss directly as $B(\sigma) = \text{band RMSE}(\text{blur}_\sigma(\mu))/\text{band RMSE}(\mu)$, where $\mu$ is the prediction of the oracle-label model on a development realization. On the H1 predictions this quantity reproduces the measured penalty (1.33 against 1.38 at 4\,ms; 1.85 against 1.91 at 8\,ms). If a bank removed the blur completely, the bank-to-mean ratio would be about $1/B(\sigpost)$. This is a directional expectation, not a strict bound. The mean-warp error is not independent of $y$, because $\bar\tau$ is estimated from the same seismic that the network reads. A multimodal posterior (cycle skips) gives heavier-tailed errors than a Gaussian with the same width. A gain larger than $1/B$ therefore cannot be attributed to deblurring (Section~\ref{sec:exp:p2r}).
|
||||
|
||||
\subsection{Without anchors, absolute timing is not identified}
|
||||
|
||||
Consider $N$ training wells with seismic $X_w$, depth logs $\phi_w$ and warps $u_w = (b_w, g_w)$ (Section~\ref{sec:method:prior}). Let $y^{u}(t) = (\aaf\phi)(z_u(t))$ be the label under warp $u$, where $z_u$ inverts $t_u$ and $\aaf$ is an anti-alias filter. Let $e_b$ be the direction that adds the same $\beta$ to every $b_w$. The joint MAP objective over network parameters $\theta$ and warps $\mathbf{u}$ is
|
||||
\begin{equation}
|
||||
\Phi(\theta, \mathbf u) = \sum_w \Big[\mathcal L_w(\theta; y_w^{u_w}) + \log p(u_w) + \sum_k \log \N\big(t_{wk};\, t_{u_w}(z_{wk}),\, \sigma_a^2\big)\Big],
|
||||
\end{equation}
|
||||
with Gaussian log-likelihood $\mathcal L_w$ over windows and anchors $(z_{wk}, t_{wk})$.
|
||||
|
||||
\begin{proposition}[Identifiability]
|
||||
\label{prop:ident}
|
||||
Assume (B) that the model class is closed under output shifts: for each $\theta$ and each admissible $\beta$ there is $\theta'$ with $\mu_{\theta'} = T_\beta \mu_\theta$ and $\sigma_{\theta'} = T_\beta\sigma_\theta$. Then, up to window-edge effects:
|
||||
\begin{enumerate}
|
||||
\item[(a)] without anchors, with a flat prior on $b$ and no seismic tie term, $\Phi(\theta', \mathbf u + \beta e_b) = \Phi(\theta, \mathbf u)$, so the objective has a ridge in $\beta$ shared by all wells;
|
||||
\item[(b)] a prior $b_w \sim \N(0, \sigma_b^2)$ adds curvature $N/\sigma_b^2$ along the ridge;
|
||||
\item[(c)] anchors with finite $\sigma_a$ add curvature $\sum_w K_w/\sigma_a^2$, where $K_w$ is the number of anchors at well $w$, so that
|
||||
\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}
|
||||
\end{enumerate}
|
||||
\end{proposition}
|
||||
|
||||
With 4 wells of 16 anchors 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 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$. Assumption (B) holds exactly for fully convolutional networks with a wide enough last layer and approximately for the CNN--GRU used here.
|
||||
|
||||
\paragraph{The seismic tie term.}
|
||||
Seismic is observed on a fixed time axis, so a tie likelihood that compares the seismic with a warped synthetic is not invariant to $\beta$. In principle it pins absolute time. 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$. Information about $\beta$ thus comes from the bandwidth, not the centre frequency.
|
||||
|
||||
\paragraph{Consequences.}
|
||||
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 fall under case (a): network and alignment can drift together without penalty. A tie posterior conditioned on anchors does not have this ridge. Its absolute timing is set before training, with per-well common-shift uncertainty of about $\sigma_a/\sqrt{K_w}$.
|
||||
Reference in New Issue
Block a user