Variational Green’s Functions for Volumetric PDEs João Teixeira, Eitan Grinspun, Otman Benchekroun Abstract . Green’s functions characterize the fundamental solutions of partial differential equations; they are essential for tasks ranging from shape analysis to physical simulation, yet they remain computationally prohibitive to evaluate on arbitrary geometric discretizations. We present Variational Green’s Function (VGF), a method that learns a smooth, differentiable representation of the Green’s function for linear self-adjoint PDE operators, including the Poisson, the screened Poisson, and the biharmonic equations. To resolve the sharp singularities characteristic of the Green’s functions, our method decomposes the Green’s function into an analytic free-space component, and a learned corrector component. Our method leverages a variational foundation to impose Neumann boundary conditions naturally , and imposes Dirichlet boundary conditions via a projective layer on the output of the neural field. The resulting Green’s functions are fast to evaluate, differentiable with respect to source application, and can be conditioned on other signals parameterizing our geometry. Figure 1. We adopt a variational formulation for Green’s functions and develop an algorithm capable of computing Green’s functions on arbitrary geometric representations, such as point clouds, SDFs, tetrahedralized meshes, or polygon soups. 1. Introduction “Give it a little tappy. Tap, tap, taparoo.” —Happy Gilmore Figure 2. The analytic-corrector decomposition of the Neumann Laplace Green’s function uses the analytic Green’s function to capture the sharpness of the Green’s function, letting our neural field capture an additional smooth corrector field required to enforce the 0-Neumann boundary conditions. Decomposition of the Neumann Laplace Green's function into a fundamental solution and a neural corrector. Since humanity’s earliest days, our primal instinct when encountering an unknown object has remained unchanged: poke it and see what happens. It’s no surprise then that a fundametal tool in the analysis of the Partial Differential Equations (PDEs) that model our world, is their response to a poke, or an impulse. This response to an impulse is known as the Green’s function of the PDE operator, and in Computer Graphics they have proven to be useful for controlling and manipulating 3D geometry ( 25 ; 8 ) , shape analysis ( 37 ) and for accelerating PDE solvers ( 10 ; 21 ) . While Green’s functions admit closed-form expressions for a small class of PDEs on simple, unbounded domains, computing them on complex geometries typically requires finite element discretization. This dependence on meshing becomes a major bottleneck as modern graphics pipelines increasingly rely on unstructured, high-resolution representations such as point clouds, neural fields, and constructive solid geometry, often with millions of primitives. For such data, meshing is costly or infeasible, making direct computation of Green’s functions intractable. Despite recent progress on mesh-free PDE solvers using neural fields, relatively little work has addressed the problem of learning Green’s functions directly on unstructured function spaces. This is due to several challenges unique to Green’s functions. Suitable training objectives are unclear: existing approaches often rely on mesh-based supervision or residual minimization. Green’s functions additionally are particularly sensitive to the imposed boundary conditions, which are particularly difficult to enforce in neural field formulations. In addition, Green’s functions exhibit sharp, localized structure that is difficult to represent with smooth function spaces. Finally, many applications require frequent evaluation of Green’s functions across multiple impulse locations, and so our neural field needs to be capable of generalizing to arbitrary impulse locations. We propose Variational Green’s Functions (VGF) , an unsupervised method for learning Green’s functions of linear, elliptic, self-adjoint PDE operators directly on unstructured function spaces such as neural fields. To the best of our knowledge, we are the first to train a Green’s function neural field by minimizing the variational energy associated with the Green’s function PDE. This formulation requires no mesh-based supervision, depends only on first-order derivatives, and provides a natural mechanism for enforcing Neumann boundary conditions. To capture the sharp structure of Green’s functions, we factor out the analytic free-space singularity and learn only a smooth corrective field, and we exploit the sifting property of the Dirac delta to accurately evaluate its contribution to the variational energy. Finally, to enable generalization across impulse locations, we introduce a hyperintegration-based training scheme that jointly samples spatial evaluation points and impulse locations at each epoch, leading to faster convergence and a single model capable of producing the results for arbitrary impulse locations, without re-training as shown in Fig. 16 . For the Laplace, screened Poisson, and biharmonic operators, our method is capable of providing accurate Green’s functions in real-time for arbitrary source locations.. We showcase further benefits of our neural field formulation by evaluating Green’s functions on various geometric representations Fig. 1 , Green’s functions that generalize over shape spaces, and inverse problems dependent on Green’s functions, such as skinning weight design and shape segmentation. 2. Related Work Our method builds on two complementary lines of research: the use of Green’s functions in geometry processing, and mesh-free approaches for solving partial differential equations using neural fields. 2.1. Green’s Functions in Computer Graphics Green’s functions have long played a central role in accelerating PDE solvers and enabling localized, physically meaningful control in computer graphics. They form the foundation of the Boundary Element Method (BEM), which reduces volumetric PDEs to boundary integrals and has been applied to elastic deformation, surface-only fluid simulation, Poisson problems, and diffusion-based texture synthesis ( 21 ; 36 ; 12 ; 10 ; 5 ; 38 ) . Despite their accuracy, BEM-based methods rely on clean, high-quality surface meshes, which are not always available in modern geometric pipelines. Beyond solver acceleration, Green’s functions have been used as controllable primitives for simulation and modeling. Examples include vortex-based smoke control via the Biot–Savart law ( 3 ) , interactive elastic sculpting tools based on free-space elasticity kernels ( 13 ; 14 ; 9 ) , and cage-based deformation using Laplace or elasticity Green’s functions ( 25 ; 8 ) . In shape analysis, Green’s functions of diffusion and wave operators underpin intrinsic descriptors and distance constructions ( 4 ; 37 ; 26 ) . Our work builds on these insights while removing the reliance on explicit surface or volumetric discretizations. By learning Green’s functions as neural fields, we extend localized, Green’s-function-based reasoning to arbitrary unstructured geometric representations. 2.2. Mesh-Free PDE Solvers Motivated by the growing prevalence of unstructured geometric data, numerous mesh-free PDE solvers have been proposed. Point-based methods such as Smoothed Particle Hydrodynamics, Reproducing Kernel Particle Methods, Point Set Surfaces, and implicit Moving Least Squares define function spaces directly over particles or point clouds ( 18 ; 27 ; 1 ; 24 ) , with recent extensions enabling robust contact handling ( 16 ) . While mesh-free, these approaches still solve PDEs through particle-based discretizations and iterative time stepping, coupling solutions to a specific sampling of the geometry. Monte Carlo Geometry Processing offers an alternative by interpreting Green’s functions probabilistically, enabling grid-free Poisson solves with minimal surface information ( 31 ) . However, each query still requires stochastic evaluation rather than amortized inference. Neural fields provide a complementary paradigm by parameterizing continuous physical quantities as neural networks, offering effectively infinite resolution and the ability to operate on arbitrary domains ( 34 ; 7 ; 29 ; 32 ) . Variational neural solvers cast PDEs as energy minimization problems ( 17 ) , though enforcing boundary conditions remains challenging in practice ( 6 ) . Recent work addresses this by hard-constraining the network architecture to exactly satisfy boundary conditions ( 15 ) . Our method follows this variational philosophy but targets the Green’s function of the PDE operator itself. Unlike approaches that learn solutions via finite-element supervision ( 41 ; 28 ) or minimize PDE residuals on background grids ( 39 ) , our formulation learns Green’s functions directly from the variational energy, without meshes, or grids and requires only distance-to-surface queries. This enables efficient, random-access evaluation and generalization across geometric parameterizations without re-discretization or re-solving. 3. Green’s Functions: A Variational Perspective Our framework relies on constructing a variational principle for the Green’s functions of linear elliptic PDE operators. The Green’s function G(x,s) of a PDE operator \mathcal{L} , is defined as the response of the operator at point x\in\mathbb{R}^{d} to an impulse source applied at s\in\mathbb{R}^{d} and satisfies the equations: \displaystyle\mathcal{L}G(x,s) \displaystyle=\delta(x,s)\quad\forall x\in\Omega, (1) \displaystyle G(x,s) \displaystyle=h(x)\quad\forall x\in\partial\Omega_{d}, \displaystyle\partial_{n}G(x,s) \displaystyle=g(x)\quad\forall x\in\partial\Omega_{n}, where \mathcal{L} is a linear self-adjoint elliptic PDE operator of order 2d\,\forall d\in\mathbb{N} , \delta(x,s) is a Dirac delta function centered at s , h(x) are Dirichlet boundary conditions, and g(x) are Neumann boundary conditions. Furthermore, if the PDE operator is of order greater than 2 , we assume an additional homogeneous boundary condition on the d -th derivative of the Green’s function, to make the problem well-posed. Such linear elliptic PDE operators—including the Laplace, screened Poisson, and biharmonic operators—admit a variational formulation \displaystyle G(x,s)= \displaystyle\argmin_{u(x)}E_{\mathcal{L}}[u(x)]-\left\langle\delta(x,s),u(x)\right\rangle (2) \displaystyle\text{s.t.}\quad u(x)=h(x)\quad\forall x\in\partial\Omega_{d}, \displaystyle\text{and}\quad\partial_{n}u(x)=g(x)\quad\forall x\in\partial\Omega_{n}. provided the function space for G(x,s) is sufficiently smooth, as guaranteed by the Riesz Representation Theorem ( 30 ) . Above, E_{\mathcal{L}}[u(x)] is the variational energy functional associated to the PDE operator \mathcal{L} , generically given by: (3) \displaystyle E_{\mathcal{L}}[u(x)]=\frac{1}{2}\left\langle\mathcal{L}u(x),u(x)\right\rangle. To perfectly capture the sharp dirac delta source term in our variational formulation, we leverage the sifting property of the dirac delta function, \left\langle\delta(x,s),u(x)\right\rangle=u(s) . This provides us with an expression for evaluating contribution of the source term to the energy functional requiring only a simple evaluation of u(s) . Leveraging this sifting property is essential for ensuring that our final energy landscape reflects the sharpness of the impulse source, as shown in Fig. 3 . Figure 3. Leveraging the sifting property of the Dirac delta function is essential for capturing the sharpness of the impulse source. The advantage of casting the Green’s functions as the solution to the variational problem Eq. ( 3 ), as we will see, is that it will allow us to define an unsupervised objective function which we can use to optimize the parameters of arbitrary function representations, including neural fields. We now turn our attention to the specific variational formulations for the Green’s functions of the Laplace, screened Poisson, and biharmonic operators. 3.1. Green’s Functions of the Laplace Operator \Delta The first PDE operator we consider is the Laplace operator \mathcal{L}=\Delta . We consider a domain \Omega as an open subset of \mathbb{R}^{n} . Within this domain, the Laplacian operator \Delta is defined intrinsically as the divergence of the gradient, \nabla\cdot\nabla . For the Laplace operator, the corresponding variational energy functional can be rewritten via integration by parts into the Dirichlet energy ( 2 ) : (4) \displaystyle E_{\Delta}[u(x)]=\frac{1}{2}||\nabla u(x)||^{2}-\int_{\partial\Omega_{n}}u(x)g(x)dx, where the second term is the contribution to the functional arising from the Neumann boundary conditions, if they exist. This second term allows us to enforce the Neumann boundary conditions naturally within our energy functional ( 35 ) , without requiring any additional constraint on the function space. In particular, for vanishing Neumann boundary conditions, that second term disappears, and the boundary conditions arise naturally from minimizing the first term alone. Figure 4. Minimizing the Dirichlet energy naturally enforces vanishing Neumann boundary conditions in our Green’s functions for the Laplace operator. These boundary conditions are preserved across various impulse sources all generated by the same neural field. Modifying the Source for Neumann Boundary Conditions For the Laplace Green’s function u(x)=G(x,s) with Neumann boundary conditions, the standard variational formulation does not admit a solution for arbitrary prescribed flux g(x) . By the divergence theorem, any solution of \Delta u(x)=f(x) must satisfy (5) \int_{\partial\Omega_{n}}\partial_{n}u(x)\,dx=\int_{\Omega}f(x)\,dx. When f(x)=\delta(x,s) , the right-hand side evaluates to 1 , while the left-hand side is fixed by the prescribed Neumann data \partial_{n}u(x)=g(x) . This compatibility condition generally fails for arbitrary g(x) . To make the problem well posed, we follow the lead of 11 and modify the source with a background sink term, f(x)=\delta(x,s)+\frac{1}{|\Omega|}\left(\int_{\partial\Omega_{n}}g(x)\,dx-1\right), which enforces the required flux balance. This modification adds a constant term to the energy functional, (6) E_{s}[u]=\frac{1}{|\Omega|}\left(\int_{\partial\Omega_{n}}g(x)\,dx-1\right). Removing the Nullspace Ambiguity When no Dirichlet boundary conditions are present, the Laplace operator admits a constant nullspace, making the solution unique only up to an additive constant. We remove this ambiguity by enforcing a zero-mean constraint, implemented either by projection or by adding the penalty (7) E_{u}[u]=\left(\frac{1}{|\Omega|}\int_{\Omega}u(x)\,dx\right)^{2}. 3.2. Green’s Functions of the Screened Poisson Operator k^{2}-\Delta Now that we have a variational formulation for the Green’s functions of the Laplace operator with Dirichlet or Neumann boundary conditions, we can easily extend this framework to the screened Poisson operator \mathcal{L}=k^{2}-\Delta , where k>0 is a screening parameter. This operator has a well known variational energy functional ( 22 ) , resembling the Dirichlet energy: (8) \displaystyle E_{k^{2}-\Delta}[u(x)]=\frac{k^{2}}{2}||u(x)||^{2}+\frac{1}{2}||\nabla u(x)||^{2}-\int_{\partial\Omega_{n}}u(x)g(x)dx. The third term is the contribution to the functional arising from the Neumann boundary conditions, as was the case for the Dirichlet energy. Unlike the Laplace operator, the screened Poisson operator has no nullspace ambiguity, and so we can directly minimize the energy functional Eq. ( 3 ) to obtain our Green’s function. Figure 5. Vanishing Neumann boundary conditions can be enforced naturally by our two-stage mixed method to solving for the Green’s functions of the biharmonic operator. These boundary conditions are preserved across various queried impulse source locations, all generated by the same pre-trained neural field. 3.3. Green’s Functions of the Biharmonic Operator \Delta^{2} The biharmonic operator admits a classical variational energy, often referred to as the Laplace energy functional ( 35 ) : \displaystyle E_{\Delta^{2}}[u]=\frac{1}{2}\|\Delta u\|^{2}-\int_{\partial\Omega_{\Delta}}p(x)\,\partial_{n}u(x)\,dx+\int_{\partial\Omega_{\partial\Delta}}q(x)\,u(x)\,dx. However, the boundary terms in this formulation prescribe values of \Delta u and \partial_{n}\Delta u on the boundary, rather than directly controlling the Neumann boundary conditions of u itself. As a result, this energy cannot be used directly to enforce the desired boundary conditions for biharmonic Green’s functions. Mixed Formulation To address this limitation, we adopt a mixed formulation of the biharmonic operator ( 20 ) . The key observation is that the bilaplacian factors into two Laplacians, (9) \Delta^{2}=(-\Delta)(-\Delta), allowing the fourth-order problem to be decomposed into two coupled second-order problems. This leads to a simple two-stage construction of the biharmonic Green’s function. First, we solve a Laplace Green’s function problem with zero Neumann boundary conditions: (10) \textbf{Step 1:}\quad\begin{cases}-\Delta v(x,s)=\delta(x,s)-\frac{1}{|\Omega|},&x\in\Omega,\\ \partial_{n}v(x,s)=0,&x\in\partial\Omega.\end{cases} This stage ensures that the Laplacian of the final Green’s function satisfies a compatible boundary condition, which is required for solvability of the biharmonic problem. In the second stage, we recover the biharmonic Green’s function by solving a Poisson problem with v(x,s) as the source: (11) \textbf{Step 2:}\quad\begin{cases}-\Delta G(x,s)=v(x,s),&x\in\Omega,\\ G(x,s)=h(x),&x\in\partial\Omega_{d},\\ \partial_{n}G(x,s)=g(x),&x\in\partial\Omega_{n}.\end{cases} This final stage enforces the desired Dirichlet or Neumann boundary conditions on the biharmonic Green’s function. Both stages admit standard variational formulations. The first stage corresponds to a Laplace Green’s function with zero Neumann boundary conditions and a zero-mean constraint, while the second stage is a Poisson problem with arbitrary boundary conditions. In practice, we implement this mixed formulation using two neural fields: the first predicts v(x,s) , and the second predicts G(x,s) conditioned on the output of the first. Choice of Intermediate Boundary Conditions The mixed formulation is not unique, as different boundary conditions may be imposed on the auxiliary field v(x,s) . For example, one could alternatively enforce Dirichlet conditions on v along \partial\Omega , leading to a different but still valid biharmonic formulation. We choose zero Neumann boundary conditions for v(x,s) for two practical reasons. First, this choice is simple to implement within our variational framework: zero Neumann conditions arise naturally by omitting boundary integrals from the Dirichlet energy, as discussed in Sec. 3.1 . Second, it avoids introducing additional boundary constraints or penalty terms, allowing the intermediate Green’s function to be learned without explicit boundary supervision. 4. Implicit Function Parameterization of Green’s Functions Now that we have a variational formulation for the Green’s functions of the Laplace, screened Poisson, and biharmonic operators, we need to define a functional representation for our Green’s functions. We start with a generic functional parameterization: (12) \displaystyle G(x,s)=G_{\theta}(x,s) Corrector Comparison Figure 6. The analytic corrector decomposition allows our final learned Green’s function to properly capture the sharp singularity characteristic of the Laplacian’s Green’s function on a rectangular domain. Corrector Comparison Where \theta are the parameters of our function to be fitted via a minimization of the variational energy functional (e.g. the weights of a neural network, the coefficients of a polynomial, etc.), specific to the PDE operator we are considering. We require G_{\theta}(x,s) to be: (1) Once differentiable with respect to \theta to allow for gradient-based optimization (2) Capable of capturing sharp singularities characteristic of Laplacian Green functions, and (3) amenable to enforcing Dirichlet boundary conditions. The first criterion (1) is trivially enforced via our choice of a neural field parameterization. We move on to satisfying the remaining criteria. 4.1. Fundamental Solution Decomposition To ensure our function space can correctly resolve the sharp singularity of the solution near the source point, we further decompose our function space into an analytic fundamental solution component and a fitted "corrector" component: (13) \displaystyle G_{\theta}(x,s)=\Phi(x,s)+H_{\theta}(x,s) The analytic fundamental solution component, \Phi(x,s) , corresponds to the free-space solution of the PDE operator, and is essential for capturing the sharp singularity perfectly. In contrast, the corrector component, H_{\theta}(x,s) , is a function that is fitted to make the overall solution aware of the specific geometry defined by the boundary of the domain. This decomposition ultimately allows our framework to capture sharp singularities characteristic of Green’s functions, while being sensitive to the specific geometry of the domain as shown in Fig. 6 and Fig. 2 . Analytic fundamental solutions for the three PDE operators considered are given in Table. 1 . Table 1. Fundamental solutions for the three PDE operators considered. PDE Operator \Phi(x,s),\textbf{2D} \Phi(x,s),\textbf{3D} ( \Delta ) -\dfrac{1}{2\pi}\ln\|x-s\| \dfrac{1}{4\pi\|x-s\|} ( k^{2}-\Delta ) \dfrac{1}{2\pi}K_{0}\left(k\|x-s\|\right) \dfrac{\exp(-k\|x-s\|)}{4\pi\|x-s\|} ( \Delta^{2} ) \dfrac{1}{8\pi}\|x-s\|^{2}\ln\|x-s\| \dfrac{\|x-s\|}{8\pi} 4.2. Enforcing Dirichlet Boundary Conditions Standard penalty-based methods for enforcing boundary conditions often struggle with balancing interior smoothness against boundary adherence ( 6 ) . Instead, we employ a hard enforcement strategy via reparameterization, following the method of 15 , constructing a field \tilde{G}_{\theta} that satisfies the boundary conditions by construction. We define the reparameterized Green’s function as: (14) \tilde{G}_{\theta}(x,s)=w(x)h(x)+(1-w(x))G_{\theta}(x,s), where w(x)=w(d(x)) is a function of the distance d(x) from x to the nearest boundary, and w(d) is a smooth blending function satisfying w(0)=1 and w(d)=0 for d>\epsilon . Near the boundary (where w\approx 1 ), the network output is replaced by the required boundary data h(x) . In the interior (where w=0 ), the network has full control to minimize the energy. To ensure smoothness for gradient computation, we use the blending curve: (15) w(d(x))=\left(1-\frac{d(x)^{2}}{\epsilon^{2}}\right)^{2}, whose squared terms guarantee vanishing derivatives at both d=0 and d=\epsilon . This reparameterization ensures the Green’s function satisfies the boundary conditions by construction, and allows us to train the Green’s function in an unsupervised manner. 5. Hyperintegration Sampling Now that we have a variational formulation for the Green’s functions, as well as a decoupled parameterization capable of capturing sharp features, we can discuss how to evaluate the energy functional to fit our function space parameters \theta . Using the bilinear energy density \psi_{\mathcal{L}}(u,v)=\frac{1}{2}u\mathcal{L}u-\frac{1}{|\Omega|}v, we can rewrite Eq. ( 3 ) and define our Green’s function as the minimizer of the energy functional: (16) \displaystyle G(x,s)=\argmin_{u(x)}\int_{\Omega}\psi_{\mathcal{L}}(u(x),u(s))dx. From this form, to fit our parameterized Green’s function u(x)=G_{\theta}(x,s) to a single fixed source location s=s_{0} , we minimize the variational energy to solve for the parameters \theta : (17) \displaystyle\theta=\argmin_{\theta}\int_{\Omega}\psi_{\mathcal{L}}(G_{\theta}(x,s_{0}),G_{\theta}(s_{0},s_{0}))dx. Departing from the single impulse case, we want our parameters \theta to provide accurate Green’s functions for source impulses applied at any location in our domain \Omega . A naive strategy would be to sample a single source location, take an optimizer step to fit the neural field assuming this fiixed source location, and repeating this process by changing the source location every epoch. We call this strategy single-source integration and we’ve found that it leads to slower and less stable convergence. Figure 7. Our VGF’s for the Laplace equation can be made to enforce Dirichlet boundary conditions via an output reparameterization of our neural field. The main source of error is sharply localized within the singularity. Instead, we develop hyperintegration sampling , which jointly samples N random evaluation points and source locations every epoch. We integrate the objective over all possible source locations s\in\Omega , to that our \theta generalizes to arbitrary source locations: (18) \displaystyle\theta=\argmin_{\theta}\iint_{\Omega\times\Omega}\psi_{\mathcal{L}}(G_{\theta}(x,s),G_{\theta}(s,s))dxds. We estimate this double integral every epoch via stochastic cubature, drawing N samples \{x_{i},s_{i}\}_{i=1}^{N} randomly within the product space \Omega\times\Omega , providing us with the estimated loss every epoch: (19) \displaystyle L(\theta)=\frac{1}{N}\sum_{i=1}^{N}\psi_{\mathcal{L}}(G_{\theta}(x_{i},s_{i}),G_{\theta}(s_{i},s_{i})). Where every epoch we sample a new set of N random samples \{x_{i},s_{i}\}_{i=1}^{N} and update our parameters \theta incrementally. We show in Fig. 8 that hyperintegration sampling leads to faster and more stable convergence than single-source integration. Figure 8. Hyper integration allows our neural field training parameters to quickly converge, reaching a stable plateau, whereas single-source integration requires many more epochs to converge. Hyper Integration vs Single Integration 6. Experiments We implement our method in PyTorch. Unless otherwise specified, all experiments were conducted on a Macbook Pro with an Apple M4 Max chip and 128GB of RAM. We use a 4-layer, 256-unit multilayer perceptron (MLP) with sine activation functions and positional encoding ( 2^{6} frequencies). To train our neural field, we use the Adam optimizer with a learning rate of 10^{-3} for 50k epochs, with early stopping triggered after a patience of 2k epochs. 6.1. Training time & Statistics We collect training times, inference times, and error statistics for various examples in our paper and summarize them in Table 2 . Observe that evaluating our Green’s functions over inference can be done at interactive rates, taking a maximum of 4.9\text{ms} , which we use to evaluate Green’s functions over various impulses Fig. 16 , shapes in a shape space Fig. 18 , or PDE parameters Fig. 15 . Furthermore, observe that our method beats the baseline provided by 33 for all 3D examples, whereas their method provides an almost perfect result on 2D planar domains. Table 2. Training (train) and inference (inf.) times for the examples presented in this paper, along with the number of vertices per shape and the MLP parameters ( \# params). The inference time is the average duration required to evaluate a source point against all vertices, computed over a 1000 uniformly sampled sources. The mean error baseline we compare to is computed from the robust Laplacian ( 33 ) . example # vertices train inf. # params mean err. mean err. (min) (ms) base(%) ours (%) Cthulhu 4.5\times 10^{3} 22 4.9\times 10^{1} 2.00\times 10^{4} 0.0071 0.58 Crab 5.7\times 10^{4} 51 3.9\times 10^{1} 2.84\times 10^{5} 3.56 1.61 Sappho 1.1\times 10^{4} 1.5\times 10^{2} 1.8\times 10^{1} 5.67\times 10^{5} 27.38 4.80 Koala 8.1\times 10^{3} 1.2\times 10^{2} 1.7\times 10^{1} 5.67\times 10^{5} 19.47 3.85 Octopus 4.8\times 10^{3} 1.5\times 10^{2} 1.5\times 10^{1} 1.10\times 10^{6} 9.27 6.52 Teddy Bear (3D) 4.9\times 10^{4} 84 3.6\times 10^{1} 2.84\times 10^{5} 1.32 0.27 Teddy Bear (2D) 4.6\times 10^{3} 78 9.0\times 10^{0} 2.77\times 10^{5} 0.0020 0.27 Bunny 7.8\times 10^{3} 2.8\times 10^{2} 1.9\times 10^{1} 4.84\times 10^{5} 8.02 7.95 Frog 1.1\times 10^{4} 4.6\times 10^{2} 2.0\times 10^{1} 5.67\times 10^{5} 15.43 8.12 Bat 9.3\times 10^{3} 54 1.5\times 10^{1} 2.84\times 10^{5} 7.66 1.27 7. Results and Applications Figure 9. Commute time distance from one source point on an octopus tentacle, to all other points on the octopus. Our method doesn’t rely on a spectral approximation to compute commute time distance, providing a result closer to the ground truth obtained via the Green’s functions of the discrete cotan Laplacian. 7.1. Spectral Distances Spectral distances measure intrinsic surface similarity and are robust to noise. They are typically defined via Laplacian or biharmonic Green’s functions, but computing these exactly is expensive and often approximated via spectral decomposition ( 26 ) . Our method computes these distances efficiently without such approximations. Commute Time Distance The commute time distance d_{CT}(x,y) measures the expected round-trip time of a random walker: (20) d_{CT}^{2}(x,y)=G_{\Delta}(x,x)+G_{\Delta}(y,y)-2G_{\Delta}(x,y). Traditional computation is costly and non-differentiable. With VGF, it reduces to a simple network query, reproducing higher-fidelity distances than spectral approximations even with 1000 eigenvectors ( 33 ) . Biharmonic Distance The biharmonic distance d_{Bi}(x,y) uses the biharmonic Green’s function: (21) d_{Bi}^{2}(x,y)=G_{\Delta^{2}}(x,x)+G_{\Delta^{2}}(y,y)-2G_{\Delta^{2}}(x,y). It penalizes high-frequency variations, yielding smoother distances for shape matching. VGF reproduces these distances with lower error than the robust Laplacian ( 33 ) . 7.2. Shape Segmentation via Biharmonic Clustering We further exploit the differentiability of our biharmonic Green’s functions with respect to the impulse location to perform shape-aware clustering. Figure 17 illustrates the resulting segmentation. Given K cluster centers \{c_{k}\}_{k=1}^{K} on the shape, each point x is assigned to its nearest center under a biharmonic distance proxy, forming clusters \{C_{k}\} . We optimize the center positions by minimizing (22) \mathcal{L}=\sum_{k=1}^{K}\left[G_{\Delta^{2}}(c_{k},c_{k})-\frac{1}{|C_{k}|}\sum_{x\in C_{k}}\bigl(G_{\Delta^{2}}(x,c_{k})+G_{\Delta^{2}}(c_{k},x)\bigr)\right]. The first term encourages centers to move toward geometrically salient regions, while the second promotes compact clusters under the biharmonic metric. Optimization alternates between two steps: (i) assigning each point to its nearest center using the distance proxy d^{2}(x,c_{k})\approx G_{\Delta^{2}}(c_{k},c_{k})-(G_{\Delta^{2}}(x,c_{k})+G_{\Delta^{2}}(c_{k},x)) , and (ii) updating center locations via Adam, with gradients obtained through automatic differentiation. As shown in Fig. 17 , centers initialized in a clustered configuration quickly spread to produce a balanced segmentation. This continuous optimization over impulse locations is difficult to achieve with traditional mesh-based methods, where impulses are restricted to discrete vertices and gradients are ill-defined. 7.3. Biharmonic Deformation Weights The biharmonic equation is widely used to construct smooth skinning weights for deformation and character rigging ( 40 ; 15 ; 19 ) . We show that biharmonic Green’s functions provide a natural tool for the inverse design of such weights, enabling the fitting of skinning weights that best reproduce a target deformation. Starting from the zero-Neumann biharmonic Green’s function, we construct a normalized skinning weight (23) W(x,s)=\frac{G_{\Delta^{2}}(x,s)-\min_{y}G_{\Delta^{2}}(y,s)}{\max_{y}G_{\Delta^{2}}(y,s)-\min_{y}G_{\Delta^{2}}(y,s)}. The weight W(x,s) is attached to a skinning handle represented by an affine transform \mathbf{T}\in\mathbb{R}^{3\times 4} , producing a displaced position u(x)=W(x,s)\,\mathbf{T}[x,1]^{T}. Fig. 11 shows a localized deformation on a high-resolution crab mesh produced using a biharmonic Green’s function generated by our method. Because Green’s functions can be evaluated for arbitrary impulse locations, our approach enables rapid prototyping of localized skinning weights for interactive rigging and posing. Figure 10. We jointly optimized for an impulse position, which parametrizes a biharmoinc skinning weight, as well as a skinning transformation applied to that skinning weight, in order to match a target deformation. The differentiability of our Green’s functions enables direct solution of inverse deformation problems. Given an observed deformation u_{\text{obs}}(x) , we jointly optimize for the impulse location s and the skinning transformation \mathbf{T} that best reproduce the deformation \argmin_{s,\mathbf{T}}\sum_{x\in\Omega}\left\|u_{\text{obs}}(x)-W(x,s)\,\mathbf{T}[x,1]^{T}\right\|^{2} . We solve this objective using gradient descent with ADAM ( 23 ) . Since the skinning weight W(x,s) is differentiable with respect to the impulse location s , gradients can be computed directly via automatic differentiation. This stands in contrast to traditional discrete methods, where impulse locations are restricted to mesh vertices and are difficult to optimize continuously. As shown in Fig. 10 , starting from a random initialization, the optimizer successfully recovers both the impulse location and the associated deformation. 7.4. Shape Space Green’s Functions By virtue of adopting a neural field as a function space, we can easily condition our Green’s functions on external parameters, such as various shape parameters Fig. 18 , or various screening parameters 15 . To generalize over shape code, every epoch we sample a new d -dimensional shape parameter \mathbf{z} and update our parameters \theta incrementally to minimize the loss, using Adam. This allows a single pre-trained neural field to quickly evaluate Green’s functions upon inference while changing shape parameters of the PDE in real time. This would normally incur an expensive recomputation step with standard mesh-based techniques. 8. Limitations Our method inherits several limitations from neural fields as a function representation. First, gradients of the solution can be noisy, particularly in regions where the Green’s function exhibits rapid spatial variation. Second, geometries with pinches(positions that are close in euclidean space, but far geodesically) are challenging to resolve with our neural field function space. Furthermore, our natural boundary conditions are not guaranteed to be satisfied if the neural field hasn’t converged. Finally, our variational formulation currently only describes Dirichlet and Neumann boundary conditions; Robin boundary conditions are not yet supported. 9. Conclusion By leveraging variational principles for PDE operators, we can train Green’s function neural fields in an unsupervised manner that resolve sharp features, obey Neumann boundary conditions, and that generalize across impulse locations and parameters conditioning the PDE operator. We are excited about several promising directions for future work: Extending our method to curved surfaces with intrinsic curvature would enable applications in differential geometry and manifold learning. Applying our variational framework to elasticity and dynamics presents an exciting opportunity to model time-dependent phenomena and material behavior. Investigating different function spaces may yield more efficient or expressive representations. Perhaps most ambitiously, generalizing our approach to unseen shapes would enable truly universal Green’s function models that transfer across diverse geometries. Figure 11. Our VGF for the biharmonic equation can be used to construct skinning weights, which we can use wtih Linear Blend Skinning to pose and articulate our crab. Biharmonic Weights Deformation Figure 12. We compute biharmonic distances between points on a surface using our VGF. The distances are computed using the biharmonic Green’s function, and achieve lower error when compared to distances computed using the robust Laplacian of ( 33 ) . Biharmonic Distance Figure 13. Our VGF’s for the screened Poisson equation can be made to enforce Dirichlet boundary conditions via an output reparameterization of our neural field. The main source of error is sharply localized within the singularity. . Figure 14. We solve the Green’s function of the volumetric Poisson equation with vanishing Neumann boundary conditions on a teddy bear toy. Our VGF solution matches closely to the ground truth obtained from the cotan Laplace operator. In contrast, computing the Green’s function via the robust Laplacian ( 33 ) incurs more error, further spread out over the entire domain. Figure 15. A single VGF neural field can produce solutions to the screened Poisson equation for various impulses and various screening parameters. Our results match closely to the standard solution from the discrete screened Poisson operator obtained from the finite element method. Figure 16. Our neural field reproduces Green’s functions that closely match those of the discrete cotangent Laplacian in real time. A single trained model produces all results without retraining. Figure 17. Shape Segmentation. We optimize for an initial set of clusters that are centralized. Over a few optimization steps, our method creates a balanced segmentation using our biharmonic clustering. Shape Segmentation Figure 18. Green’s Functions of the Laplace operator with zero-Neumann boundary conditions evaluated over a shape space without re-training the neural field. Green's Functions of the Laplace operator with zero-Neumann boundary conditions in a shape space Figure 19. Green’s functions of the biharmonic equation with Neumann boundary conditions. Our solution agrees closely with a ground truth obtained from mixed FEM operator of 20 .