Multi-Task Deep Learning of Daily Streamflow and Water Temperature

J. M. Sadler, A. P. Appling, J. S. Read, S. K. Oliver, X. Jia, J. A. Zwart, V. Kumar

Research output: Contribution to journalArticlepeer-review

20 Scopus citations

Abstract

Deep learning (DL) models can accurately predict many hydrologic variables including streamflow and water temperature; however, these models have typically predicted hydrologic variables independently. This study explored the benefits of modeling two interdependent variables, daily average streamflow and daily average stream water temperature, together using multi-task DL. A multi-task scaling factor controlled the relative contribution of the auxiliary variable's error to the overall loss during training. Our experiments examined the improvement in prediction accuracy of the multi-task approach using paired streamflow and water temperature data from sites across the conterminous United States. Our results showed that for 56 out of 101 sites, the best performing multi-task models performed better overall than the single-task models in terms of Nash-Sutcliffe efficiency for predicting streamflow with single-site models. For 43 sites, the best multi-task, single-site models made no significant difference in predicting streamflow. The multi-task approach had a smaller effect when applied to a model trained with data from 101 sites together, significantly improving performance for only 17 sites. The multi-task scaling factor was consequential in determining to what extent the multi-task approach was beneficial. A naïve selection of this factor led to significantly worse-performing models for 3 of 101 sites when predicting streamflow as the primary variable, and 47 of 53 sites when predicting stream temperature as the primary variable. We conclude that a multi-task approach can make more accurate predictions by leveraging information from interdependent hydrologic variables, but only for some sites, variables, and model configurations.

Original languageEnglish (US)
Article numbere2021WR030138
JournalWater Resources Research
Volume58
Issue number4
DOIs
StatePublished - Apr 2022

Bibliographical note

Funding Information:
The authors thank Rasha Atshan who provided advice for the use of the Welch's t-test. The results figures were generated using the Matplotlib (Hunter, 2007), Seaborn (Waskom & The Seaborn Development Team, 2020), and GeoPandas (geopandas.org) Python libraries. Our methods also relied heavily on the xarray (Hoyer & Hamman, 2017), Dask (Dask Development Team, 2016), Pandas (Pandas Development Team, 2020), and NumPy (Harris et al., 2020) Python libraries. The authors acknowledge the Pangeo team (pangeo.io) who provided cloud computational resources used in prototyping the DL models. The USGS Advanced Research Computing group supplied the computational resources for running the experiments in the paper. Special thanks to John Hammond, Melissa Lombard, and Janet Carter of the U.S. Geological Survey for their detailed reading and helpful comments in the revision process of the manuscript. Thanks also to Simon Topp for his comments and review of the Supporting Information S1. Vipin Kumar was supported by the grant #1934721 from the U.S. National Science Foundation. Xiaowei Jia is supported by the USGS awards G21AC10207 and G21AC10564.

Funding Information:
The authors thank Rasha Atshan who provided advice for the use of the Welch's ‐test. The results figures were generated using the Matplotlib (Hunter, 2007 ), Seaborn (Waskom & The Seaborn Development Team, 2020 ), and GeoPandas ( geopandas.org ) Python libraries. Our methods also relied heavily on the xarray (Hoyer & Hamman, 2017 ), Dask (Dask Development Team, 2016 ), Pandas (Pandas Development Team, 2020 ), and NumPy (Harris et al., 2020 ) Python libraries. The authors acknowledge the Pangeo team (pangeo.io) who provided cloud computational resources used in prototyping the DL models. The USGS Advanced Research Computing group supplied the computational resources for running the experiments in the paper. Special thanks to John Hammond, Melissa Lombard, and Janet Carter of the U.S. Geological Survey for their detailed reading and helpful comments in the revision process of the manuscript. Thanks also to Simon Topp for his comments and review of the Supporting Information S1 . Vipin Kumar was supported by the grant #1934721 from the U.S. National Science Foundation. Xiaowei Jia is supported by the USGS awards G21AC10207 and G21AC10564. t

Publisher Copyright:
© 2022. The Authors. This article has been contributed to by U.S. Government employees and their work is in the public domain in the USA.

Keywords

  • deep learning
  • machine learning
  • streamflow prediction
  • water temperature prediction

Fingerprint

Dive into the research topics of 'Multi-Task Deep Learning of Daily Streamflow and Water Temperature'. Together they form a unique fingerprint.

Cite this