1. Introduction
In prominent fields of fluid dynamics, thermodynamics, and ecology, researchers frequently encounter numerous high-dimensional partial differential equation (PDE) models. These complex PDE systems are commonly addressed through dimensionality reduction techniques or approximated via numerical methods, including the finite element method (FEM) [
1], the finite volume method (FVM) [
2], particle-based approaches [
3], and the finite cell method (FCM) [
4]. Nevertheless, approximating higher-dimensional PDEs with conventional numerical methods demands exorbitant computational resources to maintain solution accuracy [
5]. The exponential growth of elements and nodes associated with increasing dimensionality substantially amplifies computational expenses.
This computational challenge has motivated growing interest in deep learning approaches for PDE solutions in recent years. With the successful integration of deep learning into PDE research, various physics-informed neural network architectures have emerged to tackle the inherent limitations of traditional numerical methods in high-dimensional contexts. The seminal work by Raissi et al. [
6] in 2019 introduced physics-informed neural networks (PINNs), which solve PDEs by minimizing the residuals at collocation points in the domain. This framework provides enhanced flexibility in handling diverse boundary conditions while facilitating solutions to both parametric and inverse problems. Existing deep learning approaches for solving PDEs can be broadly categorized into operator learning methods and physics-informed methods that directly approximate the solution using governing equations [
7].
Subsequent developments have produced methods rooted in variational principles, including diffusion generative models (DGMs), PINNs, and Galerkin-based variational physics-informed neural networks (VPINNs). These approaches employ sophisticated loss function designs to optimize quantities of interest [
8]. The hp-VPINN methodology, building upon subdomain Petrov–Galerkin formulations, enables hp refinement through domain decomposition, incorporating both h refinement and p refinement with high-order polynomial projections [
8]. For stochastic PDE challenges, Yang et al. [
9] developed PI-GANs in 2020—a groundbreaking generative adversarial network architecture that seamlessly integrates physical constraints with stochastic differential equation (SDE) solutions.
With the rapid development of the field, PINN applications have expanded to diverse engineering and scientific domains, including PM2.5 dispersion modeling [
10], thermal transport analysis [
11], energy storage optimization [
12], fluid dynamics simulations [
13], and structural engineering investigations [
14]. Concurrently, neural network frameworks are rapidly gaining traction as formidable mathematical assets for solving complex nonlinear systems and multi-scale problems. Recent advancements have successfully deployed intelligent learning paradigms to investigate shallow-water wave equations [
15], resolve free-flow coupled porous media models [
16], and analytical solutions for probabilistic physical systems [
17]. Furthermore, data-driven and physics-informed models have extended their reach to high-fidelity engineering simulations, such as reconstructing 3D physical fields from limited 2D dimensions via advanced neural network schemes [
18].
Nevertheless, conventional approaches often resort to dimensionality reduction prior to analyzing inherently high-dimensional spatiotemporal problems [
10]. Traditional finite element implementations for such problems suffer from prohibitive memory requirements for grid sampling and excessive computational durations. While Yang et al. [
9]’s PI-GANs effectively address stochastic PDEs through their physics-informed GAN framework, the existing literature lacks applications of PINNs for efficiently solving singular-term-containing equation systems in two-dimensional spatiotemporal domains.
This study presents a novel application of PINNs to two-dimensional spatiotemporal systems containing singular terms, achieving both computational efficiency and accuracy. Singular terms in reaction–diffusion systems often lead to reduced regularity of solutions and may cause instability in numerical computations. When such systems are solved using physics-informed neural networks (PINNs), these difficulties can further affect the training process, resulting in slow convergence or loss of accuracy. Despite the growing use of PINNs for PDE problems, the treatment of singular systems, especially in two-dimensional spatiotemporal settings, remains limited. In this work, we consider a reaction–diffusion predator–prey model with human interference and study the existence and stability of its equilibrium solutions in the presence of singular terms. To compute the solutions, a PINN combined with the Adam optimizer is employed, which allows us to handle the singular behavior without relying on mesh-based discretization. Overall, this work brings together singular PDE modeling, stability analysis, and physics-informed neural networks in a unified framework for two-dimensional ecological systems.
The remaining sections are organized as follows:
Section 2 details an enhanced predator–prey model and its stability characteristics.
Section 3 revisits PINN fundamentals and the PINN–Adam optimization scheme, emphasizing iterative methodologies while introducing a specialized activation function for system solutions.
Section 4 conducts comparative analyses between conventional methods and PINNs for two-dimensional spatiotemporal cases, evaluating neural network effectiveness.
Section 5 demonstrates real-world applications where PINN–Adam training results validate practical applicability. Finally, concluding remarks and future research directions are presented in
Section 6.
4. Effectiveness of the PINN–Adam Model Under Overdevelopment Conditions
From Theorem 2, we get an analytical solution for the special case under the over-exploitation of the habitat. To investigate the capability of PINNs and traditional methods in solving models, two methods are used to solve PDEs in the spatiotemporal domain of . Particularly, T is set in a range long enough to show the stability of the solution. After several tries, we select the parameter that T = 20, while the is set in .
In particular, the numerical values of equilibrium solutions and their spatial distribution in the results of equations are focused. According to Theorem 3, the parameters satisfy the necessary conditions for the existence of equilibrium solutions, as given by Formula (
6).
In
Section 4.1, we first focus on the solution of the PINN. And in
Section 4.2, we present the traditional solution results, along with a comparison between the solution results of the PINN and traditional methods.
4.1. PINN Solution Results
In this section, we set up two cases that contain two situations in Theorem 3 and then solve them. The parameter settings are shown in
Table 2, and the initial distributions for both cases are:
The parameters in Sit1 represent a situation where population
is less affected by humans but has a higher population mortality. It also satisfies [Theorem 3, (S2)]. At the same time, the initial distribution (
15) meets the Neumann boundary conditions and simulates the characteristic of higher density in the center of the region, which conforms to the law of nature.
This set of parameters satisfies the necessary conditions for the existence of an equilibrium solution (
6), and the corresponding equilibrium solution is obtained as
= 0.7200,
= 0.1424 according to Formula (
7).
Under such conditions, we use 8000 periods of the Adam optimization scheme to train a PINN with five hidden layers and a width of 64 to solve the problem and obtain the results shown in
Figure 2a,b. As shown in
Table 3, the prediction accuracy improves rapidly with increasing epochs in the early stage and gradually stabilizes after approximately 7600 steps. Although larger maximum epochs slightly improve the error metrics, the additional computational cost becomes significant. Therefore, 8000 epochs were selected to balance computational efficiency and model accuracy. To justify the selection of hyperparameters, a sensitivity analysis of the network architecture was conducted, as shown in
Table 4. Different combinations of hidden layers and neurons were tested under the same training settings. The architecture with five hidden layers and 64 neurons achieved the lowest MAE,
, and
errors among all tested configurations. Therefore, this architecture was selected for the final simulations due to its superior accuracy and stability. It can be observed that population
and population
converge to the desired steady state in
and remain stable in
T, which is consistent with the result deduced in
Section 3. The solution at
is compared with the theoretical equilibrium solution with an error of 0.0054 and 0.0010.
For the second case, we select the parameters in Sit2, leaving the initial distribution and PINN unadjusted. It represents the situation that population is greatly affected by humans, but population mortality is low. It satisfies [Theorem 3, (S1)].
When the necessary conditions (
6) are met, the results shown in
Figure 3,
Figure 4,
Figure 5 and
Figure 6 are obtained. Similar to the first case, with Formula (
7), the results show a stable result in the spatial and temporal distributions of population density, and the error is 0.0008 and 0.0015 compared with the equilibrium solution
= 0.7000,
= 0.2500 calculated.
4.2. Traditional Methods and Comparison
For traditional baseline validation, conventional numerical analysis is standardly implemented utilizing a standard second-order piecewise nonlinear Galerkin finite element method for spatial discretization, which is sequentially coupled with an adaptive time-stepping scheme designed for stiff ordinary differential equations. Under initial and boundary conditions structurally analogous to those described in
Section 4.1, and considering the severe numerical instabilities and grid-discretization stiffness that standard finite element meshes encounter when directly resolving full two-dimensional singular algebraic denominators, the comparative finite element scheme is projected onto a representative one-dimensional spatial domain mapped across thirty uniform fixed nodes while extending the temporal progression up to two hundred intervals to securely capture asymptotic behavior. This localized non-optimized grid distribution yields a total of six hundred thousand independent spatiotemporal tensor points requiring sequential algebraic evaluation, serving as a rigid baseline numerical benchmark that operates entirely without localized error estimators, advanced grid-optimization routines, or adaptive mesh refinement techniques. The corresponding numerical tracking trajectories are presented in
Figure 7,
Figure 8,
Figure 9 and
Figure 10 to illustrate the evolutionary trend under simplified geometric dimensions, demonstrating in sharp contrast that the proposed continuous physics-informed neural network model natively accommodates the full two-dimensional spatiotemporal singular coordinates and distribution pools without the necessity of dimensional reduction, grid dependencies, or complex mesh regeneration routines.
Observing
Figure 7 and
Figure 8, it can be found that the population has not stabilized within the time range shown in the figure. In Sit1, the average density at the final time point obtained by the FEM is
= 0.7398,
= 0.04440, as shown in
Figure 9 and
Figure 10. The error is 0.0198 and 0.098 compared to the equilibrium solution
= 0.7200,
= 0.1424, while the error of the PINN is only 0.0054 and 0.0010.
Under the condition of Sit2, the average density at the final time point is = 0.5157, = 0.1553, while the error is 0.1843 and 0.1018, compared to the equilibrium solution = 0.7000, = 0.2500. However, in the same case, the error of the PINN is only 0.0008 and 0.0015, which is more than 10 times less than the error of the FEM. Under the current implementation, PINN achieves notably lower errors compared to the FEM. While traditional methods such as the FEM can, in principle, achieve higher accuracy with mesh refinement and higher-order elements, such improvements typically come with rapidly increasing computational costs due to the curse of dimensionality. In contrast, PINN avoids mesh generation and demonstrates competitive accuracy with reduced memory requirements, making it a promising alternative for solving high-dimensional singular reaction-diffusion systems.
Table 5 shows the solving errors of the PINN and FEM. It can be seen from the table that the PINN is superior to the FEM in MAE,
,
under two situations. Especially in the case of Sit2, the
of the PINN is
times that of the FEM, which indicates that the PINN is significantly better than traditional methods. In the case of Sit1, although the PINN is still excellent, it is not as good as the previous case. It might be that the PINN has more advantages in dealing with situations where there is low mortality and little influence by humans.
5. Application to Notolabrus Tetricus Population Prediction
In this section, we apply our model and assess the proposed PDE model by fitting its parameters to an actual biological dataset. Notolabrus tetricus is one of the most abundant fish species on the coastal coral reefs of South Australia [
32], and it feeds on abalones, specifically Haliotis rubra, which is widely distributed in these reefs. First, we search for publicly available datasets and process the actual observational data. Population density and latitude–longitude data for both Notolabrus tetricus and Haliotis rubra are sourced from the publicly available datasets of the Australian Ocean Data Network (AODN). Second, we establish a two-dimensional spatial PDE model and utilize the PINN–Adam model to solve the inverse problem and obtain a fitter parameter. On a rectangular area defined by the geographical coordinates—the southwest corner at
S,
E, and the northeast corner at
S,
E—we selected data from 308 observation points within this rectangular area for the years 2006 and 2007 to evaluate the PDEs.
5.1. Data Source and Data Processing
To prevent spatial overfitting and manage computational complexity during neural network training, a proximity-based spatial density clustering and downsampling scheme is initially applied to the empirical observation infrastructure. The raw dataset encompasses three hundred and eight monitoring stations positioned along the South Australian coastline, which display substantial geographic density redundancy. By identifying contiguous observation nodes located within tight spatial proximity and clustering them based on geographic distance coordinates, a single representative station possessing the most comprehensive and continuous historical records is selected to act as the topological anchor for each localized cluster, thereby compressing the redundant monitoring array into seventy-one unique backbone stations. Following this spatial filtering and clustering pipeline, the population data are normalized by utilizing the historical maximum density observed across all functional stations as the environmental carrying capacity limit. To reconstruct the complete continuous spatial distributions of Notolabrus tetricus and Haliotis rubra across the domain, a linear radial basis function interpolation is subsequently performed on the filtered observation nodes, successfully smoothing out localized observational gaps while strictly preserving the authentic boundary geometry and coordinate alignment necessary for the subsequent stability analysis and physics-informed neural network evaluations. Moreover, the selection of linear radial basis functions for restoring continuous spatial distributions is deliberately customized to align with the intrinsic mathematical property of the downstream PINN–Adam framework. Linear RBF interpolation operates on the principle of geometric neutrality, constructing a smooth, unbiased baseline without injecting artificial high-order nonlinearities or subjective empirical priors that could conflict with the biological governing equations.
5.2. Parameters Fitness and Prediction
Based on
Section 5.1, we select the population density data of Notolabrus tetricus for the years 2006 and 2007, and use the population spatial distributions of Notolabrus tetricus and Haliotis rubra as initial values. With
as the spatial and temporal domains, we employ the PINN to solve the problem. The parameter settings are:
The initial values of the parameters are provided to the PINN. The PINN is composed of five hidden layers, each consisting of 64 units, with the tanh activation function applied to all hidden layers. Considering the gradient descent optimization method, the PINN is trained using the Adam optimization scheme for 8000 epochs to obtain the solution. The optimal parameters obtained are:
Considering the sensitivity of the inverse problem solution to historical data, we conduct multiple experiments.
Table 6 displays the equation errors, mean parameters, and coefficients of variation (CVs) obtained from multiple solution results. The CVs for all indicators are within a certain magnitude, demonstrating the stability of the solution results and parameters.
Figure 11 shows the solution results obtained from the model. The first three time points represent the fitting of real data, while the last two time points are predictions of the population density. The results demonstrate that in the actual population distribution, its evolution aligns with the equation’s pattern, and the existence of the equilibrium solution of the equation is independent of the initial conditions.
Figure 12 displays the convergence of the errors for various components of the equation during the training process of the PINN. Notably, the IC error is less than
. We observe that the error of the PINN method is less than
, which shows a significant advantage compared with the error of the traditional finite element method. In our experiments, under the same initial conditions and parameters, the error of the FEM is usually between
and
, which is significantly higher than the result of the PINN method, indicating that the PINN is capable of fitting the real-world scenario with high accuracy.
Regarding the operational assumption of simplifying the human factor to a constant value of during the empirical simulation pipeline, it is crucial to recognize that while this elimination of dynamic anthropogenic pressure serves as a baseline configuration, it introduces a specific simplification drawback concerning real-world ecological feedback loops. This decoupling was primarily enforced in the numerical experiments to establish a controlled mathematical benchmark, thereby isolating the pure reaction–diffusion spatiotemporal dynamics of the predator and prey fish populations without the confounding, fast-scale variations typically introduced by dynamic harvesting metrics. To mitigate this structural limitation and enhance the ecological realism of the model, future mathematical expansions must reintroduce time-dependent or density-gradient-based human fishing terms to capture the coupled, long-term evolution between economic incentives, policy regulations, and marine biomass stability.
6. Conclusions
We have proposed an improved prey–predator model that considers the impact of human activities on the population system. Due to the singularity of the system, the conditions for equilibrium existence are discussed, and a solution formula for a specific case is presented. A physics-informed neural network (PINN), with attention paid to its iterative methods and activation function, is used to solve these 2D singular PDE systems. Compared with traditional finite element methods, the PINN exhibits more than a 10-fold improvement in the accuracy of population density estimation across different parametric conditions. The Mean Absolute Error (MAE) of the model when choosing the PINN is reduced by 99%. The simulation cases demonstrate that the PINN exhibits superior performance in 2D space compared to traditional methods. Finally, the model is evaluated under real-world conditions, validating its effectiveness in modeling fish data from coral reefs along the coast of South Australia. On the test set, the Mean Squared Error (MSE) reaches , which proves the good solving capability of the PINN. In summary, utilizing the PINN to solve the newly proposed model is effective in high-dimensional spaces and can be well applied to real ecological environments, providing valuable insights and references for understanding actual ecological phenomena. In addition to its theoretical contributions, the proposed framework provides a practical tool for analyzing and predicting spatiotemporal dynamics in real ecological systems. In particular, it can be applied to evaluate the impact of human activities on species interactions, predict population evolution under different environmental conditions, and support decision-making in ecological conservation and resource management. Moreover, the proposed PINN-based approach offers a flexible and efficient alternative for solving high-dimensional PDE systems, and can be extended to other application domains such as environmental modeling, epidemiology, and complex physical processes.
In terms of future research perspectives, several promising directions warrant further exploration to expand the scope and impact of this framework. First, while the current system relies on the theoretical smoothness of solutions to bypass singular regions, future work should develop self-adaptive or dynamic loss-weighting mechanisms, such as learning rate annealing or residual-based attention, to automatically balance the severe gradient disparities near singular manifolds when dealing with harsher singular systems. Furthermore, since real-world marine ecosystems, like reef fish habitats, are inherently subject to stochastic environmental fluctuations and anthropogenic seasonal shifts, integrating our current deterministic 2D reaction–diffusion model into a stochastic partial differential equation framework solved via physics-informed generative adversarial networks represents a vital subsequent step. However, the reliance on a relatively brief temporal sequence for real-world fish population verification remains a bottleneck of the current stage of this work. To address this, as more extensive longitudinal ecological monitoring programs mature along the South Australian coast, we aim to extend the forecasting horizon by incorporating multi-year, high-frequency temporal data into the PINN–Adam framework, thereby allowing for a more rigorous assessment of the model’s long-term predictive stability. Lastly, to eliminate the need for retraining whenever initial spatial distributions change, future endeavors will focus on implementing advanced operator learning architectures such as Fourier neural operators or deep operator networks to learn the entire solution operator, thereby facilitating instantaneous, zero-shot ecological forecasting and real-time decision-making for wildlife conservation and marine resource management.