[Paper Review] Physics-Embedded Neural Networks: Graph Neural PDE Solvers with Mixed Boundary Conditions
The paper introduces physics-embedded neural networks (PENN) that enforce mixed Dirichlet/Neumann boundary conditions and use an implicit, global-neighborhood neural solver based on E(n)-equivariant IsoGCN to solve PDEs and predict long-time states more accurately and faster than classical solvers.
Graph neural network (GNN) is a promising approach to learning and predicting physical phenomena described in boundary value problems, such as partial differential equations (PDEs) with boundary conditions. However, existing models inadequately treat boundary conditions essential for the reliable prediction of such problems. In addition, because of the locally connected nature of GNNs, it is difficult to accurately predict the state after a long time, where interaction between vertices tends to be global. We present our approach termed physics-embedded neural networks that considers boundary conditions and predicts the state after a long time using an implicit method. It is built based on an E(n)-equivariant GNN, resulting in high generalization performance on various shapes. We demonstrate that our model learns flow phenomena in complex shapes and outperforms a well-optimized classical solver and a state-of-the-art machine learning model in speed-accuracy trade-off. Therefore, our model can be a useful standard for realizing reliable, fast, and accurate GNN-based PDE solvers. The code is available at https://github.com/yellowshippo/penn-neurips2022.
Motivation & Objective
- Motivate reliable learning for boundary-value PDEs with varying domain shapes and mixed boundary conditions.
- Embed PDE physics inside the neural model to ensure hard boundary constraints are satisfied.
- Develop an implicit, global solver through an E(n)-equivariant GNN to capture long-time, global interactions.
- Achieve fast, accurate predictions that compete with or surpass classical solvers in speed-accuracy trade-offs.
Proposed method
- Encode boundary information alongside variables using a boundary encoder to align encoded spaces.
- Enforce Dirichlet conditions with a Dirichlet layer and recover outputs via a pseudoinverse decoder to satisfy boundary constraints.
- Use NeumannIsoGCN to handle Neumann boundaries within the gradient-operator framework.
- Iterate a neural nonlinear solver in the encoded space that updates hidden states with a Barzilai–Borwein-like step size.
- Update equation: h^{(i+1)} = DirichletLayer(h^{(i)} - alpha^{(i)}[h^{(i)} - h^{(0)} - D_{NIsoGCN}(h^{(i)}) Delta t]).
- Leverage global pooling via BB step-size computation to incorporate global interactions in the solver.
Experimental results
Research questions
- RQ1How can mixed Dirichlet and Neumann boundary conditions be rigorously satisfied within a GNN-based PDE solver?
- RQ2Can an E(n)-equivariant GNN with encoded boundary conditions capture both local and global interactions for long-time PDE prediction?
- RQ3Does a neural nonlinear solver in encoded space improve stability and accuracy over traditional explicit/implicit GNN approaches?
- RQ4How does PENN perform relative to classical solvers and other ML-based PDE solvers in speed-accuracy trade-offs on complex geometries?
Key findings
- The model can exactly fulfill Dirichlet boundary conditions via the pseudoinverse decoder.
- Neumann boundary conditions are improved by NeumannIsoGCN, enabling better boundary gradient predictions.
- The neural nonlinear solver with global pooling stabilizes long-time predictions and captures global interactions.
- PENN achieves state-of-the-art speed-accuracy trade-offs compared to OpenFOAM and MP-PDE on benchmark tasks.
- The boundary encoder and Dirichlet layer improve reliability and enforce boundary constraints across iterations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.