A Priori Generalization Analysis of the Deep Ritz Method for Solving High Dimensional Elliptic Partial Differential Equations

Yulong Lu, Jianfeng Lu, Min Wang

Introduction: The Challenge of High-Dimensional PDEs

Solving partial differential equations (PDEs) in high-dimensional spaces (e.g., $d=100$) is a fundamental challenge in scientific computing, with applications ranging from quantum mechanics to financial engineering. Classical numerical methods, such as Finite Element Methods (FEM) or Finite Difference Methods, suffer from the "curse of dimensionality": the number of grid points required to maintain accuracy grows exponentially with the dimension $d$.

In recent years, deep learning has emerged as a promising alternative. By using neural networks as function approximators, researchers have developed methods like the Deep Ritz Method (DRM) to solve PDEs by minimizing an energy functional. While DRM has shown empirical success in high dimensions, a rigorous theoretical understanding of its generalization error—how well the solution learned from finite samples performs across the entire domain—has been largely absent. This paper provides the first "a priori" generalization error analysis for DRM, establishing that it can indeed overcome the curse of dimensionality for a specific class of problems.

The Deep Ritz Method (DRM)

The Deep Ritz Method treats the PDE as a variational optimization problem. For an elliptic PDE, the solution is characterized as the minimizer of an energy functional $I(u)$. In practice, DRM approximates the solution $u$ using a neural network $u_\theta$ and minimizes the empirical loss:

$$L_n(\theta) = \frac{1}{n} \sum_{i=1}^n f(x_i, u_\theta(x_i), \nabla u_\theta(x_i))$$

where $x_i$ are points sampled uniformly from the domain. The central theoretical question is whether the number of samples $n$ required to achieve a certain accuracy must grow exponentially with $d$.

Theoretical Framework: Spectral Barron Spaces

To analyze the generalization error, the authors introduce a "regularity bridge" between classical PDE theory and machine learning. In classical theory, Sobolev spaces are used to describe the smoothness of solutions. However, Sobolev spaces are too broad to avoid the curse of dimensionality in high dimensions.

Instead, the authors utilize Spectral Barron Spaces. These are spaces of functions that can be efficiently approximated by two-layer neural networks without the error depending exponentially on the dimension. A key contribution of this work is a new regularity theory: the authors prove that if the source terms of the PDE (like the right-hand side of a Poisson equation) lie within a Barron space, then the solution to the PDE also lies within a Barron space. This ensures that the neural network has the inherent capacity to represent the solution efficiently.

Methods and Analysis

The study focuses on two prototype elliptic equations on a $d$-dimensional unit hypercube: the Poisson equation and the static Schrödinger equation. The analysis employs several sophisticated tools from statistical learning theory:

  • Two-Layer Networks with Softplus Activation: The authors analyze networks using the Softplus function. Unlike the standard ReLU, Softplus is smooth, which is essential for PDEs because the energy functional involves derivatives.
  • Rademacher Complexity & Dudley’s Theorem: These tools are used to bound the capacity of the neural network function class, allowing the authors to estimate how much the empirical loss deviates from the true energy functional.
  • Error Decomposition: The total error is decomposed into approximation error (how well the network can represent the solution) and generalization error (how well the network learns from finite samples).

Key Results

Dimension-Independent Convergence

The authors prove that the convergence rate of the generalization error depends on the number of samples ($n$) and the network width ($m$), but the prefactors grow only polynomially with $d$. Specifically, they show that the total error scales roughly as $O(n^{-1/3})$ when the network width is optimized ($m \approx n^{1/3}$). This result rigorously demonstrates that DRM can overcome the curse of dimensionality.

Numerical Validation

The theoretical findings are supported by synthetic numerical experiments in dimensions up to $d=100$.

  • High-Dimensional Performance: For the Poisson equation at $d=100$, the method achieved a relative $H^1$ error of approximately 17.6% using 100,000 samples. This is a significant result, as grid-based methods would require an astronomical number of points for the same task.
  • The U-Shape Curve: The experiments confirmed a "U-shape" relationship between error and network width. As the width $m$ increases, the approximation error initially decreases, improving the result. However, if $m$ becomes too large relative to the sample size $n$, the generalization error (statistical noise) begins to dominate, causing the total error to rise.

Limitations and Future Directions

While this paper marks a significant milestone in the theory of neural PDE solvers, several areas remain open for exploration:

  1. Network Depth: The current analysis is restricted to two-layer networks. Extending these bounds to deep architectures (multi-layer networks) is a complex but necessary next step.
  2. Domain Geometry: The proofs currently rely on the properties of the unit hypercube. Real-world applications often involve complex or non-convex domains.
  3. Non-linear PDEs: The study focuses on linear elliptic equations. Future work is needed to address non-linear equations, such as the Navier-Stokes equations.
  4. Optimization Error: The analysis assumes that the optimization algorithm successfully finds the global minimizer. In practice, the non-convex nature of neural network training means that optimization error is a significant factor not yet accounted for in this a priori framework.

Conclusion

This research provides a rigorous foundation for the Deep Ritz Method, proving that neural networks are theoretically capable of solving high-dimensional elliptic PDEs efficiently. By identifying Spectral Barron spaces as the natural regularity class for these problems, the authors have bridged the gap between functional analysis and statistical learning, offering a roadmap for future theoretical developments in deep learning-based scientific computing.

Summary updated

BibTeX
@inproceedings{lu2021priori,
  author = {Yulong Lu and Jianfeng Lu and Min Wang},
  title = {{A Priori Generalization Analysis of the Deep Ritz Method for Solving High Dimensional Elliptic Partial Differential Equations}},
  booktitle = {Conference on Learning Theory},
  year = {2021},
}
Figure