Solving High Frequency and Multi-Scale PDEs with Gaussian Processes

Shikai Fang, Madison Cooley, Da Long, Shibo Li, Robert Kirby, Shandian Zhe

Solving Partial Differential Equations (PDEs) is the backbone of physical simulation, but traditional numerical methods often struggle with complex geometries or inverse problems. While Physics-Informed Neural Networks (PINNs) have emerged as a flexible alternative, they have a notorious "Achilles' heel": spectral bias. They are great at learning smooth, low-frequency patterns but often fail miserably when the solution involves high-frequency oscillations or multi-scale features.

A new paper from researchers at the University of Utah, presented at ICLR 2024, proposes a powerful alternative: GP-HM. By moving from neural networks to Gaussian Processes (GPs) and rethinking how we model frequency in the spectral domain, they’ve developed a solver that can capture high-frequency solutions with staggering precision.

TL;DR

GP-HM is a Gaussian Process-based PDE solver designed specifically for high-frequency and multi-scale problems. By modeling the solution's power spectrum as a mixture of distributions and leveraging Kronecker-product algebra for scalability, it achieves errors several orders of magnitude lower than state-of-the-art PINNs.

What Problem Does This Paper Address?

The primary challenge is spectral bias. Neural networks naturally prioritize learning low-frequency components of a function. In the context of PDEs—like those describing high-speed fluid flow or high-frequency wave propagation—this means the model might capture the general "shape" of the solution while completely missing the critical fine-grained oscillations.

Existing workarounds, like using Random Fourier Features (RFF-PINNs), help but are notoriously sensitive to hyperparameters. Furthermore, while Gaussian Processes are theoretically excellent for this, they typically scale poorly ($O(N^3)$ complexity), making them impractical for the massive number of collocation points required to resolve high-frequency signals.

Methods

The authors introduce three key innovations to make GPs work for high-frequency PDEs:

  1. Spectral Mixture Kernels: Instead of using standard kernels (like RBF or Matérn), they model the solution's power spectrum directly as a mixture of Student-t or Gaussian distributions. Using the Wiener-Khinchin theorem, they derive a covariance function that can explicitly represent specific dominant frequencies.
  2. Automatic Frequency Pruning: To avoid manually tuning the number of frequencies, they optimize the mixture weights in the log-domain. This is mathematically equivalent to placing a Jeffreys prior on the weights, which induces sparsity. The model starts with many potential frequencies and automatically "prunes" the ones it doesn't need, driving the rest toward the ground truth.
  3. Kronecker Scaling: To handle hundreds of thousands of collocation points, the authors place points on a Cartesian grid and use a product kernel. This allows them to use Kronecker product properties and multilinear algebra to decompose massive covariance matrices into much smaller, manageable pieces. This provides a massive speedup without needing low-rank approximations.

Datasets

The researchers evaluated GP-HM on three benchmark PDE families known for challenging frequency characteristics:

  • Poisson Equation: Tested with solutions ranging from simple sines to complex multi-scale hybrids (e.g., $u = \sin(500x) - 2(x-0.5)^2$).
  • Allen-Cahn Equation: A nonlinear diffusion-reaction equation used to test the solver's ability to handle nonlinearity.
  • Advection Equation: A standard test for wave propagation.

They compared GP-HM against standard PINNs, Weighted PINNs, RFF-PINNs, and traditional numerical solvers like Finite Difference and Chebfun.

Key Insights and Ideas

  • Modeling in the Frequency Domain: The "aha moment" here is that it's much easier to specify what frequencies you want to capture in the frequency domain than in the spatial domain. By designing the kernel based on the power spectrum, the GP is "primed" to see high frequencies.
  • Sparsity via Log-Optimization: The use of the Jeffreys prior is a clever way to handle the "model selection" problem. It allows the user to over-specify the number of frequency components, letting the optimization process naturally discard the noise.
  • Grids are a Feature, Not a Bug: While machine learning often tries to move away from grids, this paper shows that for PDEs, a grid-based collocation strategy unlocks the Kronecker structures necessary for GPs to scale to the resolutions needed for high-frequency physics.

Key Results

GP-HM consistently outperformed all neural network-based variants. In many cases, while PINNs failed to converge or produced large errors, GP-HM achieved relative $L_2$ errors in the range of $10^{-6}$ to $10^{-7}$.

As shown in the tables below, GP-HM (both Student-t and Gaussian mixture versions) dominates the ML-based competition across 1D and 2D Poisson and Allen-Cahn problems.

Table 1: Relative L2 error for 1D and 2D Poisson equations. GP-HM variants (bottom rows) show significantly lower errors than PINN variants.
Table 2: Relative L2 error for Allen-Cahn and Advection equations. Again, GP-HM achieves errors orders of magnitude smaller than PINNs.

Qualitatively, the point-wise error for GP-HM is remarkably uniform across the domain, whereas PINNs often exhibit large local errors where high-frequency components are most intense.

Limitations and Future Work

Despite the impressive accuracy, the authors note that the optimization process (using ADAM) can still be slow, sometimes requiring tens of thousands of iterations to prune the frequencies effectively. Interestingly, they found that second-order optimizers like L-BFGS—usually a staple for GPs—performed poorly here, likely due to the complex, non-convex landscape of frequency tuning.

Future work aims to explore even more robust sparse priors (like the horseshoe prior) and more sophisticated optimization strategies to speed up convergence and make the solver even more practical for large-scale engineering applications.

Summary updated

BibTeX
@inproceedings{fang2024solving,
  author = {Shikai Fang and Madison Cooley and Da Long and Shibo Li and Robert Kirby and Shandian Zhe},
  title = {{Solving High Frequency and Multi-Scale PDEs with Gaussian Processes}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=q4AEBLHuA6},
}
Figure