Advancing long-horizon hydrological forecasting: a Mamba-based approach with explainable AI for generalized streamflow prediction
Bekir Z. Demiray, Ibrahim DemirABSTRACT
Accurate long-horizon streamflow forecasting is crucial for water resource management, but existing models often face efficiency and interpretability challenges. This study comprehensively evaluates the Mamba architecture, which utilizes state-space models (SSMs) for efficient sequence processing, for 120-h hourly generalized streamflow prediction across 125 diverse Iowa watersheds using 72-h historical inputs. Performance was benchmarked against Persistence, long short-term memory, gated recurrent unit, Seq2Seq, and Transformer models employing Nash–Sutcliffe efficiency, Kling–Gupta efficiency, Pearson's r, and normalized root-mean-square error. Results demonstrate that Mamba architecture achieves predictive accuracy comparable to, and in several aspects marginally exceeding, the robust Transformer baseline, with both models significantly outperforming other established methods. Critically, explainable AI usingSHapley Additive exPlanations values provided insights into tested models' decision-making, revealing distinct feature utilization patterns and enhancing model transparency. This research highlights Mamba's potential as an efficient, accurate, and interpretable alternative for advancing operational long-range hydrological forecasting.