Free-surface boundary conditions
Learning objectives
- State the acoustic free surface as at and hold it by an output transform
- Say why a transform holds a condition exactly only if its given part satisfies it too, and build the image pulse that does
- Read three stored PINN runs on the Marmousi2 column, the image transform, Section 4.1's transform and a penalty, and read their surface values and errors
- Check the free surface of a reference by a route it does not take: d'Alembert's solution, and FWI2D's surface summed into a plane wave
Exact Whatever the Weights
The acoustic free surface is at , and an output transform holds it exactly, whatever the network's weights, only if both its parts vanish there: by a factor , and the given part by being zero at the surface itself. Section 4.1's transform takes the pulse at rest as , and its tail there, 0.105 of the peak, is what that network holds at the surface for all time. Take instead the pulse less its image above the surface, and the same network, seed and points hold the surface at exactly 0 at every time and every checkpoint, and end 0.15 from the finite-difference field; with the surface a penalty term instead, the trained network's surface value reaches 0.148 at its worst, and yet it is the closer to FD inside, 0.07: a hard constraint buys exactness where it is imposed, not accuracy elsewhere.
Two Parts, and What Each Must Hold
Lagaris, Likas and Fotiadis (1997) wrote a network's trial solution as a sum of two parts: one that satisfies the boundary and initial conditions with no adjustable parameters, and one built so as not to affect them. Section 4.1's transform,
is of that form for the start: the second part vanishes at with its rate, so the pulse at rest is exact. Its factor makes the second part vanish at the surface too, but the first part does not: the Gaussian pulse 300 m deep and 200 m wide has = 0.105 there, and the transform holds that value at the surface at every time, where the free surface is 0. The start and the surface disagree at the corner , , and no network can repair what its fixed part fixes.
The Image Pulse
The start that agrees with a free surface is the pulse less its mirror image above it, : zero at the surface, and within the 16-bit quantum of the pulse itself below about 320 m. It is the physics of a free surface: an upgoing wave meets it and returns inverted, as if from an image of opposite sign above, a reflection coefficient of . The book's finite differences of that start, fourth order at 5 m and 0.4 ms, the surface held at zero, are checked against d'Alembert's solution in a water column, with extended oddly, to at 100 ms and 400 ms, the upgoing half returning inverted at full amplitude. FWI2D holds the same condition at its top two rows of nodes: summed along into a plane wave, its field equals a 1D finite difference with those rows held at zero to .
Three Networks
The three networks are the same: 2241 parameters, two inputs, three hidden layers of 32 tanh units, the same seed, 800 collocation points and 2500 Adam then 500 L-BFGS steps on the residual of through the Marmousi2 column at x = 3600 m, 450 m of water over the sediments. The image transform holds the surface at 0 before training and after; its network is 1.52 from its FD field before training, 0.19 after 500 Adam steps and 0.15 at the end. The penalty run keeps the start in its transform, drops the factor , and adds the surface's mean squared value at 101 times, weighted 10, to its loss: it ends 0.07 from the same FD field, closer than the image transform's 0.15, with its surface off zero by up to 0.148. The factor makes the network's part vanish at the surface whatever the weights; the penalty leaves it free there and pays with a residue at the surface instead. On this column that trade gives the penalty the closer field inside, and the transform the exact surface. Section 4.1's run is 0.19 from its own FD field. Sukumar and Srivastava (2021) impose boundary conditions exactly with distance functions that multiply the network, which removes the error of imposing them approximately; here the factor is that distance, and the image is what the fixed part needs to agree with it.
What Comes Next
Section 4.6 turns to the boundaries where the wave must leave: absorbing conditions on the truncated column.
References
- Lagaris, I. E., Likas, A. and Fotiadis, D. I. (1997). Artificial neural networks for solving ordinary and partial differential equations. arXiv:physics/9705023.
- Sukumar, N. and Srivastava, A. (2021). Exact imposition of boundary conditions with distance functions in physics-informed deep neural networks. arXiv:2104.08426.