Meta-MgNet: Meta multigrid networks for solving parameterized partial differential equations

Yuyan Chen, Bin Dong, Jinchao XuJournal of Computational Physics 2020 · DOI

Abstract

Solving parameterized Partial Differential Equations (PDEs) is a critical task in engineering and physics, often requiring thousands of repeated simulations with varying physical or geometric properties. While traditional Multigrid (MG) methods are efficient, they are sensitive to parameter changes and often require manual tuning. This paper introduces Meta-MgNet, a novel deep learning framework that treats parameterized PDE solving as a multi-task learning problem. By utilizing a hypernetwork (Meta-NN) to dynamically generate solver weights on the fly, Meta-MgNet achieves fast, uniform convergence across a wide range of parameters, including extreme anisotropic cases, without the need for expensive retraining.

Introduction

Partial Differential Equations (PDEs) serve as the mathematical foundation for modeling physical phenomena. In practical applications such as design optimization or uncertainty quantification, solvers must handle the same PDE across a spectrum of parameters (e.g., varying diffusion coefficients). Traditional numerical solvers like Multigrid methods are highly efficient but brittle; their performance degrades significantly when parameters fall into extreme ranges, such as highly anisotropic diffusion. While deep learning approaches like PDE-MgNet have attempted to address this, they often struggle with generalization, requiring retraining for every new parameter set.

Methods

Meta-MgNet addresses the generalization gap by reframing PDE solving as a multi-task learning problem. The architecture builds upon PDE-MgNet, which maps the Multigrid algorithm onto a Convolutional Neural Network (CNN) structure.

The core innovation is the Meta-NN, a secondary hypernetwork that takes the specific parameters of a PDE as input and dynamically generates the weights for the solver's "smoother" component. The authors found that generating parameters for a Subspace Correction (SC) smoother—rather than standard convolution kernels—yielded superior performance. This approach allows the model to adapt instantly to new physics in a zero-shot manner. Mathematically, the authors provide convergence guarantees for Meta-MgNet when applied to Poisson's equation.

Evaluation and Results

The model was evaluated on synthetic datasets involving 2D and 3D anisotropic diffusion equations and Ossen equations.

Key findings include:

  • Efficiency in Extreme Conditions: For highly anisotropic diffusion ($\epsilon = 10^{-5}$), Meta-MgNet converged in approximately 4.9 seconds, compared to 35.6 seconds for classical Krylov MG methods.
  • Robust Generalization: Unlike standard PDE-MgNet, which fails on out-of-distribution (OoD) parameters, Meta-MgNet maintains consistent performance even when tested on physics unseen during training.
  • Scaling Performance: The solver demonstrates a predictable scaling of wall time relative to the difficulty of the PDE parameters, represented by the anisotropy factor $\epsilon^{-1}$.
Performance scaling of smoothers (Gauss-Seidel and Jacobi) within the Meta-MgNet framework as a function of parameter difficulty ($\epsilon^{-1}$).

Discussion and Key Insights

The success of Meta-MgNet stems from its ability to resolve the "contradictory weights" problem inherent in training standard networks on diverse PDE tasks. By using a hypernetwork, the model avoids the gradient conflicts that occur when a single set of weights tries to satisfy disparate physical regimes. Furthermore, the multi-task training process appears to act as a regularizer, allowing Meta-MgNet to outperform models trained on single, specific tasks.

Limitations and Future Work

Current limitations include the use of fixed grid components for prolongation and restriction, and a restriction to uniform meshes due to the CNN-based architecture. Future work will focus on extending meta-learning to these other Multigrid components and adapting the framework for non-uniform meshes using Graph Neural Networks (GNNs).

Conclusion

Meta-MgNet represents a significant step toward universal, parameter-agnostic PDE solvers. By combining the structural advantages of Multigrid methods with the flexibility of meta-learning, it provides a robust and efficient tool for complex engineering simulations.

Summary updated

BibTeX
@article{chen2020meta,
  author = {Yuyan Chen and Bin Dong and Jinchao Xu},
  title = {{Meta-MgNet: Meta multigrid networks for solving parameterized partial differential equations}},
  journal = {Journal of Computational Physics},
  year = {2020},
  doi = {10.1016/j.jcp.2022.110996},
}
Figure