arXiv:2610.12541cs.LGOct 2026

Manuscript Offprint

arXiv:2610.12541

Enriched Holomorphic Neural Networks for 2D and 3D Laplace Problems

Kalp Shah, Andrei Vlad Nicula, Mihnea Andrei Bârsan, Robert-Stefan Sofroni, Agneya Bhardwaj, Jan Jelínek, Alejandro Valverde Mahou

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Boundary-value problems for the Laplace equation develop singular behaviour near corners, edges and junctions that smooth approximators resolve poorly. We combine holomorphic neural networks with singular functions derived from the local geometry and boundary conditions. The representation is harmonic by construction, so no interior residual is needed: the network fits the smooth remainder from boundary data alone, and the enrichment terms capture the singular behaviour. Singular exponents are trainable, so the construction also applies when the local expansion is not known in advance. We extend the approach to three dimensions using independent networks evaluated along complex null directions. The enriched model is the most accurate tested method on every problem. Its margin is several orders of magnitude where the enrichment captures the singularity exactly, and a factor of about 1.7–2.1 over the next-best method on a CdZnTe radiation detector with many singular sites, in both two and three dimensions.

1 INTRODUCTION

Solving Partial Differential Equations (PDEs) is difficult on domains with non-trivial geometries or boundary conditions. Physics-Informed neural networks (PINNs) (Raissi et al., 2019) offer an alternative by incorporating the governing equations directly into the training objective. The solution is represented by a neural network, so it is continuous and its derivatives come from automatic differentiation. The method is therefore mesh-free and differentiable end-to-end, which motivates its use for irregular geometries and inverse problems (Luo et al., 2025).

Unfortunately, the resulting objective suffers from competing loss terms, ill-conditioning and imbalanced gradients, which slow convergence or degrade accuracy (Wang et al., 2021; 2022; Rahaman et al., 2019). Much work has therefore improved the optimization and representation of PINNs. Adaptive loss weighting balances the terms of the objective (Kendall et al., 2018; Heydari et al., 2019; Wang et al., 2022; McClenny & Braga-Neto, 2023), and adaptive collocation changes where the residual is evaluated (Wu et al., 2023). Other approaches change the representation, through periodic activations or Fourier features (Sitzmann et al., 2020; Liu et al., 2025), or by replacing the multilayer perceptron with a Kolmogorov–Arnold network (Liu et al., 2024). Domain-decomposition approaches such as conservative PINNs (cPINNs) (Jagtap et al., 2020) and extended PINNs (XPINNs) (Jagtap & Karniadakis, 2020) partition the domain into subdomains coupled through interface conditions.

We address the representation side of these difficulties. We focus on the Laplace equation, Δu=0\Delta u = 0, and build on the Physics-Informed Holomorphic Neural Networks (PIHNNs) formulations introduced by Calafa et al. (2024) for two-dimensional problems and further developed by Ballini et al. (2026) in three dimensions. These representations have also been shown to benefit from enrichment with known singularities for specific problems, such as crack tips in plane elasticity (Calafa et al., 2025). Our approach addresses the enrichment for a set of local boundary configurations rather than for one particular problem: we construct a dictionary mapping each local boundary configuration to its enrichment family, together with a rule for orienting the branch cuts so that the representation remains single-valued inside the domain. We develop the construction in two and three dimensions.

References (50)