The browser you are using is not supported by this website. All versions of Internet Explorer are no longer supported, either by us or Microsoft (read more here: https://www.microsoft.com/en-us/microsoft-365/windows/end-of-ie-support).

Please use a modern browser to fully experience our website, such as the newest versions of Edge, Chrome, Firefox or Safari etc.

photo of Zheng Duan on Lund webpage

Zheng Duan

Associate senior lecturer

photo of Zheng Duan on Lund webpage

Evaluate Transformer model and Self-Attention mechanism in the Yangtze River basin runoff prediction

Author

  • Xikun Wei
  • Guojie Wang
  • Britta Schmalz
  • Daniel Fiifi Tawia Hagan
  • Zheng Duan

Summary, in English

Study region: In the Yangtze River basin of China. Study focus: We applied a recently popular deep learning (DL) algorithm, Transformer (TSF), and two commonly used DL methods, Long-Short-Term Memory (LSTM) and Gated Recurrent Unit (GRU), to evaluate the performance of TSF in predicting runoff in the Yangtze River basin. We also add the main structure of TSF, Self-Attention (SA), to the LSTM and GRU models, namely LSTM-SA and GRU-SA, to investigate whether the inclusion of the SA mechanism can improve the prediction capability. Seven climatic observations (mean temperature, maximum temperature, precipitation, etc.) are the input data in our study. The whole dataset was divided into training, validation and test datasets. In addition, we investigated the relationship between model performance and input time steps. New hydrological insights for the region: Our experimental results show that the GRU has the best performance with the fewest parameters while the TSF has the worst performance due to the lack of sufficient data. GRU and the LSTM models are better than TSF for runoff prediction when the training samples are limited (such as the model parameters being ten times larger than the samples). Furthermore, the SA mechanism improves the prediction accuracy when added to the LSTM and the GRU structures. Different input time steps (5 d, 10 d, 15 d, 20 d, 25 d and 30 d) are used to train the DL models with different prediction lengths to understand their relationship with model performance, showing that an appropriate input time step can significantly improve the model performance.

Department/s

  • Dept of Physical Geography and Ecosystem Science
  • BECC: Biodiversity and Ecosystem services in a Changing Climate
  • MERGE: ModElling the Regional and Global Earth system

Publishing year

2023

Language

English

Publication/Series

Journal of Hydrology: Regional Studies

Volume

47

Document type

Journal article

Publisher

Elsevier

Topic

  • Bioinformatics (Computational Biology)
  • Oceanography, Hydrology, Water Resources

Keywords

  • GRU
  • LSTM
  • Runoff prediction
  • Self-Attention
  • Transformer

Status

Published

ISBN/ISSN/Other

  • ISSN: 2214-5818