Ke Yu, Bo Nie, Fengming Zhang, Huan Zhang, Qi Zhou, Renke Wei, Shen Qu
Harmful algal blooms are expanding globally across freshwater ecosystems due to climate change and accelerating eutrophication, posing escalating threats to public health and economic stability. Robust early warning requires predictive frameworks that are accurate at hourly resolution, uncertainty-aware, and mechanistically interpretable. Existing process-based models are limited by sparse parameterization, while statistical and deep-learning approaches typically operate at daily resolution, produce only point predictions, and rely on threshold-based classifications or post-hoc explanations that fail to capture high-frequency temporal dynamics or quantify predictive uncertainty, thereby hindering proactive intervention and masking hidden ecological risks. Here we present BloomNet, an intrinsically interpretable deep neural network architecture configured for multi-horizon quantile forecasting, resolves these limitations by integrating future environmental covariates with historical observations from a hyper-eutrophic lake. Evaluated on a four-year hourly record, BloomNet achieves exceptional predictive stability across 24-, 48-, and 72-h horizons (R 2 up to 0.78, 24-h MAPE = 25.7%), outperforming long short-term memory, Transformer, and temporal convolutional network baselines while circumventing iterative error accumulation. The network's dual-path variable-selection and attention mechanisms decode shifting ecological drivers directly across horizons, revealing a transition from short-term thermal regulation (water temperature weight up to 0.640) to medium-term nutrient governance (total phosphorus weight up to 0.689), while isolating distinct multimodal attention spikes 24h prior to bloom onset. Real-time interpretability further reveals that driver importance and temporal dependencies shift dynamically between bloom-onset and non-bloom states. These probabilistic quantiles establish a graduated, risk-oriented warning protocol that transforms reactive water resource administration into precision ecotechnology.