# Hydra-LSTM: A semi-shared Machine Learning architecture for prediction across Watersheds

arXiv: https://arxiv.org/abs/2410.16343 · HTML: https://mlsanity.com/paper/2410.16343/

## Key facts

- Cited by 3 papers in the map (data through 14 Oct 2026).
- Builds on 2 of its 12 references that are in the map.
- First posted on arXiv 21 Oct 2024.

## Builds on (most cited first, 2 of 2)

- [Adam: A Method for Stochastic Optimization](https://mlsanity.com/paper/1412.6980/) (2014)
- [AI Increases Global Access to Reliable Flood Forecasts](https://mlsanity.com/paper/2307.16104/) (2023)

## Built on by (most cited first, 3 of 3)

- [RiverMamba: A State Space Model for Global River Discharge and Flood Forecasting](https://mlsanity.com/paper/2505.22535/) (2025)
- [Joint distribution of upstream runoff governs downstream river-discharge prediction uncertainty in distributed ML models](https://mlsanity.com/paper/2607.03217/) (2026)
- [AIFL: A Global Daily Streamflow Forecasting Model Using a Deterministic LSTM Pre-trained on ERA5-Land and Fine-tuned on IFS](https://mlsanity.com/paper/2602.16579/) (2026)

## Abstract (arXiv)

Long Short Term Memory networks (LSTMs) are used to build single models that predict river discharge across many catchments. These models offer greater accuracy than models trained on each catchment independently if using the same data. However, the same data is rarely available for all catchments. This prevents the use of variables available only in some catchments, such as historic river discharge or upstream discharge. The only existing method that allows for optional variables requires all variables to be considered in the initial training of the model, limiting its transferability to new catchments. To address this limitation, we develop the Hydra-LSTM. The Hydra-LSTM processes variables used across all catchments and variables used in only some catchments separately to allow general training and use of catchment-specific data in individual catchments. The bulk of the model can be shared across catchments, maintaining the benefits of multi-catchment models to generalise, while also benefitting from the advantages of using bespoke data. We apply this methodology to 1 day-ahead river discharge prediction in the Western US, as next-day river discharge prediction is the first step towards prediction across longer time scales. We obtain state-of-the-art performance, generating more accurate median and quantile predictions than Multi-Catchment and Single-Catchment LSTMs while allowing local forecasters to easily introduce and remove variables from their prediction set. We test the ability of the Hydra-LSTM to incorporate catchment-specific data by introducing historical river discharge as a catchment-specific input, outperforming state-of-the-art models without needing to train an entirely new model.
