WorksComputer Science
Beyond PINNs: Boundary-Enriched Holomorphic Networks for Laplace Problems
Abstract
Physics-informed neural networks (PINNs) solve partial differential equations by penalizing their residual, but this formulation can be difficult to optimize for solutions with singular behaviour. We focus specifically on the two-dimensional Laplace equation, whose strong analytical structure allows the governing equation to be enforced directly in the neural representation. We compare a hybrid harmonic-neural model with a holomorphic neural network whose output is harmonic by construction and therefore requires only boundary training. We further enrich the holomorphic model with singular functions chosen according to the interior angle and boundary conditions at each junction of boundary segments. On six singular benchmarks, the enriched model is the most accurate of the neural models we compare. On the four with a closed-form solution, however, that solution lies in the span of the enrichment terms, and a least-squares fit of these terms alone is exact to rounding error. On Motz's problem and the cracked beam, the neural core reduces the relative error of the recovered leading singular coefficient from about , for a least-squares fit with the same four terms, to about , and on four variants whose solution has a smooth part outside the span, the network is to times more accurate than a fit of its singular terms alone; classical least-squares fits with more singular terms, or with harmonic polynomials and rational poles, are more accurate still. Our results demonstrate how exploiting problem-specific analytical structure can provide an alternative to base and residual PINNs for challenging scientific computing problems.
Introduction
A common way to incorporate physical laws into neural networks is through physics-informed neural networks (PINNs), which enforce the governing equations through the training objective rather than through an explicit discretization [28]. The solution is represented as a continuous network whose parameters are optimized so that the PDE residual at interior collocation points and the mismatch against the prescribed boundary data are simultaneously small, with derivatives supplied by automatic differentiation. This makes PINNs mesh-free, differentiable end-to-end, and straightforward to integrate into deep-learning pipelines, motivating their use for irregular geometries and inverse problems where data and physics must be combined [23].
The difficulty is that this objective is hard to optimize. Its terms compete: Wang et al. [ [31] identify a gradient pathology in which the residual and boundary contributions differ by orders of magnitude, and Wang et al. [ [32] recover the same effect through the neural tangent kernel. Networks also carry a spectral bias towards smooth, low-frequency functions [27], which is the wrong bias for solutions with sharp gradients. Both are at their worst on elliptic problems with mixed boundary conditions, where the solution loses regularity at corners and wherever the boundary condition changes type or value [12].
Rather than modifying the optimization, we exploit the analytical structure of the PDE itself. Laplace’s equation, , is particularly well suited to this approach: its solutions form a linear space, are controlled by their boundary data, and satisfy the maximum principle.
We therefore explore two increasingly structured ways of incorporating the properties of Laplace’s equation into the neural representation. The first retains the PINN framework but writes the solution as a finite harmonic expansion plus a learned residual, , so that the network only has to learn the correction that the exact harmonic expansion cannot represent.
The second approach goes further and removes the interior residual entirely. A network built from complex affine layers and holomorphic activations is holomorphic for every value of its weights, and its real part is therefore harmonic. The governing equation is thus satisfied by construction, leaving only the boundary conditions to be fitted. We refer to this as the plain holomorphic network, following related harmonic and holomorphic neural-network constructions [9, 2].
However, exact harmonicity alone does not resolve the difficulty of singular solutions. We therefore enrich the holomorphic representation with singular terms derived from the boundary specification, while preserving exact harmonicity. The corresponding singular exponents can be learned rather than fixed in advance; we refer to this as the enriched holomorphic network.
Together, these models let us study the effect of progressively incorporating analytical structure into the representation. We compare them with standard neural and harmonic baselines on Laplace problems with singularities induced by re-entrant corners, jumps in the data, and Dirichlet–Neumann junctions, and we compare the enriched network with a least-squares fit of its singular terms alone, which separates the contributions of the neural core and the enrichment terms. On the classical closed-form benchmarks, the exact solution is itself a finite combination of these terms, so the fit is as accurate as the network, making these benchmarks serve as consistency checks. On Motz’s problem, the cracked beam, and four variants with a smooth part outside the span of the terms, the core has to supply the rest, and the enriched network is four to seven orders of magnitude more accurate than the fit of its terms alone, although classical fits with more terms are more accurate still.
Previous work
Physics-informed neural networks
Physics-informed neural networks (PINNs) [28] incorporate the governing equations into the training objective through PDE residuals. Much of the subsequent work has focused on improving the optimization of this residual-based formulation. Adaptive loss weighting has been used to balance the different components of the objective [16, 14, 32], while adaptive collocation strategies modify where the PDE residual is evaluated [34, 24]. Other approaches modify the network representation, for example through periodic activations or Fourier features [30, 20], or replace the standard MLP backbone with architectures such as Kolmogorov–Arnold networks [21, 5].
These approaches retain the residual-based formulation of PINNs; we instead build harmonicity into the representation, so that no interior penalty is needed.
Structure-preserving representations for Laplace problems
A direct way to exploit the structure of Laplace’s equation is to represent the solution as a finite expansion of harmonic functions,
for which the PDE is satisfied exactly by linearity. Such representations arise classically from separation of variables on simple geometries or from harmonic kernels and fundamental solutions centred outside the domain [1, 29]. The resulting coefficients can be fitted using boundary data alone. Their main limitation is approximation capacity: the harmonic function space is infinite-dimensional, so a finite dictionary must be chosen in advance and may require many terms to represent irregular geometries or solutions with reduced regularity.
The same principle underlies classical boundary-based numerical methods such as boundary element methods, the method of fundamental solutions, and the lightning Laplace solver, which build approximations from functions satisfying the governing equation in the interior and thereby reduce the problem to determining parameters from boundary information [7, 11]. Neural approaches extend the same principle, parameterizing the admissible family with a network rather than with a fixed analytical basis.
Holomorphic neural networks
In two dimensions, complex analysis provides a stronger structure-preserving representation: the real part of a holomorphic function is harmonic by the Cauchy–Riemann equations, so a network assembled from complex affine maps and holomorphic activations parameterizes harmonic functions without the Laplace residual in its objective.
This construction has recently been explored in neural PDE solvers. Ghosh et al. [ [9] use complex-valued networks to represent harmonic functions through their real part, while the physics-informed holomorphic neural networks of Calafà et al. [ [2] extend the idea to plane linear elasticity using holomorphic potentials, and study approximation properties and initialization strategies for such networks.
Singularity-aware representations
Exact satisfaction of the governing equation does not, however, guarantee that the chosen representation can efficiently approximate the solution. Elliptic problems with corners or mixed boundary conditions can exhibit reduced regularity at points where boundary segments meet or where the type of boundary condition changes. Locally, such solutions can contain fractional-power terms whose exponents depend on the local geometry and the boundary conditions, a term proportional to the polar angle where Dirichlet data jump, and terms where an exponent resonates with the data, as at a flux jump on a straight edge or at a right-angle Dirichlet–Neumann corner with nonzero flux [12].
Singular-function enrichment is a classical response to this problem. Finite- and boundary-element methods augment their approximation spaces with analytically known singular functions to capture local behaviour that would otherwise require a large number of regular basis functions [8] (Li and Lu 2000). The same principle has recently been applied to neural PDE solvers. SEPINN [15], for example, augment a real-valued PINN with singular functions associated with polygonal corners, with their exponents determined analytically from the geometry, while retaining the conventional interior PDE residual. Calafà et al. [2025] similarly enrich holomorphic neural networks with the square-root term from Williams’ expansion to represent the stress singularity at a crack tip, with the exponent fixed by the crack geometry. Our exponents are likewise set analytically from the angle and boundary conditions at each junction, and in every run we report they are pinned there or start there, apart from the recovery runs of section F; we differ from SEPINN in removing the interior residual altogether, and from Calafà et al. [2025] in treating scalar Laplace problems with mixed Dirichlet–Neumann data, with terms selected per junction from table 1 rather than from Williams’ crack-tip expansion.
Relation to classical singular solvers
The enriched network is a neural counterpart of singular-function (Trefftz) least-squares methods, which expand the solution in the same local series and produced the reference values of we use [22] (Li and Lu 2000), and of lightning and AAA-least-squares solvers, which place poles of a rational function near the singular points and converge root-exponentially without knowing the exponents [11, 4]. A linear least-squares fit of our own singular terms, with more terms and, where needed, harmonic polynomials and AAA-located poles, matches or exceeds the enriched network in seconds rather than tens of minutes to hours (section 4.2), so we claim no accuracy or speed advantage over these methods. What the neural formulation offers is a nonlinear, exactly harmonic model trained with the same gradient-based tools as other networks, into which classical singular terms can be inserted directly. Its use inside larger learning pipelines, such as inverse or parametric problems, is not demonstrated here.
Method
We consider three representations: (i) a harmonic expansion plus a PINN residual, which encodes harmonicity only in a fixed component, (ii) a holomorphic neural network, harmonic for every set of parameters, and (iii) an enriched holomorphic network that additionally represents the local singular structure at boundary junctions.
Problem formulation
We study the two-dimensional Laplace equation on a bounded domain with mixed Dirichlet–Neumann boundary conditions [6, 10]. The boundary is partitioned as , where . The solution satisfies
where and are the prescribed Dirichlet and Neumann data and the outward unit normal.
Hybrid harmonic-neural model
Our model decomposes the solution into a harmonic component and a learned residual:
where is the finite harmonic expansion in eq. (1), and is parameterized by a PINN. The harmonic component therefore satisfies the Laplace equation by construction, and the network is responsible only for the correction that a finite expansion cannot represent. The hybrid loss is:
where the two boundary terms are those of the PINN objective, evaluated on the full prediction rather than on the network alone.
The hybrid model still trains an interior residual and still needs a dictionary of harmonic functions fixed in advance, which limits its performance and usability.
Holomorphic functions
We identify the two-dimensional domain with a subset of the complex plane through , and represent the real-valued solution as the real part of a complex-valued function,
If is holomorphic in , its real part is harmonic by the Cauchy–Riemann equations. We therefore construct as a neural network that is holomorphic by construction. Each layer consists of a complex affine map followed by a componentwise exponential activation, .
Both the affine map and the exponential are entire functions, and their composition is therefore holomorphic for every value of the network parameters. The choice of exponential provides a non-polynomial entire activation, as by Liouville’s theorem, any bounded entire activation would have to be constant. Consequently, the predicted solution in eq. (5) satisfies throughout the domain, independently of the network parameters and of the state of training. The Laplace residual therefore does not need to be evaluated or included in the training objective. The complex input is affinely normalized as , where is the centre of the domain and its characteristic radius. This transformation preserves holomorphy.
The boundary conditions are then imposed directly on the harmonic representation. Dirichlet data are evaluated from eq. (5).
For Neumann data, the Cauchy–Riemann equations give . Hence, at a boundary point with outward unit normal ,
Thus the same holomorphic representation provides both the function value and its normal derivative, allowing mixed Dirichlet–Neumann problems to be trained using boundary data alone.
The resulting objective contains only the two boundary misfits,
where and denote sampled points on the Dirichlet and Neumann parts of the boundary. There is no interior residual and hence no weighting between a PDE residual and the boundary data. Throughout the experiments, we use .
Exact harmonicity also relates the interior error to the boundary misfit. Writing for the trained model, for the exact solution, and for the prescribed data, the error of a problem with Dirichlet data on every segment is itself harmonic, since both terms are harmonic and the Laplacian is linear. If is bounded in , the maximum principle, applied to and , gives
where is the finite set of junctions, at which may jump. Jumps in the data are therefore allowed, provided the model stays bounded near them, and every enrichment term of § 3.4 does, which is why the coefficient of the value-jump term is restricted there to be imaginary. The right-hand side needs no reference solution, whereas a soft-constraint PINN admits no such relation, since its error is not harmonic. We approximate by the largest misfit over a finite sample of boundary points, excluding small discs around the singular sites (section A.3), and call the result the sampled maximum-principle estimate. Being a maximum over part of the boundary, in exact arithmetic, and it omits the misfit between samples and near the sites: it estimates the interior error but does not bound it. Sections A.3 and 4.2 report how closely it matches.
Enrichment
We augment the holomorphic network with singular terms associated with boundary junctions. The boundary is provided as a sequence of straight or circular segments, each with a boundary condition and its prescribed data, and our compiler inspects every junction between adjacent segments, whose local behaviour is determined by the interior angle and the conditions on the two sides. In the local polar coordinate , the Laplace equation on the corresponding wedge admits separated solutions of the form .
The boundary conditions on the two sides fix the admissible exponents ; for non-integer the gradient behaves as and is singular when . At a Dirichlet–Neumann junction, for example, , , and the mode is the real part of . The data can also add two logarithmic terms: a Dirichlet value jump adds the angle , and a nonzero flux where an exponent is an integer, as at a right-angle Dirichlet–Neumann junction, adds a term , represented by . Table 1 lists the term added in each configuration.
The enrichment dictionary for a junction of two straight segments with piecewise-constant data, by the conditions on its two sides (D Dirichlet, N Neumann). Here , , is the angle from the first segment (the Dirichlet one at a D–N junction), the interior angle, , , outward fluxes and the ladder index; only non-integer exponents are added. A junction gains the terms of every row it matches, each with a trainable complex coefficient (real for ). Every term is holomorphic in the domain, so the model stays exactly harmonic.
| Sides | Condition | Solution near | Term added | |
| D–N | any | , | ||
| D–N | , | |||
| D–D | value jump | |||
| D–D | , | |||
| N–N | , | |||
| N–N | , | |||
| Otherwise | analytic | bounded | none |
Table 1. The enrichment dictionary for a junction of two straight segments with piecewise-constant data, by the conditions on its two sides (D Dirichlet, N Neumann). Here , , is the angle from the first segment (the Dirichlet one at a D–N junction), the interior angle, , , outward fluxes and the ladder index; only non-integer exponents are added. A junction gains the terms of every row it matches, each with a trainable complex coefficient (real for ). Every term is holomorphic in the domain, so the model stays exactly harmonic.
The enriched model adds the compiled terms, which supply the part of the solution that an entire function approximates poorly, to a holomorphic core ,
where is the compiled set of sites, is the term that table 1 assigns to site at ladder index , and is trainable. We use except on Motz’s problem, its variant, and the cracked beam, where . The mode of a value jump has a single real amplitude, that of the angle , so its term is with : a real part would add , which is unbounded at the site, and eq. (8) would no longer apply. Every enrichment term therefore has a bounded real part. The coefficients start at zero, so training begins from the bare core, and site positions, branch-cut directions, chosen so that every cut stays outside the domain (section A.1), and interior angles are fixed by the specification and never trained.
Because is holomorphic for every , the exponents can also be trained without any effect on harmonicity (section F). We pin them where a published coefficient is recovered; section A.2 lists the setting of every run.
Experiments
Problem definitions
Two families of problems are used for the enriched holomorphic model. The first is a set of six singular benchmarks, each with a single singular site. Four have a closed-form solution and are scored by relative error against it: two circular sectors, an L-shaped domain, and a slit disk, which are standard test domains whose solution is the leading wedge mode of the corresponding opening angle [12]. This mode is exactly the leading term that table 1 assigns to the site, and the only one the model carries there, so these four problems are consistency checks: they test whether training switches the core off and recovers one coefficient, with the exponent starting at its exact value, and table 2 adds a least-squares fit of that term alone. The other two have no closed form, and the literature reports instead the leading coefficient of the expansion around the singularity. These are Motz’s problem, introduced by Motz [1947] and used as a prototype for singularity treatments [Li and Lu, 2000], and the cracked beam, for which we take the domain and boundary conditions of Lu et al. [2004] so that their published coefficient applies. On these two problems, the model carries four ladder terms at the site, with pinned exponents (table 4), as does the variant of Motz’s problem in table 2. Every other problem has one term per site.
Table 2 also includes four variants that keep the geometry, boundary types, and singular site of a parent problem but add a smooth harmonic function, so that the solution has a part outside the span of the singular terms (section C).
The second is a suite of 24 randomly sampled problems, twelve on the square and twelve on the disk, four in each of three families: Dirichlet data with value jumps, mixed Dirichlet and Neumann data, and configurations with many segments. These have no closed form in general, so they are scored by the boundary loss, and the disk instances with Dirichlet data on every segment, whose solutions are sums of harmonic measures of arcs, also by relative error. Where every segment carries Dirichlet data, we also report the sampled maximum-principle estimate of § 3.3, which § 4.2 compares with the interior error. Section B shows the suite and the singular sites the compiler emits on each instance.
Results
Figure 3 in section B compares the plain and the enriched holomorphic network over the sampled suite. Both are trained with the same budget and restarts, and differ only in the compiled singular terms, whose exponents are fixed at their values in table 1. The enriched model lowers the boundary loss in every pair by a factor of at least 13. On the Dirichlet-jump families, all 24 enriched runs reach a boundary loss below , with median improvements of (disk) and (square). On the families with Neumann data, the median improvement is to , and 17 of 48 runs fall below . Section B gives the results by family.
Figure 3. Plain against enriched over the sampled suite, one point per paired run: the same instance and the same seed trained twice, with the singular terms and without, plain on the horizontal axis and enriched on the vertical. The diagonal is where enrichment changed nothing, so everything below it is a run that improved. The panels cover 72, 24 and 12 pairs: the boundary loss of every run; the sampled maximum-principle estimate of § 3.3 on the 24 runs with Dirichlet data on every segment; and the relative error on the 12 disk Dirichlet-jump runs. Colour is the family of the instance, and the marker follows the shape of its domain.
On the 24 Dirichlet-jump pairs of Figure 3, enrichment lowers by a median factor of (square) and (disk), and tracks the interior error of the enriched model: at distances of at least from the jumps, the interior maximum error lies within 1.8% (disk) and 11% (square) of . The same holds where the data are continuous: on the two sectors, the L-shape and the slit disk, the interior sup error and agree to within in 41 of the 48 runs behind Table 2, and in the other seven both are at rounding level. Figure 1 shows the error of the four models on the Slit disk and the Cracked beam. Only the harmonic fit concentrates its error at the singular site. The MLP PINN and the hybrid model spread theirs over the whole domain, so the singularity is not their only source of error. The enriched model’s error is of order on the slit disk and on the cracked beam, the latter against the series reference. Section C details the benchmarks and their references.
Figure 1. Error of the MLP PINN, the harmonic least-squares fit, the hybrid harmonic–neural model and the enriched holomorphic network on the Slit disk (top) and the Cracked beam (bottom, against the series reference), on one logarithmic scale per problem.
| Problem | MLP | Harmonic | Hybrid | Plain | Enriched | Enr. LS |
| Closed-form solution, relative error | ||||||
| Sector | ||||||
| Sector | ||||||
| L-shape | ||||||
| Slit disk | ||||||
| Series reference, relative error | ||||||
| Motz | ||||||
| Cracked beam | ||||||
| Leading coefficient, relative error of | ||||||
| Motz | ||||||
| Cracked beam | ||||||
| Out-of-span variants, relative error | ||||||
| L-shape + | ||||||
| Pure mode + | ||||||
| Sector + pole | ||||||
| Motz + pole |
Table 2. Errors on the named singular benchmarks and four out-of-span variants (section 4.1): median over three seeds at the best of the four training budgets, chosen for each method and metric. The best entry in each row is bold; entries below are at rounding level and are bold alike. Harmonic fits a smooth harmonic basis and Enr. LS the enriched model’s singular terms, both by least squares without a network; with forty ladder terms instead of four, Enr. LS recovers to below . The series reference reproduces the published of Lu et al. [2004] to ; only the rows are independent of the enriched model’s basis.
Among the networks and baselines of Table 2, the enriched holomorphic network is the most accurate on all six named problems: five to fifteen orders of magnitude below the MLP PINN, the harmonic fit, and the hybrid model, which all lie between and , and eight to fourteen orders below the plain network on the closed-form problems and about four on Motz and the cracked beam. It recovers to and . On the closed-form problems, the solution is the single enrichment term, and fitting that term alone by least squares is exact to rounding in about a second, against to s per network run. On Motz and the cracked beam the four terms alone recover only to and , so at a matched number of terms the core gains about four orders. With forty terms, however, the same fit, a least-squares form of the collocation Trefftz method behind the published values [22] (Li and Lu 2000), reaches and with a linear solve of about 15 ms.
On the four variants, the solution has a smooth part outside the span of the singular terms, and a least-squares fit of those terms alone leaves a relative error of to . With the same terms, the enriched network reaches to , to times below that fit and to times below the plain network, so here the core supplies what the terms cannot. It is still not competitive with classical solvers: adding harmonic polynomials of degree 16 to the singular terms, and AAA-located poles [4] on the two pole variants, gives a least-squares fit of to in about 7 s or less.
Conclusion
We compared two ways of moving known structure of the Laplace problem from the training objective into the model: a hybrid model that fixes part of the hypothesis space and learns the rest, and holomorphic networks that fix all of it and fit boundary data alone. The enriched holomorphic network is the most accurate of the neural models we tested. On the closed-form benchmarks, the singular terms alone already give the solution. On Motz’s problem, the cracked beam and the smooth variants they do not, and the neural core supplies the rest. Classical least-squares fits with more singular terms, harmonic polynomials or poles nevertheless match or exceed the network on every named benchmark and variant, at a fraction of its cost. Exact harmonicity also ties the interior error to the boundary misfit through the maximum principle when every segment carries Dirichlet data. Our sampled estimate of that misfit closely matched the interior error wherever we could check it (§ 4.2), so it can serve as a reference-free accuracy estimate. The hybrid model is more general in geometry and dimension, but keeps an interior residual that must be balanced against the boundary terms and a harmonic dictionary designed in advance. The holomorphic construction is restricted to two-dimensional, simply connected domains, and table 1 to straight-edged junctions with piecewise-constant data. On the sampled problems with Neumann data, only 17 of 48 runs reach a boundary loss below . More broadly, our results suggest that when a governing equation admits a sufficiently strong analytical structure, incorporating it directly into the neural hypothesis space can be more effective than enforcing it through a residual penalty. Rigorous enclosures of the boundary misfit, inverse and parametric problems, where the network’s differentiability matters, and extensions to other geometries, higher dimensions and equations are left for future work.
Acknowledgements
This work was partially supported by the i-RASE project, funded by the European Union under the Horizon Europe EIC Pathfinder Open programme (Grant Agreement No. 101130550).
Enriched Holomorphic Networks
Implementation
The model is implemented in JAX with 64-bit arithmetic enabled, so complex quantities are held in complex128. The accuracies reported in § 4.2 are beyond what single precision can represent. Every complex weight is stored as a pair of real arrays and recombined in the forward pass, because the loss is real-valued and therefore not holomorphic in the weights, so differentiating it produces Wirtinger derivatives that the real-parameter optimizers support only partially. Weights are drawn from a scaled complex He distribution, with the real and imaginary parts of each entry independent and the layer variances chosen to hold the second moment of the pre-activations constant through the stack, following the initialization derived for holomorphic networks by Calafà et al. [ [2].
Fractional powers and logarithms such as and are multi-valued, and a single-valued branch is discontinuous along a ray from . If that ray crossed the domain, the model would lose continuity and harmonicity there. Each site therefore stores the direction pointing out of the domain (the outward normal inside a face or an arc, the exterior bisector at a corner), and the cut is oriented along it. On every domain used here the cut then stays outside the domain.
We check the harmonicity through nested real automatic differentiation. For three randomly initialized cores on each of 18 problems, among them every named benchmark, variant and problem of Table 6, at 2 000 random interior points stays below for the core and below for each enrichment term in isolation.
Table 6: The paired runs behind the figures of this section: one seed at the reduced budget given above, three restarts each; the two networks differ only in the singular terms. Relative error against the closed-form solution. Each of these solutions lies in the span of the singular terms; the last column (Enr. LS) fits those terms alone by least squares, without a network, in about a second. *On the disks the fit’s boundary points approach each jump only to of the arc, against on the other problems.
| Problem | Sites | Plain | Enriched | Factor | Enr. LS |
| Sector, opening | 1 | ||||
| Sector, opening | 1 | ||||
| L-shaped domain | 1 | ||||
| Pure switch mode | 1 | ||||
| Slit disk | 1 | – | |||
| Disk, four Dirichlet arcs | 4 | * | |||
| Disk, eight alternating arcs | 8 | * |
Table 6.
For a problem with Neumann data on the entire boundary, the solution is defined only up to an additive constant. This null direction would leave the objective unchanged and make the corresponding Hessian singular. We fix the gauge by replacing with for a fixed anchor point . This subtraction preserves holomorphy and does not change the normal derivative, while fixing the additive constant of the predicted solution.
Architecture and training
Unless stated otherwise, the core has depth 2 and width 16, one enrichment term is placed per site, and both boundary weights in eq. (7) are set to one. On Motz’s problem, its variant, and the cracked beam, the site instead carries the first four exponents of the Dirichlet–Neumann ladder, , pinned at these values; only the leading coefficient is compared with the literature, and we make no claim about the other three. Training is full-batch and proceeds in two stages: Adam at learning rate with a cosine decay to zero, for steps at the smallest of the four budgets of Table 2 and 1.5, 2 and 3 times as many at the others, followed by L-BFGS iterations with a history of 100 at every budget. The second stage is what decreases the loss from the level Adam reaches down to machine precision. Freezing an exponent during a stage is done by partitioning the parameter tree, so a frozen direction never enters the curvature memory of L-BFGS. Each run trains from three independent restarts and keeps the best, scored on a fresh boundary sample and never on a reference solution.
At the smallest budget, each segment is sampled at 1024 points per run, a number that scales with the Adam steps at the larger budgets. The runs of section D use 512. On the named benchmarks, their variants, and the problems of Table 6, a further 128 points are drawn at each end of every segment, log-uniformly between and of its parameter range from the end, to resolve the modes. The suite runs of Figure 3 use the uniform points only. The exponents are trained on the two sectors, the L-shape, the slit disk, the pure switch mode, and the variants of the L-shape, the pure switch mode, and the sector, and pinned everywhere else. The comparisons of section F and one row of Table 7 reverse this choice. Trained exponents share the network’s learning rate and cosine schedule and enter the L-BFGS stage jointly with it. The core and optimizer settings and the number of uniform points were chosen by the ablation of Table 7, on a tuning suite drawn with a seed disjoint from every evaluation suite, and the per-problem enrichment settings above (ladder depth, trained or pinned exponents, near-site points) were set by hand.
| Configuration | Runs | Boundary loss | Ratio | Converged | Time (s) |
| starting configuration | 18 | 1.00 | 3/18 | 402 | |
| depth 2 | 18 | 0.03 | 7/18 | 280 | |
| learning rate 0.01 | 18 | 0.14 | 7/18 | 381 | |
| Adam steps 40 000 | 18 | 0.41 | 5/18 | 644 | |
| width 16 | 18 | 0.42 | 7/18 | 275 | |
| points per segment 1 024 | 18 | 0.43 | 6/18 | 645 | |
| depth 4 | 18 | 0.84 | 1/18 | 512 | |
| L-BFGS steps 12 000 | 18 | 0.85 | 3/18 | 505 | |
| initialization empirical | 18 | 0.95 | 3/18 | 381 | |
| model enriched, trained | 18 | 0.98 | 3/18 | 457 | |
| ladder depth 2 | 18 | 1.00 | 3/18 | 415 | |
| ladder depth 4 | 18 | 1.00 | 3/18 | 487 | |
| L-BFGS steps 3 000 | 18 | 1.13 | 3/18 | 325 | |
| learning rate 0.001 | 18 | 1.38 | 4/18 | 385 | |
| Adam steps 10 000 | 18 | 2.33 | 1/18 | 254 | |
| width 64 | 18 | 2.36 | 3/18 | 1 079 | |
| Adam steps 1 000 | 18 | 3.54 | 4/18 | 138 | |
| Adam steps 3 000 | 18 | 7.07 | 2/18 | 165 | |
| points per segment 256 | 18 | 11.39 | 3/18 | 238 | |
| model plain | 18 | 60.97 | 0/18 | 369 |
Table 7. Ablation of the enriched holomorphic model, one factor changed at a time from the starting configuration (width 32, depth 3, learning rate 0.003, 20 000 Adam steps, 6 000 L-BFGS steps, 512 points per segment, ladder depth 1). Every configuration was run on the tuning suite of Figure 4, one instance per family with three seeds, which shares no instance with the evaluation suite. Boundary loss is the median over the 18 runs. Ratio is the median over the six families of this configuration’s median boundary loss divided by the starting configuration’s, so below one is an improvement. Converged counts runs reaching a boundary loss below , and Time is the median wall-clock per run. Trained exponents and ladder depth leave the two Dirichlet-jump families unchanged, which holds those rows near one; the text gives their per-family ratios. The plain row uses the starting configuration and was not tuned separately.
Evaluation protocol
Problems with a closed-form solution are scored by relative error on interior points. Motz’s problem and the cracked beam are scored by the relative error of the leading coefficient against its published value, and by relative error against a series reference: the expansion about the singular point [Li and Lu, 2000], which satisfies the two bottom edges exactly and is fitted by least squares on the other three, with a boundary residual of about . It reproduces the published of Lu et al. [2004] to . Since Laplace’s equation is linear, problems posed with large boundary data are solved at unit scale and the recovered coefficient rescaled afterwards, which avoids spending the capacity of the network on reaching the magnitude of the data.
The sampled maximum-principle estimate of § 3.3 draws uniform points on every Dirichlet segment, discards those within of a compiled site, and returns the largest remaining , with on the named benchmarks and the problems of section D, and on the suite of Figure 3. It omits the misfit between samples, inside the excluded discs and from rounding. We compare it with the interior maximum error over – points per model (uniform, graded geometrically down to distance from every vertex, and refined around the largest errors), against the closed-form solution. On the square, that solution is computed through the conformal map to a half-plane. An independent finite-element solution, with fourth-order Lagrange elements [13] on meshes graded to at every vertex, agrees with it to away from the jumps and near them.
Continuous data. On the two sectors, the L-shape and the slit disk, the interior maximum error of the enriched model lies within relative to on all 45 models with (41 of the 48 runs behind Table 2 and the four of Table 6). In the other seven runs, lies between and , and the floating-point interior error exceeds it by up to a third. On the slit, samples the upper face only, and sampling both faces leaves it unchanged on all 26 slit models we evaluated. The estimate fails when the misfit concentrates inside the excluded discs: with an exponent frozen 10% away from its analytic value (section F), the interior error exceeds by up to 37%, within of the site.
Data jumps. The enriched Dirichlet-jump runs of Figure 3 use the angle term with real , so the model stays bounded at the jumps. On the square, the interior maximum error exceeds by 3–11% at distances of at least from the jumps and by at most 12% anywhere, because the largest boundary misfit lies inside the excluded discs. Counting the misfit there closes the gap to about 1%. On the disk, the interior maximum error is within 1.8% of at distances of at least from the jumps. Closer in, the ratio grows to about at , but this is a floating-point effect, not a model error: a jump point is generally not representable exactly, so the singular term sits up to from the true jump, and this offset accounts for the excess to within 8%.
The plain network cannot represent a jump, so its error is at least half the largest jump, and its underestimates the error on 23 of its 24 runs. The two disks of section D were trained with a complex coefficient on , so their models are unbounded at the jumps and eq. (8) does not apply. Their error exceeds by at most 13% at distances of at least from the jumps, and by up to a factor of 4.75 at .
Scope of the enrichment dictionary
The compiler walks the boundary, a sequence of straight segments and circular arcs with their conditions and data, and gives each junction the terms of every row of Table 1 it matches. It refuses what it cannot place: a crack whose faces do not lie along a coordinate axis, a crack mouth that needs terms, and a branch cut that would re-enter a non-convex domain. On the named benchmarks and their variants, the compiled sites agree to the last bit with sites written by hand. The row applies at 16 Dirichlet–Neumann corners in 7 of the 8 square instances with Neumann data in the evaluation suite (Figure 2) and at 5 corners of the tuning suite (Figure 4). The runs of Figure 3 include this term, those of Table 7 do not. Table 1 follows the local expansion of the solution at a junction of straight edges with piecewise-constant data [17, 12]. A Neumann–Neumann junction has the exponents of a Dirichlet–Dirichlet one, with cosine instead of sine modes, which a complex coefficient on also covers; this includes re-entrant Neumann–Neumann corners, although none of our problems has one. Beyond this class the dictionary is incomplete. Non-constant data change the forcing and can resonate at higher degrees, adding . Dirichlet data at a square corner, for example, give an term [18, 33]. The non-constant data in our problems are traces of harmonic functions that are analytic at the junctions, so no such term arises. On curved edges a Neumann jump also carries for every , and junctions are enriched with the exponents of the tangent wedge only, and for Dirichlet jumps on the disk this is exact, since the solution is a constant plus angle terms.
Figure 2. The 24 sampled instances used for the comparison of Figure 3, four per domain and family. Dirichlet segments are coloured by their prescribed value on a scale shared by every panel; Neumann segments carry a flux, which is not on the same scale as , and are drawn dashed. Markers are the singular sites the compiler emits, with the shape giving the row of Table 1 and crosses marking the Dirichlet–Neumann corners with nonzero flux, which receive .
Figure 4. The tuning suite used for the ablation of Table 7, drawn from the same generator with a different seed and disjoint from the evaluation suite of Figure 2, so no hyperparameter of Table 7 was selected on a problem it is reported on. Its markers are the sites of the runs of Table 7, which do not include the \zeta\Log\zeta term at its five Dirichlet–Neumann corners with nonzero flux.
Problem Suites
Table 3 splits Figure 3 by family. The enriched model converges, with a boundary loss below , on all 24 Dirichlet-jump runs and on 17 of the 48 runs with Neumann data.
| Family | Boundary-loss ratio | Enriched loss | Conv. | ratio | Time |
| Disk, D jumps | [ , ] | 12/12 | 1.11 | ||
| Square, D jumps | [ , ] | 12/12 | 1.30 | ||
| Disk, mixed D/N | 616 [61, ] | 3/12 | – | 1.13 | |
| Square, mixed D/N | [, ] | 10/12 | – | 1.38 | |
| Disk, many segments | 498 [13, ] | 0/12 | – | 1.37 | |
| Square, many segments | [693, ] | 4/12 | – | 1.50 |
Table 3.
A least-squares fit without a network shows what the compiled terms contribute. On the disk Dirichlet-jump instances, whose solutions are a constant plus angle terms of Table 1, a fit of the compiled terms alone reaches a relative error of or better, and on the other 20 instances it leaves a boundary loss of to . With eight ladder terms per site and harmonic polynomials up to degree 48, the fit reaches a lower boundary loss than the enriched network on all 24 instances (median against ), in 0.7 to 2.3 s against a median of 952 to 6 634 s per network run, although on four disk instances with Neumann data it stops between and . On the seven square instances with a Dirichlet–Neumann corner with nonzero flux, the same fit without the term stops at to , and with it reaches or below. Because a fit with more terms per site reaches a lower loss on every instance, the network’s shortfall on the Neumann families may come from its single term per site or from its optimization. We have not separated the two. These fits, as the least-squares fits of Table 2, use 800 uniform boundary points per segment and 200 at each end, log-spaced from down to of the segment ( on the disk), with poles placed by AAA [26] where used.
Table 3: The sampled suite of Figure 3 by family: four instances and three seeds per family, paired. The two ratios divide the plain run’s values by the enriched run’s: the boundary-loss ratio gives the median with the minimum and maximum over the 12 pairs, the ratio the median. Enriched loss is the median boundary loss of the enriched runs, and Conv. counts those below . Both arms use the same steps, samples, and three restarts, with hyperparameters tuned for the enriched arm. Time is the ratio of median wall-clock time per run, enriched over plain.
Named Benchmarks
The six named problems of table 2 and its four variants are listed in table 4; the named problems are drawn in Figure 5. Each variant keeps the geometry, boundary types and singular site of its parent and adds a smooth harmonic function to its singular mode, so its data are the traces of a known solution; for Motz with a pole, the singular part is the switch mode alone.
Figure 5. The six benchmarks of table 4, together with the pure switch mode of table 6, with the exact solution filling the interior where one exists.
Table 5 gives every training budget of the holomorphic networks on the named problems. Each budget multiplies the Adam steps and the boundary points per segment, from to , with L-BFGS iterations throughout; table 2 reports, for each method and metric, the median over three seeds at the budget where that median is lowest, a choice made after the fact.
The three other models of table 2 are implemented in JAX in double precision and scored on the same interior points as the holomorphic networks. The MLP PINN has one hidden layer of 128 tanh units (513 parameters). It minimises the mean squared Laplacian at 5 000 fixed interior points, a fifth of them within 0.1 of the singular site, plus the mean squared error of the boundary data at 400 boundary points, with weight 10 on the Dirichlet data on the two sectors and 100 elsewhere, by Adam steps at learning rate followed by L-BFGS iterations; each budget multiplies the Adam steps and the boundary points. The harmonic fit is a least-squares fit of the boundary data, with Dirichlet weight 10, in harmonic polynomials of degree up to 20 on the sectors and 40 elsewhere plus 40 Poisson kernels attached to boundary points (81 or 121 coefficients). The hybrid model adds such a fit, made with its own Dirichlet weight and then frozen, to an MLP PINN trained on the remaining residual (594 or 634 parameters); the holomorphic networks have 642 to 654 real parameters. For these models and the plain network, is estimated by a least-squares fit of the first six terms of the series of section A.3 to the model at ; the enriched network’s is its own leading coefficient.
Across the budgets, the MLP PINN improves by at most a factor of 1.2 and the harmonic fit changes by at most 4%, its error being truncation rather than optimization. The hybrid model improves on that fit by a factor of 1.05 to 2.0 on the closed-form problems but is 2.9 and 2.0 times less accurate on Motz’s problem and the cracked beam, where its frozen fit, made with Dirichlet weight 100, already has errors of and against for the harmonic fit. The plain holomorphic network improves by a factor of 1.7 to 3 on the closed-form problems and 5.6 and 3.3 on Motz’s problem and the cracked beam, where its estimated error falls from about and to and . Only the enriched network gains orders of magnitude on the closed-form problems, and its outcomes are bimodal across seeds: at the largest budget the L-shape ranges from to and the slit disk from to , so the rounding-level median of the L-shape rests on two of three seeds. The cracked-beam error is not monotone in budget; its entry in Table 2 is the median at the smallest budget.
Table 5: The named benchmarks at every training budget of the holomorphic networks: median over three seeds, with the range over seeds below it for the enriched network. Each budget multiplies the Adam steps and the boundary points per segment ( and 1024 at ), with L-BFGS iterations throughout; both networks use the configuration tuned for the enriched one. Motz’s problem and the cracked beam are scored against the series reference of section A.3.
Enrichment Against a Plain Holomorphic Network
Table 6 reports the seven problems outside the sampled suite that have both a closed-form solution and at least one singular site. In each case, the two models are trained at the same budget and with the same three restarts, so that the singular terms are the only difference between them. All seven solutions lie in the span of the singular terms (a single power term, or one angle term per jump on the disks), so these pairs measure what the singular terms add to a network rather than the network’s own approximation power: a least-squares fit of the singular terms alone is to times more accurate than the enriched network here (last column of Table 6). Figure 3 reports aggregate statistics over the sampled suite, whereas the figures below show the spatial distribution of the error. For the plain model, the error is spread over the entire domain and is largest in the vicinity of the sites; for the enriched model, it is smooth away from the sites and smaller by at least four orders of magnitude.
Figure 6. The two models on the sector of opening . Top row: the exact solution and the two predictions, on a common scale. Bottom row: the corresponding errors, on a second common scale, and the error along a ray directed into the singular site.
The runs in this section use a smaller budget than the ladder behind Table 2 and a single seed: Adam steps, L-BFGS iterations and 512 boundary points per segment, against , and 1024 at the smallest point of that ladder and three times as many Adam steps and points, with the same L-BFGS iterations, at the largest. The absolute errors reported below are correspondingly larger. On the four problems common to both, the enriched model is here between and times less accurate than at the smallest ladder budget; the slit disk attains here and on its best seed at the largest ladder budget, against the three-seed median of reported in Table 2. Since the two models receive the same budget, the comparison is unaffected, but the errors in Table 6 are not the accuracy attainable by the enriched model. On those four problems, the plain model was also run on the ladder (Table 5), where only the enriched model improves by orders of magnitude; the pure switch mode and the two disks are not part of the named benchmark set and were run at this budget only.
| Problem | Model | ||||
| Relative error | |||||
| Sector | enriched | ||||
| range | – | – | – | – | |
| plain | |||||
| Sector | enriched | ||||
| range | – | – | – | – | |
| plain | |||||
| L-shape | enriched | ||||
| range | – | – | – | – | |
| plain | |||||
| Slit disk | enriched | ||||
| range | – | – | – | – | |
| plain | |||||
| Motz | enriched | ||||
| range | – | – | – | – | |
| plain | |||||
| Cracked beam | enriched | ||||
| range | – | – | – | – | |
| plain | |||||
| Relative error of | |||||
| Motz | enriched | ||||
| range | – | – | – | – | |
| Cracked beam | enriched | ||||
| range | – | – | – | – |
Table 5.
No improvement factor is given for the slit disk in Figure 7. The relative error of the plain model exceeds unity, i.e., it is larger than that of the zero function. The two faces of the slit consist of the same points with opposite normals; the solution vanishes on both, but its derivative normal to the slit changes sign across it, whereas the core of the model is entire and therefore smooth across the slit. The plain network, which has only that core, still has a relative error of 0.32 at the largest budget of Table 5. Only the branch-power term, whose cut is placed along the slit itself, can represent the solution, so the gap on the slit is one of representation, not of training budget, and a ratio against the plain model is not meaningful.
Figure 7. The slit disk. The plain model fails over the whole domain and not only near the tip, with a relative error of 1.17 against for the enriched model. The enrichment term supplies the branch that an entire core cannot.
The last two rows of Table 6 concern domains with more than one singular site. All named benchmarks have a single site, so these two problems, with four and eight sites and the disk Dirichlet-jump instances of the sampled suite, are the ones on which the simultaneous compilation of several terms can be checked against a known solution. Figure 8 and Figure 9 show improvements of the same order in both cases, and . Both runs carry a complex value-jump coefficient, so their error grows logarithmically as a jump is approached (section A.3). We emphasize that this evidence is limited: both problems were run at a moderate budget and a single seed, both solutions lie in the span of the singular terms, neither is taken from the literature, and no case considered here exceeds eight sites, so the behaviour at larger site counts remains untested.
Figure 8. A disk with four Dirichlet arcs, giving four value jumps and four compiled sites. The last panel shows one curve per site for each model. The exact solution changes sign here, unlike in the single-site problems, and the top row is therefore drawn on a diverging scale.
Figure 9. The same disk with eight alternating arcs, giving eight sites. The two models remain separated at every site, and the errors are comparable to those obtained with four sites.
Ablation for the Holomorphic Network
Table 7 varies one factor at a time from the configuration the study started with, on the tuning suite of Figure 4. The configuration used for Figure 3 and the named benchmarks takes the best value found on the width, depth, learning-rate, Adam-step, and sample axes, so no single row of the table matches it; on the same suite it scores a ratio of 0.024. Each of these values lies at the edge of the searched range, and doubling both the Adam steps and the points per segment lowers the ratio further, to 0.013, so the budget used is not saturated. The number of terms and the exponent regime of each named benchmark (Table 4) are set per problem, not by this ablation. Because the ratio is a median over six families, rows that act on only some families stay near one: training the exponents gives 0.34 and 0.54 on the two many-segment families, where no run converged, 0.97 and 1.54 on the mixed families, and exactly one on the Dirichlet-jump families, which carry no power terms; ladder depth 4 gives 0.49 and 0.59 on the square many-segment and mixed families but 17.5 and 2.0 on their disk counterparts.
Table 4: The named singular benchmarks and the four variants of table 2. is the leading exponent that table 1 assigns to the single site, which the compiler finds. Terms is the number of ladder terms at the site, with exponents trained from their value in table 1 or pinned there. For the first four problems the exact solution is the single enrichment term itself. Reference values for the two coefficient problems are from Lu et al. [2004], who obtain them to 17 significant digits with a collocation Trefftz method. Motz’s problem is due to Motz [1947]; for the cracked beam we use the domain and boundary conditions of Lu et al. [2004], so that the published coefficient applies.
| Problem | Domain | Terms | Reference | |
| Sector | circular sector, opening | 1, trained | exact | |
| Sector | circular sector, opening | 1, trained | exact | |
| L-shape | square minus a quadrant | 1, trained | exact | |
| Slit disk | disk cut from centre to rim | 1, trained | exact | |
| Motz | rectangle, D/N switch mid-edge | 4, pinned | ||
| Cracked beam | same rectangle, conditions swapped | 4, pinned | ||
| L-shape + | as L-shape | 1, trained | exact | |
| Pure mode + | unit square, D/N switch mid-edge | 1, trained | exact | |
| Sector + pole | as sector , pole at | 1, trained | exact | |
| Motz + pole | as Motz, pole at | 4, pinned | exact |
Table 4. The named singular benchmarks and the four variants of table 2. is the leading exponent that table 1 assigns to the single site, which the compiler finds. Terms is the number of ladder terms at the site, with exponents trained from their value in table 1 or pinned there. For the first four problems the exact solution is the single enrichment term itself. Reference values for the two coefficient problems are from Lu et al. [2004], who obtain them to 17 significant digits with a collocation Trefftz method. Motz’s problem is due to Motz [1947]; for the cracked beam we use the domain and boundary conditions of Lu et al. [2004], so that the published coefficient applies.
Trained Against Frozen Exponents
A trained exponent carries one real parameter, , initialised at its value in table 1. The interior residual vanishes whatever the exponent, so is driven by the boundary loss alone. Training makes the model tolerant of a wrong starting exponent, but gives no consistent gain when the exponent is known, and on Motz’s problem and the cracked beam the leading coefficient trades off against the exponent, which is why we pin the exponents there.
Table 8 compares frozen and trained exponents. Within each pair, the two arms share the seed, and with it the initialization, training points, and evaluation points, except on Motz’s problem and the cracked beam, whose frozen arm is the run of table 2 and shares only the evaluation points. Starting at 10% off, a frozen exponent is two to four orders of magnitude less accurate than one frozen at , and its boundary loss, to against at most in every other run of that block, showcases the error without a reference solution; the trained exponent recovers from either side to the accuracy of the correctly frozen one. Started at , freezing and training give the same accuracy within the spread over seeds on the four variants; only on the slit disk is every frozen run more accurate than every trained one. On Motz’s problem and the cracked beam, training moves the leading exponent by to , and the recovered has a relative error of 4.8 to 7.4 times that drift in all six runs, so the coefficient trades off against the exponent; the second exponent moves by to and the third and fourth by 0.10 to 0.63, so a trained ladder does not identify the higher terms of the expansion.
| Problem | Frozen at | Frozen, 10% off | Trained | after training |
| Started at ; relative error | ||||
| Slit disk | [ ] | – | [ ] | – |
| L-shape + | [ ] | – | [ ] | – |
| Pure mode + | [ ] | – | [ ] | – |
| Sector + pole | [ ] | – | [ ] | – |
| Motz + pole | [ ] | – | [ ] | – |
| Started at ; relative error of | ||||
| Motz{sup}‡` | [ ] | – | * [ ] | – |
| Cracked beam{sup}‡` | [ ] | – | [ ] | – |
| Started 10% off; relative error | ||||
| Pure mode | [ ] | [ ] | [ ] | – |
| Sector | [ ] | [ ] | [ ] | – |
| Pure mode + | [ ] | [ ] | [ ] | – |
| L-shape + | [ ] | [ ] | [ ] | – |
Table 8. Frozen against trained exponents: median over seeds, with the range below it. The first two blocks start the exponent at its value in table 1 and use the smallest budget of table 5, three seeds per arm; on Motz with a pole, all four ladder exponents are frozen or trained. The last block starts the exponent at and (six runs per arm) at the budget of table 6, against three runs frozen at . The last column gives the smallest and largest distance of the trained leading exponent from its exact value . {sup}‡The frozen arm is the run of table 2. {sup}∗ read at the drifted .
References
- [1]Sheldon Axler, Paul Bourdon, and Wade Ramey. Harmonic Function Theory, volume 137 of Graduate Texts in Mathematics. Springer, 2 edition, 2001. ISBN 9780387952185.
- [2]Matteo Calafà, Emil Hovad, Allan P. Engsig-Karup, and Tito Andriollo. Physics-informed holomorphic neural networks (phinns): Solving 2d linear elasticity problems. Computer Methods in Applied Mechanics and Engineering, 432:117406, 2024. ISSN 0045-7825. doi: https://doi.org/10.1016/j.cma.2024.117406. URL https://www.sciencedirect.com/science/article/pii/S0045782524006613.
- [4]Stefano Costa and Lloyd N. Trefethen. Aaa-least squares rational approximation and solution of laplace problems, 2021. URL https://arxiv.org/abs/2107.01574.
- [5]Salvador K. Dzimah, Sonia Rubio Herranz, Fernando Carlos Lopez Hernandez, and Antonio López Montes. A unified benchmark of physics-informed neural networks and kolmogorov-arnold networks for ordinary and partial differential equations, 2026. URL https://arxiv.org/abs/2602.15068.
- [6]Lawrence C. Evans. Partial Differential Equations. American Mathematical Society, 2nd edition, 2010.
- [7]Graeme Fairweather and Andreas Karageorghis. The method of fundamental solutions for elliptic boundary value problems. Adv. Comput. Math., 9:69–95, 09 1998. doi: 10.1023/A:1018981221740.DOI
- [8]G.J Fix, S Gulati, and G.I Wakoff. On the use of singular functions with finite element approximations. Journal of Computational Physics, 13(2):209–228, 1973. ISSN 0021-9991. doi: https://doi.org/10.1016/0021-9991(73)90023-5. URL https://www.sciencedirect.com/science/article/pii/0021999173900235.
- [9]Atiyo Ghosh, Antonio Andrea Gentile, Mario Dagrada, Chul Lee, Seong-Hyok Sean Kim, Hyukgeun Cha, Yunjun Choi, Dongho Kim, Jeong-Il Kye, and Vincent Emanuel Elfving. Harmonic neural networks. In Andreas Krause, Emma Brunskill, Kyunghyun Cho, Barbara Engelhardt, Silvio Sabato, and Jonathan Scarlett, editors, Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pages 11340–11359. PMLR, 23–29 Jul 2023. URL https://proceedings.mlr.press/v202/ghosh23b.html.arxiv.org/abs/2212.07462
- [10]David Gilbarg and Neil S. Trudinger. Elliptic Partial Differential Equations of Second Order. Springer, classics in mathematics edition, 2001.
- [11]Abinand Gopal and Lloyd N. Trefethen. Solving laplace problems with corner singularities via rational functions, 2019. URL https://arxiv.org/abs/1905.02960.
- [12]Pierre Grisvard. Elliptic Problems in Nonsmooth Domains. Society for Industrial and Applied Mathematics, 1985. URL https://books.google.it/books?id=LdMk297EfxhC. Wedge exponents: k pi / omega for D-D and N-N, (2k-1) pi / (2 omega) at a D/N switch, log resonances at integer exponents. Chapters 4-5.
- [13]Tom Gustafsson and G. D. McBain. scikit-fem: A python package for finite element assembly. Journal of Open Source Software, 5(52):2369, 2020. doi: 10.21105/joss.02369. URL https://doi.org/10.21105/joss.02369.
- [14]A. Ali Heydari, Craig A. Thompson, and Asif Mehmood. Softadapt: Techniques for adaptive loss weighting of neural networks with multi-part loss functions, 2019. URL https://arxiv.org/abs/1912.12355.
- [15]Tianhao Hu, Bangti Jin, and Zhi Zhou. Solving poisson problems in polygonal domains with singularity enriched physics informed neural networks, 2024. URL https://arxiv.org/abs/2308.16429.
- [16]Alex Kendall, Yarin Gal, and Roberto Cipolla. Multi-task learning using uncertainty to weigh losses for scene geometry and semantics, 2018. URL https://arxiv.org/abs/1705.07115.
- [17]V. A. Kondrat’ev. Boundary value problems for elliptic equations in domains with conical or angular points. Transactions of the Moscow Mathematical Society, 16:227–313, 1967.
- [18]R. Sherman Lehman. Developments at an analytic corner of solutions of elliptic partial differential equations. Journal of Mathematics and Mechanics, 8(5):727–760, 1959. ISSN 00959057, 19435274. URL http://www.jstor.org/stable/24900685.
- [20]Yarong Liu, Hong Gu, Xiangjun Yu, and Pan Qin. Diminishing spectral bias in physics-informed neural networks using spatially-adaptive fourier feature encoding. Neural Networks, 182:106886, 2025a. ISSN 0893-6080. doi: https://doi.org/10.1016/j.neunet.2024.106886. URL https://www.sciencedirect.com/science/article/pii/S0893608024008153.
- [21]Ziming Liu, Yixuan Wang, Sachin Vaidya, Fabian Ruehle, James Halverson, Marin Soljačić, Thomas Y. Hou, and Max Tegmark. Kan: Kolmogorov-arnold networks, 2025b. URL https://arxiv.org/abs/2404.19756.
- [22]T.T. Lu, H.Y. Hu, and Z.C. Li. Highly accurate solutions of motz’s and the cracked beam problems. Engineering Analysis with Boundary Elements, 28(11):1387–1403, 2004. ISSN 0955-7997. doi: https://doi.org/10.1016/j.enganabound.2004.03.005. URL https://www.sciencedirect.com/science/article/pii/S0955799704000712.
- [23]Kuang Luo, Jingshang Zhao, Yingping Wang, Jiayao Li, Junjie Wen, Jiong Liang, Henry Soekmadji, and Shaolin Liao. Physics-informed neural networks for pde problems: a comprehensive review. Artificial Intelligence Review, 58, 07 2025. doi: 10.1007/s10462-025-11322-7.
- [24]Levi D. McClenny and Ulisses M. Braga-Neto. Self-adaptive physics-informed neural networks. Journal of Computational Physics, 474:111722, 2023. ISSN 0021-9991. doi: https://doi.org/10.1016/j.jcp.2022.111722. URL https://www.sciencedirect.com/science/article/pii/S0021999122007859.
- [26]Yuji Nakatsukasa, Olivier Sète, and Lloyd N. Trefethen. The aaa algorithm for rational approximation. SIAM Journal on Scientific Computing, 40(3):A1494–A1522, January 2018. ISSN 1095-7197. doi: 10.1137/16M1106122. URL http://dx.doi.org/10.1137/16M1106122.
- [27]Nasim Rahaman, Aristide Baratin, Devansh Arpit, Felix Draxler, Min Lin, Fred Hamprecht, Yoshua Bengio, and Aaron Courville. On the spectral bias of neural networks. In Proceedings of the 36th International Conference on Machine Learning, volume 97 of Proceedings of Machine Learning Research, pages 5301–5310, 2019.
- [28]Maziar Raissi, Paris Perdikaris, and George Em Karniadakis. Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations. Journal of Computational Physics, 378:686–707, 2019.
- [29]Robert Schaback. Solving the laplace equation by meshless collocation using harmonic kernels. Advances in Computational Mathematics, 31:457–470, 2008. doi: 10.1007/s10444-008-9078-3.DOI
- [30]Vincent Sitzmann, Julien N P Martel, Alexander W Bergman, David B Lindell, and Gordon Wetzstein. Implicit neural representations with periodic activation functions. Advances in Neural Information Processing Systems (NeurIPS), 33, 2020.arxiv.org/abs/2006.09661
- [31]Sifan Wang, Yujun Teng, and Paris Perdikaris. Understanding and mitigating gradient flow pathologies in physics-informed neural networks. SIAM Journal on Scientific Computing, 43(5):A3055–A3081, 2021. doi: 10.1137/20M1318043.DOI
- [32]Sifan Wang, Xinling Yu, and Paris Perdikaris. When and why pinns fail to train: A neural tangent kernel perspective. Journal of Computational Physics, 449:110768, 2022. doi: 10.1016/j.jcp.2021.110768.DOI
- [33]Niel M. Wigley. Asymptotic expansions at a corner of solutions of mixed boundary value problems. Journal of Mathematics and Mechanics, 13(4):549–576, 1964. ISSN 00959507, 19435274. URL http://www.jstor.org/stable/24901218.
- [34]Chenxi Wu, Min Zhu, Qinyang Tan, Yadhu Kartha, and Lu Lu. A comprehensive study of non-adaptive and residual-based adaptive sampling for physics-informed neural networks. Computer Methods in Applied Mechanics and Engineering, 403:115671, 2023. doi: 10.1016/j.cma.2022.115671.DOI








