Why supervised ML alone cannot solve PDEs
Learning objectives
- Fit a network to a wavefield where an array of receivers records it, and score it against the whole field, inside the array and below it apart
- Say why a low training loss is no promise outside the data, whatever the network's size or training
- Say what supervised learning of a PDE needs: a solver to make the labels, and labels wherever the answer is wanted
- Say what is missing from the loss that would tie the field below the array to the field the array records
A Fit Knows Its Data
Supervised learning fits the values it is shown, and nothing in it reaches the places it was not shown. On the Marmousi2 column, the book's network of 2241 parameters, fitted to the column's wavefield at 18 receivers down to 900 m, is 0.03 from it in relative L2 inside the array and 0.84 below it: the fit is close where it saw the answer and as far from it, below, as the field is large. Nothing in its loss is the wave equation, so nothing ties one depth to the next.
The Column, the Pulse and the Array
The column is the book's 1D problem, the P-wave velocity of the Marmousi2 window at x = 3600 m from the surface to 1750 m, 450 m of water over sediments that reach 3553 m/s. The window is a 2D acoustic, constant-density slice of a synthetic model (Martin, Wiley and Marfurt), not field data; the column is a 1D cut through it, and its x is the book's own choice. Through it runs the experiment of Section 4.1: a Gaussian pulse at rest, centred 300 m deep and 200 m wide to its 1/e points, released at and followed for 500 ms, solved by fourth-order finite differences. The pulse splits; the half that goes down crosses the sea floor and reaches the bottom of the array in the last part of the record.
An array of receivers in a well down the column, the book's own, records that field: 18 receivers every 50 m from 50 m to 900 m, each recording the field every 10 ms: 918 values. They are the finite-difference field's own values, so inside the array the network is fitted to the very answer it is scored against, and below the array it is shown nothing.
The Fit
The network takes depth and time, scaled by the book's = 1800 m and = 1.2 s, into three hidden layers of 32 tanh units, 2241 parameters, the network of Section 4.1 and its seed. Its loss is the mean squared misfit at the receivers and nothing else,
and the book's build trains it for 2000 Adam steps and then 500 L-BFGS steps, as the network of Section 4.1 was. The loss falls to . Before training it is 1.33 inside and 0.85 below; after 2000 Adam steps it is 0.05 inside and 1.17 below; the L-BFGS steps bring the inside to 0.03 and the outside to 0.84, about where the seed's network was. Training more fits the data better. It does not reach below the array, because nothing in the loss does.
Below the Array
At 1750 m, at the foot of the column, the network's RMS misfit is 0.299 where the field's own RMS is only 0.007: below the array it makes up a field the wave equation does not have. Plate (e) shows the misfit by depth beside the field's own size: small down to the last receiver, then growing with depth past the field itself. Cybenko (1989) proved that a network with one hidden layer can come as close as wanted to any continuous function on a bounded domain; that is a promise about fitting, and it is kept inside the array. It says nothing about which of the many functions that match 918 values the network will be below them.
What Supervised Learning of a PDE Needs
To learn this field by supervision the network needs labels wherever the answer is wanted, and every label here came from a solver: the finite-difference run that the network is scored against. A fit to a solver's output is at best a fast copy of the solver where it was trained, and no help where the solver was not run; for an inverse problem, where the earth is not known, there is no solver run to copy. What is missing from the loss is the physics that ties the field below the array to the field the array records: the wave equation, written as a term of the loss. Raissi, Perdikaris and Karniadakis (2017) introduced physics-informed neural networks, trained on supervised tasks while respecting the partial differential equations that govern them; Section 1.2 adds that term to this loss.
What Comes Next
Section 1.2 trains the same network on the same receivers with the wave equation's residual added, at points the array never reaches.
References
- Cybenko, G. (1989). Approximation by superpositions of a sigmoidal function. Mathematics of Control, Signals and Systems, 2, 303-314. doi:10.1007/BF02551274.
- 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.
- Raissi, M., Perdikaris, P. and Karniadakis, G. E. (2017). Physics informed deep learning (Part I): data-driven solutions of nonlinear partial differential equations. arXiv:1711.10561.