Abstract
Urban towns and smart city governments face increasing challenges in maintaining ecological balance as urbanization, industrial activity, and climate dynamics evolve. The degradation of ecological gardens, biodiversity parks, and waterways adversely affects ecosystem stability, air and water quality, and community well-being. Conventional urban ecological systems rely on reactive assessment methods that detect damage only after it occurs, leading to delayed interventions, higher maintenance costs, and irreversible environmental harm. This study introduces a Graph–Transformer Neural Network (GTNet) as a data-driven and predictive framework for sustainable urban ecological management. GTNet provides real-time estimation of smart city garden health, addressing the gap in proactive environmental monitoring. The model captures spatial relationships and contextual dependencies among multimodal environmental features using Dynamic Graph Convolutional Neural Network (DGCNN) and Vision Transformer (ViT) layers. The preprocessing pipeline integrates Principal Component Aggregation with Orthogonal Constraints (PCAOC) for dimensionality reduction, Weighted Cross-Variance Selection (WCVS) for feature relevance, and Selective Equilibrium Resampling (SER) for class balancing, ensuring robustness and interpretability across complex ecological datasets. Two new metrics, Contextual Consistency Score (CCS) and Complexity-Weighted Accuracy (CWA), are introduced to evaluate model reliability and performance under diverse environmental conditions. Experimental results on Melbourne’s multi-year urban garden datasets demonstrate that GTNet outperforms baseline models such as Predictive Clustering Trees, LSTM networks, and Random Forests, achieving an AUC of 98.9%, CCS of 0.94, and CWA of 0.96. GTNet’s scalability, predictive accuracy, and computational efficiency establish it as a powerful framework for AI-driven ecological governance. This research supports the transition of future smart cities from reactive to proactive, transparent, and sustainable environmental management.
Keywords:
ecological health forecasting; smart city gardens; graph–transformer neural network; AI-driven sustainability; urban biodiversity; real-time ecological monitoring MSC:
68T07; 68R10; 05C90; 62P12; 92D40
1. Introduction
Ecological forecasting is increasingly important for sustainable urban development [1]. Cities want green spaces to provide stability, biodiversity, and resilience. Ecological environment gardens maintain biodiversity, educate residents about environmental issues, and enhance the quality of life in smart cities. Keeping gardens healthy requires physical inspections and reactive care, which is time-consuming and difficult to address early indicators of imbalance [2]. Predictive analytics offered by AI modifies ecological forecasts, allowing data-driven garden management. Artificial intelligence (AI) technologies forecast ecological changes using real-time environmental data. Early intervention and resource management provide optimal garden maintenance [3].
AI improves urban garden ecological health management using machine learning techniques. These models analyze historical and current data, including air, water, soil, biodiversity, and climate trends [4]. Prediction models can uncover ecosystem resilience patterns and trends, helping smart city planners solve ecological issues. AI is helping cities identify and safeguard natural resources [5]. Smart technology can monitor city gardens, predict their demise, and provide alternatives. To improve the global environment, restore soil nutrients, reduce pollution, and use precision irrigation. Data-hungry environmental managers help with municipal maintenance, biodiversity, and sustainability. Due to meteorological data, historical environmental records, and Internet of Things (IoT) sensors, AI can regulate the environment. AI systems analyze air pollution, soil composition, temperature, and water quality to assess ecosystem health. New patterns of environmental stress are revealed by using predictive analytics on this kind of data, which is usually missed by conventional monitoring procedures.
An increase in pollutants, microbial diversity, or soil acidity suggest an ecological imbalance. The use of adaptive management strategies that account for weather and seasonal changes enhances urban ecosystems, according to city planners and garden managers [6]. Smart cities are employing AI ecological predictions to improve environmental governance transparency and participation. Environmental dashboards and simple prediction tools might benefit the public, academia, and government. Research suggests that openness improves collaborative decision-making, community accountability, and public participation [7,8]. Prediction systems usually employ shared observations to improve sensor data. Real-world settings are used to evaluate ecological conditions [9].
The use of AI in environmental management systems also takes ethics into account. Reducing algorithmic bias helps prediction models produce fair, accurate, and reliable ecological judgments. This stands out when data is scant or uneven. Public trust requires consistent privacy compliance and safe sensor data storage. The ethical use of AI requires equitable distribution of environmental benefits, unambiguous models, and verifiable reasoning, according to study [10]. An ethical basis for long-term growth is provided by ecological forecasting using AI if done appropriately. Combining accurate computer models with user input helps preserve urban green spaces. This work’s main contributions are as follows:
- 1.
- Developed GTNnet, a hybrid model using DGCNN and Vision Transformer (ViT) layers. This model predicts urban ecological health robustly.
- 2.
- Created the Contextual Consistency Score (CCS) and Complexity-Weighted Accuracy (CWA) to assess model reliability and prediction accuracy in complicated urban ecological datasets. These indicators allow for a fair and realistic evaluation of smart-city ecosystem ecological forecasts. The model’s contextual connection, reading consistency, and performance in different environments are measured.
- 3.
- Selective Equilibrium Resampling (SER) balances ecological categories to reduce data bias. WCVS finds the most important and statistically significant features. Methods increase dataset integrity, minimise noise, and diversify representations. This new preprocessing pipeline maintains context-relevant numbers and steady data, improving predictive model accuracy and consistency. Balance and redundancy are addressed simultaneously to provide high-quality ecological health data.
- 4.
- A novel real-time adaptable architecture, developed by GTNet, is designed for dynamic smart city contexts. It utilizes batch and delayed ecological models, which differ from those of GTNet. Municipal systems can quickly adapt to environmental changes due to their capacity to converge and absorb sensor data. From tiny garden microhabitats to large city-scale ecosystems, its modular and scalable design allows it to be used precisely and rapidly. A durable and scalable system design enables continuous ecological monitoring, intelligent city management, and informed policy decisions.
- 5.
- Incorporating AI into ecological management to make cities more sustainable, diversified, and connected to nature. The strategy helps build smart, ecologically friendly, and adaptable cities by enabling people to make data-driven choices, utilise resources efficiently, and monitor the environment. Technology and sustainability prepare cities for the future.
Article organization is as follows: The Section 2 offers a literature review on ecological health predictions and looks at how AI help with sustainable city planning. Predicting the ecological health of urban gardens is done using AI-driven approaches, and Section 3 explains the suggested model architecture. Section 4 showcases the outcomes of the simulation, which include assessments of performance and comparisons with current methods. In Section 5, the research comes to a close by offering suggestions for improving the model’s flexibility, scalability, and usefulness for future ecological health management systems in smart cities.
2. Related Work
Smart city construction involves data-driven decision-making, resilience to setbacks, and long-term profitability. Many towns use predictive analytics and AI to monitor and improve environmental health. Furthermore, it also manages oxygen and nitrogen cycles, restores wetlands, conservation gardens, and biodiversity corridors enhances urban ecosystems. To keep these areas healthy throughout a person’s life, they are monitored and treated often [11]. As it focuses on finding and repairing damage afterward, conventional research methods often fail. Analytical methods powered by AI have greatly improved the ability to identify and address environmental issues. Because of this, city planners can intervene now before the situation gets worse. Green infrastructure management is made more effective and sustainable with the help of AI frameworks, which improve forecasting and resource allocation. AI for environmental forecasting is in its infancy, according to recent research. To understand ecological dynamics, environmental prediction modelling is necessary, which is particularly relevant to urban gardening [12]. The complexity of pollution, climate change, and biodiversity loss is too great for old linear models to capture. In [13], PCTs can predict ecological changes by analysing historical data and current environmental conditions. However, these models typically fail in dynamic, data-driven, sensor-rich Internet of Things (IoT) networks. Municipal analysts lack environmental stress data because standard methodologies fail to describe urban ecosystems’ intricate feedback loops and interdependencies. Researchers are seeking hybrid AI systems that combine urban informatics and ecological modelling as innovative city technologies improve [14]. AI-based predictive analytics using satellite photographs, weather records, and sensor readings help maintain biodiversity and ecosystem resilience [15]. Models can detect minor changes in air and water quality, plant growth, and nutrient depletion. Digital tactics, such as citizen science platforms with game aspects, might attract locals for ecological monitoring [16]. Citizens can utilise free, open, collaborative, and resource-conserving technology to support smart cities.
Complex ecological interactions, particularly those that incorporate time and geography, can be modelled using neural networks. LSTM networks are often employed to forecast time-dependent environmental parameters due to their ability to anticipate past and future changes [17]. SVMs and RFs outperform regression-based methods for ecological prediction and classification. According to [18], ensemble learning enhances model resilience by combining approaches to improve generalisation and minimise overfitting. City-based sensors for urban ecological forecasting raise concerns about noise, incompleteness, and dispersion. Deep learning architectures allow researchers to see large datasets without preprocessing. According to [19], DNNs and hybrid convolutional-recurrent models can identify irregular links between environmental factors and human behaviour. Analytically strong yet computationally costly and occasionally ambiguous, these techniques are challenging to utilise in municipal environments that necessitate visible and energy-efficient solutions. Ecological variables and environmental links are better predicted using multi-target and multi-label models [20]. Improved PCT combines comparable features, simplifying reading and revealing environmental connections [21].
Ensemble approaches, such as Bagging and Random Forests, effectively manage variability in urban ecological datasets [22]. Models achieve stability by training several decision trees on different data subsets and combining their outputs, guaranteeing reliable results despite noise [23]. Social and demographic factors are increasingly affecting ecological results in cities, but current techniques seldom account for them. Population density, land use practices, and public participation alter ecosystem health; hence, predictive conclusions are often useless. Ecological modelling increasingly requires a socio-environmental perspective that considers urban sustainability’s human side. Discussing AI-driven ecological forecasts has focused on ethics, governance, and technology. Environmental data quality and availability vary by metropolitan region; therefore, prediction systems favour some over others. Research recommends including fairness, transparency, and accountability in the smart city project model design to increase public trust [24]. Improving AI models of urban ecology requires conscientious environmental management [25]. It is challenging for policymakers to incorporate technical advances into local projects due to their lack of understanding of deep learning models such as MLPs and DNNs [26].
As sensors and the Internet of Things (IoT) have improved their integration, the distance between them is getting shorter. Environmental sensors in parks, rivers, and green corridors gather data in real-time for adaptive AI systems. Early detection of issues like as pollution, nutrient deficiency, and biodiversity loss are facilitated using prediction algorithms [27]. The distinction between temporary and permanent changes in environmental health better understood with the use of historical data of biological cycles that span several decades [28]. Making models that are accurate, understandable, scalable, and context-aware is still a problem, even with recent advances. Decisions in complex urban ecosystems must be made in real-time, yet most existing frameworks put a premium on predicted accuracy at the expense of transparency and flexibility. Environmental, climatic, and socially-based integrated models should be the focus of future studies. City administrators are able to reduce their impact on the environment, improve resource use, and anticipate ecological hazards with the help of these types of technology. For long-term urban ecological forecasting, it is necessary to have AI solutions that are ethical, transparent, and effective, as shown in Table 1. The proposed approach is compared with other hybrid models in Table 2, which are quite comparable. This highlights the unique and innovative aspect of the proposed strategy.
Table 1.
Literature Review Summary.
Table 2.
Comparative Novelty Analysis of GTNet Against Hybrid Spatio-Temporal Models.
3. Problem Statement and Mathematical Formulation
Modern cities’ ecological demands from rapid industrialization, dense urbanization, and climate-induced oscillations endanger public gardens, biodiversity parks, and water ecosystems. Municipalities are increasingly employing IoT-based monitoring systems to collect environmental data, but most still use reactive inspection methods that only address degradation when symptoms appear [12,14,18]. The results of this reactive strategy include often postponed interventions, rising maintenance expenses, and irreparable biodiversity losses [15,19]. The environment’s resilience might be compromised if changes in air pollution, soil pH, or nutrient content are unnoticed until it reach harmful levels. Inefficiencies are caused by the fact that existing municipal frameworks do not use integrated intelligence to incorporate indications of air, soil, and water quality into a predictive system [16,17,32]. Smart cities are undergoing a transformation as a result of AI, which is allowing for data-driven ecological management that is proactive. Principal Component Trees and Random Forests are used for ecological classification in their early stages. LSTM networks and hybrid ML frameworks are applied to improve the accuracy of environmental time-series prediction [12,14,15,18]. However, when applied to increasingly complex ecological systems, these solutions continue to work only in certain places. Opportunities for pollution and health analytics are presented by federated and causal learning techniques, as shown by the privacy-preserving architecture in [32]. However, their practical scalability is hindered by their large communication costs and lack of unified spatial reasoning. It is mathematically expressing environmental relationships, as shown by recent graph-based models like ST-GPINN for water quality prediction [29], mSWE-GNN for flood modeling on several scales [30], and hybrid GCN-LSTM systems for transferring learning about air quality [33]. Unfortunately, these methods aren’t well-suited for use in urban areas, need a lot of processing power, and are still only applicable to certain regions. Ecological prediction systems as it now stand fail to provide a comprehensive, mathematically sound framework that models the interplay between factors in the atmosphere, water, and land, therefore failing to ensure interpretability, scalability, and responsiveness in real-time [19,20,22,23,25].
Ecological forecasting presents a constrained learning issue in the context of spatial-temporal data streams, according to mathematical analysis. The environmental indicators measured over time intervals make up the multi-modal feature-time matrix
, while the ecological health labels, typically categorized as healthy, moderate, degraded, or critical, are represented by . A nonlinear mapping can be learned using the equation below:
The ecological predictor is trained to reduce prediction error while maintaining contextual and temporal coherence, using parameters . The definition of joint optimization objective is as follows:
where is used to measure the prediction loss, such as cross-entropy. is used to penalize contextual inconsistencies among correlated ecological attributes, like air quality and biodiversity. is used to ensure that there are smooth temporal transitions. The weighting coefficients ( balance precision, contextual robustness, and temporal stability. For accurate ecological forecasting, smoothness and spatial–temporal continuity are needed since city data are noisy, partial, and nonstationary. A restricted minimization problem expresses this requirement:
where and ensure ecological smoothness and prevent overfitting to local perturbations, whereas and denote the spatial and temporal gradients of the model output, respectively. Restricting the minimization of ensures the accuracy of predictions and the structural integrity of learned ecological interactions in all locations and times.
This mathematical model is the foundation for the proposed Graph–Transformer Neural Network (GTNet). By merging transformer-based self-attention for temporal learning with dynamic graph convolution for spatial reasoning, GTNet is able to capture multi-domain ecological indicator interactions. In contrast to conventional models, GTNet demonstrates ecological interdependence via the use of adaptive graph connections. To help cities plan ahead for environmental degradation, distribute resources, and encourage sustainability in smart cities, GTNet offers a computationally efficient, interpretable, and stable framework for real-time ecological forecasting. This optimization of is done under specified constraints.
4. Proposed Methodology
This study introduces the Graph–Transformer Neural Network (GTNet), a novel spatio-temporal learning framework for predictive ecological health monitoring in smart-city gardens, to address the problems above. The proposed model considers soil quality, nutrient levels, air and water pollution indices, biodiversity patterns, and atmospheric changes simultaneously. GTNet uses Vision Transformer (ViT) layers and Dynamic Graph Convolutional Neural Networks (DGCNN). The pictorial view of the proposed framework is shown in Figure 1. The DGCNN branch learns how ecological parameters connect in space, whereas the ViT branch learns across time and environments. The dual-path design allows GTNet to recreate micro- and macro-scale changes in urban ecosystems. GTNet may also use real-time sensor readings and multi-year historical data to detect subtle ecological indicators, such as biodiversity loss or soil fertility degradation. Local authorities can act before environmental conditions worsen with this competence, which is excellent. PCAOC is a graph-aware dimensionality reduction method used in preprocessing. Critical multi-domain variable interdependencies are saved. While being simple, PCAOC preserves geographical links based on adjacency and reduces duplication. Smart cities may use GTNet’s scalable, context-aware, and robust ecological prediction framework for data-driven environmental governance, resource allocation, and sustainability.
Figure 1.
Proposed Smart city ecological health forecasting framework using GTNet.
4.1. Dataset Description
This study uses a publicly available ecological dataset from innovative urban garden zones in Melbourne, Australia, known for its diverse climate and sustainability-focused environmental laws. The dataset includes ecological indicators such as air quality, soil composition, water characteristics, temperature, humidity, and biodiversity. Hourly data from 2018 to 2024 enabled a long-term spatiotemporal investigation of the ecological health of urban green spaces. The dataset (Version 2.1, licensed under CC BY 4.0, available at [34]) was obtained from the Melbourne Urban Ecology Research Group on Kaggle and utilized consistently for analysis to ensure repeatability. The observations demonstrate environmental connections. Changes in soil nutrients, particle concentration, water oxygenation, and climate affect plant growth, microbial populations, and biodiversity. These aspects make Melbourne a suitable location to develop reliable smart-city ecological monitoring systems and to share the findings with other climatic zones with similar metropolitan features.
This study employed expert-validated judgment criteria to categorize ecological health in accordance with Australian urban ecosystem monitoring guidelines. To assess each area, air quality, soil nutrient levels, pH stability, water pollutants, oxygen content, and biological diversity were examined. According to the objective, scientifically established threshold values in these four categories, a site’s ecological state was classed as healthy, moderate, or deteriorating. This universal identifier makes it simpler to monitor the environment and predict its changes in smart-city gardens. Table 3 lists all variables in the dataset.
Table 3.
Dataset Features Overview.
4.2. Preprocessing Steps
Smart city ecological garden datasets were variable due to measurement scales, sensor drift, and transmission or maintenance issues that created data gaps. To train models with such heterogeneous input, a complete preprocessing framework is developed and applied. The pipeline obtained impressive results by structuring unified scaling, adaptive imputation, anomaly mitigation, categorical transformation, and stratified sampling [35]. To reduce noise susceptibility, maintain statistics, and converge the GTNet model during analysis and prediction, each step was enhanced. Another objective was accurate figures. Several ecological indicators include nutrient content, particle density, soil moisture, and air temperature. Consistent numbers were achieved using two-phase scaling. First, min-max rescaling is utilized for linear normalization:
Thus, and are the lowest and highest values of the parameter , respectively. This transformation limited all features to the interval , making it impossible for any one variable to dominate gradient optimization. The second step was standardizing characteristics that had a wide range of values or were biased by applying
where the mean are represented with symbol and the standard deviation is showed with . A more stable set of numbers and faster solution-finding were the results of standardizing the data to have a mean of 0 and a standard deviation of 1. In most cases, signal loss or calibration issues generate data gaps in ecological monitoring based on sensors. Moreover, symmetrical interpolation is used to ensure that the temporal patterns remain constant:
where corresponds to the temporal offset from the nearest valid readings. This interpolation ensured smooth temporal transitions and minimized disruptions caused by short-term data loss. For categorical variables, missing entries were estimated using their most frequent contextual category:
For each category , gives its recognition frequency. These imputation strategies preserved dataset structure and representativeness while assuring numerical and categorical consistency. Preprocessing maintained balance by representing numerical and qualitative attributes consistently. After finding multiple environmental data outliers, the Median Absolute Deviation (MAD) criteria were used. These strange events were often caused by sensor failure or weather changes.
with an observation classified as an anomaly when
The default value of the sensitivity coefficient is three and is denoted by , which controls detection rigor. Scientists replaced abnormalities with an average of neighboring valid data sets. This kept data steady and prevented rapid changes.
The area surrounding is represented by in both space and time. This method reduced unusual spikes while retaining context. Due to their greater sensitivity, environmental sensors miss minimal changes in the natural environment. Minor discrepancies were maintained when sending continuous signals using Gaussian smoothing:
In the notation ℓ, the window size is indicated, and represents the smoothness factor. Through this strategy, useless data was deleted, but essential ecological patterns for future predictions remained. A frequency-based method was employed to quantify qualitative features for objectivity. Environmental classification and pollutant level were considered.
The frequency of each variation is determined by the mathematical equation . The adjustment removed the one-hot encoding’s sparsity and retained categorical distribution statistical parity. To maintain parity across the classes throughout both the training and testing phases, stratified partitioning was used. By doing so, it ensured that all environmental advocacy entities had a suitable influence:
The total number of samples is M, and is the class in which there are samples. The model was not too constrained to the most prevalent ecological classes, and all ecological classes were fairly represented, due to this strategy. The revised variables were combined into one analytical matrix after normalisation, interpolation, and encoding.
The final number of feature variables is s, and the total number of spatial-temporal observations is r. Three further analytical modules, namely Selective Equilibrium Resampling (SER), Weighted Cross-Variance Selection (WCVS), and Principal Component Aggregation with Orthogonal Constraints (PCAOC), used the matrix that resulted from this processing. By ensuring that the numbers were consistent and improving the signal quality, these pretreatment techniques established a statistically sound foundation for using GTNet to generate reliable ecological predictions.
A mathematically solid method to express reliable ecological health inside the GTNet framework was established by the organised preprocessing pipeline shown in Algorithm 1. The pipeline improved the model’s learning efficiency, stabilised the model’s numbers, and standardised various forms of environmental input. As training progressed, it meticulously dealt with data anomalies such as outliers, missing values, and scale variation to guarantee that all features added up correctly. With a single, high-quality dataset produced during preprocessing, GTNet was able to enhance its ability to discover complex spatial-temporal correlations and provide reliable predictions about ecological health. To prevent data leakage, all preprocessing transformations are fit on the training data and then applied to the test data.
| Algorithm 1 Integrated Preprocessing Pipeline for Ecological Data Standardization. |
|
4.3. Processed Data Enhancement
Despite extensive preprocessing, the ecological dataset still exhibits significant class imbalance across target categories [36]. A novel method, termed Hybrid Data Balancing, is employed to represent classes more fairly and address the underlying imbalance. This adaptive method employs distance-based undersampling for dominant classes and interpolation-driven oversampling for minority classes to maintain the dataset varied and balanced. Fixing statistical skew while maintaining ecological variable linkages is a primary goal of statistical error correction (SER). Adaptive interpolation created minority sample synthetic batches. This ensured that the new data points were distributed similarly to the existing observations. To calculate each synthetic instance that matches a minority class sample, apply the following equation:
where represents a minority class original data object. Alternatively, indicates the minority distribution centre. As local data concentration increases, the random interpolation coefficient varies. Adaptive interpolation avoids large sample clusters around existing positions. It also spreads synthetic instances more evenly, geographically. Adjusting the training process improves dataset coverage and generalisation. A distance-based undersampling method reduced class dominance. This method only retains statistics that demonstrate class structural variety. It excludes samples that don’t increase class variance. This procedure selectively removes data points contributing the least to intra-class diversity, determined through the following criterion:
Pruning is determined by the adaptive threshold , the class centroid , and the majority class data instance . Remove points nearest to the centroid to maintain boundary information for classification and reduce repetition, making class distribution more equitable and informative. When class proportions are balanced, the feature space becomes more representative. Novel Weighted Cross-Variance Selection (WCVS) was used to make characteristics more meaningful. This paradigm measures feature significance using a composite significance-Variance (IV) metric that accounts for feature-target correlation and inherent variance. The selection rule is expressed as
The value represents the Pearson correlation coefficient between feature and target variable R. On the other hand, what does is evaluate the stability and predictive relevance of . The adaptive weighting factors and regulate the amount of correlation and information value that each one has. By using these coefficients, the information value can be determined. By giving more weight to characteristics with larger values, It can choose the ecological qualities having the greatest impact while minimizing overlap in an optimal subset. A novel framework for feature extraction called Principal Component Aggregation with Orthogonal Constraints (PCAOC) greatly simplified the process of dimension reduction and made the data more understandable. This method improves upon conventional Principal Component Analysis by using orthogonality constraints to clarify the process and ensure that feature components are unrelated to one another. The following equation, denoted as , is used to ascertain each primary component:
where represents chosen features, whereas represents their loadings. The orthogonality constraint ensures independent and non-multicollinear extracted components. This formulation maintains interpretability and preserves the underlying ecological structure while effectively minimizing redundant variance.
A dataset with optimal features, statistical balance, and structural coherence are produced by combining SER, WCVS, and PCAOC. This enhanced representation establishes a mathematically valid foundation for assessing ecological health and, as shown in Algorithm 2, makes the GTNet model more stable and reliable in generating predictions. Two key aspects that help integrate the ecological data set PCAOC, apart from standard PCA. To begin with, PCAOC aggregates data using graph-aware covariance, which accounts for the interrelationships among environmental indicators. This guarantees that the spatial-ecological connections are preserved throughout the projection process. In addition, component fusion uses an orthogonal constraint to maintain the independence of each aggregated dimension while simultaneously aggregating interdependent variables from air, soil, water, and biodiversity. This helps avoid repetition while retaining the clarity of the context. Experiments have proved the importance of PCAOC in GTNet: taking it out led to a 5.5% drop in accuracy, a 4.9% drop in AUC, and a 0.07–0.08 drop in contextual consistency metrics (CCS/CWA), meaning it is crucial for robust dimensionality reduction in complex ecological networks.
| Algorithm 2 Selective Equilibrium Resampling (SER), Weighted Cross-Variance Selection (WCVS), and PCAOC-Based Feature Extraction. |
|
4.4. Classification with Graph–Transformer Neural Network (GTNet) Architecture
An innovative deep learning model called the Graph–Transformer Neural Network (GTNet) combines transformer-driven environmental learning with graph-based reasoning to make ecological health predictions more accurate. The design as shown in Figure 2 combines Vision Transformer (ViT) [37] and Dynamic Graph Convolutional Neural Networks (DGCNN) [38] to identify the spatial and temporal-contextual relationships between ecological indicators. DGCNN builds real-time adjacency graphs for environmental variables, including temperature, air quality, and biodiversity. The model understands topological connection dynamics through this process. ViT uses multi-head self-attention to find feature importance across ecological dimensions and long-range contextual dependencies while keeping modest cross-domain linkages. Three main functional components make up GTNet. Unorganized environmental data are graphed using the Embedding and Graph Construction module. In the Transformer–Graph Fusion module, spatial embeddings and attention-driven contextual reasoning build semantically rich latent features. The Classification module organizes these integrated representations by ecological health. This makes multi-class predictions clear. GTN’s hybrid design integrates local spatial awareness with global contextual awareness, making it ideal for dynamic and data-intensive smart city ecosystems.
Figure 2.
GTNet Architecture.
4.4.1. Embedding and Graph Construction Module
Currently, this simplifies the raw ecological data inputs and generates an interactive graph that illustrates the manner in which attributes are interconnected across various locations and over time. The feature matrix is used to calculate ecological factors, including temperature, air quality, soil moisture, biodiversity indices, and temporal-spatial samples. Each observation-specific feature vector is analyzed using fully connected layers to get its embedded representation . This allows projection onto a d-dimensional homogeneous latent space. The change is formally stated as , where W and b are embedding layer parameters and is a nonlinear activation function similar to ReLU. Nodes represent ecological samples, whereas edges E reflect similarity-based linkages. These links are measured using cosine or geometric distance with the module. This paves the way for Transformer–Graph integration since GTNet can describe attribute interdependencies and adapt to shifting ecological patterns thanks to its adaptive graph architecture.
To create graphs, this embedding step transforms data into a more expressive domain. The connection strength between nodes u and v is represented by each element of a dynamic adjacency matrix , which is calculated using a Gaussian similarity function.
There is a stronger link between nodes with comparable embeddings because alters the distribution of connections. Graph convolution relies on this adjacency matrix to identify relationships between similar features.
4.4.2. Transformer–Graph Fusion Module
Find local and global data links with the help of the Transformer–Graph Fusion Module and multi-head self-attention via graph convolution. In order to update the node embeddings, the network convolution layer is instructed by the adjacency matrix to pool information from close nodes. The update task is
where represents node u’s neighbors, and are learnable weights, and represents feature representation at layer m. This phase lets each node acquire local structural information from related nodes.
After graph convolution, a Vision Transformer (ViT)-inspired Multi-Head Self-Attention Layer is used. Projecting each node embedding yields queries, keys, and values:
where , , and are learnable projection matrices for queries, keys, and values.
The attention score between nodes u and v is determined using the adjacency matrix to maintain network structure:
where the dimensionality of keys is denoted by . Values are changed for each node embedding according to the weighted sum:
Next, a feed-forward network (FFN) is used to normalize each node’s updated representation :
where and are the parameters of the FFN. Upgrading gradient flow and stability by including residual connections across layers:
An operation of one cycle in the Transformer–Graph Fusion layer is once finished. It is feasible to include additional layers in this layer to record intricate feature relationships.
4.4.3. Classification Module
The Classification Module makes the final prediction, which consolidates data from previous layers.
A Global Pooling Layer aggregates the final node embeddings across all nodes, resulting in a single vector representation for each sample:
Passing the pooled vector across fully linked layers activated by ReLU is the next step:
At last, the probability for every class k is generated by using the softmax function:
where and represent class k weights and biases.
The GTNet combines graph-based convolutions with transformer-based self-attention to identify geographic and contextual data correlations (see Algorithm 3). GTNet’s Embedding & Graph Construction Module, Transformer–Graph Fusion Module, and Classification Module provide a comprehensive framework for multi-class classification problems, capturing local and global relationships in data points.
Apart from newer hybrids like ST-GNN and GCN-LSTM, which integrate spatial and temporal learning, most models don’t incorporate both attention weights and graph topology. GTNet incorporates a hybrid attention mechanism that accounts for adjacency weights. Here, the transformer’s attention ratings are directly affected by the graph’s connectedness. Instead of being assessed independently, this allows geographical areas to impact contextual relevance. Not only that, but the bidirectional reinforcement provided by the dual-branch fusion layer allows for the enhancement of transformer reasoning via spatial embeddings from DGCNN and vice versa. This is why, unlike other GNN-Transformer models that rely solely on one-way representation flows, GTNet excels at capturing hierarchical eco-spatial patterns.
4.5. Hyperparameter Tuning Using Giant Trevally Optimization
Data preprocessing enabled the gradual recovery of lost data and ensured consistency in the number and class distributions. Using Giant Trevally Optimisation (GTO) for consistent and accelerated learning, this study used an 80:20 split for training and testing the suggested model. To evaluate the model’s efficacy, it was tested using both baseline and contextual ecological metrics. Criteria such as Accuracy, AUC, Precision, Recall, CWA, and CCS were considered. The findings were investigated, evaluated, and explained in detail to show that GTNet is strong, accurate, easy to use, and appropriate for real smart-city environmental monitoring. The whole simulation environment and the optimal method for setting hyperparameters are shown in Table 4. The time required to complete one epoch of full backpropagation on GPU hardware is known as the training time. The time it takes for Jetson Nano to create a single prediction is known as inference latency.
| Algorithm 3 Flow of GTNet Framework. |
|
Table 4.
Experimental Setup and Optimized Hyperparameters for GTNet Training.
A set of m potential solutions is first distributed at random over the search space. Each candidate is placed in a specific location by the hyperparameter bounds, which are the lower and higher limits and , respectively:
To ensure that the search domain is adequately covered, the symbol represents a uniform random vector that ranges from 0 to 1. Each contains information that is relevant to a potential set of GTNet parameters. Some of these parameters are; learning coefficient (), attention heads (), graph convolutional layers (ℓ), and internal channel width ().
The performance of each candidate is assessed through a composite fitness function , which integrates multiple evaluation criteria reflecting predictive accuracy and contextual reliability:
In this case, denotes the classification accuracy of the model, stands for the Complexity-Weighted Accuracy (CWA), and for the Contextual Consistency Score (CCS). The coefficients satisfy , ensuring balanced multi-objective optimization.
Individual and group experiences shape each candidate’s path, which will alter several times. At iteration , the new position of a candidate is expressed as
Specifically, represents the ideal position for a given candidate, and represents the optimal position that has been discovered so far. A stochastic perturbation matrix, which represents Ω, also mimic unpredictable changes in the surrounding environment or the trajectory of prey. Over time, the coefficients and vary, which in turn changes the behaviour of exploration (searching for new regions) and exploitation (enhancing existing large areas). The strength of random deviation is changed by the coefficient .
To regulate this balance, an adaptive weighting mechanism is defined as
The exponential decay rate is represented by , and the total number of iterations is denoted by . The swarm is motivated to investigate varied subregions in the early stages of the process because a greater value of improves broader search coverage. Increasingly, plays a guiding role in directing solutions toward the hyperparameter clusters that show the most significant promise as the process progresses. For convergence in multimodal search spaces, this exponential annealing of coefficients guarantees both global diversity and local intensification. An area of global fine-tuning or cooperative hunting begins to take shape as the swarm density increases and the convergence process continues. A mathematical representation of this stage, Trevallies geometrically circling their prey:
The contraction parameter reduces positional variance, while the Gaussian perturbation helps with periodicity and stops stagnation before it starts. The range [0,1] encompasses both of these factors. Association in this adjustment allows for fine-grained refinement around the global minimum by improving the exploitation around . This is achieved while retaining a certain level of inherent randomness. Until a convergence condition is met, the optimization operation must be continued. It happens when either the maximum iteration limit is achieved or the requirement , where is a tiny threshold constant, is satisfied by the fitness fluctuation between subsequent iterations. Hence, the optimal configuration is expressed in the following way:
The collection of hyperparameters that have the potential to act is . The structure of GTNet after optimization is as follows:
The symbol stands for the optimal learning coefficient, for the number of attention heads, for the depth of the graph convolutional layer, and for the best width of hidden channels. All three of these variables work together to improve GTNet’s convergence speed, context reflection, and generalization.
The Giant Trevally Optimization (GTO) method provides an adaptive hyperparameter tuning approach. As shown in Algorithm 4, this method employs search dynamics that are dependent on populations. It is easy to navigate nonconvex surfaces in high-dimensional optimization domains using this algorithm’s formulation, which combines stochastic exploration, cooperative exploitation, and exponential adaptation. To achieve stable and balanced search efficiency, GTO mimics the biological accuracy of coordinated predation. This allows the adjusted GTNet model to incur minimal processing cost while yet achieving excellent ecological inference accuracy.
| Algorithm 4 Adaptive GRO for GTNet Hyperparameter Tuning. |
|
4.6. Performance Evaluation Metrics
The performance of the proposed method, named GTNet, in ecological health is assessed through classification performance and whole model behaviour. The entire classification efficiency is measured using accuracy, precision, recall, and F1-score. Also, the Complexity-Weighted Accuracy (CWA) and Contextual Consistency Score (CCS) indicate the model’s stability and adaptation to varied ecological situations. This technique assesses the mathematical validity of expected resilience and interpretability. The percentage of correctly classified observations relative to the population is an accuracy metric. This benchmarks the prediction model performance. Precision determines a model’s false alarm accuracy, and the proportion of optimistic forecasts that were correct is shown. Recall calculates detection sensitivity by comparing true positives. Omission and commission challenges are balanced by the harmonic mean of recall and accuracy in the F1-score. Combine these standard measurements to show that GTNet can categorize several ecological types. To assess context stability, a novel metric is created, named Contextual Consistency Score (CCS). A consistent GTNet prediction in ecologically similar environments is the goal of this statistic. Thus, tiny environmental changes make misclassification less probable. The CCS is mathematically expressed as
The number of samples is given by P, the projected class labels for examples p and q are and , and the neighbourhood set containing comparable samples to p within a particular similarity threshold is . The indicator function is 1 when both samples are predicted to be in the same class. If not, it is zero. Averaging all sample neighbourhood measures for prediction coherence. Higher CCS values align the ecological feature space with context. Complexity-Weighted Accuracy (CWA) was utilized to assess prediction stability for complex and imbalanced ecological systems. This measure values uncommon or dynamic event prediction accuracy. It achieves this by weighting complexity by sample. The CWA is formulated as
A class label is marked by , whereas the predicted label for sample p is represented by . The predicted answer is 1 and 0. The complexity coefficient indicates the diversity of a class, event, or location. This ensures that precisely predicted hard or uncommon samples affect the dependability score more, demonstrating that the model can manage uneven or noisy ecological data distributions. The thorough and quantitative evaluation of everything is feasible using standard and bespoke measures. CCS and CWA measure stability, fairness, and resilience, whereas accuracy, precision, recall, and F1-score measure model prediction. GTNet’s two-level assessment methodology ensures precise and dependable real-time ecological monitoring and sustainable decision support in smart cities.
5. Simulation Results and Discussion
The GTNet model was tested and weather predicted using over 61,000 hourly urban smart vegetable garden readings. Soil, air, water, and biodiversity were among the crucial elements studied in these reports. Data preprocessing ensured that the number and class distributions were consistent and that missing data could be retrieved over time. This work used an 80:20 split for training and testing the proposed model, using Giant Trevally Optimisation (GTO) to provide consistent and expedited learning. The model used both standard and contextual ecological indicators to assess its performance. These were Accuracy, AUC, Precision, Recall, CWA, and CCS. The following results were thoroughly studied, examined, and elucidated to demonstrate that GTNet is robust, precise, user-friendly, and suitable for authentic smart-city ecological monitoring. Table 4 illustrates the whole simulation environment and the best technique to establish hyperparameters. Training time is the time required to execute full backpropagation on GPU hardware for one epoch. Inference latency is the time it takes to make a single prediction on a Jetson Nano.
The impact of environmental pollutants on soil moisture distribution is shown in Figure 3. The box plot shows that as pollution levels rise, soil moisture remains relatively constant. As a result, the soil’s ability to retain water is diminished. Soil degradation increases pollution levels while decreasing organic matter levels. The soil becomes less porous and less able to retain water as a result of both of these factors. Soil health is dependent on understanding how soil moisture affects plant growth and nutrient availability. These characteristics impact the rate of soil decomposition. The figure’s results further show the significance of the different soil moisture variations during the Environmental Indicators (EIs). It is necessary to assess soil conditions in polluted areas to improve the ecosystems there as well.
Figure 3.
Soil Moisture Distribution by Pollution Level.
The correlation between the average biodiversity index and water quality is seen in Figure 4. Many species rely on clean water, as seen in this bar graph. More species can call improved water quality home, as it enhances and diversifies habitats. Additionally, it provides environmental data to develop stronger regulations and safeguard ecosystems. The interdependence between biodiversity and ecological stability highlights the importance of clean water to ecosystem health. The land becomes more arable, the air becomes cleaner, and non-aquatic species and biodiversity benefit from water purification systems. It is critical to safeguard the ecosystem, water, and climate due to these interconnections. Additionally, this figure shows how important clean water is for outside habitats. Even small changes in water levels can significantly affect species diversity and ecosystem function in environmentally fragile areas. Managing pollution and preserving water are crucial for maintaining biodiversity in these delicate habitats. The health of people, businesses, and ecosystems depends on water that is free of contaminants.
Figure 4.
Average Biodiversity Index by Water Quality Level.
Variation in nutritional levels from one week to the next is shown in Figure 5. All ecological systems exhibit dynamic biochemical processes, as this shows. These kinds of alterations might be caused by changes in the nitrogen cycle, agricultural runoff, or the flow of fertiliser. Soil processes, biological absorption, and rainfall patterns are the main drivers of nutrient level fluctuations. These temporal differences also impact water availability and plant growth in ecosystems designed for urban gardening. Soil amendments, such as fertilisers or minerals, tend to produce nutrient peaks with very high values. To prevent eutrophication and poor water quality caused by nutrient oversaturation, it is essential to measure the frequency and magnitude of these changes. For ecological reasons, it is necessary to monitor the nutrient dynamics, as shown in the figure. Environmental planners and municipal authorities monitor these changes and devise rapid solutions to stabilise smart-city ecosystems, control nutrient levels, and preserve aquatic biodiversity.
Figure 5.
Weekly Variation of Nutrient Level.
Depending on ecological conditions, air quality might vary as described in Figure 6. By the stacked bar chart, locations with strong ecological health have great air quality, whereas those with high biocriticality have terrible air quality. The link between air quality and ecological health is drawing attention. The figure depicts how air pollution affects ecosystems. Environmental legislation and urban planning both benefit from this data. The results of this research could be helpful for decision-makers in prioritizing cleanup efforts in areas that are most at risk of environmental degradation.
Figure 6.
Air Quality Distribution by Ecological Health Label.
A correlation matrix utilizes every attribute in the dataset, as seen in Figure 7. The potential interplay of variables like soil moisture, nitrogen levels, and biodiversity in this matrix. Also, ecosystems with a lot of species tend to contain more nutrients than those with fewer species because of the high correlation between biodiversity and nutrient levels. Identifying characteristics that impact ecosystem health is the first step in using this matrix to select variables for prediction models. Learn about environmental aspects and make models using this figure. Estimates from ecological health assessments are also improved by revealing the interrelationships of various components.
Figure 7.
Correlation Matrix of All Features.
The imbalance between the Ecologically Healthy and Ecologically Critical categories of environmental health labels is seen in Figure 8, a pie chart. The number of Ecologically Healthy samples is an example of class imbalance in ecological datasets. Unbalanced prediction models are less accurate and fair. Thus, algorithms become biased against the majority class. Knowing this distribution for data balancing approaches improves model performance and accuracy across all ecological health categories.
Figure 8.
Distribution of Ecological Health Labels.
In contrast to popular feature selection methods such as Mutual Information, mRMR, ReliefF, and Permutation Importance, the novel Weighted Cross-Variance Selection (WCVS) method is shown in Table 5. All critical measures, such as Accuracy, AUC, CCS, and CWA, are best matched by WCVS. This shows that it improves contextual learning in GTNet while retaining ecologically significant and non-redundant information.
Table 5.
Comparison of WCVS with Standard Feature Selection Methods.
To gain insight into which features in the model are most predictive, the relevance of selected traits as features is shown sorted by decreasing order in Figure 9. In terms of their importance for model predictions, factors such as the Biodiversity Index and the Air Quality Index would be at the leading values, with PM2.5 and Soil pH. Feature ranking indicates which feature is most important in determining a model’s output, with lower-ranked features, such as Humidity and Soil Moisture, having less influence.
Figure 9.
Feature Importance of Selected Features in Descending Order.
The GTNet model’s learning process and its ability to generalise are illustrated in Figure 10. The model improves in accuracy for both the training and testing datasets with each training epoch, as shown in the figure. Over time, the curves converge to a 98% accuracy, demonstrating that the model is capable of learning intricate spatial and temporal correlations without succumbing to overfitting. Ecological data contain complex relationships, yet GTNet adapts to these interactions by steadily balancing the trade-off between accuracy and curve complexity. The model is actively learning to make connections that apply to new data, rather than just the patterns it was trained on. Using these patterns during training ensures the model converges and prevents overfitting or underfitting. Results from the balanced accuracy progression demonstrate the effectiveness of the framework’s preprocessing, optimisation, and resampling techniques. Prediction accuracy is crucial in ecological forecasting; GTNet has consistently shown both accuracy and adaptability in urban environments.
Figure 10.
Train vs. Test Accuracy Over Epochs.
The loss values for both the training and test datasets vary across repetitions, as shown in Figure 11. These graphs show that over time, the model improves at making predictions. Since both losses decrease rapidly after the first training period, it is clear that GTNet is efficient and has excellent gradient propagation. Training and validation losses are 0.18% and 0.12%, respectively, as the model converges with time. The network’s ability to accurately generalise to new data without overfitting is shown by the close proximity of the two curves. For ecological health prediction, the suggested learning approach finds a happy medium between precision, stability, and convergence speed. Reducing loss throughout iterations is made easier by GTNet’s resilience and efficient parameter adjustment. When it is making fewer errors in its predictions, the model is learning at a rapid pace. Test loss changes mirror data pattern changes, indicating model stability. Lined train and test loss curves show that the model balanced training and validation. This reduces overfitting. Models must be consistent across datasets and have low error rates for predictive applications.
Figure 11.
Train vs. Test Loss Over Epochs.
The suggested Selective Equilibrium Resampling (SER) method is compared with popular oversampling methods, including SMOTE, ADASYN, and random over- and undersampling, in Table 6. SER outperforms all other evaluation metrics, with the most notable improvements shown in AUC, CCS, and CWA. This demonstrates that it outperforms GTNet in maintaining the spatial-temporal correlations crucial to its predictive learning while also achieving a more balanced distribution of ecological classes.
Table 6.
Comparison of SER with Standard Oversampling Methods.
The ablation tests in Table 7 demonstrate GTNet’s uniqueness and significance. Model success requires preprocessing. The approach uses PCAOC, SER, and WCVS. Although CCS and CWA had losses of over 0.15%, accuracy dropped from 98.8% to 85.4%. Feature aggregation and selective resampling are essential for ecological datasets with class imbalances. These statistically stable approaches allow the predictive framework to make reliable predictions in many scenarios. Experimental ablation showed that removing the adjacency-weighted fusion module or using DGCNN or ViT reduced contextual coherence and prediction accuracy. This drop indicates that graph-based spatial reasoning and transformer-driven contextual attention power GTNet. Hybrid integration simplifies the model and improves space-time responsiveness. It also exposes ecological relationships that one-module systems ignore. GTNet is well-suited for real-time smart-city ecological forecasting due to its accuracy, stability, and computational efficiency. These findings characterize PCAOC as a graph-aware orthogonal fusion approach that significantly improves GTNet’s contextual learning capabilities, not a PCA module.
Table 7.
GTNet Ablation Study on the Melbourne Garden Dataset = change vs. baseline.
The ROC curves for several machine learning models and the proposed Graph–Transformer Neural Network (GTNet) are shown in Figure 12. Each graph compares the model’s true positive rate against its false positive rate, and the area under the curve (AUC) illustrates how well the model performs. The GTNet model outperformed the other models, with an area under the curve (AUC) of 0.98, compared to 0.85–0.91 for the other models. It appears that GTNet can distinguish between clusters of robust ecosystems, as evidenced by its high AUC. Environmental monitoring leverages this performance advantage to rapidly and accurately assess the environment, enabling it to address concerns. GTNet is highly sensitive and specific, as evidenced by its high AUC, suggesting fewer classification errors. To avoid significant resource misallocation or delays in treatment caused by ecological misclassification, this competence is crucial.
Figure 12.
ROC Curve Comparison for Proposed and Existing Methods. Different colors shows different methods.
The resilience of GTNet is evaluated in Table 8 against controlled data disturbances, including deliberate missing values and Gaussian noise. Despite a 20% interruption level, GTNet remained stable. Accuracy loss is less than 2%, and contextual measures such as CCS and CWA showed shifts of less than 0.02. GTNet predicts with low ambiguity; decision limitations are independent of input quality. The stability and entropy indices () incorporate it. Performance dropped significantly compared to established baselines such as LSTMs, PCTs, and Random Forests, with accuracy and contextual reliability decreasing by 6–9% under similar perturbations. GTNet is more resilient since it adapts to missing or noisy input data while maintaining feature connections. Hierarchical attention fusion and graph transformer design enable this. Despite ambiguity, sensor failures, and missing data, GTNet achieves high CCS and CWA values across all test conditions, demonstrating its predictive accuracy. GTNet’s resilience demonstrates its mathematical soundness, data-imperfection stability, and smart-city ecological monitoring efficacy. GTNet is durable beyond preprocessing. Edge-weight updates lessen the effect of noisy or failing sensor nodes in the dynamic graph design. When sensors fail, the transformer attention module modifies feature contribution weights to reduce network noise and mistakes.
Table 8.
Robustness Analysis of GTNet and Baseline Models Under Increasing Noise and Missing Data Ratios (0%, 10%, 20%).
In Table 9, the GTNet model is compared to traditional classification approaches for ecological health categorization and predictive analytics. The table displays AUC, recall, specificity, accuracy, precision, contextual consistency, and other scores. Every statistic proves the models can distinguish ecological health. It also demonstrates that GTNet (Proposed) outperforms its competitors in almost all areas. GTNet’s AUC of 98.9% and specificity of 98.5% demonstrate its ability to distinguish ecological health. The model can detect complex and connected scenarios due to its high CWA (0.96) and CCS (0.94) scores. These findings demonstrate that GTNet makes more consistent and context-based ecological health forecasts than other analytical techniques. Other methods, such as Hybrid Machine Learning and Predictive Clustering Trees (PCTs), perform well with general metrics, but not with CWA and CCS. It lacks context flexibility and accuracy. Random Forests and LSTM Networks struggle with complexity- and consistency-based accuracy. Both are crucial for assessing ecosystem health under changing conditions.
Table 9.
Performance Comparison of GTNet with Recent State-of-the-Art Models (2024–2025).
Model execution times are compared in Table 10. For each model, it gives median, maximum, minimum, range, standard deviation, and mean. It is no surprise that the GTNet model (Proposed) is the best and runs faster than many others. Since GTNet works in 50.5 s and 19.6 s, it is trustworthy. It is crucial to process swiftly to make real-time ecological health classification determinations. The results show that Bagging and Random Forests are slower, have larger ranges, and exhibit higher standard deviations compared to other learning algorithms. These features significantly reduce productivity. A stable and efficient GTNet is better for real-time ecological health classification.
Table 10.
Execution Time Comparison of GTNet and Baseline Models (Jetson Nano Deployment).
The model that sorts the ecological health’s uncertainty matrix can be seen in Figure 13. This matrix shows the model’s prognosis for environmentally healthy, stable, degraded, and critical goals. Columns indicate how many incidents were correctly and incorrectly classified. Diagonal cells reveal accurate label predictions as true positives. To demonstrate the model’s accuracy, off-diagonal cells were designed to catch false positives and negatives below 4. The model performs well with high true positive rates across all labels and low misclassifications for environmentally degraded and essential categories. The sensitivity and accuracy of the model in differentiating between different ecological conditions are determined with the use of this matrix. The model identified environmentally sensitive regions with low misclassification rates, a finding that is particularly useful in the real world, as accurate predictions inform people’s resource consumption and environmental impact. The model’s low error rate makes it effective in environmental management situations. For reliable forecasts, GTNet examines data about the surrounding environment. This rapid assessment of ecosystem health helps authorities identify and resolve escalating environmental issues. This prevents minor problems from becoming major ecological disasters.
Figure 13.
Confusion Matrix for Ecological Health Labels.
The findings of the interpretability investigation using the SHAP framework are shown in Figure 14. These results highlight the key environmental elements that affect GTNet’s evaluations of ecological health. Biodiversity Index (0.91), PM2.5 concentration (0.87), and Soil pH (0.84) had the highest average SHAP values, presenting a significant effect on model output. Moreover, the Water Quality Index and Air Quality Index prove that GTNet can record connected ecological events. GTNet can locate and analyse complicated connections between air composition, soil chemistry, biodiversity, and other environmental parameters to determine ecosystem health. In addition to BOD, COD, and TDS, SHAP incorporates some uncommon chemical properties. Metabolic changes impair ecological stability and the model. The interpretability research shows that GTNet can reliably predict ecological health outcomes and provide a clear framework that ties its conclusions to real environmental processes by merging data-driven inference with ecological reasoning. GTNet allocates its resources evenly among numerous interrelated characteristics rather than focusing on one dominant variable, according to this mathematically correct weighting method. As attributes change, SHAP becomes less critical. GTNet is a lightweight analytical framework that reveals complex urban ecological connections in this interpretability research. GTNet became a prediction model after this effort.
Figure 14.
Top fifteen ecological drivers derived from SHAP analysis.
The significance tests for GTNet in Table 11 all show high self-comparison p-values ranging from 0.978 to 0.984. It shows that the network is consistent and has slight fold variation. Statistics show that the model performs the same across all validation splits. Parametric or not, all baseline methods had p-values much below 0.05. GTNet’s performance improvements are significant. All pairwise comparisons have Cohen’s d greater than 3.5. It realized the change was essential. The size of this impact shows that GTNet theoretically and empirically predicts the environmental consequences of complex ecological health interactions better than competing methods. By analysing the discrepancies between extreme p-values, GTNet reduces bias and volatility, leading to more precise predictions. Statistical confidence and quantitative performance are two areas where GTN often outperforms competing frameworks during validation sessions. GTNet regularly and reliably produces ecosystem health estimates in dynamic and intelligent contexts. The interior is highly reliable, it comes in a variety of models, and the impact size is higher.
Table 11.
Parametric and Nonparametric Statistical Significance Tests Comparing GTNet with Baseline Models.
Post hoc significance testing was carried out in the Friedman analysis with the use of the Emenyi and Holm modifications. Test results in Table 12 show that GTNet outperformed. In all paired experiments, GTNet outperformed other models with a mean rank difference () of 7.4 to 9.8. GTNet showed significant improvement with adjusted p-values () below the significance threshold of . Many adjustments haven’t affected GTNet’s increased performance. GTNet performed well in both experiments despite the Holm post-hoc adjustment’s more conservative significant results compared to the Nemenyi approach. As evidenced by this model’s consistent dominance, its precise mathematical architecture and strong statistical principles provide it predictive strength as well as random fluctuation. GTNet is better at generalisation, context adaption, and stability than other models. It is suitable for ever-changing smart-city situations because of its accuracy across ecological datasets. Parametric and nonparametric significance tests that prove GTNet works in pairs. These findings show that GTNet is a novel framework with significant technical capabilities and a reliable ecological forecasting tool that helps urban ecosystems achieve resilience and sustainability.
Table 12.
Post-hoc Pairwise Significance Comparison Between GTNet and Baseline Models (Nemenyi and Holm Corrections).
Other ecological health categorization models are compared to GTNet (Proposed Method) in Table 13. GTNet demonstrates data balance, dataset size, feature selection, temporal pattern management, classification type, performance measures, handling of missing data, and flexibility. Managing complex and imbalanced ecological health data is an excellent fit for GTNet’s strengths in data balancing, feature selection, and complex temporal pattern interpretation. Because it is adaptable and can classify objects into more than one category, it can determine the exact ecological health class in various environmental conditions. PCTs and SVMs lack the flexibility and temporal processing necessary to deal with dynamic environmental data effectively. Random Forests and Bagging do not provide the same flexibility or data balance as GTNet, and also provide multi-class variation and temporal control. LSTM and DNN are adaptable; however, they also lack the missing data management and robust feature selection capabilities of GTNet.
Table 13.
Comparative Capability Analysis of GTNet and State-of-the-Art Ecological Forecasting Models.
The Table 14 shows a complete statistical analysis of how GTNet behaves across folds. The Stability Index, , shows that data convergence is almost the same across all separate data sets. The correctness of the validation is 98.81% on average, and the standard deviation is only 0.11 percent. Low variance and entropy show that there isn’t a lot of random doubt. The statistical confidence interval for changes to the model is relatively narrow. It can be shown that the residual propagation is asymmetrical from the bias index . To measure the consistency of the predictions over folds, the reliability coefficient is used. This ensures that estimation errors are evenly distributed rather than concentrated in a single spot. The model is stable and not overfitting, as shown by the generalization entropy , which is comparable to the Shannon entropy. During all confirmation segments, CCS = 0.941 and CWA = 0.959 stay the same. GTNet can keep its context recognition function even when the biology or time environment changes. GTNet’s mathematically robust and statistically recurrent learning path offers highly consistent context and precise predictions. Its minimum bias, excellent reliability, and narrow range of entropy allow large-scale spatiotemporal biological systems to be optimized confidently. This guarantees the environment’s data divisions’ functionality.
Table 14.
Comprehensive Statistical Evaluation of K-Fold Cross-Validation for GTNet.
Figure 15 displays GTNet’s hyperparameter sensitivity analysis. The model remains robust despite changes in learning rate, attention heads, graph depth, batch size, and training epochs. Accuracy, CCS, and CWA performance variations remain between ±2–3 percentage points. This indicates sustained learning. Due to convergence instability, only extremely high or low learning rates decrease performance. The -versus-default trend indicates optimal performance with to learning rate, 6–10 attention heads, 4–8 graph convolution layers, 32–96 batch sizes, and 30–40 epochs. These settings are contextually stable and consistently exceed 98% accuracy. Despite changes in processing restrictions, the adjacency-weighted Graph–Transformer architecture with GTO-driven hyperparameter optimization performs well. Thus, GTNet can be employed in many real-world ecological monitoring settings without requiring many parameter changes.
Figure 15.
Hyperparameter sensitivity of GTNet showing changes in Accuracy, CCS, and CWA relative to the default configuration across core training and architectural parameters.
GTO outperforms earlier metaheuristics by 9–18% in optimization efficiency between 2024 and 2025, as shown in Table 15. The shorter length and fewer fitness evaluations show a better balance between exploration and exploitation. GTO converges consistently and is the best option for modifying GTNet, with the highest accuracy (98.8%) and the lowest fluctuation (0.14%).
Table 15.
Hyperparameter optimization efficiency comparison of GTO against recent metaheuristics (2024–2025). Efficiency gains reflect faster convergence, lower computational cost, and improved tuning stability. Best values are highlighted in bold.
Even in the absence of abundant data, GTNet remains stable, as shown by the sensitivity analysis in Figure 16. Due to the linear relationship between the model’s accuracy, F1-score, and area under the curve (AUC), it can train well with partial data. GTNet’s integrated graph–transformer design uses hierarchical attention fusion to remember the current context. In the absence of sufficient data, other ecological forecasting models become inaccurate. The gradual decrease in entropy and the consistent increase in CCS and CWA scores facilitate this by contributing to more precise predictions. The ability of GTNet to generalize from incomplete or restricted data sets while preserving context is one of its strongest features. Due to its extended lifespan, it finds practical application in ecological systems used by smart cities in the real world. Environmental planning and adaptable city management rely on accurate forecasts, yet data gathering in these systems is spotty at best.
Figure 16.
GTNet performance sensitivity to varying data volumes.
A configuration as shown in Table 16 was used in real-world edge AI systems for intelligent ecological monitoring; the NVIDIA Jetson Nano was used to test latency. GTNet can provide predictions very quickly, with an inference latency of just 78.4 ms. Due to their more involved attention and graph-propagation procedures, most alternative methods still take longer than 100 ms.
Table 16.
Computational Efficiency Analysis of GTNet vs. State-of-the-Art Methods (Measured on NVIDIA Jetson Nano).
To help improve predictions, Figure 17 shows how the GTNet model ranked worldwide SHAP features, with an emphasis on the top 10 ecological indicators. Current knowledge of environmental health is derived from studies on the subject, and its most significant influencing factors include the Biodiversity Index, the Air Quality Index, and PM2.5. For plant life and microecosystem stability, soil moisture, dissolved oxygen, and nutrient levels are crucial. In addition to influencing the dynamics of sustainable development, water and soil pH impact the stability of living things. Factors that make certain places more vulnerable to pollution-induced stress include chemical oxygen demand and humidity. The figure demonstrates that GTNet effectively simulates the interplay among air, soil, and water domains, and that its logic is consistent with how ecosystems function in the real world. In addition to improving the model’s interpretability, these results show that, instead of random correlations, predictions are based on features of significant scientific importance.
Figure 17.
Top-ranked SHAP feature importance for GTNet predictions.
The multi-regional performance of GTNet was evaluated using data collected from smart gardens in Adelaide, Brisbane, and Sydney. The weather in these cities could be mild, humid subtropical, or Mediterranean. The system can accommodate a wide range of biological patterns, soil dynamics, and urban topologies. According to Table 17, the average performance reduction was just 1.3–1.5% when contrasted with Melbourne. The ability to train GTNet once and then use it across different temperature zones is clearly demonstrated.
Table 17.
Cross-City Generalization and Climate Adaptability Evaluation of GTNet.
5.1. Case Study and SHAP-Based Interpretability
To get a deeper insight into GTNet’s behavior beyond aggregate measures, a case study was conducted on two typical samples. Although one sample was accurately labeled as Ecologically Critical, the other was mislabeled; it was really Moderately Stable, but the prediction changed to Degraded. Determining the extent to which each ecological aspect influenced the final choice was achieved using the SHAP-based strategy shown in Figure 14. For the Ecologically Critical scenario that was successfully identified, GTNet showed strong positive SHAP values for the Biodiversity Index, PM2.5 concentration, Soil pH, and Water Quality Index. Several factors contributed to the model’s inclination toward the critical class, including elevated PM2.5 levels, little biodiversity, soil acidity, and inadequate water quality. This provides further evidence that GTNet is not dependent on a single dominant factor but consistently integrates multiple stressors to identify highly sensitive locations. The graph–transformer fusion’s intended design, the aggregation of signals that are geographically and temporally connected into a coherent ecological risk profile, is reflected in the combination of air, soil, and water indicators.
A decision-shift away from the correct label was caused in large part by a short-term increase in PM2.5 and a temporary decline in water quality, as shown by the SHAP decomposition in the misclassified Moderately Stable case. The declining air quality had a far greater beneficial impact than the Biodiversity Index or nutrient-related variables (such as nitrogen and phosphorus levels), even though they remained within stable-condition limits. While other indicators remain relatively consistent, this pattern suggests that GTNet is particularly susceptible to unexpected atmospheric anomalies and may give greater weight to recent air-related disruptions. To further decrease vulnerability to short-lived oscillations, these situations stimulate future modifications using uncertainty-aware modules or temporal smoothing. Moreover, the case study shows that ecological interactions with physical meaning, rather than just combinations of obtuse features, drive GTNet’s predictions. The SHAP profiles make it easier to understand and make informed decisions about smart-city ecological monitoring by showing how factors such as biodiversity, soil chemistry, hydrological conditions, and air quality interact to affect the model’s output.
While previous methods, such as ST-GNN and GCN-LSTM, separated attention calculation from graph structure, GTNet makes this connection very evident. Maintaining consistency in physical ecological interactions stabilizes predictions and prevents attention responses from becoming spatially incoherent by ensuring that context relevance remains in line.
5.2. Practical Implications
Intelligent, data-driven, future-oriented environmental management may be within reach with the aid of the GTNet design for smart city planners. With GTNet, individuals may make choices before the situation worsens. Environmental engineers and policymakers may use the model’s geographical and temporal learning capabilities to identify patterns and threats. By detecting pollution, nutritional imbalances, and biodiversity loss early, local governments can prevent calamities. By integrating air pollution, soil fertility, water chemistry, and biological diversity, GTNet provides a more complete picture of urban ecosystems. The lives of aquatic plants and animals are greatly affected by shifts in PM2.5 levels, seasonal temperature changes, and soil acidity. Using this data, this work can predict how effective it will be at watering plants, providing fertilizer, and regulating pollution. By maintaining environmentally friendly infrastructure for an extended period, communities can save money, safeguard ecosystem health, and conserve resources.
The framework is considered integrated when other smart city technologies use Internet-of-Things-based environmental sensors. These instruments enable the measurement of oxygen and water levels, soil pH, and plant and animal biodiversity in green spaces. GTNet’s adaptable architecture enables real-time data processing by cloud servers and edge nodes. By entrusting the storage of sensitive data to individual districts, federated implementation enhances the strategy. Alerts and dashboards allow city managers to monitor events as they happen. As a result, they have access to more data and can respond to environmental changes more quickly. In addition to increasing the reliability of predictions, GTNet makes government operations more open and honest. The SHAP explainable AI module, which is based on interpretability, shows the relative importance of several contextual elements for each choice. Interactions between citizens and government officials foster more trust when both parties are forthcoming with information. Using this strategy, any bias in ecological evaluations caused by differences in sensor location or areas is eliminated or significantly reduced. It is morally and ethically correct to base judgments on data privacy and governance principles [18,24,25]. In ways that benefit society, GTNet employs cutting-edge AI technology. Transparency, participation, and predictive power are infused into environmental monitoring. Smart, equitable, and environmentally friendly cities of the future will be built on this foundation.
6. Conclusions
Smart city ecosystem management and supervision are the goals of GTNet, a deep learning approach introduced in this article. To determine the interrelationships among air, soil, water, and biodiversity, an analytical model takes a holistic approach. GTNet’s hybrid design allows it to monitor changes and predict problems. The model uses DGCNN and ViT layers to demonstrate how ecological elements link in context and place. When complex, nonlinear relationships exist, traditional ecological forecasting approaches fail. However, the hybrid system handles these issues adequately. This helps the system determine environmental health more accurately and reliably. After running the preprocessing sequence that includes SER, WCVS, and PCAOC, the data will be more accurately represented, the dimensionality will be reduced, and the feature relevance will be increased. As a result of these enhancements, GTNet is now more robust and easier to understand, and it can consistently and clearly conclude a wide variety of ecological information. The consistency of the setting and the accuracy of the predictions were evaluated using two separate metrics. A few of these metrics are CCS and CWA. With a 98.8% accuracy and a 98.9% area under the curve (AUC), the datasets analyzed from Melbourne’s urban gardens across several years showed outstanding prediction ability. Compared to both deep learning and traditional machine learning techniques, this yielded better results. GTNet’s modular dual-branch design makes it easy to incorporate new modalities, such as UAV and satellite images, by merely adjusting the fusion and classification layers. There is no need to retrain the whole system. This makes it easier to scale up for different types of ecological monitoring.
In applied settings, GTNet can be embedded into municipal monitoring infrastructures and IoT-enabled sensor networks to support real-time ecological assessment and early-warning systems. Future developments include federated ecological modelling for intercity collaboration, transfer learning for cross-regional adaptation, and multimodal sensing that integrates aerial, satellite, and ground-level observations. These directions will enhance GTNet’s scalability and applicability for sustainable urban ecosystem management and data-driven environmental policy design.
Funding
This study is supported via funding from Prince Sattam bin Abdulaziz University project number (PSAU/2025/R/1447).
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
The data presented in this study are openly available at Kaggle https://doi.org/10.34740/KAGGLE/DSV/9840251, [34].
Conflicts of Interest
The author declares no conflicts of interest.
Abbreviations
The following abbreviations are used in this manuscript:
| AI | Artificial Intelligence |
| AUC | Area Under the Curve |
| CCS | Contextual Consistency Score |
| CWA | Complexity-Weighted Accuracy |
| DGCNN | Dynamic Graph Convolutional Neural Network |
| FFN | Feed-Forward Network |
| GTO | Giant Trevally Optimization |
| GTNet | Graph–Transformer Neural Network |
| MAD | Median Absolute Deviation |
| ML | Machine Learning |
| MLP | Multilayer Perceptron |
| PCAOC | Principal Component Aggregation with Orthogonal Constraints |
| PCT | Predictive Clustering Tree |
| PM2.5 | Particulate Matter with aerodynamic diameter ≤ 2.5 micro meter |
| ReLU | Rectified Linear Unit |
| RF | Random Forest |
| SER | Selective Equilibrium Resampling |
| SVM | Support Vector Machine |
| ViT | Vision Transformer |
| WCVS | Weighted Cross-Variance Selection |
| ANOVA | Analysis of Variance |
| DO | Dissolved Oxygen |
| COD | Chemical Oxygen Demand |
| BOD | Biochemical Oxygen Demand |
| TDS | Total Dissolved Solids |
| RMSE | Root Mean Square Error |
| SD | Standard Deviation |
References
- Bibri, S.E.; Krogstie, J.; Kaboli, A.; Alahi, A. Smarter eco-cities and their leading-edge artificial intelligence of things solutions for environmental sustainability: A comprehensive systematic review. Environ. Sci. Ecotechnol. 2024, 19, 100330. [Google Scholar] [CrossRef] [Scilit]
- Tapia, C.; Randall, L.; Wang, S.; Borges, L.A. Monitoring the contribution of urban agriculture to urban sustainability: An indicator-based framework. Sustain. Cities Soc. 2021, 74, 103130. [Google Scholar] [CrossRef] [Scilit]
- Patil, V.; Patil, J.; Kadam, A.; Patil, A.R.; Mokashi, D.; Lonare, G.M. AI-driven green space optimization for sustainable urban parks: Enhancing biodiversity and resource efficiency. Libr. Prog. Int. 2024, 44, 3412–3417. [Google Scholar]
- Kafy, A.A.; Saha, M.; Rahaman, Z.A.; Rahman, M.T.; Liu, D.; Fattah, M.A.; Ahasan, M.A.K. Predicting the impacts of land use/land cover changes on seasonal urban thermal characteristics using machine learning algorithms. Build. Environ. 2022, 217, 109066. [Google Scholar] [CrossRef] [Scilit]
- Gkontzis, A.F.; Kotsiantis, S.; Feretzakis, G.; Verykios, V.S. Enhancing urban resilience: Smart city data analyses, forecasts, and digital twin techniques at the neighborhood level. Future Internet 2024, 16, 47. [Google Scholar] [CrossRef] [Scilit]
- Alharbi, H.A.; Aldossary, M. Energy-efficient edge–fog–cloud architecture for IoT-based smart agriculture environment. IEEE Access 2021, 9, 110480–110492. [Google Scholar] [CrossRef] [Scilit]
- Eakin, H.; Keele, S.; Lueck, V. Uncomfortable knowledge: Mechanisms of urban development in adaptation governance. World Dev. 2022, 159, 106056. [Google Scholar] [CrossRef] [Scilit]
- Delshad, A.B. Community gardens: An investment in social cohesion, public health, economic sustainability, and the urban environment. Urban For. Urban Green. 2022, 70, 127549. [Google Scholar] [CrossRef] [Scilit]
- Hui, C.X.; Dan, G.; Alamri, S.; Toghraie, D. Greening smart cities: An investigation of the integration of urban natural resources and smart city technologies for promoting environmental sustainability. Sustain. Cities Soc. 2023, 99, 104985. [Google Scholar] [CrossRef] [Scilit]
- Sopiana, Y.; Harahap, M.A.K. Sustainable urban planning: A holistic approach to balancing environmental conservation, economic development, and social well-being. West Sci. Interdiscip. Stud. 2023, 1, 43–53. [Google Scholar] [CrossRef] [Scilit]
- Al-Raeei, M. The smart future for sustainable development: Artificial intelligence solutions for sustainable urbanization. Sustain. Dev. 2025, 33, 508–517. [Google Scholar] [CrossRef] [Scilit]
- Ben Abdallah, E.; Grati, R.; Boukadi, K. Towards an explainable irrigation scheduling approach by predicting soil moisture and evapotranspiration via multi-target regression. J. Ambient Intell. Smart Environ. 2023, 15, 89–110. [Google Scholar] [CrossRef] [Scilit]
- Talukdar, S.; Khatun, R.; Pal, S. Wetland habitat health condition modeling using ensemble machine learning algorithms. In Water Resource Management in Climate Change Scenario: Innovations in Geospatial Techniques and Models; Springer Nature: Cham, Switzerland, 2024; pp. 35–57. [Google Scholar]
- Ma, Y.; Hu, Y.; Moncrieff, G.R.; Slingsby, J.A.; Wilson, A.M.; Maitner, B.; Zhou, R.Z. Forecasting vegetation dynamics in an open ecosystem by integrating deep learning and environmental variables. Int. J. Appl. Earth Obs. Geoinf. 2022, 114, 103060. [Google Scholar] [CrossRef] [Scilit]
- Aldossary, M.; Almutairi, J.; Alzamil, I. Federated LeViT–ResUNet for scalable and privacy-preserving agricultural monitoring using drone and Internet of Things data. Agronomy 2025, 15, 928. [Google Scholar] [CrossRef] [Scilit]
- Shao, Z.; Ahmad, M.N.; Javed, A. Comparison of random forest and XGBoost classifiers using integrated optical and SAR features for mapping urban impervious surface. Remote Sens. 2024, 16, 665. [Google Scholar] [CrossRef] [Scilit]
- Clark, M.; Pienkowski, T.; Jagadish, A.; Archibald, C.L.; Gelcich, S.; Govan, H.; Mills, M. Forecasting adoption with epidemiological models can enable adaptively scaling out conservation. One Earth 2024, 7, 1820–1832. [Google Scholar] [CrossRef] [Scilit]
- Sanchez, T.W.; Brenman, M.; Ye, X. The ethical concerns of artificial intelligence in urban planning. J. Am. Plan. Assoc. 2024, 90, 294–307. [Google Scholar] [CrossRef] [Scilit]
- Aldossary, M. Q-MobiGraphNet: Quantum-inspired multimodal IoT and UAV data fusion for coastal vulnerability and solar farm resilience. Mathematics 2025, 13, 3051. [Google Scholar] [CrossRef] [Scilit]
- Abbood, M.M. Investigation of IoT and Deep Learning Techniques Integration for Smart City Applications. Am. J. Comput. Eng. 2025, 8, 57–68. [Google Scholar] [CrossRef] [Scilit]
- Bitala, W.; Johnima, A.; Junta, U.; Browndi, I. Predictive analysis towards integration of urban planning and GIS to manage health care organization. Int. J. Sci. Adv. Technol. 2022, 36, 81–87. [Google Scholar]
- Dai, W.; Jin, H.; Liu, T.; Jin, G.; Zhang, Y.; Zhou, Z. Applying ensemble learning in ecophysiological models to predict spring phenology. For. Ecol. Manag. 2022, 505, 119911. [Google Scholar] [CrossRef] [Scilit]
- Wang, T. Improved random forest classification model combined with C5.0 algorithm for vegetation feature analysis in non-agricultural environments. Sci. Rep. 2024, 14, 10367. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Mabon, L.; Shih, W.Y.; Jou, S.C. Integration of knowledge systems in urban farming initiatives: Insight from Taipei Garden City. Sustain. Sci. 2023, 18, 857–875. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Chan, K.Y.; Abu-Salih, B.; Qaddoura, R.; Ala’M, A.Z.; Palade, V.; Pham, D.S.; Muhammad, K. Deep neural networks in the cloud: Review, applications, challenges and research directions. Neurocomputing 2023, 545, 126327. [Google Scholar] [CrossRef] [Scilit]
- Aldossary, M.; Alharbi, H.A.; Anwar Ul Hassan, C. Internet of Things (IoT)-enabled machine learning models for efficient monitoring of smart agriculture. IEEE Access 2024, 12, 75718–75734. [Google Scholar] [CrossRef] [Scilit]
- Malik, I.; Khattak, W.A. Enhancing urban health: Machine learning applications in environmental management. Int. J. Sustain. Infrastruct. Cities Soc. 2023, 8, 1–21. [Google Scholar]
- Jin, T.; Liang, F.; Dong, X.; Cao, X. Research on land resource management integrated with support vector machine—Based on the perspective of green innovation. Resour. Policy 2023, 86, 104180. [Google Scholar] [CrossRef] [Scilit]
- Mu, T.; Duan, F.; Ning, B.; Zhou, B.; Liu, J.; Huang, M. ST-GPINN: A spatio-temporal graph physics-informed neural network for enhanced water quality prediction in water distribution systems. npj Clean Water 2025, 8, 74. [Google Scholar] [CrossRef] [Scilit]
- Bentivoglio, R.; Isufi, E.; Jonkman, S.N.; Taormina, R. Multi-scale hydraulic graph neural networks for flood modelling. Nat. Hazards Earth Syst. Sci. 2025, 25, 335–351. [Google Scholar] [CrossRef] [Scilit]
- Akkala, A.; Boubrahimi, S.F.; Hamdi, S.M.; Hosseinzadeh, P.; Nassar, A. Spatio-temporal graph neural networks for streamflow prediction in the Upper Colorado Basin. Hydrology 2025, 12, 60. [Google Scholar] [CrossRef] [Scilit]
- Beriwal, S.; Ayeelyan, J. Decoding pollution: A federated learning-based pollution prediction study with health ramifications using causal inferences. Electronics 2025, 14, 350. [Google Scholar] [PubMed]
- Raj, S.; Smith, J.; Hayes, E. Hybrid graph convolutional LSTM model for spatio-temporal air quality transfer learning. Air Qual. Atmos. Health 2025, 18, 1425–1445. [Google Scholar]
- Laoshi. Ecological Health Dataset [Data Set]; Kaggle: San Francisco, CA, USA, 2024. [Google Scholar] [CrossRef]
- Mishra, P.; Biancolillo, A.; Roger, J.M.; Marini, F.; Rutledge, D.N. New data preprocessing trends based on ensemble of multiple preprocessing techniques. TrAC Trends Anal. Chem. 2020, 132, 116045. [Google Scholar] [CrossRef] [Scilit]
- Maharana, K.; Mondal, S.; Nemade, B. A review: Data pre-processing and data augmentation techniques. Glob. Transit. Proc. 2022, 3, 91–99. [Google Scholar]
- Chen, Y.; Xu, Y.; Xing, Y.; Liu, G. DGCNN network architecture with densely connected point pairs in multiscale local regions for ALS point cloud classification. IEEE Geosci. Remote Sens. Lett. 2021, 19, 1–5. [Google Scholar] [CrossRef] [Scilit]
- Liu, Y.; Zhang, Y.; Wang, Y.; Hou, F.; Yuan, J.; Tian, J.; He, Z. A survey of visual transformers. IEEE Trans. Neural Netw. Learn. Syst. 2023, 35, 7478–7498. [Google Scholar]
- Sun, C.; Zhang, H.; Li, Y.; Wang, Q.; Chen, B. Graph Neural Network-Based Short-Term Load Forecasting: GLFN-TC. Big Data Res. 2024, 12, 100078. [Google Scholar]
- Wu, X.; Zhang, Y.; Zhao, L.; Huang, H.; Liu, Z. Pre-training Enhanced Spatio-Temporal Graph Neural Networks for Influent Water Quality and Flow Rate Forecasting. Sci. Total Environ. 2024, 937, 173783. [Google Scholar]
- Li, P.; Chen, X.; Feng, Z.; Yu, L.; Zhao, G. HydroNet: A Spatio-temporal Graph Neural Network for Urban Water Depth Prediction. In Proceedings of the ACM International Conference on Information and Knowledge Management (CIKM), Birmingham, UK, 21–25 October 2024; pp. 2212–2221. [Google Scholar]
- Akkala, A.; Filali Boubrahimi, S.; Hamdi, S.; Hosseinzadeh, P.; Nassar, A. Improved Streamflow Forecasting Through SWE-Augmented Spatio-Temporal Graph Neural Networks. Hydrology 2025, 12, 268. [Google Scholar]
- Wu, X.; Chen, M.; Zhu, T.; Chen, D.; Xiong, J. Pre-Training Enhanced Spatio-Temporal Graph Neural Network for Predicting Influent Water Quality and Flow Rate of Wastewater Treatment Plants: Improvement of Forecast Accuracy and Analysis of Related Factors. Sci. Total Environ. 2024, 951, 175411. [Google Scholar]
- Han, X.; Li, J.; Wang, Z.; Ma, H.; Chen, Y. A Multi-Task Time Series Forecasting Model Based on Graph Neural Networks. Entropy 2023, 25, 1136. [Google Scholar] [CrossRef] [Scilit]
- Cini, A.; Gama, J.; Rizzo, G.; Marcheggiani, N.; Wetterer, C. Graph Deep Learning for Time Series Forecasting. ACM Trans. Knowl. Discov. Data 2025, in press. [Google Scholar]
- Li, P.; Zhu, Z. STGCN-WQ: A New Spatio-Temporal Graph Convolutional Network for Predicting Beach Water Quality. Environ. Model. Softw. 2025, 195, 106731. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
















