Learning landscape features from streamflow with autoencoders

A. Bassi, Marvin Höge, Antonietta Mira, Fabrizio Fenicia, Carlo Albert

Abstract

Recent successes with machine learning (ML) models in catchment hydrology have highlighted their ability to extract crucial information from catchment properties pertinent to the rainfall–runoff relationship. In this study, we aim to identify a minimal set of catchment signatures in streamflow that, when combined with meteorological drivers, enable an accurate reconstruction of the entire streamflow time series. To achieve this, we utilize an explicit noise-conditional autoencoder (ENCA), which, assuming an optimal architecture, separates the influences of meteorological drivers and catchment properties on streamflow. The ENCA architecture feeds meteorological forcing and climate attributes into the decoder in order to incentivize the encoder to only learn features that are related to landscape properties minimally related to climate. By isolating the effect of meteorology, these hydrological features can thus be interpreted as landscape fingerprints. The optimal number of features is found by means of an intrinsic dimension estimator. We train our model on the hydro-meteorological time series data of 568 catchments of the continental United States from the Catchment Attributes and Meteorology for Large-sample Studies (CAMELS) dataset. We compare the reconstruction accuracy with models that take as input a subset of static catchment attributes (both climate and landscape attributes) along with meteorological forcing variables. Our results suggest that available landscape attributes can be summarized by only two relevant learnt features (or signatures), while at least a third one is needed for about a dozen difficult-to-predict catchments in the central United States, which is mainly characterized by a high aridity index. The principal components of the learnt features strongly correlate with the baseflow index and aridity indicators, which is consistent with the idea that these indicators capture the variability of catchment hydrological responses. The correlation analysis further indicates that soil-related and vegetation attributes are of importance.

Introduction

Hydrologists have long sought to distinguish the "nature" of a landscape from the "nurture" of its weather. Streamflow is a complex signal resulting from the interaction between meteorological forcing (e.g., precipitation, temperature) and the physical properties of the catchment (e.g., soil porosity, slope, vegetation). Traditionally, scientists have used manually selected "hydrological signatures" or "catchment attributes" to characterize these landscapes. However, with hundreds of potential signatures available, it remains unclear which are truly essential for describing a landscape's hydrological response. This study investigates the minimum information required to describe these responses and whether machine learning can extract these "landscape fingerprints" directly from streamflow data.

Methodology

The core of this research is the Explicit Noise-Conditional Autoencoder (ENCA). This architecture is designed to separate static landscape features from dynamic meteorological drivers.

The ENCA architecture uses a CNN encoder to extract latent features from streamflow and an LSTM decoder to reconstruct flow using those features alongside weather data.

As shown in the architecture diagram, the model consists of:

  1. The Encoder (CNN): A Convolutional Neural Network that compresses the streamflow time series into a small number of "latent features."
  2. The Decoder (LSTM): A Long Short-Term Memory network that reconstructs the original streamflow. Crucially, the decoder receives both the latent features and the meteorological forcing data (precipitation, temperature, etc.).
  3. Incentivization: By providing the decoder with weather data directly, the encoder is forced to ignore meteorological signals and focus solely on the underlying landscape properties that explain the remaining variance in streamflow.

To determine the optimal number of latent features, the authors employed an intrinsic dimension (ID) estimator called GRIDE. The model was trained and tested using the CAMELS dataset, encompassing 568 catchments across the continental United States over a 30-year period (1980–2010).

Results and Discussion

The study's primary finding is the surprising simplicity of the hydrological landscape. For the vast majority of catchments, just two latent features were sufficient to match the performance of a reference model (CAAM) that utilized 27 human-selected physical attributes.

Comparison of Nash–Sutcliffe Efficiency (NSE) between the reference model (CAAM) and ENCA models with varying numbers of latent features (1 to 27).

As illustrated in the performance comparison, the ENCA-2 model (using only 2 features) achieved a median Nash–Sutcliffe Efficiency (NSE) of 0.68, comparable to the CAAM model. Increasing the number of features beyond five yielded negligible improvements, suggesting that five features represent a near-complete set of summary statistics for these catchments.

A third feature was found necessary for a small subset of "difficult-to-predict" catchments in the arid central United States, indicating unique hydrological complexities like deep groundwater interactions. Furthermore, the "black box" features were found to have physical grounding: Feature 1 strongly correlates with the baseflow index and soil properties, while Feature 2 relates to aridity and vegetation.

Conclusion

This research demonstrates that deep learning can effectively distill complex landscape characteristics into a low-dimensional set of features. While not intended as a primary forecasting tool, the ENCA framework provides a powerful method for information extraction and landscape characterization. Future work will explore the use of Neural ODEs to further improve the physical interpretability of these learnt features and investigate the specific hydrological processes captured in arid regions.

Summary updated

BibTeX
@inproceedings{bassi2024learning,
  author = {A. Bassi and Marvin Höge and Antonietta Mira and Fabrizio Fenicia and Carlo Albert},
  title = {{Learning landscape features from streamflow with autoencoders}},
  booktitle = {Hydrology},
  year = {2024},
  doi = {10.5194/hess-28-4971-2024},
}
Figure