Milad Barzegar , Saba Gharehdash , Faysal Chowdhury , Ming Liu , Wendy Timms
{"title":"Hybrid machine learning for predicting groundwater level: A comparison of boosting algorithms with neural networks","authors":"Milad Barzegar , Saba Gharehdash , Faysal Chowdhury , Ming Liu , Wendy Timms","doi":"10.1016/j.gsd.2025.101508","DOIUrl":null,"url":null,"abstract":"<div><div>This study proposes a novel hybrid machine learning framework that integrates gradient boosting (XGBoost, LGBM) and neural network models (LSTM, MLP) with Basin Hopping Optimization (BHO) to improve groundwater level forecasting. The approach simultaneously optimizes input lag times and model hyperparameters, addressing a key limitation in previous studies. Four hybrid models (XGBoost-BHO, LGBM-BHO, LSTM-BHO, MLP-BHO) are evaluated for daily one-to seven-day-ahead predictions, incorporating meteorological inputs. Results showed that all models achieved high predictive accuracy (R<sup>2</sup> > 0.98), with LSTM-BHO yielding the lowest MAE and RMSE across both boreholes. Boosting models, particularly XGBoost-BHO, demonstrated strong short-term performance with narrow residual distributions and significantly lower computation time. These findings highlight the effectiveness of combining machine learning and metaheuristic optimization for robust groundwater forecasting.</div></div>","PeriodicalId":37879,"journal":{"name":"Groundwater for Sustainable Development","volume":"31 ","pages":"Article 101508"},"PeriodicalIF":4.9000,"publicationDate":"2025-08-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Groundwater for Sustainable Development","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2352801X25001055","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"ENGINEERING, ENVIRONMENTAL","Score":null,"Total":0}
引用次数: 0
Abstract
This study proposes a novel hybrid machine learning framework that integrates gradient boosting (XGBoost, LGBM) and neural network models (LSTM, MLP) with Basin Hopping Optimization (BHO) to improve groundwater level forecasting. The approach simultaneously optimizes input lag times and model hyperparameters, addressing a key limitation in previous studies. Four hybrid models (XGBoost-BHO, LGBM-BHO, LSTM-BHO, MLP-BHO) are evaluated for daily one-to seven-day-ahead predictions, incorporating meteorological inputs. Results showed that all models achieved high predictive accuracy (R2 > 0.98), with LSTM-BHO yielding the lowest MAE and RMSE across both boreholes. Boosting models, particularly XGBoost-BHO, demonstrated strong short-term performance with narrow residual distributions and significantly lower computation time. These findings highlight the effectiveness of combining machine learning and metaheuristic optimization for robust groundwater forecasting.
期刊介绍:
Groundwater for Sustainable Development is directed to different stakeholders and professionals, including government and non-governmental organizations, international funding agencies, universities, public water institutions, public health and other public/private sector professionals, and other relevant institutions. It is aimed at professionals, academics and students in the fields of disciplines such as: groundwater and its connection to surface hydrology and environment, soil sciences, engineering, ecology, microbiology, atmospheric sciences, analytical chemistry, hydro-engineering, water technology, environmental ethics, economics, public health, policy, as well as social sciences, legal disciplines, or any other area connected with water issues. The objectives of this journal are to facilitate: • The improvement of effective and sustainable management of water resources across the globe. • The improvement of human access to groundwater resources in adequate quantity and good quality. • The meeting of the increasing demand for drinking and irrigation water needed for food security to contribute to a social and economically sound human development. • The creation of a global inter- and multidisciplinary platform and forum to improve our understanding of groundwater resources and to advocate their effective and sustainable management and protection against contamination. • Interdisciplinary information exchange and to stimulate scientific research in the fields of groundwater related sciences and social and health sciences required to achieve the United Nations Millennium Development Goals for sustainable development.