Papers
Topics
Authors
Recent
Search
2000 character limit reached

Wachspress-Based Transfinite Formulation

Updated 12 January 2026
  • The paper introduces a formulation that exactly enforces Dirichlet boundary conditions in PINNs using a transfinite lifting operator based on Wachspress coordinates.
  • It leverages smooth, generalized barycentric coordinates and transfinite interpolation to create kinematically admissible trial functions with bounded Laplacians.
  • Numerical experiments on convex polygons demonstrate robust accuracy with pointwise errors ranging from 10⁻⁶ to 10⁻⁴ in both forward and inverse elliptic PDE problems.

A Wachspress-based transfinite formulation is a geometric and analytic framework for exactly enforcing Dirichlet boundary conditions in physics-informed neural networks (PINNs) and the deep Ritz method, specifically on convex polygonal domains. It leverages Wachspress coordinates—generalized barycentric coordinates for convex nn-gons—and transfinite interpolation, providing a mechanism for lifting prescribed boundary data into the interior of convex polygons. This approach generates kinematically admissible trial functions whose Laplacian remains bounded throughout the domain, thereby overcoming the singularity pathologies present in previous methods based on distance functions, and offering robust accuracy for both forward and inverse problems in elliptic partial differential equations (Sukumar et al., 5 Jan 2026).

1. Wachspress Coordinates for Convex Polygons

Given a convex polygon PR2P \subset \mathbb{R}^2 with nn vertices v1,,vnv_1,\ldots,v_n and edges Ei=conv(vi,vi+1)E_i = \operatorname{conv}(v_i, v_{i+1}), Wachspress coordinates λi(x)\lambda_i(\mathbf{x}) generalize barycentric coordinates from triangles to nn-gons. For a point xP\mathbf{x} \in \overline{P}, the three-point formula is

wi(x)=A(vi1,vi,vi+1)A(vi1,vi,x)A(vi,vi+1,x),w_i(\mathbf{x}) = \frac{A(v_{i-1}, v_i, v_{i+1})}{A(v_{i-1}, v_i, \mathbf{x})\,A(v_i, v_{i+1}, \mathbf{x})},

λi(x)=wi(x)j=1nwj(x),\lambda_i(\mathbf{x}) = \frac{w_i(\mathbf{x})}{\sum_{j=1}^n w_j(\mathbf{x})},

where A(a,b,c)A(a,b,c) denotes the signed area of triangle (a,b,c)(a,b,c). These coordinates satisfy λi0\lambda_i \ge 0, iλi=1\sum_i \lambda_i = 1, and the mean-value property iλivi=x\sum_i \lambda_i v_i = \mathbf{x}. Wachspress coordinates provide a smooth (CC^\infty) geometric feature map and encode the boundary-edge structure of the polygon, which is essential for neural network input representations and the imposition of boundary conditions (Sukumar et al., 5 Jan 2026).

2. Construction of Transfinite Interpolants

For each edge EiE_i of PP, let α~i:EiR\tilde{\alpha}_i : E_i \to \mathbb{R} be the prescribed boundary function. On EiE_i, only λi\lambda_i and λi+1\lambda_{i+1} are nonzero, allowing α~i\tilde{\alpha}_i to be reparametrized as αi(λi+1)\alpha_i(\lambda_{i+1}). The transfinite interpolant lifts the vector of boundary data into the interior via

g(λ)=i=1nλi[αi(λi+1)+αi1(1λi1)αi(0)].g(\bm{\lambda}) = \sum_{i=1}^n \lambda_i \left[ \alpha_i(\lambda_{i+1}) + \alpha_{i-1}(1-\lambda_{i-1}) - \alpha_i(0) \right].

This interpolant is continuous, satisfies gP=B~g|_{\partial P} = \tilde{B}, and can be written more generally in terms of faces and projections:

g(λ)=i=1nλiΠG(i)(1)dimΠ+1B(PΠ,vi(λ)),g(\bm{\lambda}) = \sum_{i=1}^n \lambda_i \sum_{\Pi \in \mathcal{G}(i)} (-1)^{\dim\Pi+1} B(\mathbb{P}_{\Pi, v_i}(\bm{\lambda})),

where G(i)\mathcal{G}(i) is the set of faces incident to viv_i, BB the boundary function, and PΠ,vi\mathbb{P}_{\Pi, v_i} the projection onto face Π\Pi. This construction extends bilinear Coons transfinite interpolation and Boolean-sum blending from rectangles to general convex polygons (Sukumar et al., 5 Jan 2026).

3. Formulation of Neural-Network Trial Functions

Let N(x;θ)N(\mathbf{x};\theta) denote the neural network output without boundary conditioning. The Wachspress-based transfinite formulation defines the trial function as

uN(x)=g(x)+[N(x;θ)L(N(;θ))(x)],u_N(\mathbf{x}) = g(\mathbf{x}) + [N(\mathbf{x};\theta) - L(N(\cdot;\theta))(\mathbf{x})],

where L[]g()L[\cdot] \equiv g(\cdot) is the transfinite lifting operator. On P\partial P, L(N)=NL(N) = N, forcing uNP=g=NP=B~u_N|_{\partial P} = g = N|_{\partial P} = \tilde{B}, and exactly enforcing the Dirichlet data (“hard constraint”). The boundedness and smoothness (H2(P)H^2(P) regularity) of uNu_N is ensured by the properties of Wachspress coordinates, avoiding the singular-Laplacian pathology of previous distance-function approaches (Sukumar et al., 5 Jan 2026).

4. Implementation Methodology

Geometric Feature Map

Each interior (or boundary) collocation point xP\mathbf{x} \in \overline{P} is mapped to Wachspress coordinates λ(x)[0,1]n\bm{\lambda}(\mathbf{x}) \in [0,1]^n, which serve as input features to a fully connected neural network with activation functions (e.g., tanh\tanh) in the hidden layers and a linear output.

Loss Functions

  • PINN Collocation: The loss over MM interior points {xk}\{\mathbf{x}_k\} is

L(θ)=1Mk=1M[ΔuN(xk)f(xk)]2,\mathcal{L}(\theta) = \frac{1}{M} \sum_{k=1}^{M} [\Delta u_N(\mathbf{x}_k) - f(\mathbf{x}_k)]^2,

with no explicit boundary term required.

  • Deep Ritz (Variational): The loss functional (energy minimization) is

L(θ)=P12uN2dxPfuNdx,\mathcal{L}(\theta) = \int_P \frac{1}{2} |\nabla u_N|^2\,dx - \int_P f\,u_N\,dx,

evaluated by quadrature over mesh or unstructured points. Kinematic admissibility permits the use of the exact Dirichlet energy (Sukumar et al., 5 Jan 2026).

5. Generalizations and Numerical Evidence

On rectangles, Wachspress coordinates reduce to standard bilinear finite-element shape functions and the blended transfinite interpolant coincides with the classical Coons patch. For convex nn-gons, the Boolean-sum blending generalizes this property. The formulation offers extensibility to new convex geometries and different barycentric coordinate systems (e.g., mean-value) by substituting accordingly in the scheme.

Experimental results on squares, quadrilaterals, pentagons, and parametrized quadrilateral families QpQ_p demonstrate robust training even near vertices. Typical maximum pointwise errors in uu and u\nabla u are 10610^{-6} to 10410^{-4}, outperforming earlier distance-function-based methods. Inverse heat-conduction examples achieved accurate recovery of linear source terms to 0.5%0.5\% error using only data and PDE losses, with no explicit boundary penalty. Parametric neural networks trained over (x,y,p)(x, y, p) solved the Poisson equation for all p[0,1]p \in [0,1] with O(106)\mathcal{O}(10^{-6}) error (Sukumar et al., 5 Jan 2026).

6. Algorithmic Workflow

Stepwise Procedure

Step Operation Output
1 Precompute Wachspress weights wi(x)w_i(\mathbf{x}) and normalized coordinates λi(x)\lambda_i(\mathbf{x}) {λi(x)}i=1n\{\lambda_i(\mathbf{x})\}_{i=1}^n
2 Form transfinite lift g(λ)g(\bm{\lambda}) g(λ)g(\bm{\lambda})
3 Define trial ansatz uN(λ)u_N(\bm{\lambda}) uN(λ)u_N(\bm{\lambda})
4 Assemble the appropriate loss function for PINN or Ritz L(θ)\mathcal{L}(\theta)
5 Optimize network parameters (Adam \to L-BFGS) Converged θ\theta
6 Evaluate uN(x)u_N(\mathbf{x}) at test points Solution assessment

This algorithm supports rapid extension to arbitrary convex polygonal domains and diverse boundary data. Substituting alternate barycentric coordinate schemes further generalizes the approach.

7. Significance and Applications

The Wachspress-based transfinite formulation establishes a rigorous, mesh-independent technique for enforcing boundary conditions in neural network solvers for PDEs. Its applicability spans forward, inverse, and parametrized boundary-value problems, with empirical superiority in accuracy and regularity over prior distance-function-based methods. The underlying mathematical structure facilitates direct extension to physics-informed machine learning for general convex geometries, and is compatible with recent advances in geometric design, interpolation theory, and functional analysis (Sukumar et al., 5 Jan 2026).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Wachspress-Based Transfinite Formulation.