Temporal Fusion Transformers for Streamflow Prediction: Value of Combining Attention with Recurrence
Not on the map. Why?
Abstract (arXiv)
Over the past few decades, the hydrology community has witnessed notable advancements in streamflow prediction, particularly with the introduction of cutting-edge machine-learning algorithms. Recurrent neural networks, especially Long Short-Term Memory (LSTM) networks, have become popular due to their capacity to create precise forecasts and realistically mimic the system dynamics. Attention-based models, such as Transformers, can learn from the entire data sequence concurrently, a feature that LSTM does not have. This work tests the hypothesis that combining recurrence with attention can improve streamflow prediction. We set up the Temporal Fusion Transformer (TFT) architecture, a model that combines both of these aspects and has never been applied in hydrology before. We compare the performance of LSTM, Transformers, and TFT over 2,610 globally distributed catchments from the recently available Caravan dataset. Our results demonstrate that TFT indeed exceeds the performance benchmark set by the LSTM and Transformers for streamflow prediction. Additionally, being an explainable AI method, TFT helps in gaining insights into the streamflow generation processes.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 11 of its 44 references that are in the map. First posted on arXiv 21 May 2023.
Builds on
11 of 44 references.
References · 11
- 2017Attention Is All You Needcited by 60,361
- 2016Layer Normalizationcited by 5,669
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
- 2015Fast and Accurate Deep Network Learning by Exponential Linear Units (ELUs)cited by 1,070
- 2019Temporal Fusion Transformers for Interpretable Multi-horizon Time Series Forecastingcited by 761
- 2016Language Modeling with Gated Convolutional Networkscited by 702
- 2019Enhancing the Locality and Breaking the Memory Bottleneck of Transformer on Time Series Forecastingcited by 607
- 2019Towards Learning Universal, Regional, and Local Hydrological Behaviors via Machine-Learning Applied to Large-Sample Datasetscited by 69
- 2019Enhancing streamflow forecast and extracting insights using long-short term memory networks with data integration at continental scalescited by 27
- 2021Ranger21: a synergistic deep learning optimizercited by 22
- 2017Prolongation of SMAP to Spatio-temporally Seamless Coverage of Continental US Using a Deep Learning Neural Networkcited by 7
Built on by
Citing papers per year: 2023: 1; 2024: 1; 2025: 2.
4 papers.
- 2023Probing the limit of hydrologic predictability with the Transformer networkcited by 9
- 2024Using Machine Learning to Discover Parsimonious and Physically-Interpretable Representations of Catchment-Scale Rainfall-Runoff Dynamicscited by 4
- 2025Efficacy of Temporal Fusion Transformers for Runoff Simulationcited by 0
- 2025Rethinking deep learning: linear regression remains a key benchmark in predicting terrestrial water storagecited by 0
- 2025Rethinking deep learning: linear regression remains a key benchmark in predicting terrestrial water storage12 Oct 2025
- 2025Efficacy of Temporal Fusion Transformers for Runoff Simulation25 Jun 2025
- 2024Using Machine Learning to Discover Parsimonious and Physically-Interpretable Representations of Catchment-Scale Rainfall-Runoff Dynamics6 Dec 2024
- 2023Probing the limit of hydrologic predictability with the Transformer network21 Jun 2023