Generative priors for velocity models

Part 9, Hybrid PINN + classical, with uncertainty

Learning objectives

  • Use an autoencoder's decoder as a generator: draw codes from their Gaussian and decode them into columns
  • Invert the column over the decoder's four codes instead of its nodes
  • Compare the code search with FWI by nodes at each band, scored against the truth
  • Explain why the family's reach, not the data, bounds the code search's error

Inverting over Codes

A generative prior turns the inversion into a search over a handful of codes, so every model it returns is one its family could have drawn: it cannot skip a cycle into an implausible column, and it cannot come nearer the truth than the family's reach. The family is the book's own, Part 8's rule; the Marmousi2 column is 236 m/s from the nearest of the family's 400 training columns. An autoencoder trained on them rebuilds its training columns to 105 m/s and its 100 held-out columns to 100 m/s, but the network rebuilds the Marmousi2 column itself only to 282 m/s. At 2.4 Hz alone FWI by nodes ends 528 m/s from the truth, the search over the codes 395 m/s; at 1.0 Hz FWI by nodes ends 197 m/s and the codes 394 m/s.

Generative Prior LatentInteractive figure, enable JavaScript to interact.

The Generator

The network is an encoder 36-32-4 and a decoder 4-32-36, tanh, trained 3000 Adam steps on the family's training columns. The prior is the Gaussian of their four codes, its mean and covariance; a draw is the decoder applied to μ+Le\mu + L e with LL⊤=ΣL L^{\top} = \Sigma and ee standard normal from the book's generator. The search minimises over the codes zz

J(z)=Jdata(v(z))Jdata(v(μ))+12(z−μ)⊤Σ−1(z−μ),v(z)=D(z),J(z) = \frac{J_{\mathrm{data}}(v(z))}{J_{\mathrm{data}}(v(\mu))} + \frac12 (z - \mu)^{\top} \Sigma^{-1} (z - \mu), \qquad v(z) = D(z),

by L-BFGS from the mean code, 30 iterations a band, its gradient the decoder's Jacobian times the column's adjoint gradient; the water is held. The data are Section 6.2's: one source and one receiver at the surface, FWI2D's scheme in one dimension. It is a 2D acoustic, constant-density slice of a synthetic model, not field data, here cut to columns.

Safe and Bounded

The middle band falls between: at 1.6 Hz, 352 and 412 m/s. The codes barely care which band they are given: each answer is a decoded column, and the decoder's nearest column to the truth is far from it. Bora et al. (2017) recover signals that lie near the range of a generative model from few measurements; the Marmousi2 column does not lie near this family's range, and the search returns the nearest thing that does. A generative prior is safe where the data are weak and a ceiling where they are strong. The decoder is the second half of an autoencoder in Hinton and Salakhutdinov's (2006) sense, a network with a small central layer trained to reconstruct its inputs.

What Comes Next

Section 9.5 asks how sure a PINN's answer is, by training it many times.

References

  • Bora, A., Jalal, A., Price, E. and Dimakis, A. G. (2017). Compressed sensing using generative models. arXiv:1703.03208.
  • Hinton, G. E. and Salakhutdinov, R. R. (2006). Reducing the dimensionality of data with neural networks. Science, 313(5786), 504-507. doi:10.1126/science.1127647.

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