Multi-scale and multi-resolution networks

Part 2, Architectures for PINNs

Learning objectives

  • Draw a two-scale Fourier embedding: half the frequencies at a long scale and half at a short one, from the same normals
  • Show that σ=1\sigma = 1 and 1010 together fit the column closer than either alone, at the same 817 parameters
  • Read each embedding's wavelengths against the column's bands and the samples' spacing
  • Recognise that a scale the samples cannot hold still rings in company

Both Ends at Once

A multi-scale embedding draws half of its Fourier frequencies at a long scale and half at a short one, so that one layer carries both the column's trend and its layers. With Section 2.2's 16 frequencies split between σ=1\sigma = 1 and σ=10\sigma = 10, and every other setting Section 2.2's, the fit is 3.7 m/s RMS from the column, 3.0 m/s between the samples, and misses 14 % of the wavelengths shorter than 125 m: better than either scale alone, 11 m/s and 5.5 m/s RMS, 41 % and 21 % missed, at the same 817 parameters. A scale the samples cannot hold still rings in company: with σ=1\sigma = 1 and 3030 the fit is 0.6 m/s RMS at the training depths and 16 m/s between them, far less than σ=30\sigma = 30 alone, 248 m/s, and far from the better pair.

Two Scale FeaturesInteractive figure, enable JavaScript to interact.

Two Blocks

The embedding draws 16 normals gjg_j with the book's generator, as Section 2.2's does, and scales the first 8 by σ1\sigma_1 and the last 8 by σ2\sigma_2, so the first half of a pair's frequencies are its long scale's own. Plate (c) shows the wavelengths L/∣bj∣L/|b_j| each embedding holds: one cluster for a single scale and two for a pair, from 132 m to 16460 m for σ=1\sigma = 1 and 1010.

Better Than Either

At σ=1\sigma = 1 alone the fit is 12 m/s RMS at the training depths and 10 m/s between them; at σ=10\sigma = 10 alone 1.2 m/s and 7.6 m/s, further from the column between the samples than at them; with both, 4.3 m/s and 3.0 m/s. The long half holds the fit between the samples while the short half fits the layers.

What a Pair Cannot Do

The pair σ=1\sigma = 1 and 3030 holds wavelengths as short as 44 m, and misses 43 % of the column's wavelengths shorter than 125 m. Each scale of a pair is chosen for one end of the column's spectrum, the short one within what the samples can hold. Multi-resolution networks, several networks each at its own scale with their outputs joined, carry the same idea into the architecture; the book measures the one-layer form. Wang, Wang and Perdikaris (2020) found by neural tangent kernel theory that PINNs struggle with high-frequency and multi-scale targets because they learn along the kernel's dominant eigen-directions, and proposed spatio-temporal and multi-scale random Fourier features as the embedding, with wave propagation among their examples; the single-scale mapping is Tancik et al.'s (2020).

What Comes Next

Section 2.6 sets every network of Part 2 side by side and picks one by the numbers.

References

  • Tancik, M., Srinivasan, P. P., Mildenhall, B., Fridovich-Keil, S., Raghavan, N., Singhal, U., Ramamoorthi, R., Barron, J. T. and Ng, R. (2020). Fourier features let networks learn high frequency functions in low dimensional domains. arXiv:2006.10739.
  • 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.