Abstract
In recent years, there has been widespread adoption of machine learning-based approaches to automate the solving of partial differential equations (PDEs). Among these approaches, Gaussian processes (GPs) and kernel methods have garnered considerable interest due to their flexibility, robust theoretical guarantees, and close ties to traditional methods. They can transform the solving of general nonlinear PDEs into solving quadratic optimization problems with nonlinear, PDE-induced constraints. However, the complexity bottleneck lies in computing with dense kernel matrices obtained from pointwise evaluations of the covariance kernel and its partial derivatives, a result of the PDE constraint and for which fast algorithms are scarce. The primary goal of this paper is to provide a near-linear complexity algorithm for working with such kernel matrices. We present a sparse Cholesky factorization algorithm for these matrices based on the near-sparsity of the Cholesky factor under a novel ordering of pointwise and derivative measurements. The near-sparsity is rigorously justified by directly connecting the factor to GP regression and exponential decay of basis functions in numerical homogenization. We then employ the Vecchia approximation of GPs, which is optimal in the Kullback-Leibler divergence, to compute the approximate factor. This enables us to compute $\epsilon$-approximate inverse Cholesky factors of the kernel matrices with complexity $O(N\log^d(N/\epsilon))$ in space and $O(N\log^{2d}(N/\epsilon))$ in time. We integrate sparse Cholesky factorizations into optimization algorithms to obtain fast solvers of the nonlinear PDE. We numerically illustrate our algorithm's near-linear space/time complexity for a broad class of nonlinear PDEs such as the nonlinear elliptic, Burgers, and Monge-Ampère equations.
Introduction
Gaussian Processes (GPs) and kernel methods offer a powerful, meshless framework for solving partial differential equations (PDEs). By framing the PDE solution as a maximum a posteriori (MAP) estimation problem, these methods transform differential equations into quadratic optimization problems subject to nonlinear constraints. Despite their flexibility and theoretical robustness, GP-based solvers face a significant computational hurdle: the resulting kernel matrices are dense.
In traditional finite element methods, matrices are sparse, allowing for efficient computation. In contrast, GP methods involve matrices where every entry represents a relationship between points via a covariance function and its derivatives. For $N$ collocation points, naive solvers scale at $O(N^3)$ time and $O(N^2)$ space, which is prohibitive for large-scale engineering applications. This paper addresses this bottleneck by introducing a near-linear complexity algorithm for computing with these dense kernel matrices.
Methodology: Sparse Cholesky Factorization
The core contribution is a sparse Cholesky factorization algorithm tailored for kernel matrices derived from nonlinear PDEs. The approach is built upon three primary innovations:
- Novel Ordering Strategy: The efficiency of the factorization depends heavily on the ordering of measurements. The authors propose a "maximin" (coarse-to-fine) distance strategy for Dirac (pointwise) measurements, followed by derivative measurements. This specific ordering ensures that the resulting Cholesky factor is "near-sparse."
- Vecchia Approximation: Drawing from spatial statistics, the method utilizes the Vecchia approximation to compute an approximate Cholesky factor. By minimizing the Kullback-Leibler (KL) divergence and considering only a small set of "neighboring" points for each entry, the dense factor is replaced with a sparse counterpart.
- Gauss-Newton Integration: To solve nonlinear PDEs, the sparse Cholesky factor is integrated into a second-order optimization framework. It serves as a preconditioner for Conjugate Gradient (pCG) solvers within a Gauss-Newton iteration, maintaining scalability throughout the optimization process.
Theoretical Insights
The success of this sparse factorization is rooted in the "screening effect." In GP regression, once a function's value is known at points surrounding a specific location, more distant points contribute negligible additional information. This work proves that this effect persists even when derivative information is included, provided the measurements are ordered correctly—treating derivatives as "fine-scale" information that should be conditioned on after pointwise evaluations.
Furthermore, the paper establishes a mathematical link between the Cholesky factor's sparsity and "Gamblets," which are basis functions used in numerical homogenization. This connection provides a rigorous foundation for the observed near-sparsity, bridging probabilistic inference with classical numerical analysis.
Numerical Evaluation
The algorithm was tested on several benchmark nonlinear PDEs:
- Nonlinear Elliptic PDEs: A standard test for steady-state systems.
- Burgers’ Equation: A fundamental PDE in fluid mechanics involving convection and diffusion, known for developing sharp shocks.
- Monge-Ampère Equation: A notoriously difficult fully nonlinear second-order PDE.
Key Results
- Scalability: The solver achieves $O(N \log^{2d} (N/\epsilon))$ time and $O(N \log^d (N/\epsilon))$ space complexity, where $d$ is the spatial dimension and $\epsilon$ is the target accuracy.
- Performance: In numerical tests (e.g., Burgers' equation with $N > 10^4$), the solver handled 50 dense kernel matrices in under 10 seconds on a standard laptop—a task that would be computationally prohibitive with naive $O(N^3)$ methods.
- Precision: The method maintained high accuracy, with errors ranging between $10^{-5}$ and $10^{-7}$, demonstrating that the approximation does not compromise the integrity of the solution.
Conclusion
This work provides a scalable path forward for GP-based PDE solvers, overcoming the $O(N^3)$ complexity barrier. While the "curse of dimensionality" remains a factor—as complexity scales with the spatial dimension $d$—the method is highly effective for 1D, 2D, and 3D physical problems. Future research will explore extensions to inverse problems and more complex measurement functionals beyond simple derivatives.
Summary updated