Neural Green's Functions

Seungwoo Yoo, Kyeongmin Yeo, Jisung Hwang, Minhyuk Sung

TL;DR

Neural Green’s Functions (NGF) introduce a novel learning-based solution operator for linear partial differential equations (PDEs) that generalizes exceptionally well to unseen geometries and boundary conditions. By predicting the underlying solution operator from domain geometry alone, NGF decouples the shape representation from specific physics configurations, delivering up to a 350x speedup over traditional finite element methods with significantly lower error rates than state-of-the-art neural operators.

What Problem Does This Paper Address?

Simulating physical phenomena—like heat distribution, fluid flow, or structural stress—requires solving partial differential equations (PDEs) over complex 3D shapes. Traditional numerical methods, such as the Finite Element Method (FEM), are highly accurate but suffer from a massive bottleneck: they require generating fine-grained volumetric meshes, a process that is computationally expensive and prone to failure on intricate geometries.

Recently, deep learning-based "neural operators" have emerged as fast, mesh-free alternatives. However, existing neural operators typically struggle to generalize. If a model is trained on a specific set of source functions (forces acting on the system) or boundary conditions, it often fails when encountering new ones. This happens because current architectures directly couple the input geometry with sampled function values during training, failing to learn the true underlying physics independent of the scenario.

Methods

The authors introduce Neural Green’s Functions, a framework designed specifically for linear PDEs whose operators admit eigendecompositions (such as the Poisson and Biharmonic equations).

The core innovation is rooted in classical physics: a Green’s function is a mathematical tool that defines a PDE's solution operator based exclusively on the geometry of the domain. Once you know the Green's function for a shape, you can compute the solution for any arbitrary source or boundary function using simple integration.

NGF translates this concept into a deep learning architecture:

  1. Point Cloud Input: Instead of an expensive volumetric mesh, the model takes a simple volumetric point cloud representing the domain geometry.
  2. Feature Extraction: A neural network backbone (utilizing Transolver blocks) extracts per-point geometric features ($\boldsymbol{\Phi}_\theta$).
  3. Operator Decomposition: Rather than predicting the final solution directly, these features are used to reconstruct a neural approximation of the Green’s function matrix ($\mathbf{G}_\theta$) via a low-rank dot product ($\mathbf{G}_\theta = (\mathbf{K}\boldsymbol{\Phi}_\theta)(\mathbf{K}\boldsymbol{\Phi}_\theta)^T$). The network also predicts related differential quantities, such as per-vertex masses ($\mathbf{M}_\theta$).
  4. Numerical Integration: The final solution is evaluated by combining these predicted geometric components with the actual source ($\mathbf{f}$) and boundary ($\mathbf{h}$) functions via a discrete integration step.
Figure 2: Method overview. Given query points representing the geometry of the problem domain where the solution function is to be predicted, Neural Green’s Function extracts neural features that are subsequently used to approximate the Green’s function and to predict the differential quantities required to evaluate Eqn. 6. The example is rendered using a tetrahedral mesh, which is used solely for visualization purposes.

Datasets

The model was evaluated on two distinct setups:

  • 2D Toy Problems: Synthetic datasets for 2D Poisson and Biharmonic equations on a unit square, designed with completely non-overlapping coefficient ranges between the training and test sets to strictly evaluate function generalization.
  • 3D Mechanical Components Benchmark (MCB): A newly curated 3D PDE benchmark featuring complex mechanical parts across five categories: Screws & Bolts, Nut, Motor, Fitting, and Gear. The dataset contains 3,200 training pairs and 320 testing pairs, featuring significant intra-class geometric variation and entirely unseen combinations of source and boundary functions at test time.
Figure 3: Example shapes from our dataset. Our dataset comprises diverse mechanical part shapes from the MCB dataset [16], designed to evaluate the generalizability of learning-based PDE solvers across shape variations.

Key Insights and Ideas

  • Geometry-Function Decoupling: By forcing the neural network to learn features only from the shape coordinates, the model inherently respects the linearity of the underlying PDE. It remains completely agnostic to the source and boundary functions during training, unlocking robust generalization.
  • Embedding Mathematical Priors: Instead of treating deep learning as a pure black box, this approach embeds a strong structural prior—the eigendecomposition of the Green's function—directly into the network's prediction head.
  • The Importance of Mass Regularization: The authors noted that regularizing the predicted per-vertex masses against ground-truth values during training was absolutely critical. Because these mass values are typically very small ($\sim 10^{-4}$), unregularized training quickly suffers from optimization instability.

Key Results

  • Superior Accuracy: On the challenging 3D mechanical benchmark, Neural Green’s Functions consistently outperformed state-of-the-art neural operators (including Transolver, LNO, and UPT), achieving an average 13.9% error reduction across all shape categories.
  • Blazing Fast Inference: By completely bypassing the mesh generation pipeline, NGF achieved up to a 350x speedup compared to a conventional FEM solver, reducing simulation times from tens of seconds to fractions of a second.
Figure 4: Qualitative comparison. For each ground-truth solution in columns one and six, the per-point L2 errors from various methods are visualized in the error maps across the remaining columns. Red denotes higher values in the columns labeled “GT”, while in the error maps, brighter colors indicate greater errors. Neural Green’s Function demonstrates its ability to accurately predict solutions on irregular geometries from diverse domains. Compared to state-of-the-art neural operators trained to directly map source and boundary functions to solutions, our method achieves lower errors, as indicated by the darker regions in the error maps. The examples are rendered using tetrahedral meshes, that are used solely for visualization purposes. Best viewed when zoomed-in.

Limitations and Future Work

While highly effective, the framework has a few notable limitations:

  • Linear PDEs Only: The method relies strictly on the principle of superposition and eigendecomposition, meaning it cannot currently be applied to non-linear PDEs (such as the Navier-Stokes equations for fluid dynamics).
  • Boundary Condition Constraints: The current implementation focuses primarily on Dirichlet boundary conditions. Extending the framework to handle Neumann and Robin boundary conditions is an explicit avenue for future work.
  • Integration Overhead: Although significantly faster than FEM, the explicit numerical integration step during the forward pass introduces a minor computational overhead compared to pure black-box neural networks.

Summary updated

BibTeX
@inproceedings{yoo2025neural,
  author = {Seungwoo Yoo and Kyeongmin Yeo and Jisung Hwang and Minhyuk Sung},
  title = {{Neural Green's Functions}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=t2wMLGmcXd},
}
Figure