Abstract
Learning the solution operators of partial differential equations (PDEs) is a fundamental task in scientific computing. While neural operators have shown promise, they often struggle with complex geometries and the exact enforcement of physical constraints. We introduce Structure-Preserving Operator Networks (SPONs), which utilize Finite Element Method (FEM) discretizations as the inductive bias for the encoder and decoder. This architecture ensures that boundary conditions are satisfied exactly and allows for seamless handling of unstructured meshes. Our multigrid-inspired variant, SPON-MG, further improves scalability and accuracy.
Introduction
Modern engineering relies heavily on simulating physical systems governed by PDEs. While traditional solvers are accurate, they are computationally expensive. Neural operators, such as Fourier Neural Operators (FNO) and DeepONets, offer significant speedups but face a "geometry problem." They typically treat physical domains as regular grids or unstructured point clouds, often ignoring the underlying topology and failing to strictly enforce boundary conditions. This can result in significant mathematical inconsistencies, particularly in complex domains like airplane wings or turbines.
Methodology
The SPON framework adopts an encode-process-decode architecture designed to preserve the mathematical structure of the underlying physics.
- Encoder: The model uses a Galerkin projection to map continuous input functions onto the degrees of freedom (DoFs) of a Finite Element space.
- Processor: A learnable Graph Neural Network (GNN) operates on these DoFs. The mesh structure provides a natural relational inductive bias, defining the connectivity for the GNN.
- Decoder: The continuous solution is reconstructed using FE basis functions. Boundary conditions are enforced exactly by fixing the values of specific DoFs, ensuring physical consistency at the domain edges.
To address the scalability issues of standard GNNs, we introduce SPON-MG. This variant employs a multigrid hierarchy, using multiple mesh levels to propagate information across the domain efficiently, mimicking the V-cycle algorithms used in classical high-performance computing.
Experimental Results
We evaluated SPONs on two key benchmarks: a 2D Poisson equation on a unit square and fluid flow past a cylinder (Navier-Stokes) on an unstructured mesh.
Accuracy and Constraint Satisfaction
On the Poisson benchmark, SPON-MG achieved a relative $L^2$ error of $3.21 \times 10^{-3}$, significantly lower than both FNO and DeepONet. Crucially, while baseline models exhibited boundary condition errors between 18% and 43%, SPONs maintained zero error on the boundaries due to their architectural design.
Efficiency and Scaling
SPON-MG proved to be highly efficient, requiring 3.5 times fewer parameters than the best-performing benchmarks. Furthermore, while the computational cost of standard SPONs grows rapidly with mesh resolution, SPON-MG maintains nearly constant epoch times, demonstrating its suitability for high-fidelity simulations.
Zero-Shot Super-Resolution
A unique advantage of the SPON framework is its ability to perform zero-shot super-resolution. Since the decoder produces a continuous FE function, the solution can be evaluated at any point or resolution, even if the model was trained on a coarser mesh.
Conclusion
SPONs bridge the gap between traditional numerical methods and deep learning by embedding FEM principles into the network architecture. This approach provides a robust solution for enforcing physical constraints and handling complex geometries. Future work will explore the extension of this framework to higher-dimensional problems and the integration of more diverse boundary condition types.
Summary updated