Multi-scale failure: shorter pulses, the same PINN

Part 5, Forward modelling and where PINNs fall short

Learning objectives

  • Train the same forward network the same way on pulses 200 m, 100 m and 50 m wide through the Marmousi2 column, and score each against its own finite differences
  • Check each reference against the same scheme at half its grid and step, and say why the widest pulse is the hardest for finite differences here
  • Read a training run whose loss falls a thousandfold while its error against the reference rises
  • Say why short wavelengths are where a forward network fails first

Shorter Pulses, the Same Network

Shorten the pulse, and the same network trained the same way falls apart, while finite differences on the same grid stay accurate. On the Marmousi2 column, Section 4.1's network is 0.19 from its finite-difference field with a pulse 200 m wide; trained identically on pulses 100 m and 50 m wide it ends 1.25 and 1.20 from theirs, further than a field of zeros, whose error is 1. Finite differences at 5 m are within 1.5×10−41.5 \times 10^{-4} of a grid twice as fine for the narrowest pulse. Short wavelengths, which the window's layers make, are what a forward network learns last.

Short Pulse FailureInteractive figure, enable JavaScript to interact.

Three Widths

The column is the book's 1D problem, the Marmousi2 window at x = 3600 m; the window is a 2D acoustic, constant-density slice of a synthetic model (Martin, Wiley and Marfurt), not field data. The experiment is Section 4.1's, a Gaussian pulse at rest 300 m deep followed for 500 ms, at three widths to its 1/e points: 200 m, Section 4.1's own, and 100 m and 50 m, the book's own. A Gaussian's spectrum narrows as the pulse widens, so each halving of the width puts the wave's energy at wavelengths half as long. Each network has the same 2241 parameters, seed, 800 collocation points and 2500 Adam then 500 L-BFGS steps, its start made exact by Section 4.1's output transform with its own width; each is scored against fourth-order finite differences of its own pulse at 5 m and 0.4 ms.

Finite Differences Checked

Each reference is checked against the same scheme at half its grid and step, 2.5 m and 0.2 ms. The 100 m and 50 m pulses' fields are within 9.0×10−59.0 \times 10^{-5} and 1.5×10−41.5 \times 10^{-4} of it. The 200 m pulse's is 0.0097 off, the worst of the three, and not for its wavelengths: it starts at 0.105 of its peak at the surface, where the surface is held at zero, and the grid smears that jump; the narrower pulses are zero there. At every width finite differences are thousands of times closer to the truth than the network is to them: at 50 m, about 7900 times.

The Loss Falls, the Error Rises

The book's build took the 100 m network's error as it trained. Its loss fell from 22000 to 15, and its error against finite differences was least, 0.63, after 400 steps, then rose to 1.25 by the end. A smaller residual is not a closer field: at its collocation points the network found a function that nearly satisfies the wave equation and is not the wave that left the pulse. The narrow pulse leaves its start within the first tens of milliseconds, and nothing but the residual ties the network to it after that; the long wavelengths, which a network learns first, are not where this wave's energy is. It is the spectral bias Section 0.9 measured on the column's regression, met in the wave. Wang, Wang and Perdikaris (2020) find that PINNs still struggle with targets of high frequency or many scales, because they learn along the dominant eigen-directions of their neural tangent kernel.

What Comes Next

Section 5.5 asks, with every run of Part 5 on the table, where a forward network still earns its keep.

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.
  • Wang, S., Wang, H. and Perdikaris, P. (2020). On the eigenvector bias of Fourier feature networks: from regression to solving multi-scale PDEs with physics-informed neural networks. arXiv:2012.10047. doi:10.1016/j.cma.2021.113938.

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