Weak Adversarial Networks for High-dimensional Partial Differential Equations

Yaohua Zang, Gang Bao, Xiaojing Ye, Haomin Zhou · DOI

Abstract

Solving general high-dimensional partial differential equations (PDE) is a long-standing challenge in numerical mathematics. In this paper, we propose a novel approach to solve high-dimensional linear and nonlinear PDEs defined on arbitrary domains by leveraging their weak formulations. We convert the problem of finding the weak solution of PDEs into an operator norm minimization problem induced from the weak formulation. The weak solution and the test function in the weak formulation are then parameterized as the primal and adversarial networks respectively, which are alternately updated to approximate the optimal network parameter setting. Our approach, termed as the weak adversarial network (WAN), is fast, stable, and completely mesh-free, which is particularly suitable for high-dimensional PDEs defined on irregular domains where the classical numerical methods based on finite differences and finite elements suffer the issues of slow computation, instability and the curse of dimensionality. We apply our method to a variety of test problems with high-dimensional PDEs to demonstrate its promising performance.

Introduction

High-dimensional partial differential equations (PDEs) are central to many fields, including physics, finance, and engineering. However, solving them remains a significant challenge. Traditional grid-based methods like Finite Element Methods (FEM) or Finite Difference Methods (FDM) suffer from the "curse of dimensionality," where the number of grid points grows exponentially with the dimension $d$. This makes them computationally intractable for $d \ge 4$.

Furthermore, many existing deep learning approaches, such as Physics-Informed Neural Networks (PINNs), rely on the "strong form" of the PDE. This requires the solution to be highly smooth and strictly differentiable. In practice, many PDEs exhibit singularities or lack classical strong solutions, causing strong-form methods to struggle or produce biased results.

The Weak Adversarial Network (WAN) Framework

To overcome these limitations, we introduce the Weak Adversarial Network (WAN). WAN shifts the focus from the strong form to the weak formulation of a PDE. By framing the PDE as an operator norm minimization problem, we can define a minimax game between two neural networks:

  1. The Primal Network ($u_\theta$): This network represents the proposed weak solution to the PDE.
  2. The Adversarial Network ($\phi_\eta$): This network acts as the "test function" from the weak formulation, challenging the primal network by maximizing the weak residual.

The training process involves alternating gradient descent and ascent on randomly sampled collocation points. This mesh-free approach allows WAN to scale linearly with dimensionality. The key notations used in the implementation and optimization of the WAN framework are summarized in the table below.

Table of notations used in the Weak Adversarial Network (WAN) framework.

Key Results and Performance

WAN has been evaluated on several challenging benchmarks, demonstrating its superiority over traditional and strong-form deep learning methods:

  • Handling Singularities: In a 2D Poisson equation with known singularities, WAN accurately recovered the true solution. In contrast, PINN and the Deep Ritz Method (DRM) produced overly smooth approximations that failed to capture the singular behavior.
  • High-Dimensional Scalability: For nonlinear elliptic PDEs in up to 25 dimensions, WAN achieved a relative $L_2$ error of 0.69% after 20,000 iterations. Empirical tests show that computation time scales roughly linearly with the dimension $d$.
  • Time-Dependent Problems: WAN successfully solved a 10-dimensional nonlinear diffusion-reaction equation using a joint space-time formulation, achieving a relative error of 0.66%.

Discussion and Conclusion

While WAN offers a robust solution for high-dimensional PDEs, it is not without challenges. The non-convexity of the loss landscape means that optimization stability is sensitive to the number of sampled points; excessive sampling can sometimes lead to local minima by reducing the stochastic noise needed to escape them. Additionally, network architecture choice (layers and neurons) significantly impacts performance and convergence speed.

In conclusion, Weak Adversarial Networks provide a powerful, mesh-free framework for solving high-dimensional PDEs, particularly those with singularities or irregular domains. Future work will focus on theoretical guidelines for architecture selection and improving optimization stability.

Summary updated

BibTeX
@article{zang2019weak,
  author = {Yaohua Zang and Gang Bao and Xiaojing Ye and Haomin Zhou},
  title = {{Weak Adversarial Networks for High-dimensional Partial Differential Equations}},
  journal = {Journal of Computational Physics},
  year = {2019},
  doi = {10.1016/j.jcp.2020.109409},
}
Figure