Deep Adaptive Basis Galerkin Method for High-Dimensional Evolution Equations With Oscillatory Solutions

Yiqi Gu, Michael K. Ng

TL;DR

Researchers have developed the Deep Adaptive Basis Galerkin (DABG) method, a hybrid approach that solves high-dimensional evolution equations by combining traditional spectral-Galerkin techniques for time with deep neural networks (DNNs) for space. This method significantly outperforms standard deep learning solvers, especially when dealing with highly oscillatory solutions that typically trap neural networks in poor local minima.

What Problem Does This Paper Address?

Many critical scientific problems—from fluid dynamics to biological populations—are described by partial differential equations (PDEs) that evolve over time. When these equations involve many spatial dimensions (the "curse of dimensionality"), traditional grid-based methods (like finite elements) become computationally impossible because the number of required points grows exponentially.

In recent years, Deep Neural Networks (DNNs) have emerged as a solution because they can approximate high-dimensional functions efficiently. However, standard "Deep Least-Squares" (DLS) methods (like PINNs) treat time and space as a single set of inputs. This often fails when the solution is oscillatory (i.e., it has many "wiggles" or waves). In these cases, the optimization process often gets stuck in "bad" local minima, failing to capture the high-frequency behavior of the system.

Methods

The authors propose a "divide and conquer" strategy called the Deep Adaptive Basis Galerkin (DABG) method. Instead of using one giant network to learn everything, they decompose the solution into a tensor product:

$$\hat{u}_N(x, t) = \sum_{n=1}^N \hat{w}_n(x) \phi_n(t)$$

  • Time ($\phi_n$): They use a sequence of fixed, 1D orthogonal polynomials (specifically Legendre polynomials). This leverages the high accuracy of classical spectral methods for the 1D time variable.
  • Space ($\hat{w}_n$): They use a sequence of unknown DNNs to represent the spatial components. Because DNNs are dimension-friendly, they handle the high-dimensional space variables ($x \in \mathbb{R}^d$) without the curse of dimensionality.

The Workflow: 1. Galerkin Projection: Apply the Galerkin method to the original PDE to eliminate the time variable. This transforms the PDE into a linear system of spatial equations where the unknowns are the DNNs. 2. Sparsity: Thanks to the orthogonality of the polynomials, the resulting system is sparse (banded), which simplifies the relationship between the different DNNs. 3. Optimization: Train the DNNs by minimizing the residual of this system using a least-squares loss function.

Datasets

As is standard in numerical analysis papers, the method was evaluated on several synthetic benchmark problems designed to test specific stresses:

  • 2-D Heat Equation: Tested with both low and high-frequency oscillations in time and space.
  • 20-D Parabolic Equation: A high-dimensional test with non-constant coefficients.
  • 20-D Allen-Cahn Equation: A high-dimensional nonlinear equation, solved using a fixed-point iteration scheme.
  • 20-D Hyperbolic (Wave) Equation: Testing the method on second-order time derivatives.

Key Insights and Ideas

  • Hybridization is Key: By using traditional math for the 1D variable (time) and AI for the high-D variable (space), the method gets the "best of both worlds": the precision of spectral methods and the scalability of DNNs.
  • Fixing the Oscillations: By using fixed orthogonal polynomials for time, the optimizer doesn't have to "discover" the temporal oscillations from scratch. It only needs to learn the spatial weights, which makes the optimization landscape much smoother.
  • Theoretical Guarantees: The authors provide a posterior error estimates, proving that the solution error is bounded by the training loss plus a term that decays as you add more basis functions ($O(N^{-m})$).
  • Banded Structure: The choice of basis functions leads to sparse matrices. This suggests that future versions of this algorithm could be even faster by exploiting this mathematical structure during training.

Key Results

  • Superior Accuracy: In a 2D heat equation test, DABG achieved a relative error of $O(10^{-8})$, whereas the standard Deep Least-Squares (DLS) method could only reach $O(10^{-4})$.
  • Robustness to Oscillations: When faced with a solution containing eight trigonometric waves in time, DLS failed completely (relative error $\approx 10^{-1}$), while DABG maintained high accuracy (relative error $\approx 10^{-4}$).
  • High-Dimensional Success: The method successfully solved 20-dimensional parabolic and hyperbolic equations with errors significantly lower than DLS, proving it effectively bypasses the curse of dimensionality.
  • Nonlinear Capability: The DABG method was successfully extended to the nonlinear Allen-Cahn equation, showing it isn't limited to linear problems.

Limitations and Future Work

  • Computational Cost: Training $N$ independent DNNs simultaneously is computationally expensive. While the authors suggest using a single vector-valued DNN to mitigate this, the training time remains a factor.
  • Loss Function Efficiency: The current "minimal residual" loss function is straightforward but may not be the most efficient for all types of PDEs.
  • Future Directions: The authors suggest exploring other time-discretization techniques (like finite elements) within this framework and developing faster learning algorithms that specifically exploit the sparse banded structure of the coefficient matrices.

Summary updated

BibTeX
@article{gu2022deep,
  author = {Yiqi Gu and Michael K. Ng},
  title = {{Deep Adaptive Basis Galerkin Method for High-Dimensional Evolution Equations With Oscillatory Solutions}},
  journal = {SIAM J. Sci. Comput.},
  year = {2022},
  doi = {10.1137/21m1468383},
}
Figure