Advanced Groundwater Level Forecasting using QSO-based Vision Transformer Model for Sustainable Water Resource Management
DOI:
https://doi.org/10.31436/iiumej.v27i1.3830Keywords:
Quokka Swarm Optimization, Vision Transformer, Southern African groundwater datasets, Deep Belief Networks, High-dimensional input data, Water ResourcesAbstract
The reliable predictions of groundwater levels are crucial for long-term management of water resources, and they are an excellent source for human well-being. While conventional ML approaches work well for low-dimensional data, they are optimized for hyperparameters on high-dimensional inputs and also capture complex temporal correlations. To address these restrictions, this research presents a new framework for predicting groundwater-level changes up to five months in advance, built on the Vision Transformer (ViT) and optimised with Quokka Swarm Optimisation (QSO). ViT enables strong global feature extraction and long-range dependency modelling by processing time-series data as sequential image-like patches, in contrast to traditional neural networks. Drawing on quokka’s adaptive survival behaviour, the QSO procedure optimises the transformer's hyperparameters, such as patch size, attention heads, and depth, in real time to enhance prediction accuracy. The ViT+QSO outperformed baseline deep learning methods on groundwater datasets from Southern Africa in terms of RMSE, MAE, correlation coefficient (R), and Nash-Sutcliffe Efficiency (NSE). Quantile regression uncertainty quantification further improves the model's reliability for water resource planning. Hydrological variables, in addition to climate indices, influence groundwater fluctuations, as confirmed by ablation research. The proposed ViT-QSO achieved 93% R and 0.118 MAE, whereas the basic ViT achieved only 89.1% R and 0.152 MAE for groundwater-level prediction. Scalability, interpretability, and suitability for areas with limited monitoring infrastructure are hallmarks of the proposed methodology. This research provides valuable insights into how to better withstand the effects of climate change, in addition to human activities, on groundwater supplies.
ABSTRAK: Ramalan paras air bawah tanah yang boleh dipercayai adalah penting bagi pengurusan jangka panjang sumber air dan kesejahteraan manusia; namun, pendekatan pembelajaran mesin konvensional berhadapan kekangan pengendalian input berdimensi tinggi serta model korelasi temporal kompleks. Kajian ini mencadangkan satu rangka kerja baharu berasaskan Pengubah Visi (ViT) yang dioptimum menggunakan Optimisasi Kawanan Quokka (QSO) dalam meramal perubahan paras air bawah tanah pada lima bulan lebih awal. ViT memproses data siri masa sebagai tampalan jujukan menyerupai imej bagi membolehkan pengekstrakan ciri global dan model kebergantungan jarak jauh, manakala QSO mengoptimumkan hiperparameter pengubah secara adaptif dalam meningkatkan ketepatan ramalan. Model ViT-QSO menunjukkan prestasi unggul berbanding kaedah pembelajaran mendalam asas pada set data air bawah tanah di Afrika Selatan, dengan peningkatan ketara dari segi RMSE, MAE, pekali korelasi (R), dan Kecekapan Nash–Sutcliffe (NSE), serta mencapai nilai R sebanyak 93% dan MAE 0.118 berbanding ViT asas masing-masing mencatatkan 89.1% dan 0.152. Pengkuantitian ketidakpastian melalui regresi kuantil meningkatkan kebolehpercayaan model bagi perancangan sumber air, manakala kajian ablasi mengesahkan peranan pembolehubah hidrologi dan indeks iklim terhadap turun naik paras air bawah tanah. Secara keseluruhan, metodologi yang dicadangkan adalah berskala, boleh ditafsir, dan sesuai pada kawasan infrastruktur pemantauan terhad, serta memberikan sumbangan penting dalam menangani kesan perubahan iklim dan aktiviti manusia terhadap sumber air bawah tanah.
Downloads
Metrics
References
Pourmorad S, Kabolizade M, Dimuccio LA (2024). Artificial Intelligence Advancements for Accurate Groundwater Level Modelling: An Updated Synthesis and Review. Applied Sciences, 14(16):7358. https://doi.org/10.3390/app14167358
Azizi E, Yosefvand F, Yaghoubi B, Izadbakhsh MA, Shabanlou S (2024). Prediction of groundwater level using GMDH artificial neural network based on climate change scenarios. Applied Water Science, 14(4):77. https://doi.org/10.1007/s13201-024-02089-3
Nourani V, Ghaffari A, Behfar N, Foroumandi E, Zeinali A, Ke CQ, Sankaran A (2024). Spatiotemporal assessment of groundwater quality and quantity using geostatistical and ensemble artificial intelligence tools. Journal of Environmental Management, 355:120495. https://doi.org/10.1016/j.jenvman.2023.120495
Shahbazi M, Zarei H, Solgi A (2024). A new approach in using the GRACE satellite data and artificial intelligence models for modeling and predicting the groundwater level (case study: Aspas aquifer in Southern Iran). Environmental Earth Sciences, 83(8):240. https://doi.org/10.1007/s12665-024-11440-8
Osman AIA, Latif SD, Boo KBW, Ahmed AN, Huang YF, El-Shafie A (2024). Advanced machine learning algorithm to predict the implication of climate change on groundwater level for protecting aquifer from depletion. Groundwater for Sustainable Development, 25:101152. https://doi.org/10.1016/j.gsd.2023.101152
Mirboluki A, Mehraein M, Kisi O, Kuriqi A, Barati R (2024). Groundwater level estimation using improved deep learning and soft computing methods. Earth Science Informatics, 17(3):2587–2608. https://doi.org/10.1007/s12145-024-01117-4
Kerebih MS, Keshari AK (2024). Prediction of groundwater level using artificial neural network as an alternative approach: a comparison assessment with numerical groundwater flow model. Hydrological Sciences Journal, 69(13):1691–1701. https://doi.org/10.1080/02626667.2024.2349123
Singh A, Patel S, Bhadani V, Kumar V, Gaurav K (2024). AutoML-GWL: automated machine learning model for the prediction of groundwater level. Engineering Applications of Artificial Intelligence, 127:107405. https://doi.org/10.1016/j.engappai.2023.107405
Mirzania E, Achite M, Elshaboury N, Katipo?lu OM, Saroughi M (2024). Prediction of monthly groundwater level using a new hybrid intelligent approach in the Tabriz plain, Iran. Neural Computing and Applications, 36(20):12609–12624. https://doi.org/10.1007/s00521-023-08941-5
Yi S, Kondolf GM, Sandoval Solis S, Dale L (2024). Groundwater Level forecasting using machine learning: a case study of the Baekje Weir in Four Major Rivers Project, South Korea. Water Resources Research, 60(5):e2022WR032779. https://doi.org/10.1029/2022WR032779
Boo KBW, El-Shafie A, Othman F, Khan MMH, Birima AH, Ahmed AN (2024). Groundwater level forecasting with machine learning models: A review. Water Research, 252:121249. https://doi.org/10.1016/j.watres.2022.121249
Saadatmand E, Komasi M (2024). A hybrid ensemble learning wavelet-GARCH-based artificial intelligence approach for streamflow and groundwater level forecasting at Silakhor plain, Iran. Environmental Earth Sciences, 83(3):109. https://doi.org/10.1007/s12665-024-11303-2
Igwebuike N, Ajayi M, Okolie C, Kanyerere T, Halihan T (2025). Application of machine learning and deep learning for predicting groundwater levels in the west coast aquifer system, South Africa. Earth Science Informatics, 18(1):1–18. https://doi.org/10.1007/s12145-024-01168-7
Rajeev A, Shah R, Shah P, Shah M, Nanavaty R (2025). The potential of big data and machine learning for ground water quality assessment and prediction. Archives of Computational Methods in Engineering, 32(2):927–941. https://doi.org/10.1007/s11831-023-09893-4
Heidarian P, Antezana Lopez FP, Tan Y, Firozjaee SF, Oscori Marca ME, Zhou G, Shahbazi R (2024). Deep Learning-Enhanced InSAR for Spatiotemporal Groundwater Monitoring at Persepolis and Naqsh-E Rostam UNESCO Sites. SSRN Electronic Journal. https://doi.org/10.2139/ssrn.5138590
Karimi H, Sahour S, Khanbeyki M, Gholami V, Sahour H, Shahabi-Ghahfarokhi S, Mohammadi M (2025). Enhancing groundwater quality prediction through ensemble machine learning techniques. Environmental Monitoring and Assessment, 197(1):1–25. https://doi.org/10.1007/s10661-024-12091-2
Ding Y, Lü H, Xu L, Horton R, Jiang M, Zhu Y, Su J (2025). Estimating the groundwater table threshold for mitigating soil salinization in the Songnen Plain of China. Journal of Hydrology: Regional Studies, 59:102326. https://doi.org/10.1016/j.ejrh.2024.102326
Saqr AM, Kartal V, Karakoyun E, Abd-Elmaboud ME (2025). Improving the accuracy of groundwater level forecasting by coupling ensemble machine learning model and Coronavirus Herd Immunity Optimizer. Water Resources Management, 39(3):1–28. https://doi.org/10.1007/s11269-024-03639-6
Wang F, Han L, Liu L, Wei Y, Guo X (2025). Prediction of Groundwater Level Based on the Integration of Electromagnetic Induction, Satellite Data, and Artificial Intelligent. Remote Sensing, 17(2):210. https://doi.org/10.3390/rs17020210
AL-Kubaisy WJ, AL-Khateeb B (2024). Quokka swarm optimization: A new nature-inspired metaheuristic optimization algorithm. Journal of Intelligent Systems, 33(1):20240051. https://doi.org/10.1515/jisys-2024-0051
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 IIUM Press

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.








