Parametric PDE explorers in real time
Learning objectives
- Explain why a trained operator can follow a slider and what one answer costs
- Build a column by the family's rule from its parameters
- Say what the held-out score promises inside the family's ranges and what it does not promise outside them
- Find, by sweeping a parameter, where the operator's error grows
As Fast as the Slider
Once an operator is trained, a new input costs one forward pass, so its answer can follow a slider. Section 8.1's DeepONet answers a column in 0.45 ms on the build machine, and the figure builds the column by the family's rule from three sliders that reach past the family's ranges on purpose. Inside the ranges its error is like the held-out columns': 3.7 ms on the figure's base column, against a held-out median of 3.8 ms. Outside them the network is extrapolating and no score bounds it: 16.4 ms with 50 m of water, four times the column's own error, yet 2.2 ms with 900 m. An operator vouches only for the family it learned.
The Column Under the Sliders
The sliders set three of the family's parameters: the water's depth (the family's 300 to 600 m, the slider 50 to 900 m), the sea-floor velocity (1550 to 1850 m/s, the slider 1250 to 2150 m/s) and the gradient below the sea floor (0.4 to 1.4 m/s a metre, the slider 0 to 2.4). The jumps are those of held-out column 8, the held-out column whose error is nearest the held-out median, kept at their depths below the sea floor. The column is
held in the family's bounds, and its exact curve is the sum of logarithms of Section 8.1, computed beside the network's on every move.
Inside and Outside the Family
Plate (a) shows the column over the envelope of the 400 training columns, plate (b) its curve and the network's, plate (c) the error with depth, and plate (d) the RMS error as one parameter sweeps its slider's whole range, the parts outside the family hatched. Taking the water to 50 m puts sediment where no training column had it, and the error rises to 16.4 ms. Taking it to 900 m, past the family's 600 m, the error is 2.2 ms: past the range is not always worse, but the held-out score no longer vouches for it. With no gradient the error is 5.6 ms, with a sea floor of 2150 m/s 5.5 ms, against 3.7 ms at the column's own parameters. How far a network holds outside its family is found only by trying, and a test outside it is a test of luck, not of the network.
Every column here is the book's own, built by its family's rule; none is field data or the Marmousi2 model.
What a Real-Time Explorer Is For
An operator turns a forward model into something a reader can move: the first-arrival curve of a column follows its water depth as the slider moves. The same speed is a temptation to trust it everywhere. The explorer shows the two together: the answer arrives in a fraction of a millisecond, and the hatch says whether the family stands behind it. Lu, Jin and Karniadakis (2019) report that DeepONets learn operators accurately and efficiently from a relatively small dataset; how far that holds outside the dataset is what the hatch marks.
What Comes Next
Section 8.6 prices it: when does training an operator once cost less than training a network for every column?
References
- Lu, L., Jin, P. and Karniadakis, G. E. (2019). DeepONet: Learning nonlinear operators for identifying differential equations based on the universal approximation theorem of operators. arXiv:1910.03193. doi:10.1038/s42256-021-00302-5.