An eikonal PINN: a small residual is not a traveltime

Part 7, Travel-time and joint inversion

Learning objectives

  • Train a network on the eikonal residual and a soft source condition, and say what its loss measures
  • Score the network against the reference sweep of Section 7.1, not against its own loss
  • Explain why the eikonal residual does not pick the first arrival: the negative of T, and other fields with gradients of the right length, solve it too
  • Say what fast sweeping's upwind rule gives that the plain network lacks

The Loss Falls, the Error Grows

A network TΞΈ(x,z)T_\theta(x, z) trained on the eikonal residual βˆ£βˆ‡Tθ∣2βˆ’1/v2|\nabla T_\theta|^2 - 1/v^2 and a soft source condition TΞΈ(xs)=0T_\theta(x_s) = 0 can drive both down and still not be the traveltime. On a panel of the Marmousi2 window the book's network, seed 3, cuts its residual from 1.6Γ—10βˆ’11.6 \times 10^{-1} to 2.1Γ—10βˆ’32.1 \times 10^{-3} in 1800 steps, holds the source at 0.19 ms, and ends 1257 ms RMS from the reference sweep of Section 7.1, worse than before training (843 ms), its time negative on 95 % of the panel. The eikonal equation has more solutions than the first arrival, and only a reference that is not the network says which one it found.

Plain Eikonal NetworkInteractive figure, enable JavaScript to interact.

The Panel and the Network

The panel is the window of the Marmousi2 model (Martin, Wiley and Marfurt) from x = 2400 m to 4800 m at its full depth, 1750 m, around the book's column; it is a 2D acoustic, constant-density slice of a synthetic model, not field data. The source sits on the surface at the column, x = 3600 m, in water. The panel and the source are the book's own, chosen so a build can train a network on them in minutes. Its reference is the factored sweep of Section 7.1 on a 3.125 m grid, solved on the panel alone, since a network trained on the panel sees no path that leaves it; it differs from its own solve at 6.25 m by 0.4 ms RMS.

The network has two inputs, x/Lx/L and z/Lz/L with the book's LL = 1800 m, three hidden layers of 32 tanh units and one output, the time in units of T0T_0 = 1.2 s: 2241 parameters. Its loss is the mean squared residual at 1500 collocation points drawn from the book's generator, with the velocity bilinear in slowness as the sweeps see it, plus the source's term of weight 1,

β„’(ΞΈ)=1Kβˆ‘k(βˆ£βˆ‡TΞΈ(xk)∣2βˆ’1c(xk)2)2+TΞΈ(xs)2,\mathcal L(\theta) = \frac1K \sum_k \Big(|\nabla T_\theta(x_k)|^2 - \frac{1}{c(x_k)^2}\Big)^2 + T_\theta(x_s)^2,

c=v/V0c = v/V_0, the gradient the network's own, exact. The book's build trains it for 1500 Adam steps and 300 L-BFGS steps and keeps its weights at four checkpoints, which the figure replays. Smith, Azizzadenesheli and Ross (2020) trained such a network, EikoNet, grid-free, by minimising the violation of the eikonal equation, with analytic spatial gradients and no finite-difference solutions needed for training; Waheed et al. (2020) report that a PINN minimising the eikonal residual, PINNeik, gives traveltimes of sufficiently high accuracy for most applications.

What the Residual Cannot See

The residual depends on the network only through the length of its gradient. It is the same for TT and for βˆ’T-T, and it is small for any field whose gradient has nearly the right length almost everywhere, with kinks where its pieces meet; the soft condition pins one point of it. Seed 3's field falls with depth where the traveltime rises: plate (f) shows it, down the column below the source. Seed 4, on the same points with the same steps, ends with a residual of 3.3Γ—10βˆ’33.3 \times 10^{-3} and 1018 ms RMS from the reference, a different wrong field, negative on 78 % of the panel. Both residuals are small; neither network is the first arrival.

Fast sweeping does not have this freedom. Its upwind update takes a node's time only from neighbours already reached and only ever lowers it, which is the causality that makes the least-time solution the one it finds. A network trained on the residual alone has no such rule: its loss counts how well an equation is satisfied, not which solution satisfies it.

What Comes Next

Section 7.3 gives the network the source's own solution to start from: it factors the straight-ray time out, T=T0 τT = T_0\,\tau, and trains the factor on the same panel, points and steps.

References

  • Martin, G. S., Wiley, R. and Marfurt, K. J. (2006). Marmousi2: An elastic upgrade for Marmousi. The Leading Edge, 25(2), 156-166. doi:10.1190/1.2172306.
  • Smith, J. D., Azizzadenesheli, K. and Ross, Z. E. (2020). EikoNet: solving the Eikonal equation with deep neural networks. arXiv:2004.00361. doi:10.1109/TGRS.2020.3039165.
  • Waheed, U. B., Haghighat, E., Alkhalifah, T., Song, C. and Hao, Q. (2020). PINNeik: Eikonal solution using physics-informed neural networks. arXiv:2007.08330. doi:10.1016/j.cageo.2021.104833.

This page is prerendered for SEO and accessibility. The interactive widgets above hydrate on JavaScript load.