Wachspress-Based Transfinite Formulation
- 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 -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 with vertices and edges , Wachspress coordinates generalize barycentric coordinates from triangles to -gons. For a point , the three-point formula is
where denotes the signed area of triangle . These coordinates satisfy , , and the mean-value property . Wachspress coordinates provide a smooth () 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 of , let be the prescribed boundary function. On , only and are nonzero, allowing to be reparametrized as . The transfinite interpolant lifts the vector of boundary data into the interior via
This interpolant is continuous, satisfies , and can be written more generally in terms of faces and projections:
where is the set of faces incident to , the boundary function, and the projection onto face . 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 denote the neural network output without boundary conditioning. The Wachspress-based transfinite formulation defines the trial function as
where is the transfinite lifting operator. On , , forcing , and exactly enforcing the Dirichlet data (“hard constraint”). The boundedness and smoothness ( regularity) of 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 is mapped to Wachspress coordinates , which serve as input features to a fully connected neural network with activation functions (e.g., ) in the hidden layers and a linear output.
Loss Functions
- PINN Collocation: The loss over interior points is
with no explicit boundary term required.
- Deep Ritz (Variational): The loss functional (energy minimization) is
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 -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 demonstrate robust training even near vertices. Typical maximum pointwise errors in and are to , outperforming earlier distance-function-based methods. Inverse heat-conduction examples achieved accurate recovery of linear source terms to error using only data and PDE losses, with no explicit boundary penalty. Parametric neural networks trained over solved the Poisson equation for all with error (Sukumar et al., 5 Jan 2026).
6. Algorithmic Workflow
Stepwise Procedure
| Step | Operation | Output |
|---|---|---|
| 1 | Precompute Wachspress weights and normalized coordinates | |
| 2 | Form transfinite lift | |
| 3 | Define trial ansatz | |
| 4 | Assemble the appropriate loss function for PINN or Ritz | |
| 5 | Optimize network parameters (Adam L-BFGS) | Converged |
| 6 | Evaluate 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).