Frequency-domain (Helmholtz) formulation
Learning objectives
- Write the Helmholtz equation as the wave equation at one frequency: a complex field, no time axis, and the time-domain field's Fourier transform as its solution
- Read two stored Helmholtz PINN runs on a Marmousi2 sub-window and score them against FWI2D's field transformed, at the inner nodes
- Say why the residual's weight follows the wavenumber squared, and what one more wavelength across the box costs
- Say what the network is given (the field on the edges) and why its source sits outside the box
One Frequency, No Time
At one frequency the wave equation becomes the Helmholtz equation : the time axis is gone and the field is complex, its real and imaginary parts the cosine and sine parts of the wave at that frequency. A physics-informed network with two inputs and two outputs learns it, one network per frequency. On the 1200 m by 600 m sub-window of the Marmousi2 model, a network of 2274 parameters learns FWI2D's field transformed at 1.0 Hz to a relative L2 error of 0.01 at the inner nodes, and at 2.4 Hz to 0.33: at 1.0 Hz the box is 0.8 wavelengths across, at 2.4 Hz 1.9.
The Field at One Frequency
Write the wave as and the second time derivative becomes : away from the source, with . The solution is the time-domain field's Fourier transform at , divided by the source wavelet's, and that is how the book makes its reference: FWI2D, the FWI Lab's wave engine, runs its scenario shot at (1200 m, 100 m) through the whole padded Marmousi2 window over a 12 s record, with a Ricker wavelet at the band's peak, 1.0 Hz or 2.4 Hz; its field on the sub-window at every step of 2.44 ms is transformed at that frequency and divided by the Ricker's transform, the Green's function of a unit point source, and normalised by its largest modulus on the sub-window. The window is a 2D acoustic, constant-density slice of a synthetic model (Martin, Wiley and Marfurt), not field data; the source, the record and the choice of frequencies are the book's own.
The Network and Its Loss
The sub-window is Section 4.2's: 25 by 13 nodes from (3000 m, 100 m), the velocity bilinear between them. The network takes , scaled by the book's = 1800 m, into three hidden layers of 32 tanh units and gives two outputs, and . Its loss is
the residual at 800 collocation points inside and FWI2D's transformed field at every node of the four edges. Inside the box the parts do not couple: each satisfies the equation on its own, and the edges set both. The source is outside the box on purpose: at a point source the field is singular, which no smooth network can represent, the reason Song, Alkhalifah and Waheed (2020) trained their frequency-domain PINN on the scattered field. As in Section 4.2, the network is given the field wherever the wave enters or leaves the box and reconstructs the inside.
The Weight Follows the Wavenumber
The residual is about times the field, and in the network's unit : in water about 57 at 1.0 Hz and 327 at 2.4 Hz. The book's weight on the residual is a tenth of one over that, 0.002 at 1.0 Hz and 0.0003 at 2.4 Hz, against 10 on the edges, so the edges are fitted first and the residual shapes the inside. With it the 1.0 Hz network is 0.02 from FWI2D after 500 Adam steps and 0.01 after 1500 Adam and 500 L-BFGS steps; the 2.4 Hz network, the same network, seed and points, is 0.70 after 500 steps and 0.33 at the end. Before training they are 1.18 and 1.53 from it.
What One More Wavelength Costs
At 1.0 Hz the field across the box is less than a wavelength, a broad bump; at 2.4 Hz it is 1.9 wavelengths, crossing the box in alternating bands, and its error is 23 times the low frequency's. Each frequency is a network of its own, trained from its seed: the frequency domain removes the time axis, along which Section 4.1's error was carried forward, and pays with one training per frequency, more costly the higher it goes. Frequency-domain waveform inversion is built on this formulation: Pratt (1999) inverts at discrete frequencies from low to high, a method that depends on efficient frequency-domain forward modelling; a network gives that field only after its training, at every frequency again.
What Comes Next
Section 4.4 returns to the time domain in an anisotropic medium, where a tilted symmetry axis puts a mixed derivative into the wave equation.
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.
- Pratt, R. G. (1999). Seismic waveform inversion in the frequency domain, Part 1: Theory and verification in a physical scale model. Geophysics, 64(3), 888-901. doi:10.1190/1.1444597.
- Song, C., Alkhalifah, T. and Waheed, U. B. (2020). Solving the acoustic VTI wave equation using physics-informed neural networks. arXiv:2008.01865.