Temporal Fusion Transformers for Streamflow Prediction: Value of Combining Attention with Recurrence

Sinan Rasiya Koya, Tirthankar Roy
5/21/2023
cs.LGphysics.geo-ph

No confident code implementation found for this paper.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{koya2023temporal,
  title  = {Temporal Fusion Transformers for Streamflow Prediction: Value of Combining Attention with Recurrence},
  author = {Sinan Rasiya Koya and Tirthankar Roy},
  year   = {2023},
  eprint = {2305.12335},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.12335v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.12335.svg)](https://codeofpaper.com/paper/2305.12335)

Discussion