Manuscript Offprint
arXiv:2610.38269A Hybrid Physics-informed holomorphic neural networks Method
Abstract
Physics-informed holomorphic neural networks (PIHNNs) exploit complex-analytic representations to satisfy homogeneous PDEs by construction, but their extension to nonhomogeneous problems is nontrivial. We propose a hybrid physics-informed holomorphic neural network (HPIHNN) framework based on a decomposition of the solution into particular and homogeneous components. The particular component is computed by a spectral method on a simple extended domain, while the homogeneous component is approximated by a PIHNN trained only on the boundary with modified boundary data. The resulting formulation avoids meshing complex geometries and retains the dimensionality-reduction advantage of holomorphic representations. The method is applied to nonhomogeneous Poisson, Stokes, biharmonic, linear elasticity, and Helmholtz equations. Numerical experiments covering complex geometries, corner singularities, and nearly incompressible regimes demonstrate that the proposed method accurately resolves the corresponding solutions and, in the considered tests, generally achieves lower errors and shorter training times than standard PINNs. The results indicate that coupling spectral particular solutions with holomorphic neural approximations provides an efficient approach to nonhomogeneous PDEs on complex domains.
*Corresponding authors.
Email addresses: zhijiesu164@163.com (Zhijie Su), qlhejenny@scu.edu.cn (Qiaolin He), zmao@eitech.edu.cn (Zhiping Mao), shiquanzhang@scu.edu.cn (Shiquan Zhang)
Keywords: Physics-informed holomorphic neural networks, Nonhomogeneous partial differential equations, Spectral methods, Linear superposition, Complex geometries
1. Introduction
Partial differential equations (PDEs), including the Poisson, Stokes, linear elasticity, and biharmonic equations, arise in the mathematical modeling of potential fields, viscous flows, elastic deformation, and thin-plate bending [1, 2, 3, 4]. Their accurate numerical solution in geometrically complex domains remains a fundamental problem in classical computational mathematic discretization techniques, such as finite difference, finite element, and finite volume methods, provide reliable and well-established frameworks, but their implementation in complex geometries may involve nontrivial mesh generation, boundary treatment, and high-order discretization [5, 6, 7]. For fourth-order problems such as the biharmonic equation, conforming finite element formulations additionally require -continuous approximation spaces, while mixed or nonconforming formulations typically introduce auxiliary variables or additional degrees of freedom [8]. Spectral methods can achieve very high accuracy for sufficiently smooth solutions, but their extension to irregular domains generally requires specialized geometric treatments [9]. These considerations motivate the development of flexible meshless solvers for PDEs posed on complex domains.
In recent years, neural-network-based PDE solvers have emerged as an alternative meshless paradigm. Among them, physics-informed neural networks (PINNs) [10] incorporate the governing equations and associated initial or boundary conditions into the training objective, with the required derivatives evaluated by automatic differentiation (AD). This formulation avoids an explicit spatial mesh and has consequently been applied to a broad range of PDEs, including Poisson problems [11], incompressible Stokes flow [12], and linear elasticity [13, 14]. Despite this flexibility, standard PINNs may still suffer from high training cost, optimization difficulties, and reduced accuracy for high-order operators, complex geometries, or solutions with localized features, motivating the development of more structured neural formulations.
Considerable effort has been devoted to improving the trainability and scalability of PINNs. Adaptive activation functions have been introduced to accelerate convergence [15], while adaptive loss-weighting strategies have been developed to alleviate gradient imbalance during training [16, 17]. Domain decomposition approaches, such as eXtended Physics-Informed Neural Networks (XPINNs) [18], and discrete PINN formulations [19] have further extended the applicability of PINNs to large-scale and complex problems. Nevertheless, several challenges remain. PINN training involves a highly nonconvex optimization problem and may exhibit slow convergence and sensitivity to optimizer and loss-weight selection [20, 21]. For high-order PDEs, repeated automatic differentiation substantially increases computational and memory costs [22, 23]. Moreover, the boundary conditions in standard PINNs are typically imposed through penalty terms and therefore not exactly satisfied unless specially constructed hard-constraint representations are employed [24, 25]. These limitations motivate neural formulations that incorporate more analytical structure of the underlying PDEs into the approximation space.
An alternative direction is to exploit complex-valued and holomorphic representations. Complex-valued neural networks (CVNNs) have been studied since the 1990s [26, 27] and continue to attract interest [28], although most developments have remained primarily data-driven. For PDE approximation, Ghosh et al. introduced a holomorphic neural network (HNN) [29] for the two-dimensional Laplace equation. This idea was subsequently extended to physics-informed holomorphic neural networks (PIHNNs) [30], where the Kolosov–Muskhelishvili representation [31] is incorporated to solve two-dimensional homogeneous linear elasticity problems on complex geometries. By embedding the analytical structure of the governing equations into the network representation, these methods satisfy the homogeneous PDEs by construction and reduce training essentially to the enforcement of boundary conditions. This dimensionality reduction avoids interior residual evaluation and is particularly attractive for problems posed on geometrically complex domains.
Existing holomorphic neural formulations are primarily restricted to homogeneous governing equations. To extend this approach to nonhomogeneous problems, we propose a hybrid physics-informed holomorphic neural network (HPIHNN) framework based on linear superposition. The solution is decomposed into a particular component, computed by a spectral method on a simple extended domain, and a homogeneous component represented by a PIHNN with modified boundary data. This construction preserves the boundary-only training structure of PIHNNs while avoiding interior residual evaluation and the associated AD cost.
The proposed method is evaluated on nonhomogeneous Poisson, Stokes, biharmonic, linear elasticity, and Helmholtz problems involving complex geometries, corner singularities, and nearly incompressible regimes. Numerical comparisons with standard PINNs are used to assess both accuracy and computational efficiency. The remainder of the paper is organized as follows. Section 2 reviews HNNs and PIHNNs [29, 30]. Section 3 introduces the HPIHNN framework. Section 4 presents the numerical experiments, and Section 5 concludes the paper.
For , we identify with and define . A complex-valued neural network is represented by
If is holomorphic, then is holomorphic as a composition of holomorphic mappings. PIHNN combines this representation with problem-specific complex-variable formulations so that the homogeneous governing equation is satisfied by construction. The neural-network optimization can therefore be reduced to the enforcement of boundary conditions.
Existing holomorphic neural formulations [29, 30] exploit problem-specific complex-variable representations to satisfy homogeneous governing equations by construction. The neural-network parameters are therefore determined primarily by minimizing boundary residuals.
For the homogeneous Laplace equation, the solution in [29] is represented as
where the holomorphicity of implies . The loss function in [29] is defined according to the Dirichlet boundary condition imposing on the boundary .
For two-dimensional homogeneous linear elasticity, PIHNN [30] employs the Kolosov–Muskhelishvili representation [31]. In terms of two holomorphic potentials , the stress and displacement fields are given by
where denotes the shear modulus, respectively, and is the corresponding Kolosov constant, the loss function for the linear elasticity problem is defined by Eq. (6) in [30].
Because these representations satisfy the corresponding homogeneous governing equations analytically, PIHNN training can be restricted to boundary collocation points. Compared with standard PINNs, this eliminates interior PDE-residual evaluation and reduces the dimension of the collocation problem, which can be particularly advantageous for complex geometries. However, the formulations in [29, 30] are constructed for homogeneous governing equations and do not directly accommodate nonhomogeneous source terms. This restriction motivates the hybrid formulation developed in the next section.
3. A Hybrid Physics-informed holomorphic neural networks Method
In this section, we extend the PIHNN framework to nonhomogeneous linear PDEs through a superposition-based decomposition and introduce the hybrid physics-informed holomorphic neural network (HPIHNN) method. Section 3.1 presents the general formulation, and Section 3.2 discusses several representative PDEs whose homogeneous solutions admit holomorphic representations.
3.1. HPIHNN formulation
Consider the nonhomogeneous linear boundary-value problem (5),
(5) where and are linear differential and boundary operators, respectively. By linear superposition, we decompose
where the particular component satisfies
and the homogeneous component satisfies
Here,
denotes the boundary data induced by the particular solution.
The homogeneous correction problem (8) is solved by the PIHNN method reviewed in Section 2. Its boundary data depend on the trace of the particular solution on . To construct the particular component in (7) efficiently, we embed the original domain into a larger regular domain and solve the following extending problem
where , and and specify the boundary conditions imposed on the extended, geometrically simple domain . For example, periodic conditions on opposing faces are natural for Fourier spectral methods, whereas homogeneous Dirichlet conditions are one common choice for Chebyshev spectral methods. The particular solution on the original domain is then defined by
Since is chosen to have a simple geometry, (9) can be solved using standard numerical methods. In this work, we employ a spectral method. Let
be boundary collocation points, with . Using holomorphic neural potentials and , we write
where the representation is chosen so that holds by construction. The network parameters are therefore determined solely from the boundary residual:
Thus, the HPIHNN approximation is given by
This construction retains the boundary-only training structure of PI-HNNs and avoids interior collocation for the homogeneous correction, making it well suited to problems on complex geometries. At the same time, the particular-homogeneous decomposition extends the holomorphic neural formulation from homogeneous to nonhomogeneous linear PDEs. Compared with a direct spectral discretization on the original domain, the proposed approach separates the treatment of the source term from that of the geometric boundary, which is advantageous when the solution exhibits reduced regularity despite a smooth source term. The overall HPIHNN workflow is illustrated in Figure 1, and the implementation is summarized in Algorithm 1. Section 3.2 gives the holomorphic representations for the homogeneous bi-harmonic, Stokes, and Helmholtz equations and specifies the corresponding operator in (10).
3.2. Holomorphic representations for selected homogeneous PDEs
In addition to the Laplace and linear elasticity problems reviewed in Section 2, several other two-dimensional homogeneous PDEs admit representations in terms of holomorphic functions. In this subsection, we summarize the corresponding formulations for the biharmonic, Stokes, and Helmholtz equations.
3.2.1. Biharmonic equation
Consider
Algorithm 1 HPIHNN for nonhomogeneous linear PDEs
1: Input: domain , extended domain , operators and , source term , boundary data , and number of boundary collocation points .
2: Decompose
with
3: Extend the nonhomogeneous problem to and solve (9) by a spectral method to obtain .
4: Restrict the particular solution to the original domain,
and evaluate the induced boundary data
5: Sample , set , and construct the holomorphic neural potentials required by the corresponding PDE representation.
6: Form the homogeneous neural approximation
which satisfies by construction.
7: Minimize the boundary loss
with the required complex derivatives evaluated by automatic differentiation.
8: Output:

Figure 1: HPIHNN Flowchart
By the Goursat representation [32],
where . Using
the Laplacian is
Hence, (13) satisfies (12) by construction.
Remark 1. The imaginary part
is also biharmonic.
3.2.2. Stokes equations
Consider the two-dimensional homogeneous Stokes system
where is the velocity, p is the pressure, and is the dynamic viscosity.
Introducing a stream function by
automatically enforces incompressibility. The Stokes equations further imply that is biharmonic, i.e.,
Hence, using the Goursat representation,
Defining the complex velocity
the velocity and pressure admit the representation
(17)
where C is an arbitrary pressure constant.
3.2.3. Helmholtz equation
Consider the two-dimensional homogeneous Helmholtz equation
where is the wave number. Unlike harmonic functions, Helmholtz solutions are not given directly by the real or imaginary parts of holomorphic functions. Instead, they can be generated from holomorphic functions through the Vekua–Bergman transformation [33].
Let . Taking the reference point , the transformation is
where denotes the Bessel function of the first kind of order one. The transformed function satisfies
Hence, the homogeneous Helmholtz solution used in the present framework is represented by
which satisfies (18) by construction.
4. Numerical experiments
In this section, we assess the proposed HPIHNN framework on five classes of nonhomogeneous PDEs: a Poisson problem with a corner singularity, biharmonic and Stokes problems on complex or nonconvex domains, linear elasticity problems involving locking and stress concentration, and a Helmholtz problem on an annular domain. Unless otherwise specified, the activation function is . For comparison, the PINN baseline uses the same hyperparameters as HPIHNN. Since PINNs enforce the governing equations through interior residuals, 2500 additional interior collocation points are used. For the biharmonic, Stokes, and linear elasticity problems, HPIHNN employs two holomorphic networks, whereas the PINN baseline uses a single network. Its width is therefore doubled so that the number of trainable parameters is comparable to, or larger than, that of HPIHNN.
The numerical settings are summarized in Table 1, where denotes the spectral truncation order in each spatial direction. The learning rate is adjusted using PyTorch's ReduceLROnPlateau scheduler. Accuracy is measured by the relative and errors,
where and u denote the numerical and reference solutions, respectively.
Table 1: Spectral discretization and neural network configurations for the numerical examples.
| Problem | Spectral domain | Spectral basis | M | Hidden layers × width | Boundary points | Epochs | |
|---|---|---|---|---|---|---|---|
| HPIHNN | PINN | ||||||
| Poisson | Fourier | 20 | 540 | 10,000 | |||
| Biharmonic | Fourier | 20 | 200 | 20,000 | |||
| Stokes | Fourier | 64 | 200 | 20,000 | |||
| Elasticity () | Fourier | 64 | 200 | 40,000 | |||
| Elasticity: square | Chebyshev | 40 | 400 | 10,000 | |||
| Elasticity: rail | Chebyshev | 40 | 495 | 20,000 | |||
| Elasticity: perforated plate | Chebyshev | 40 | 700 | 20,000 | |||
| Elasticity: perforated plate | Chebyshev | 40 | 240 | 10,000 | |||
| Helmholtz | Fourier | 20 | 351 | 10,000 | |||
The neural networks take complex-valued inputs and produce complex-valued outputs. For the Fourier spectral method, periodic boundary conditions are imposed at the boundaries of the extended domain; for the Chebyshev spectral method, homogeneous Dirichlet boundary conditions are imposed at the boundaries.
A Chebyshev basis is adopted, since the constant body-force term is not compatible with the periodic structure underlying the Fourier spectral discretization used here.
A three-hidden-layer architecture is adopted for the PINN, as the single-hidden-layer configuration did not provide sufficient accuracy.
For the more challenging elasticity problems involving stress concentration, the PINN width is increased to four times that of each PIHNN network to ensure a comparable level of accuracy.
4.1. Poisson equation
Consider the Poisson problem
where
is an L-shaped domain. We prescribe the exact solution
The term
induces reduced regularity at the re-entrant corner , where the gradient becomes singular. This example therefore provides a test of the ability of HPIHNN to approximate solutions with corner singularities.
A four-hidden-layer complex-valued network is employed in this example. Since the approximation error is concentrated primarily near the singular corner and adjacent boundary segments, additional collocation points are placed in these regions. The boundary points are divided into two groups, and the training loss is defined by
The first group consists of uniformly distributed boundary points, whereas the second is concentrated near and the neighboring corner and midpoint regions. A total of 540 boundary collocation points are used.
Figure 2 shows the training history for the homogeneous correction. Figure 3 compares the HPIHNN and PINN solutions with the reference solution and displays the corresponding pointwise errors. The relative errors, numbers of trainable parameters, and training times are reported in Table 2. For HPIHNN, the dominant errors remain localized near the corner singularities, while the interior errors are substantially smaller.

Figure 2: Evolution of the training loss for the HPIHNN.

(a)
(b)

(c)
(d)
Figure 3: Numerical comparison of HPIHNN and PINN for the Poisson problem (23).
Table 2: Accuracy and computational efficiency of HPIHNN and PINN for the Poisson problem (23).
| Method | Computational time | #parameters | RL | RL |
|---|---|---|---|---|
| HPIHNN | 57.70s | 49,921 | ||
| PINN | 90.68s | 50,049 |
4.2. Biharmonic equation
We consider the nonhomogeneous biharmonic problem
posed on a curved five-pointed star domain. Its boundary is parameterized by
with and .
The exact solution is prescribed as
from which , and are determined.
For the PINN baseline, a network with three hidden layers and 128 neurons per layer is used. The loss contains separate terms for and on the boundary, with the latter assigned a weight of 5. Since the source term is much larger in magnitude than the boundary data, the PINN residuals are normalized using an RMS-based relative-residual formulation.
Figure 4 compares the numerical and exact solutions. The dominant errors are localized near the boundary, while the interior errors are approximately one to two orders of magnitude smaller. The relative errors, numbers of trainable parameters, and training times are reported in Table 3. For this high-frequency problem on a complex domain, HPIHNN achieves lower errors and shorter training times than the PINN baseline.

(a)
(b)

(c)
(d)
Figure 4: Numerical comparison of HPIHNN and PINN for the biharmonic problem (26).
Table 3: Accuracy and computational efficiency of HPIHNN and PINN for the biharmonic problem (26).
| Method | Computational time | #parameters | ||
|---|---|---|---|---|
| HPIHNN | 87.27 s | 770 | ||
| PINN | 903.68 s | 33,537 |
4.3. Stokes equation
In this section, we consider the two-dimensional Stokes problem
where
is an L-shaped domain and . The exact solution is prescribed as
from which the forcing term and boundary data are determined. Since the pressure is unique only up to an additive constant, we impose to fix the pressure gauge.
Figure 5 compares the numerical and exact solutions, while Table 4 reports the relative errors, numbers of trainable parameters, and training times.
Table 4: Accuracy and computational efficiency of HPIHNN and PINN for the Stokes problem (28).
| Method | Computational time | #parameters | Error norm | |||
|---|---|---|---|---|---|---|
| HPIHNN | 61.99 s | 33794 | ||||
| PINN | 150.57 s | 67588 | ||||
4.4. Linear elasticity equations
In this section, we consider several two-dimensional nonhomogeneous linear elasticity problems on complex domains. The first example focuses on the nearly incompressible regime, where and , providing a stringent test for numerical methods susceptible to volumetric locking. Here, denotes Poisson's ratio, and denotes the first Lamé parameter. Under the plane-strain assumption, the governing equations are
4.4.1. A disk with a sector removed
Let be the unit disk with the sector removed. We consider the nearly incompressible case with Lamé parameters
corresponding to . The body force is
and the exact displacement and stress fields are specified accordingly. Dirichlet data are obtained by restricting the exact displacement to , i.e.,

(a)
(b)
(c)
(d)
(e)
(f)
(g)
(h)
Figure 5: Numerical comparison of HPIHNN and PINN for the Stokes problem (28).
Figure 6 compares the exact and numerical solutions for the displacement magnitude and . The relative errors, numbers of trainable parameters, and training times are reported in Table 5. Figure 7 compares the training loss histories of HPIHNN and PINN. For this problem involving locking, HPI-HNN converges more readily to a lower loss, suggesting improved trainability and approximation accuracy.
Table 5: Accuracy and computational efficiency of HPIHNN and PINN for the linear elasticity problem (29)–(31) with .
| Method | Computational time | #parameters | Error norm | |||||
|---|---|---|---|---|---|---|---|---|
| HPIHNN | 111.13s | 33794 | ||||||
| PINN | 266.86s | 67074 | ||||||
4.4.2. Benchmark problems with complex geometries
We next consider three linear elasticity benchmarks with complex geometries and stress concentrations. The governing system is (29) with boundary conditions
The three benchmark problems share the parameter setting
which corresponds to .
For the first benchmark [30], a homogeneous Dirichlet condition is imposed on the bottom boundary, a leftward traction of 1 MPa on the top boundary, and traction-free conditions on the lateral boundaries. Since no closed-form solution is available, a finite element solution computed with constant-strain triangles on a uniform mesh is used as reference.
The solution exhibits stress discontinuities at the upper corners and corner singularities at the lower corners, with local stress behavior of approximately [34]. For this and the subsequent two elasticity benchmarks, the particular solution is computed by a Chebyshev spectral method of order 40 in each coordinate direction using Chebyshev–Lobatto points. The PINN baseline uses interior collocation points, and its hidden-layer width is set

(a)
(b)
(c)

(d)
(e)
(f)
(g)
(h)
(i)

(j)
(k)
(l)

(m)
(n)
(a)
Figure 6: Numerical comparison of HPIHNN and PINN for the linear elasticity problem (29)–(31) with .

Figure 7: Numerical comparison of HPIHNN and PINN for the linear elasticity problem (29)–(31) with .
to four times that of each PIHNN network. Figure 8 compares the reference and numerical displacement and stress fields, while Table 6 reports the relative errors, numbers of trainable parameters, and training times.
Table 6: Accuracy and computational efficiency of HPIHNN and PINN for the first benchmark of the linear elasticity problems in Section 4.4.2.
| Method | Computational time | #parameters | RL | ||||
|---|---|---|---|---|---|---|---|
| HPIHNN | 255.95 s | 17284 | |||||
| PINN | 332.29 s | 66690 | |||||
The second benchmark, shown in Fig. 9 [30], A homogeneous Dirichlet condition is imposed on the bottom boundary, a uniform pressure of 1 MPa is applied on the top boundary, and the lateral boundaries are traction-free. Since no closed-form solution is available, a finite element solution computed with constant-strain triangles and mesh size 0.05 is used as the reference.
Because of the larger spatial extent of the domain, the complex input is normalized before being passed to the activation function :
which improves the numerical stability of the training process.

Figure 8: Numerical comparison of HPIHNN and PINN for the first benchmark of the linear elasticity problems in Section 4.4.2.

Figure 9: Geometry of the Rail Problem
Figure 10 compares the reference and numerical displacement and stress fields, while Table 7 reports the relative errors, numbers of trainable parameters, and training times.
Table 7: Accuracy and computational efficiency of HPIHNN and PINN for the second benchmark (Rail) of the linear elasticity problems in Section 4.4.2.
| Method | Computational time | #parameters | RL | ||||
|---|---|---|---|---|---|---|---|
| u | v | ||||||
| HPIHNN | 553.32 s | 17284 | |||||
| PINN | 690.45 s | 66690 | |||||
For the third benchmark [30], we consider a square plate of side length with a central circular hole of radius r = 0.5 as in Fig. 11. Uniform tensile tractions of 1 MPa are applied on the two lateral boundaries, while the remaining boundaries are traction-free. By symmetry, only the upper-left quarter of the plate is considered, as shown in Fig. 11. On the symmetry boundaries, we impose
where n and t denote the unit normal and tangent vectors, respectively. Since no closed-form solution is available, a finite element solution computed

Figure 10: Numerical comparison of HPIHNN and PINN for the second benchmark (Rail) of the linear elasticity problems in Section 4.4.2.

Figure 11: Geometry for the circular-hole stress-concentration problem.
with constant-strain triangles and a maximum mesh size of 0.01 is used as the reference.
To improve training stability on the relatively large domain, the complex input is normalized as
The PINN baseline uses interior collocation points.
Figure 12 compares the reference and numerical displacement and stress fields, while Table 8 reports the relative errors, numbers of trainable parameters, and training times.
Table 8: Accuracy and computational efficiency of HPIHNN and PINN for the third benchmark of the linear elasticity problems in Section 4.4.2.
| Method | Computational time | #parameters | RL | ||||
|---|---|---|---|---|---|---|---|
| u | v | ||||||
| HPIHNN | 153.38 s | 8836 | |||||
| PINN | 243.34 s | 33666 | |||||
4.4.3. Stress concentration in a heterogeneous domain
We consider the linear elasticity problem (29) with geometry shown in Fig. 11 with body force . Uniform outward tractions of magnitude 1 MPa are applied on the left and right boundaries, while the top and

Figure 12: Numerical comparison of HPIHNN and PINN for the third benchmark of the linear elasticity problems in Section 4.4.2.
hole boundaries are traction-free. Homogeneous Dirichlet conditions,
are imposed on the bottom boundary. The domain is partitioned into four equal-area subdomains occupied by distinct isotropic elastic materials. The Lamé parameters , expressed in MPa, are assigned as
in the upper-left, lower-left, upper-right, and lower-right subdomains, respectively. Perfect bonding is imposed across material interfaces through continuity of displacement and traction.
Because the material coefficients are piecewise constant, the particular solution is computed separately in each subdomain on a common extended domain. The PINN baseline uses interior collocation points, while both methods employ 30 collocation points on each interface segment. The same input normalization as in the preceding example is used for HPIHNN.
Since no closed-form solution is available, a finite element solution computed with constant-strain triangles and a maximum mesh size of 0.01 is used as reference. Figure 13 compares the displacement and stress fields. The relative errors, numbers of trainable parameters, and training times are reported in Table 9.
Table 9: Accuracy and computational efficiency of HPIHNN and PINN for the linear elasticity problem in a heterogeneous domain.
| Method | Computational time | #parameters | RL | ||||
|---|---|---|---|---|---|---|---|
| HPIHNN | 311.54 s | 35344 | |||||
| PINN | 620.90 s | 134664 | |||||
4.5. Helmholtz equation
We consider the nonhomogeneous Helmholtz problem

Figure 13: Numerical comparison of HPIHNN and PINN for the linear elasticity problem in a heterogeneous domain.

(a)
(b)

(c)
(d)
Figure 14: Numerical comparison of HPIHNN and PINN for the Helmholtz problem (34).
where is the annulus with inner radius 0.4 and outer radius 1, and . We prescribe the exact solution
from which the boundary data and source term f are determined.
Figure 14 compares the numerical and exact solutions, while Table 10 reports the relative errors, numbers of trainable parameters, and training times.
Table 10: Accuracy and computational efficiency of HPIHNN and PINN for the Helmholtz problem (34).
| Method | Computational time | #parameters | |
|---|---|---|---|
| HPIHNN | 42.06 s | 49921 | |
| PINN | 60.25 s | 50049 |
5. Conclusion
In present work, we propose HPIHNN, a hybrid framework for nonhomogeneous linear PDEs that combines spectral particular solutions with holomorphic neural approximations of homogeneous corrections. By solving the source-driven component on a regular extended domain and restricting neural-network training to boundary residuals, the method retains the geometric flexibility of PIHNNs while extending them to nonhomogeneous problems.
Numerical experiments on Poisson, biharmonic, Stokes, linear elasticity, and Helmholtz equations demonstrate the effectiveness of the approach for complex geometries, singular or high-frequency solutions, nearly incompressible regimes, and heterogeneous materials. In the considered tests, HPIHNN generally yields lower errors and shorter training times than the PINN baseline. The present framework is limited to two-dimensional problems admitting suitable holomorphic representations. Future work will focus on extensions to three-dimensional, variable-coefficient, and nonlinear PDEs, as well as PDE-constrained optimization problems.
Acknowledgment
This research is partially sponsored by the National Natural Science Foundation of China (No.12371434, No. 12531015, No. 12671515, No. U25A20200), the National Key R & D Program of China (No.2022YFE03040002), Sichuan University Research Project on Teaching Reform in Graduate Education (No. SCYZTD2025003).
Data Availability Statement
The data that support the findings of this study are available from the corresponding author upon reasonable request.
Conflict of interest
The authors declare that they have no conflict of interest.
References
[1] J. Happel, H. Brenner, Low Reynolds Number Hydrodynamics: With Special Applications to Particulate Media, Springer Science & Business Media, 2012.
[2] L. C. Evans, Partial Differential Equations, Vol. 19, American Mathematical Society, 2022.
[3] M. E. Gurtin, The linear theory of elasticity, in: Linear Theories of Elasticity and Thermoelasticity: Linear and Nonlinear Theories of Rods, Plates, and Shells, Springer, Berlin, Heidelberg, 1973, pp. 1–295.
[4] A. P. S. Selvadurai, Partial Differential Equations in Mechanics 2: The Biharmonic Equation, Poisson's Equation, Springer Science & Business Media, 2013.
[5] J. C. Strikwerda, Finite Difference Schemes and Partial Differential Equations, Society for Industrial and Applied Mathematics, 2004.
[6] O. C. Zienkiewicz, R. L. Taylor, The Finite Element Method Set, Elsevier, 2005.
[7] R. Eymard, T. Gallouet, R. Herbin, Finite volume methods, Handb. Numer. Anal. 7 (2000) 713–1018.
[8] S. C. Brenner, L. Y. Sung, interior penalty methods for fourth order elliptic boundary value problems on polygonal domains, J. Sci. Comput. 22 (2005) 83–118.
[9] D. Gottlieb, S. A. Orszag, Numerical Analysis of Spectral Methods: Theory and Applications, Society for Industrial and Applied Mathematics, 1977.
[10] M. Raissi, P. Perdikaris, G. E. Karniadakis, Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations, J. Comput. Phys. 378 (2019) 686–707.
[11] T. Hu, B. Jin, Z. Zhou, Solving Poisson problems in polygonal domains with singularity enriched physics informed neural networks, SIAM J. Sci. Comput. 46 (2024) C369–C398.
[12] X. Jin, S. Cai, H. Li, G. E. Karniadakis, NSFnets (Navier-Stokes flow nets): Physics-informed neural networks for the incompressible Navier-Stokes equations, J. Comput. Phys. 426 (2021) 109951.
[13] E. Haghighat, M. Raissi, A. Moure, H. Gomez, R. Juanes, A physics-informed deep learning framework for inversion and surrogate modeling in solid mechanics, Comput. Methods Appl. Mech. Eng. 379 (2021) 113741.
[14] E. Samaniego, C. Anitescu, S. Goswami, V. M. Nguyen-Thanh, H. Guo, K. Hamdia, X. Zhuang, T. Rabczuk, An energy approach to the solution of partial differential equations in computational mechanics via machine learning: Concepts, implementation and applications, Comput. Methods Appl. Mech. Eng. 362 (2020) 112790.
[15] A. D. Jagtap, K. Kawaguchi, G. E. Karniadakis, Adaptive activation functions accelerate convergence in deep and physics-informed neural networks, J. Comput. Phys. 404 (2020) 109136.
[16] S. Wang, Y. Teng, P. Perdikaris, Understanding and mitigating gradient flow pathologies in physics-informed neural networks, SIAM J. Sci. Comput. 43 (2021) A3055–A3081.
[17] S. Wang, S. Sankaran, P. Perdikaris, Respecting causality for training physics-informed neural networks, Comput. Methods Appl. Mech. Eng. 421 (2024) 116813.
[18] A. D. Jagtap, G. E. Karniadakis, Extended physics-informed neural networks (XPINNs): A generalized space-time domain decomposition based deep learning framework for nonlinear partial differential equations, Commun. Comput. Phys. 28 (2020) 2002–2041.
[19] G. Pang, L. Lu, G. E. Karniadakis, fPINNs: Fractional physics-informed neural networks, SIAM J. Sci. Comput. 41 (2019) A2603–A2626.
[20] A. Krishnapriyan, A. Gholami, S. Zhe, R. Kirby, M. W. Mahoney, Characterizing possible failure modes in physics-informed neural networks, in: Adv. Neural Inf. Process. Syst., Vol. 34, 2021, pp. 26548–26560.
[21] S. Markidis, The old and the new: Can physics-informed deep-learning replace traditional linear solvers?, Front. Big Data 4 (2021) 669097.
[22] L. Lu, X. Meng, Z. Mao, G. E. Karniadakis, DeepXDE: A deep learning library for solving differential equations, SIAM Rev. 63 (2021) 208–228.
[23] Z. Hu, Z. Shi, G. E. Karniadakis, K. Kawaguchi, Hutchinson trace estimation for high-dimensional and high-order physics-informed neural networks, Comput. Methods Appl. Mech. Eng. 424 (2024) 116883.
[24] N. Sukumar, A. Srivastava, Exact imposition of boundary conditions with distance functions in physics-informed deep neural networks, Comput. Methods Appl. Mech. Eng. 389 (2022) 114333.
[25] S. Cuomo, V. S. Di Cola, F. Giampaolo, G. Rozza, M. Raissi, F. Piccialli, Scientific machine learning through physics-informed neural networks: Where we are and what's next, J. Sci. Comput. 92 (2022) 88.
[26] P. Arena, L. Fortuna, R. Re, M. G. Xibilia, On the capability of neural networks with complex neurons in complex valued functions approximation, in: Proceedings of the 1993 IEEE International Symposium on Circuits and Systems, IEEE, 1993, pp. 2168–2171.
[27] P. Arena, L. Fortuna, R. Re, M. G. Xibilia, Multilayer perceptrons to approximate complex valued functions, Int. J. Neural Syst. 6 (1995) 435–446.
[28] F. Voigtlaender, The universal approximation theorem for complex-valued neural networks, Appl. Comput. Harmon. Anal. 64 (2023) 33–61.
[29] A. Ghosh, A. A. Gentile, M. Dagrada, C. Lee, S.-H. S. Kim, H. Cha, Y. Choi, D. Kim, J.-I. Kye, V. E. Elfving, Harmonic neural networks, in: International Conference on Machine Learning, PMLR, 2023, pp. 11340–11359.
[30] M. Calafa, E. Hovad, A. P. Engsig-Karup, T. Andriollo, Physics-informed holomorphic neural networks (PIHNNs): Solving 2D linear elasticity problems, Comput. Methods Appl. Mech. Eng. 432 (2024) 117406.
[31] N. I. Muskhelishvili, Some Basic Problems of the Mathematical Theory of Elasticity, Noordhoff, Groningen, 1977.
[32] R. L. Fosdick, On the complete representation of biharmonic functions, SIAM J. Appl. Math. 19 (1970) 243–250.
[33] A. Moiola, R. Hiptmair, I. Perugia, Vekua theory for the Helmholtz operator, Z. Angew. Math. Phys. 62 (2011) 779–807.
[34] A. H. England, On stress singularities in linear elasticity, Int. J. Eng. Sci. 9 (1971) 571–585.