When forward PINN earns its keep
Learning objectives
- Put each niche a forward network is claimed for to one test: a measured comparison with the solver on the niche's own measure
- Read the factor by which the solver wins one field in 1D, one field in 2D, short wavelengths and values anywhere, from Part 5's runs
- Say why the one niche the network takes, filling in a field from data, is the one a forward solver cannot enter
- Say what that leaves for networks in seismology, and why it is Part 6's subject
Five Niches, One Test
Scored on the book's own runs, a forward network loses every niche where a solver can do the same job, each by a measured factor, and keeps the one a forward solver cannot enter. One field in 1D costs the network about 3.1 million times what finite differences need for its accuracy, one field in 2D about 13500 times FWI2D's run; at short wavelengths it is about 7900 times further off than finite differences' own error, and a value of it after training costs about 820 times a finite-difference value. It takes the fifth niche, filling in a field from data, 0.12 from FWI2D's field with the edges at 14 stored times and 0.75 at 2.
The Test
Each niche compares one number of the network with the solver's on the niche's measure, a time, an error or a time per value, and is the network's when it beats the solver on that measure, or when it uses something the solver has no term for. The networks are Part 5's: Section 4.1's and Section 5.4's on the Marmousi2 column at x = 3600 m, Section 5.3's image-pulse network, and Section 5.2's three 2D networks on the sub-window. The window is a 2D acoustic, constant-density slice of a synthetic model (Martin, Wiley and Marfurt), not field data. Every time is the build machine's, an Intel Xeon processor at 2.10 GHz with 2 cores, measured once when the table was built and read from it; each training time is a run's whole training as the build timed it.
Where the Solver Wins
One field in 1D: the image-pulse network trains for 306 s to be 0.15 from its reference, where finite differences at 100 m are 0.037 off in 0.1 ms. One field in 2D: the 2D network trains for 565 s to be 0.12 from FWI2D's field, which FWI2D computes over the whole window in 42 ms. Short wavelengths: with a pulse 50 m wide the network is 1.20 from its reference, where finite differences at 5 m are from a grid twice as fine. Values anywhere: a trained network gives a value at any point, 11 µs each on the build machine; one finite-difference run at 5 m gives 451611 values in 6.3 ms, 0.014 µs each, and a value between its nodes is an interpolation away.
Where the Network Wins
A forward solver starts from the source and the velocity and has no way to take a measured value of the field inside or on the edges of its domain. A network's loss can hold any such value as one more term, and Section 5.2's network does: told FWI2D's field on the edges at 14, 5 and 2 of the 42 stored times it is 0.12, 0.12 and 0.75 from it. Its accuracy is the data's, and it is no forward model; but the property is real, and it is the one that matters when the field is partly known and the velocity is not. That is the inverse problem.
Against a Fair Baseline
Grossmann et al. (2023) compared PINNs with the finite element method on Poisson, Allen-Cahn and semilinear Schrödinger problems and found that the networks won on neither solution time nor accuracy. McGreivy and Hakim (2024), reviewing machine learning for fluid-related partial differential equations, found that 60 of 76 papers claiming to beat a standard numerical method had compared it with a weak baseline, and conclude that the field is overoptimistic. Every niche here is scored against the solver the book trusts for that job, on the same machine.
What Comes Next
Part 6 turns to the inverse problem: the velocity is the unknown, and the network's loss holds the data.
References
- Grossmann, T. G., Komorowska, U. J., Latz, J. and Schönlieb, C.-B. (2023). Can physics-informed neural networks beat the finite element method? arXiv:2302.04107.
- 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.
- McGreivy, N. and Hakim, A. (2024). Weak baselines and reporting biases lead to overoptimism in machine learning for fluid-related partial differential equations. arXiv:2407.07218. doi:10.1038/s42256-024-00897-5.