Skip to main content
QUICK REVIEW

[Paper Review] Physics-constrained Unsupervised Learning of Partial Differential Equations using Meshes

Mike Y. Michelis, Robert K. Katzschmann|arXiv (Cornell University)|Mar 30, 2022
Model Reduction and Neural NetworksPhysics and Astronomy4 citations
TL;DR

This paper proposes a physics-constrained, unsupervised learning framework for solving partial differential equations (PDEs) on irregular meshes using graph neural networks (GNNs). By formulating a physics-based loss that enforces PDE constraints through graph-based finite differences, the method achieves real-time, differentiable PDE simulation with high accuracy and generalization across unseen initial conditions and boundary setups, outperforming classical solvers in speed while maintaining fidelity.

ABSTRACT

Enhancing neural networks with knowledge of physical equations has become an efficient way of solving various physics problems, from fluid flow to electromagnetism. Graph neural networks show promise in accurately representing irregularly meshed objects and learning their dynamics, but have so far required supervision through large datasets. In this work, we represent meshes naturally as graphs, process these using Graph Networks, and formulate our physics-based loss to provide an unsupervised learning framework for partial differential equations (PDE). We quantitatively compare our results to a classical numerical PDE solver, and show that our computationally efficient approach can be used as an interactive PDE solver that is adjusting boundary conditions in real-time and remains sufficiently close to the baseline solution. Our inherently differentiable framework will enable the application of PDE solvers in interactive settings, such as model-based control of soft-body deformations, or in gradient-based optimization methods that require a fully differentiable pipeline.

Motivation & Objective

  • To develop an unsupervised machine learning framework for solving PDEs on irregular meshes without requiring large labeled datasets.
  • To enable real-time interactive PDE simulation by supporting dynamic boundary conditions and environment randomization during inference.
  • To overcome limitations of prior methods that rely on regular grids or supervised data by leveraging the geometric flexibility of meshes and the inductive bias of graph networks.
  • To establish a fully differentiable, computationally efficient pipeline suitable for gradient-based optimization and control applications.
  • To generalize across diverse initial conditions and PDE types, including heat, Eikonal, and Burgers equations, with minimal retraining.

Proposed method

  • The method represents meshes as graphs, where nodes encode spatial coordinates, solution variables, and material properties, and edges encode neighborhood relationships.
  • A graph neural network (GNN) processes node and edge features to predict the next timestep of the PDE solution based on a physics-constrained loss.
  • The physics-constrained loss enforces the governing PDE by computing graph-based finite difference approximations of spatial derivatives, ensuring predictions satisfy the PDE at each node.
  • Training is unsupervised: random initial conditions and environment configurations (e.g., obstacles, inflow) are sampled, and the network is trained via backpropagation on the physics loss alone.
  • The framework supports both Eulerian and Lagrangian mesh formulations, enabling simulation of moving boundaries and deformable bodies.
  • The method is inherently differentiable, enabling integration into gradient-based optimization pipelines for control and design.

Experimental results

Research questions

  • RQ1Can an unsupervised GNN-based framework accurately solve PDEs on irregular meshes without relying on large labeled datasets?
  • RQ2How well does the model generalize to unseen initial conditions and boundary configurations not seen during training?
  • RQ3Can the framework support real-time interactive PDE simulation with dynamic boundary conditions?
  • RQ4How does the performance of the graph-based finite difference approximation compare to classical numerical solvers in terms of accuracy and speed?
  • RQ5To what extent can the method be extended to handle complex physical phenomena such as shock waves or hyperelastic deformations?

Key findings

  • The model achieves a mean squared error (MSE) of 1.80×10⁻³ on a 1D heat equation with 20,000 mesh nodes, while running in 325ms compared to 1.21s for the FEniCS baseline.
  • For a 2D heat equation with 160,000 nodes, the MSE was 6.94×10⁻⁴, with inference time of 531ms versus 3.06s for FEniCS, demonstrating significant speedup.
  • The model generalizes well to unseen initial conditions, as shown in qualitative and quantitative comparisons across three distinct random initial conditions in the 2D heat equation experiment.
  • The framework supports real-time adjustment of boundary conditions during inference, enabling interactive PDE solving, which is not feasible with standard PINNs or fixed-grid methods.
  • Despite the success, the finite difference approximation introduces errors near discontinuities (e.g., shocks), indicating a need for more accurate gradient computation methods such as FEM-based or learned gradients.
  • The method is extendable to Lagrangian meshes and multi-scale architectures (e.g., graph U-Nets), enabling future application to large hyperelastic deformations and complex fluid-structure interactions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.