Fourier Neural Operators (FNO)
Learning objectives
- Write a Fourier layer: the FFT of each channel, the first modes multiplied by learned complex matrices, a pointwise linear path, a nonlinearity
- Say why the first-arrival column is padded with zeros before the FFT
- Read how much of a layer's input the kept modes hold
- Run a network trained on one grid on a finer one, and say what it keeps and what it does not
A Convolution in Fourier Modes
A Fourier neural operator (FNO) maps a function on a grid to a function on the same grid. Each Fourier layer takes the FFT of its channels, keeps the first modes and multiplies them by learned complex matrices (the spectral path, a convolution over the whole grid), adds a pointwise linear map (the local path) and passes the sum through a nonlinearity. Its weights belong to modes, not nodes, so the book's FNO, trained on the column at 50 m, runs unchanged on the column at 25 m. On the 100 held-out columns of Section 8.1 it gives the first-arrival curves to a median of 2.6 ms RMS, against the DeepONet's 3.8 ms; at 25 m it runs, but its median is 10.8 ms: on a grid it never saw it gives an answer, not the same answer.
The Layer Written Out
With the layer's 10 channels on grid points, the FFT of channel and a learned complex 10 by 10 matrix on each mode , channel of the spectral path is
the conjugate modes filling the rest of the spectrum so the result is real, every mode from 12 up dropped. The layer's output is with the swish , except after the last layer. The book's FNO lifts three input channels to 10 by a pointwise linear map, applies three such layers and projects pointwise through 32 swish units to one output, 7655 parameters, trained by 3000 Adam steps on batches of 16 of the same 400 columns; the book's kernel computes the FFT and the gate checks it against a direct DFT.
Why the Column Is Padded
The FFT treats its grid as periodic: the last node is the neighbour of the first. The column's curve rises from 0 at the surface to its largest time at 1750 m, and wrapped onto itself it would jump. So the input is the column on 64 points every 50 m: its 36 nodes, then zeros to twice its depth, with a mask channel (1 on the column) and as the other two channels. On such a grid a convolution can integrate the slowness down the column without the bottom leaking into the top, and the network's output is read on the 36 column nodes. The pad is the book's own choice.
The Kept Modes and the Two Paths
Plate (b) shows the amplitude of every mode of channel 1 as it enters the chosen layer. On the Marmousi2 column the 12 kept modes hold 97 % of that channel's energy at layer 1 and 99 % at layer 3: what the spectral path drops is small, and the local path, which acts node by node, carries the detail the modes leave out. Plate (c) shows the two paths side by side for that channel, plate (d) the answer beside the exact curve and the DeepONet's, and plate (e) the errors over every held-out column.
Another Grid
Li et al. (2020), who proposed the FNO as a neural operator that parameterizes the integral kernel in Fourier space, tested it on Burgers' equation, Darcy flow and the Navier-Stokes equation and report zero-shot super-resolution there. Mode on 64 points every 50 m and on 128 points every 25 m over the same 3200 m is the same wave, so the learned matrices mean the same thing on both grids, and the pointwise maps act the same at every node. Run on the column at 25 m, the network gives the Marmousi2 column's curve to 10.7 ms RMS, against 3.1 ms at 50 m, and the held-out columns to a median of 10.8 ms. It runs, unchanged, on a grid it never saw; it was trained on one grid's samples, and on another it is close, not equal.
The Marmousi2 column is a 1D cut of a 2D acoustic, constant-density slice of a synthetic model, not field data; the family is the book's own.
What Comes Next
Section 8.4 uses the same block as a propagator: from a pulse at rest to the wavefield later, on layered columns.
References
- Li, Z., Kovachki, N., Azizzadenesheli, K., Liu, B., Bhattacharya, K., Stuart, A. and Anandkumar, A. (2020). Fourier neural operator for parametric partial differential equations. arXiv:2010.08895.