A Novel Method for Enforcing Exactly Dirichlet, Neumann and Robin Conditions on Curved Domain Boundaries for Physics Informed Machine Learning

math.NA cs.LG cs.NA physics.comp-ph Suchuan Dong, Yuchuan Zhang · Mar 23, 2026
Local to this browser
What it does
Physics-informed neural networks typically enforce boundary conditions via penalty terms, leading to approximate satisfaction and training pathologies. This paper proposes a systematic method to enforce Dirichlet, Neumann, and Robin...
Why it matters
This paper proposes a systematic method to enforce Dirichlet, Neumann, and Robin conditions exactly on curved quadrilateral domains using Theory of Functional Connections (TFC) combined with transfinite interpolation. The key innovation is...
Main concern
The paper presents a technically sound and mathematically rigorous framework for exact boundary condition enforcement on curved domains. The systematic treatment of compatibility constraints at vertices where Neumann or Robin boundaries...
Community signal
0
0 up · 0 down
Sign in to vote with arrows
AI Review AI reviewed
Plain-language introduction

Physics-informed neural networks typically enforce boundary conditions via penalty terms, leading to approximate satisfaction and training pathologies. This paper proposes a systematic method to enforce Dirichlet, Neumann, and Robin conditions exactly on curved quadrilateral domains using Theory of Functional Connections (TFC) combined with transfinite interpolation. The key innovation is handling compatibility constraints at vertices where mixed boundary conditions meet, particularly when two Neumann/Robin boundaries intersect, by decomposing the problem into a four-step procedure.

Critical review
Verdict
Bottom line

The paper presents a technically sound and mathematically rigorous framework for exact boundary condition enforcement on curved domains. The systematic treatment of compatibility constraints at vertices where Neumann or Robin boundaries intersect (requiring $C^2$ Hermite interpolations and derivative coupling) represents a genuine advance over prior TFC-based methods limited to rectangular domains or Dirichlet conditions. However, the geometric restriction to quadrilateral topologies is significant, and the complexity of the 4-step construction grows considerably for mixed boundary configurations. The method is most valuable for problems requiring high-fidelity boundary treatment in scientific computing applications.

“The current method exhibits a clear sense of convergence with respect to the degrees of freedom in the neural network. Its numerical errors typically decrease exponentially or nearly exponentially”
What holds up

The decomposition of compatibility constraints at vertices is careful and complete. When two Neumann boundaries meet at a vertex, the authors derive explicit constraints on the cross-derivatives $V_{\xi\eta}(1,1) = V_{\eta\xi}(1,1)$ that must hold for the PDE solution, using the coupling coefficients $S_{BC}$ and $S_{CD}$. The numerical verification is convincing: boundary condition errors achieve machine precision ($10^{-15}$-$10^{-16}$) consistently across linear Helmholtz, nonlinear Helmholtz, and moving-boundary heat equation problems on multiple non-trivial geometries including crescent and star-shaped domains. The TFC formulation correctly eliminates the free function contributions on boundaries through the projector $P$.

“V(ξ,η) given by (63) satisfies the Dirichlet conditions (55a) and (55d) and the Neumann conditions (18a) and (42a), for any g(ξ,η) therein that is sufficiently differentiable”
paper · Theorem 2.2
“max NBC- or RBC-error (BC): 1.421E-14... max DBC-error (AB): 0.0”
paper · Table 4
Main concerns

The scope is limited to quadrilateral topologies, which the authors acknowledge but nonetheless restricts applicability to problems amenable to this parameterization. The complexity of implementing the 4-step procedure (identifying constrained variables, constructing transfinite interpolants, preliminary TFC form, then updating unknown terms) grows substantially with mixed BC types—the Robin-Robin intersection case requires tracking 9 distinct constraint types (Section 2.4.2). The method requires explicit parametric descriptions of all boundary curves, which may not be available for implicitly defined geometries. The cancellation error issue noted in Remark 2.10, where $(g - Pg)$ can suffer from numerical cancellation at isolated boundary points, suggests the 'exact' enforcement is theoretically rigorous but numerically delicate; the authors partially address this with auxiliary collocation constraints $g=0$ on Dirichlet boundaries.

“the current formulations are based on quadrilateral domains, and as such they inevitably inherit many associated limitations”
paper · Section 4 (Conclusion)
“After the NN training is complete... we have observed from numerical simulations that the cancellation error, due to subtraction of nearly equal real numbers in the terms like $(g - Pg)$, can be notable at isolated boundary points”
paper · Remark 2.10
Evidence and comparison

The evidence strongly supports the claim of machine-accuracy boundary enforcement across diverse geometries and PDE types. The comparison to 'soft' enforcement methods is discussed in the literature review (Section 1), citing gradient-flow pathologies and weight sensitivity issues in standard PINNs. However, no direct numerical comparison between the proposed exact enforcement and penalty-based methods is presented in the results section—the reader cannot assess whether the exact enforcement translates to better interior solution accuracy or faster convergence versus well-tuned soft constraints. The comparison to other exact-enforcement methods (e.g., approximate distance functions of Sukumar & Srivastava) correctly notes that those approaches struggle with Neumann/Robin conditions at non-smooth boundaries, which this method addresses through explicit compatibility constraint handling.

“This difficulty has been analyzed from the perspective of gradient-flow pathologies in PINNs [89]; see also [75] for a recent comparative study of BC-enforcement strategies”
paper · Section 1
“In particular, follow-on work has noted that exact enforcement using approximate distance functions becomes more challenging for higher-order PDEs, and recent studies have further pointed out that strong Neumann/Robin constructions may become unstable when boundary segments are only piecewise $C^1$ rather than globally $C^1$”
paper · Section 2 (Introduction to method)
Reproducibility

The mathematical formulation is presented in sufficient detail for reproduction by experts: the TFC constrained expressions (equations 15, 35, 63, 92), transfinite interpolation operators (P defined in equation 8), and Hermite polynomial definitions (equations 24, 49) are all explicit. Hyperparameters ($R_m$, $Q$, $M$, network architecture $[2, M, 1]$) are reported for each test case. However, no code repository or data is explicitly provided, and the implementation involves non-trivial derivative calculations through the Jacobian mapping (equations 102a-102b) that would benefit from released reference code. The ELM training avoids backpropagation in favor of linear/nonlinear least squares, making the training deterministic given fixed random seed for hidden layer initialization.

“The combined ELM/modBIP method is markedly more accurate than ELM/BIP in numerical simulations... accuracy is insensitive to the random-coefficient initializations”
“We employ an ELM network architecture $m = [2, M, 1]$ for representing the free function $g(ξ,η)$... The hidden-layer coefficients are assigned to uniform random values generated on $[-R_m, R_m]$”
paper · Section 2.5
Abstract

We present a systematic method for exactly enforcing Dirichlet, Neumann, and Robin type conditions on general quadrilateral domains with arbitrary curved boundaries. Our method is built upon exact mappings between general quadrilateral domains and the standard domain, and employs a combination of TFC (theory of functional connections) constrained expressions and transfinite interpolations. When Neumann or Robin boundaries are present, especially when two Neumann (or Robin) boundaries meet at a vertex, it is critical to enforce exactly the induced compatibility constraints at the intersection, in order to enforce exactly the imposed conditions on the joining boundaries. We analyze in detail and present constructions for handling the imposed boundary conditions and the induced compatibility constraints for two types of situations: (i) when Neumann (or Robin) boundary only intersects with Dirichlet boundaries, and (ii) when two Neumann (or Robin) boundaries intersect with each other. We describe a four-step procedure to systematically formulate the general form of functions that exactly satisfy the imposed Dirichlet, Neumann, or Robin conditions on general quadrilateral domains. The method developed herein has been implemented together with the extreme learning machine (ELM) technique we have developed recently for scientific machine learning. Ample numerical experiments are presented with several linear/nonlinear stationary/dynamic problems on a variety of two-dimensional domains with complex boundary geometries. Simulation results demonstrate that the proposed method has enforced the Dirichlet, Neumann, and Robin conditions on curved domain boundaries exactly, with the numerical boundary-condition errors at the machine accuracy.

Challenge the Review

Pick a starting point or write your own. Challenges run in the background, so you can keep reading while the AI investigates.

No challenges yet. Disagree with the review? Ask the AI to revisit a specific claim.