Submitted:
22 April 2026
Posted:
23 April 2026
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Related Works
3. Materials and Methods
3.1. Hardware Platform for Environmental Data Collection
3.2. Neural Network Architecture
Temporal Node Encoder
Graph Convolutional Module
Spatio-Temporal Fusion in Latent Space
Temporal Decoding and MLP Projection
Loss Function
Denoising Training Strategy
| Algorithm 1 Structured Node-wise Temporal Masking | |
|
3.3. Dataset Preprocessing
GRU-D Imputation and Time-Dependent Baseline
4. Experimental Results
5. Discussion
6. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| IoT | Internet of Things |
| WSN | Wireless Sensor Network |
| LPWAN | Low-Power Wide-Area Network |
| LoRaWAN | Long Range Wide-Area Network |
| RH | Relative Humidity |
| ML | Machine Learning |
| GNN | Graph Neural Network |
| STGNN | Spatio-Temporal Graph Neural Network |
| STGCN | Spatio-Temporal Graph Convolutional Network |
| DCRNN | Diffusion Convolutional Recurrent Neural Network |
| STGMAE | Spatio-Temporal Graph Masked Autoencoder |
| GRU | Gated Recurrent Unit |
| GRU-D | Gated Recurrent Unit with Decay |
| LSTM | Long Short-Term Memory |
| MLP | Multi-Layer Perceptron |
| MAE | Mean Absolute Error |
| SHT3x | Sensirion Temperature and Humidity Sensor Series |
| CdS | Cadmium Sulfide |
| ISM | Industrial, Scientific and Medical |
| MCU | Microcontroller Unit |
| ReLU | Rectified Linear Unit |
| AE | Autoencoder |
| DAE | Denoising Autoencoder |
References
- Wolfert, S.; Ge, L.; Verdouw, C.; Bogaardt, M.J. Agricultural systems 2017, 153, 69–80. [CrossRef]
- Rouxinol, M.I.; Martins, M.R.; Barroso, J.M.; Rato, A.E. Wine grapes ripening: A review on climate effect and analytical approach to increase wine quality. Applied Biosciences 2023, 2, 347–372. [CrossRef]
- Mowla, M.N.; Mowla, N.; Shah, A.F.M.S.; Rabie, K.M.; Shongwe, T. Internet of Things and Wireless Sensor Networks for Smart Agriculture Applications: A Survey. IEEE Access 2023, 11, 145813–145852. [CrossRef]
- Mansouri, T.; Sadeghi Moghadam, M.R.; Monshizadeh, F.; Zareravasan, A. IoT data quality issues and potential solutions: a literature review. The Computer Journal 2023, 66, 615–625. [CrossRef]
- Decorte, T.; Mortier, S.; Lembrechts, J.J.; Meysman, F.J.; Latré, S.; Mannens, E.; Verdonck, T. Missing value imputation of wireless sensor data for environmental monitoring. Sensors 2024, 24, 2416. [CrossRef]
- Choi, C.; Jung, H.; Cho, J. An ensemble method for missing data of environmental sensor considering univariate and multivariate characteristics. Sensors 2021, 21, 7595. [CrossRef]
- Cappelli, I.; Parri, L.; Tani, M.; Vignoli, V.; Fort, A. Pervasive Monitoring in the Context of Precision Agriculture: Using Low-Cost LDR Sensors for Solar Intensity Measurement. In Proceedings of the 2024 IEEE International Instrumentation and Measurement Technology Conference (I2MTC), 2024, pp. 1–6. [CrossRef]
- Yu, B.; Yin, H.; Zhu, Z. Spatio-Temporal Graph Convolutional Networks: A Deep Learning Framework for Traffic Forecasting. In Proceedings of the IJCAI, 2018. [CrossRef]
- Li, Y.; Yu, R.; Shahabi, C.; Liu, Y. Diffusion Convolutional Recurrent Neural Network: Data-Driven Traffic Forecasting. In Proceedings of the ICLR, 2018. [CrossRef]
- Wu, Z.; Pan, S.; Long, G.; Jiang, J.; Zhang, C. Graph WaveNet for Deep Spatial-Temporal Graph Modeling. In Proceedings of the IJCAI, 2019. [CrossRef]
- Longa, A.; Lachi, V.; Santin, G.; Bianchini, M.; Lepri, B.; Lio, P.; Scarselli, F.; Passerini, A. Graph neural networks for temporal graphs: State of the art, open challenges, and opportunities. arXiv preprint arXiv:2302.01018 2023. [CrossRef]
- Chabalala, V.; Rudolph, C.; Mosala, K.; Nkadimeng, E.K.; Mosomane, C.; Mathaha, T.; Basu, P.; Mahboob, M.A.; Kong, J.; Bragazzi, N.; et al. Spatiotemporal Graph Neural Networks for PM 2.5 Concentration Forecasting. Air 2026, 4, 2. [CrossRef]
- Pan, Z.; Xu, L.; Chen, N. Combining graph neural network and convolutional LSTM network for multistep soil moisture spatiotemporal prediction. Journal of Hydrology 2025, 651, 132572. [CrossRef]
- Tuo, Y.; Wirthensohn, M.; Disse, M. Spatio-Temporal Graph Neural Networks for Soil Moisture Drought Forecasting: Adaptability, Predictability, and Interpretability. In Proceedings of the AGU Fall Meeting Abstracts, 2023, Vol. 2023, AGU Fall Meeting Abstracts, pp. H43J–2219.
- 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. [CrossRef]
- Feng, J.; Sha, H.; Ding, Y.; Yan, L.; Yu, Z. Graph convolution based spatial-temporal attention LSTM model for flood forecasting. In Proceedings of the 2022 International Joint Conference on Neural Networks (IJCNN). IEEE, 2022, pp. 1–8. [CrossRef]
- Costanti, F.; Cappelli, I.; Ceroni, E.G.; Bianchini, M.; Fort, A. Foliar Wetness Prediction Using Sensor Network Data and WaveNet-Based Deep Learning Models. In Proceedings of the 2025 IEEE International Conference on Metrology for eXtended Reality, Artificial Intelligence and Neural Engineering (MetroXRAINE), 2025, pp. 1036–1041. [CrossRef]
- He, K.; Chen, X.; Xie, S.; Li, Y.; Dollár, P.; Girshick, R. Masked autoencoders are scalable vision learners. In Proceedings of the Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 2022, pp. 16000–16009. [CrossRef]
- Feichtenhofer, C.; Li, Y.; He, K.; et al. Masked autoencoders as spatiotemporal learners. Advances in neural information processing systems 2022, 35, 35946–35958. [CrossRef]
- Jin, G.; Liang, Y.; Fang, Y.; Shao, Z.; Huang, J.; Zhang, J.; Zheng, Y. Spatio-temporal graph neural networks for predictive learning in urban computing: A survey. IEEE transactions on knowledge and data engineering 2023, 36, 5388–5408. [CrossRef]
- Zhang, Q.; Gao, X.; Wang, H.; Huang, D.; Yiu, S.M.; Yin, H. HGAurban: Heterogeneous Graph Autoencoding for Urban Spatial-Temporal Learning. In Proceedings of the Proceedings of the 34th ACM International Conference on Information and Knowledge Management, 2025, pp. 4139–4148. [CrossRef]
- Zhao, F.; Cao, X.; Zhao, J.; Duan, Y.; Yang, X.; Zhang, X. Masked graph autoencoder-based multi-agent dynamic relational inference model for trajectory prediction. Neurocomputing 2025, 634, 129922. [CrossRef]
- Costanti, F.; Cappelli, I.; Fort, A.; Ceroni, E.G.; Bianchini, M. LSTM-based Siamese Networks for Fault Detection in Meteorological Time Series Data. In Proceedings of the 2024 IEEE International Conference on Metrology for eXtended Reality, Artificial Intelligence and Neural Engineering (MetroXRAINE), 2024, pp. 906–911. [CrossRef]
- Che, Z.; Purushotham, S.; Cho, K.; Sontag, D.; Liu, Y. Recurrent neural networks for multivariate time series with missing values. Scientific reports 2018, 8, 6085. [CrossRef]
- Tang, H.; Yang, H.; Zhang, W. DAHG: A Dynamic Augmented Heterogeneous Graph Framework for Precipitation Forecasting with Incomplete Data. Information 2025, 16, 946. [CrossRef]
- Sasal, L.; Busby, D.; Hadid, A. Tempokgat: A novel graph attention network approach for temporal graph analysis. In Proceedings of the International Conference on Neural Information Processing. Springer, 2024, pp. 212–226. [CrossRef]
- Dimitri, G.M.; Cappelli, I.; Scarselli, F.; Fort, A.; Gori, M. Graph Neural Networks for Missing Data Imputation in Time Series from Meteorological Sensors. In Proceedings of the 2024 IEEE International Conference on Metrology for eXtended Reality, Artificial Intelligence and Neural Engineering (MetroXRAINE), 2024, pp. 1242–1247. [CrossRef]
- Chung, J.; Gulcehre, C.; Cho, K.; Bengio, Y. Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modeling. arXiv preprint arXiv:1412.3555 2014. [CrossRef]
- Hamilton, W.; Ying, Z.; Leskovec, J. Inductive representation learning on large graphs. Advances in neural information processing systems 2017, 30. [CrossRef]
- Lence, A.; Granese, F.; Fall, A.; Hanczar, B.; Salem, J.E.; Zucker, J.D.; Prifti, E. ECGrecover: a deep learning approach for electrocardiogram signal completion. In Proceedings of the Proceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining V. 1, 2025, pp. 2359–2370. [CrossRef]
- Liang, Y.; Zhang, Y.; Chen, F.; Lu, J.; Lin, Z. Decoding Speech Envelopes from Electroencephalogram with a Contrastive Pearson Correlation Coefficient Loss. arXiv preprint arXiv:2601.20542 2026. [CrossRef]
- Akiba, T.; Sano, S.; Yanase, T.; Ohta, T.; Koyama, M. Optuna: A next-generation hyperparameter optimization framework. In Proceedings of the Proceedings of the 25th ACM SIGKDD international conference on knowledge discovery & data mining, 2019, pp. 2623–2631. [CrossRef]







| Parameter | Value |
|---|---|
| latent space dimension | 128 |
| layers of GRU | 2 |
| layers of GNN | 2 |
| drop out | 0.0 |
| learning rate | |
| batch size | 32 |
| loss weight () | 0.6 |
| Sensor | Window length (L) | Reconstruction Loss (mean ± std) |
|---|---|---|
| Temperature | 36 (3 h) | 0.0020 ± 0.0002 |
| Temperature | 144 (12 h) | 0.0082 ± 0.0003 |
| Humidity | 36 (3 h) | 0.0024 ± 0.0002 |
| Humidity | 144 (12 h) | 0.0121 ± 0.0004 |
| Temperature | Humidity | ||||||
|---|---|---|---|---|---|---|---|
| Window L | Noise p | Loss | MAE [°C] | Window L | Noise p | Loss | MAE [%] |
| 0.1 | 0.002 | 0.018 | 0.1 | 0.003 | 0.074 | ||
| 0.3 | 0.003 | 0.022 | 0.3 | 0.005 | 0.095 | ||
| 36 | 0.5 | 0.002 | 0.028 | 36 | 0.5 | 0.002 | 0.122 |
| 0.7 | 0.008 | 0.042 | 0.7 | 0.011 | 0.169 | ||
| 0.9 | 0.027 | 0.133 | 0.9 | 0.031 | 0.425 | ||
| 0.1 | 0.008 | 0.099 | 0.1 | 0.011 | 0.432 | ||
| 0.3 | 0.008 | 0.101 | 0.3 | 0.011 | 0.437 | ||
| 144 | 0.5 | 0.002 | 0.104 | 144 | 0.5 | 0.012 | 0.448 |
| 0.7 | 0.009 | 0.115 | 0.7 | 0.013 | 0.484 | ||
| 0.9 | 0.021 | 0.226 | 0.9 | 0.025 | 0.783 | ||
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. |
© 2026 by the authors. 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.