Enhancing Karst Spring Discharge Simulation Through a Hybrid XGBoost–BiLSTM Machine Learning Framework
Year: 2026
Type: article
Abstract: Accurate simulation of karst spring discharge is critical for sustainable water resource management, yet it remains a significant challenge due to the inherent complexity, heterogeneity, and non-linearity of karst systems. While machine learning models have been increasingly applied to this problem, standalone algorithms often struggle to simultaneously capture complex temporal dependencies and maintain robust generalization. This study provides a comprehensive comparative assessment of five state-of-the-art machine learning (ML) models for forecasting the daily discharge of the Jósva Spring, located in the World Heritage Aggtelek karst area. The main goal of the study is to determine which modern machine learning approach can most accurately forecast the daily discharge of the Jósva Spring using meteorological data and the discharge of a hydraulically connected upstream spring. This is motivated by the need for a reliable operational prediction tool for complex karst aquifers, the improved water-resource management in a climate-sensitive region, and a lack of comparative studies evaluating multiple ML paradigms on the same karst system. The study also aimed at comparing the predictive performance of five state-of-the-art ML models to identify the most accurate and robust model and to understand the predictability of the karst system by analyzing feature importance, lag effects, and temporal dependencies. Three tree-based ensemble models (Random Forest, XGBoost, and Extra Trees) and two deep learning architectures (a Bidirectional Long Short-Term Memory network, BiLSTM, and a novel Hybrid XGBoost–BiLSTM model) were trained using a five-year (2015–2019) daily dataset comprising rainfall, temperature, and upstream discharge. The modeling framework was designed for synchronous simulation (lead time = 0 days), estimating concurrent downstream discharge using upstream and meteorological measurements from the same time step. A rigorous feature-engineering workflow was implemented based on statistical characterization, correlation analysis, and time-series diagnostics. Models were trained on 80% of the dataset and evaluated on an independent 20% test set. The results demonstrate that the proposed Hybrid XGBoost-BiLSTM model achieved the highest predictive accuracy on the unseen test data (R2 = 0.74, NSE = 0.74, RMSE = 716.35 L/min). While the standalone tree-based models, particularly XGBoost (R2 = 0.66), also exhibited strong and competitive performance, the hybrid architecture provided a consistent and measurable improvement across all evaluation metrics. The hybrid model’s success is attributed to its synergistic design, which leverages the powerful feature extraction and refinement capabilities of XGBoost to provide a more informative input space for the BiLSTM, thereby enhancing its ability to capture complex temporal dependencies while mitigating overfitting. Feature importance analysis confirmed that upstream discharge at a 3-day lag was the most critical predictor, highlighting the system’s hydraulic connectivity. This research provides clear, evidence-based guidance showing that hybrid machine learning architectures, which integrate the strengths of different modeling paradigms, represent the most effective approach for developing robust and reliable operational prediction tools for complex karst aquifers.
Source: Water
DOI: 10.3390/w18091038
Authors: Mohamed Hamdy Eid, Attila Kovács, Péter Szűcs
Institutions: Beni-Suef University, University of Miskolc
Language: English
Subfield: Environmental Engineering
Field: Environmental Science
Domain: Physical Sciences
Open Access status: gold
Estimated APC paid: $3,137
Funder: Magyar Tudományos Akadémia
OpenAlex ID: W7155909333
