Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Towards Learning Universal, Regional, and Local Hydrological Behaviors via Machine-Learning Applied to Large-Sample Datasets

  • Problem Hydrological models calibrated jointly across many basins tend to lose accuracy compared with models calibrated for each basin, and earlier data-driven neural approaches reached only weak accuracy.
  • Method Trains one LSTM on 531 CAMELS basins, with static catchment attributes entering a fixed input gate in a new EA-LSTM variant that produces a per-basin embedding.
  • Results The single EA-LSTM models reached a mean NSE of 0.67 across 447 basins, against 0.17 for regionally calibrated VIC and 0.44 for regionally calibrated mHM.

Why regional streamflow modeling is hard

Regional modeling asks one model to produce streamflow over many catchments, so hydrologic information has to be carried from gauged to ungauged areas. Ancillary sources such as soil maps, remote sensing and elevation data are often used to judge how areas resemble one another.

The strongest hydrological models are usually calibrated to one basin, while a regional model has to reflect how ecology, geology, pedology, topography and geometry change from catchment to catchment. Regional approaches split into model-dependent methods, which regionalize parameters of a predefined model, and model-independent, data-driven methods, which learn the mapping directly.

In the model-dependent case, the parameters of a process model interact strongly, so their joint distribution is complex and multi-modal. Model-dependent regionalization has nevertheless attracted much work, from regressions of conceptual model parameters to transfer functions that link soil properties to model parameters.

Data-driven approaches can exploit large, diverse training sets because knowledge can transfer across sites, but earlier neural networks trained on one catchment reached only an NSE of 0.29 in that catchment. An LSTM-based rainfall-runoff model was reported to be well suited to this task, but the earlier work used only meteorological inputs and ignored catchment attributes.

A preliminary study compared an LSTM used in an ungauged setting with a basin-calibrated SAC-SMA, which suggested that the approach has potential for regionalization.

The standard LSTM as the starting point

An LSTM is a recurrent network with memory cells that hold information over long periods, and gates regulate the flow of information through them. This suits watersheds because processes such as snow accumulation and melt act on longer time scales than individual precipitation events.

At each step, the input gate, forget gate, output gate and cell update are computed from the current input and the previous hidden state, and the cell state is then updated from the forget and input terms. The update of the cell state is written as \\( c[t] = f[t] \\odot c[t-1] + i[t] \\odot g[t] \\), and the hidden state is \\( h[t] = o[t] \\odot \\tanh(c[t]) \\).

All gates use sigmoid or tanh functions of a learned linear combination of \\( x[t] \\) and \\( h[t-1] \\), and the cell and hidden states start as zero vectors.

In this picture the cell state stores memory, the forget gate removes entries, and the input gate with the cell update adds new information to selected cells. The output gate decides which stored information is passed on in the hidden state.

How the EA-LSTM separates static and dynamic inputs

The simplest way to add catchment attributes is to append them to the input vector at every time step, but this does not reveal what the network learns from them. The EA-LSTM instead keeps the static attributes separate from the dynamic inputs and gives each its own role in the architecture.

The input gate is computed once from the static attributes \\( x^{s} \\) as \\( i = \\sigma(W_i x^{s} + b_i) \\), so it does not change over time. The forget, cell-update and output gates are computed from the dynamic inputs \\( x^{d}[t] \\) and the previous hidden state, as in the standard LSTM, with the cell state update \\( c[t] = f[t] \\odot c[t-1] + i \\odot g[t] \\).

Through the input gate the static attributes decide which parts of the cell state are active for a given catchment, while the forcings decide what is written, deleted and output.

After training, the static input gate holds real values between 0 and 1 for each cell, and each catchment gets a fixed vector of this kind. The authors expect that groups of catchments can share some active cells while keeping others separate, which allows partial sharing across basins.

Why the loss is normalised per basin

For one basin, MSE and NSE give the same optimum, but across several basins the observation means and variances differ, so the two losses no longer coincide. Basins with large mean discharge have larger squared errors, so an unscaled MSE loss would weight large, humid basins more heavily than small, arid ones.

The authors use the basin-averaged NSE*, which sums scaled squared errors over the \\( N \\) days of each of the \\( B \\) basins and divides by \\( B \\). The text calls this an average of NSE values, while the equation writes the scaled squared errors directly, so the training objective is the scaled squared-error form.

The constant \\( \\epsilon = 0.1 \\) is added to the standard deviation in the denominator so that the loss does not blow up for basins with very low flow variance.

Data and training configuration

The study uses 531 basins from the 671 in the CAMELS data set, selected by a previous study. Basins were excluded when their area estimates differ by more than 10 % across methods, and only basins with a catchment area below 2000 km 2 were kept.

The dynamic inputs are the daily basin-averaged Maurer forcings: precipitation, minimum and maximum air temperature, short-wave radiation and vapor pressure. The static inputs are 27 catchment characteristics that can be derived from remote sensing or CONUS-wide data products, including climatic, vegetation, soil and topographic attributes.

Calibration and training use 1 October 1999 through 30 September 2008, and evaluation uses 1 October 1989 through 30 September 1999. One parameter set is trained to work across all basins, and the evaluation uses the validation data of all basins.

Each prediction of one daily discharge value uses the forcings of the target day and 269 preceding days, so the input sequences are 270 time steps long. The architecture was chosen by hyperparameter optimization, and the EA-LSTM differs only by its static input gate.

Three configurations were trained: an LSTM without static inputs, an LSTM with static inputs concatenated at each step, and an EA-LSTM with static inputs. Each configuration was trained with the MSE and with the NSE* loss, with n = 8 random seeds per setting, and the ensemble prediction is the mean over the eight models, giving 48 trained models in total.

Effect of static attributes and the EA-LSTM architecture

Figure 3 shows the cumulative distributions of basin-specific NSE for all six LSTM training setups, and Table 2 gives averages. Significance was assessed with the paired Wilcoxon test, and effect size with Cohen's d.

Adding static attributes improved the mean NSE by 0.44 with MSE training and by 0.30 with NSE* training, compared with the LSTM without them. The NSE* loss improved the mean NSE for single EA-LSTM models from 0.63 with MSE to 0.67, and the median stayed at 0.71 under both losses. For the LSTM without static inputs, the text gives a mean NSE of 0.23 with MSE and 0.39 with NSE*, while Table 2 lists 0.24 for the single model with MSE.

The EA-LSTM gives up a little accuracy, and the authors attribute this to its larger number of tunable parameters, but they judge the interpretability of the embedding to be worth it.

With MSE, the number of basins with NSE of at most zero for the average single model falls from 44 to 9 when the EA-LSTM replaces the LSTM without static inputs. With NSE* the same count falls from 28 to 3, and the ensemble mean reduces it further. The authors note that the failing basins differ between runs, and that averaging an ensemble of LSTMs reduces this variation.

EA-LSTM against calibrated hydrological models

The benchmark runs come from other groups, and each is run with the same daily Maurer forcings and calibration period as the EA-LSTM.

Against the two regionally calibrated models, VIC and mHM, the single EA-LSTM reached a mean NSE of 0.67 and the ensemble reached 0.71, while VIC had a mean NSE of 0.17 and mHM 0.44. The LSTM without static inputs also outperformed both regional models, consistently as a single model and more so as an ensemble.

The EA-LSTM ensemble scored higher than VIC in 2 of 447 basins, and higher than mHM in 16 basins.

Against basin-wise calibrated models, the authors report that the two best hydrological models were the ensemble of 100 calibrated HBV models and a basin-calibrated mHM. The effect sizes are 0.22 for the single model and 0.40 for the ensemble mean, which is described as medium.

Whether the embedding groups basins meaningfully

The embedding was clustered with k-means under a Euclidean criterion, and the same was done for the 27 raw catchment attributes for comparison. The number of clusters was chosen with the mean and minimum silhouette values, which measure within-cluster similarity on a range of -1 to 1.

For cluster numbers below 15, clustering the embedding gave more distinct clusters than clustering the raw attributes. The highest mean silhouette was at k = 6 for the raw attributes and at k = 5 for the embedding.

To test hydrologic relevance, the study measured the fractional reduction in variance of 13 hydrologic signatures obtained by clustering. At both k = 5 and k = 6 the embedding reduced variance by more than or about as much as the raw attributes, with the exception of the day-of-year timing signature hfd_mean. The authors note that the EA-LSTM was never trained directly on these signatures, only on the streamflow series they were computed from.

Clusters from both the embedding and the raw attributes correspond to different geographic regions of the CONUS, even though latitude and longitude were not inputs. A UMAP projection of the 256-dimensional embedding onto two dimensions shows four clear groups of basins, though it may not show all distinct clusters. In that projection, high-elevation dry basins with low forest cover share a cluster with low-elevation wet basins with high forest cover, and the two forest groups separate when annual green vegetation variation is considered.

Basin size does not appear to separate groups in the projection.

Robustness and feature importance procedures

Gaussian noise with 10 standard deviations, from 0.1 to 1.0, is added to the attributes, and 50 noise vectors are drawn per basin and standard deviation. Because all inputs are standardized before training, these noise levels do not depend on the units of the attributes, and the procedure gives 531 × 10 × 50 = 265500 evaluations per trained EA-LSTM.

For feature ranking, the Morris method is applied with exact gradients of the network with respect to the static inputs, which avoids separate sampling runs. A global sensitivity for each basin and feature is taken as the average absolute gradient over the validation days.

Limitations

The model is evaluated only in a gauged setting, so it never predicts for a basin without training data. The EA-LSTM is slightly less accurate than the standard LSTM with static inputs, as noted above.

The benchmark results are taken from runs made by other groups, and the FUSE runs were described by their provider as preliminary and possibly not reflecting the final FUSE performance.

The authors leave open how many ensemble members and which initializations are needed for a given data set. A detailed analysis of the function of individual cell states is outside this study. The authors report unpublished results indicating that LSTMs are difficult to train reliably on a single catchment even with multi-decade records, but these results are not shown here.

Paper info

Authors
Frederik Kratzert, Daniel Klotz, Guy Shalev, Günter Klambauer, Sepp Hochreiter, Grey Nearing
Venue
arXiv · Preprint
First published
2019-7-19
Added
2026-11-6
Updated
2019-11-10
Version
v2
arXiv
1907.08456
Category
cs.LG · stat.ML
Original paper terms
CC BY 4.0
What we show
Paper info, commentary and permitted figures from the original paper

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Abstract

Regional rainfall-runoff modeling is an old but still mostly out-standing problem in Hydrological Sciences. The problem currently is that traditional hydrological models degrade significantly in performance when calibrated for multiple basins together instead of for a single basin alone. In this paper, we propose a novel, data-driven approach using Long Short-Term Memory networks (LSTMs), and demonstrate that under a 'big data' paradigm, this is not necessarily the case. By training a single LSTM model on 531 basins from the CAMELS data set using meteorological time series data and static catchment attributes, we were able to significantly improve performance compared to a set of several different hydrological benchmark models. Our proposed approach not only significantly outperforms hydrological models that were calibrated regionally but also achieves better performance than hydrological models that were calibrated for each basin individually. Furthermore, we propose an adaption to the standard LSTM architecture, which we call an Entity-Aware-LSTM (EA-LSTM), that allows for learning, and embedding as a feature layer in a deep learning model, catchment similarities. We show that this learned catchment similarity corresponds well with what we would expect from prior hydrological understanding.

Quote from the paper

Frederik Kratzert, Daniel Klotz, Guy Shalev, Günter Klambauer, Sepp Hochreiter, Grey Nearing (2019). Towards Learning Universal, Regional, and Local Hydrological Behaviors via Machine-Learning Applied to Large-Sample Datasets. arXiv:1907.08456v2. https://arxiv.org/abs/1907.08456v2

BibTeX
@misc{kratzert2019towards,
  title = {{Towards Learning Universal, Regional, and Local Hydrological Behaviors via Machine-Learning Applied to Large-Sample Datasets}},
  author = {Frederik Kratzert and Daniel Klotz and Guy Shalev and Günter Klambauer and Sepp Hochreiter and Grey Nearing},
  year = {2019},
  eprint = {1907.08456},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1907.08456v2}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up